1 2010-01-26 U-anarquia\miguel <miguel@anarquia>
3 * mono-dl.c: Removed debugging messages for the embeddable version
6 2010-01-22 Miguel de Icaza (miguel@novell.com)
8 * mono-dl.c: Always strdup the return value, for consistency.
10 2010-01-18 Sebastien Pouliot <sebastien@ximian.com>
12 * mono-error.c: Call va_end/va_start before reusing 'args'.
14 2010-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
16 * mono-hash.c: fix the null-gc build.
18 2010-01-11 Miguel de Icaza <miguel@novell.com>
20 * valgrind.h, memcheck.h: Add guards to prevent the gcc features
21 from being included in non-GCC builds like the Windows build.
23 2010-01-03 Zoltan Varga <vargaz@gmail.com>
25 * mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
28 2009-12-18 Zoltan Varga <vargaz@gmail.com>
30 * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
31 headers so we can use the valgrind user requests even if mono is compiled on
32 a system where they are not installed.
34 2009-12-11 Marek Habersack <mhabersack@novell.com>
36 * mono-io-portability.c: moved all the reporting code to the IOMAP
38 (mono_portability_find_file_internal): calls mono_profiler_iomap
39 whenever an adjustement is made.
41 2009-12-02 Mark Probst <mark.probst@gmail.com>
43 * mono-hash.c: Don't use MONO_ROOT_SETREF for setting keys and
44 values. It's unnecessary - the hash table has a marking function
45 which takes care of all GC-tracked keys and values.
47 2009-11-26 Zoltan Varga <vargaz@gmail.com>
49 * mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.
51 2009-11-25 Rodrigo Kumpera <rkumpera@novell.com>
53 * mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
54 of mono_error_set_bad_image to take a MonoImage instead of a const char *.
58 2009-11-25 Zoltan Varga <vargaz@gmail.com>
60 * mono-hash.c (mono_g_hash_table_find): Implement this.
62 2009-11-24 Zoltan Varga <vargaz@gmail.com>
64 * mono-io-portability.c (append_report): g_string_append_vprintf is available
67 2009-11-23 Andreas Färber <andreas.faerber@web.de>
69 * mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
71 Code contributed under MIT/X11 license.
73 2009-11-23 Marek Habersack <mhabersack@novell.com>
75 * mono-io-portability.c: gather up and report misnamed files
76 accessed by the application if the 'report' option is present in
77 the MONO_IOMAP environment variable.
79 2009-11-13 Jonathan Chambers <joncham@gmail.com>
81 * mono-semaphore.h: Implementation for Windows platform.
83 Code contributed under MIT/X11 license.
85 2009-11-12 Geoff Norton <gnorton@novell.com>
87 * mono-path.c: When resolving symlinks in a path, we need to
88 split on the directory separator and check each level, as
89 readlink only checks the final destination.
91 2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
93 * mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.
95 Patch by Justin Hibbits <chmeeedalf@gmail.com>.
97 2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
99 * mono-error.c: VS does not like this.
101 2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
103 * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
105 * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
108 * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
110 * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
111 for MONO_ERROR_ARGUMENT.
113 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
115 * mono-proclib.c: hz is only multiplied by the number of cpus when
118 2009-10-29 Mark Probst <mark.probst@gmail.com>
120 * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
122 2009-10-23 Alp Toker <alp@nuanti.com>
124 Fix embedding API breakage from r144688. mono-compiler.h is an internal
125 header and should not be shipped:
127 * Makefile.am: Include newly added public header mono-error.h in HEADERS so
130 2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
132 * Makefile.am: Fix make dist.
134 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
136 * mono-compiler.h: Add MONO_DEPRECATED.
138 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
140 * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
141 structures and functions.
143 * Makefile.am: Add new files.
145 2009-10-12 Joel W. Reed <joelwreed@gmail.com>
147 * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
148 network statistics from "/proc/net/dev" for performance counters.
150 Code is contributed under MIT/X11 license.
152 2009-09-29 Zoltan Varga <vargaz@gmail.com>
154 * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
155 millions of warnings during compilation.
157 2009-09-25 Jonathan Chambers <joncham@gmail.com>
159 * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
161 Code is contributed under MIT/X11 license.
163 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
165 * mono-sha1.c: Update documentation.
167 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
169 * mono-md5.c: Update documentation.
171 2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
173 * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
174 * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
175 success (just like we do for sha1)
177 2009-08-21 Mark Probst <mark.probst@gmail.com>
179 * mono-hash.c: When creating a hash table, if the keys are managed
180 objects, assert that we have a hash function. Remove the
181 rehashing after GC marking.
183 2009-08-18 Christian Hergert <chris@dronelabs.com>
185 * strtod.c: Fix warnings for uninitialized variables.
187 2009-08-18 Christian Hergert <chris@dronelabs.com>
190 * mono-counters.c: Fix printf warnings.
192 2009-08-12 Mark Probst <mark.probst@gmail.com>
194 * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
195 rehash the table after marking.
197 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
199 * monobitset.h: add comment.
201 2009-08-01 Zoltan Varga <vargaz@gmail.com>
203 * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
205 2009-07-30 Mark Probst <mark.probst@gmail.com>
207 * mono-sigcontext.h: Include config.h.
209 2009-07-30 Mark Probst <mark.probst@gmail.com>
211 * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
212 macros, moved from mini.
214 2009-07-29 Massimiliano Mantione <massi@ximian.com>
216 * mono-codeman.c (free_chunklist and new_codechunk):
217 Call profiler hooks to keep track of code chunks.
219 2009-07-20 Geoff Norton <gnorton@novell.com>
221 * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
222 can be used by the runtime as well.
224 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
226 * mono-proclib.c: fix reading processor usage for a process. Patch
227 from Jacob Gladish that fixes bug #523052.
229 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
231 * mono-proclib.c: fixed setting the NUL terminator.
232 Thanks to Jacob Gladish.
234 2009-06-15 Zoltan Varga <vargaz@gmail.com>
236 * gc_wrapper.h: Disable thread local alloc on mips.
238 2009-05-26 Zoltan Varga <vargaz@gmail.com>
240 * CMakeLists.txt: New file.
242 2009-05-09 Miguel de Icaza <miguel@novell.com>
244 * mono-value-hash.c (mono_value_hash_table_insert_replace):
245 Initialize variable, to quiet the compiler.
247 * mono-proclib.c: Eliminate two warnings.
249 2009-04-03 Miguel de Icaza <miguel@novell.com>
251 * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
252 the mono-filemap.c file so it can be plugged in platform-specific
255 2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
258 * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
260 2009-03-23 Zoltan Varga <vargaz@gmail.com>
262 * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
264 2009-03-22 Zoltan Varga <vargaz@gmail.com>
266 * gc_wrapper.h: Disable thread local allocation for ARM too because of
267 incomplete support in libgc.
269 2009-03-20 Zoltan Varga <vargaz@gmail.com>
271 * gc_wrapper.h: New file, moved from ../os.
273 * Makefile.am: Add gc_wrapper.h
275 2009-03-06 Zoltan Varga <vargaz@gmail.com>
277 * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
279 2009-02-16 Mark Probst <mark.probst@gmail.com>
281 Contributed under the terms of the MIT/X11 license by Steven
282 Munroe <munroesj@us.ibm.com>.
284 * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
286 2009-02-11 Bill Holmes <billholmes54@gmail.com>
288 * mono-filemap.c : Fixing the MSVC build.
290 Contributed under MIT/X11 license.
292 2009-02-03 Miguel de Icaza <miguel@novell.com>
294 * mono-dl.c: Add support for registering in-proc addresses as
295 libraries that can be P/Invoked. Used in operating systems that
296 lack a dynamic linker.
298 * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
299 some code from mono-mmap. into this file to ease porting.
301 * mono-io-portability.c: Use new define to turn off portability
304 2009-01-25 Zoltan Varga <vargaz@gmail.com>
306 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
308 2009-01-21 Zoltan Varga <vargaz@gmail.com>
310 * mono-mmap.c: Applied patch from Koushik Dutta
311 (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
314 2009-01-19 Bill Holmes <billholmes54@gmail.com>
316 * mono-path.c (mono_path_canonicalize): Adding support for UNC
319 Contributed under MIT/X11 license.
321 2009-01-18 Zoltan Varga <vargaz@gmail.com>
323 * mono-mmap.c: Applied patch from Koushik Dutta
324 (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
326 2009-01-16 Zoltan Varga <vargaz@gmail.com>
328 * mono-hash.c: Change the roots to use write barriers when running with
329 SGEN, to avoid scanning all the hash nodes at every minor collection.
331 2009-01-15 Zoltan Varga <vargaz@gmail.com>
333 * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
334 marker function instead of registering each GC node as a hash root.
336 2009-01-08 Bill Holmes <billholmes54@gmail.com>
338 * mono-dl.c (mono_dl_open): Fix the MSVC build.
340 Contributed under MIT/X11 license.
342 2008-12-19 Miguel de Icaza <miguel@novell.com>
344 * mono-dl.c (mono_dl_open): Do not crash if the platform does not
347 2008-12-08 Kornél Pál <kornelpal@gmail.com>
349 * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
350 with ULARGE_INTEGER that is more efficient.
352 Contributed under MIT/X11 license.
354 2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
356 * mono-property-hash.c (mono_property_hash_destroy): Release
357 the root hashtable as well.
359 2008-11-24 Zoltan Varga <vargaz@gmail.com>
361 * freebsd-elf_common.h (struct): Use uint32_t instead of
362 u_int32_t to fix the build on opensolaris.
364 2008-11-18 Zoltan Varga <vargaz@gmail.com>
366 * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
368 2008-11-14 Andreas Färber <andreas.faerber@web.de>
370 * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
373 Contributed under MIT/X11 license.
375 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
377 * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
380 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
382 * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
384 2008-11-05 Zoltan Varga <vargaz@gmail.com>
386 * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
389 2008-11-04 Zoltan Varga <vargaz@gmail.com>
391 * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
394 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
396 * mono-proclib.c, mono-proclib.h: added functions to get info
397 about the processors in the system.
399 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
401 * mono-proclib.c, mono-mmap.c: basic support for OSX and
402 (untested) BSD systems.
404 2008-10-13 Bill Holmes <billholmes54@gmail.com>
406 * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
408 Contributed under MIT/X11 license.
410 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
412 * mono-proclib.c, mono-proclib.h: added a function to deal with
413 error handling if the caller needs the info.
415 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
417 * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
418 access process-related information.
420 2008-10-08 Zoltan Varga <vargaz@gmail.com>
422 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
423 the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
425 2008-09-26 Zoltan Varga <vargaz@gmail.com>
427 * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
429 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
431 * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
432 too return the list of mono processes with performance counter data.
434 2008-08-27 Bill Holmes <billholmes54@gmail.com>
436 * strenc.c : Fixing some waringings and compiler errors when using
439 Contributed under MIT/X11 license.
441 2008-08-20 Mike Voorhees <vernish13@gmail.com>
443 * strenc.h : Adding declaration for mono_utf8_validate_and_len.
445 * strenc.c : Adding implementation for mono_utf8_validate_and_len.
447 Contributed under MIT/X11 license.
449 2008-08-03 Andreas Färber <andreas.faerber@web.de>
451 * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
453 Contributed under MIT/X11 license.
455 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
457 * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
458 in a shared memory page.
460 2008-07-21 Bill Holmes <billholmes54@gmail.com>
462 * mono-membar.h : From previous commit. When including glib.h,
463 <> should be used and not "".
465 Contributed under MIT/X11 license.
467 2008-07-21 Bill Holmes <billholmes54@gmail.com>
469 * mono-membar.h : Including glib.h to get definition of 'inline.' Needed
470 by the MSVC compiler.
472 Contributed under MIT/X11 license.
474 2008-07-09 Zoltan Varga <vargaz@gmail.com>
476 * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
478 * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
479 set the code manager to read-only status.
480 (mono_code_manager_reserve_align): Assert if the code manager is read only.
482 2008-06-14 Zoltan Varga <vargaz@gmail.com>
484 * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
487 * dlmalloc.c: Enable the memalign functions.
489 2008-06-05 Zoltan Varga <vargaz@gmail.com>
491 * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
493 2008-06-05 Andreas Färber <andreas.faerber@web.de>
495 * dtrace.h: New file, defines macros for DTrace probes.
496 * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
498 Contributed under MIT/X11 license.
500 2008-05-29 Zoltan Varga <vargaz@gmail.com>
502 * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
504 2008-05-27 Zoltan Varga <vargaz@gmail.com>
506 * mono-value-hash.c: Fix build on older glib versions.
508 * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
510 * mono-value-hash.h mono-value-hash.c: New files.
512 2008-05-26 Zoltan Varga <vargaz@gmail.com>
514 * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
516 * mono-property-hash.h mono-property-hash.c: New files.
518 2008-05-14 Kornél Pál <kornelpal@gmail.com>
520 * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
521 fixes path canonicalization for paths containing '/'.
523 Contributed under MIT/X11 license.
525 2008-05-04 Andreas Faerber <andreas.faerber@web.de>
527 * mono-membar.h: Prepare support for OSX/ppc64.
529 Contributed under MIT/X11 license.
531 2008-04-16 Jonathan Chambers <joncham@gmail.com>
532 * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
533 dependent size; fixes Win64.
534 * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
535 mono_memory_write_barrier for Win64.
537 Contributed under MIT/X11 license.
539 2008-04-16 Marek Habersack <mhabersack@novell.com>
541 * mono-io-portability.c (mono_portability_find_file): properly
542 process unrooted entries with a trailing slash.
544 2008-04-09 Zoltan Varga <vargaz@gmail.com>
546 * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
547 Lea's malloc package.
549 * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
550 this allows us to set the executable bit on the system memory dlmalloc
551 allocates from, fixing #320036.
553 2008-03-29 Zoltan Varga <vargaz@gmail.com>
555 * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
557 2008-03-14 Robert Jordan <robertj@gmx.net>
559 * mono-dl.c (w32_load_module): prevent error dialog by resetting
560 the Win32 error mode during LoadLibrary (). Fixes #360363.
562 * mono-dl.c (w32_dlerror): kill a warning.
564 2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
566 * mono-membar.h: Memory barrier for mips.
568 Contributed under MIT/X11 license.
570 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
572 * mono-time.c, mono-time.h: new file with the implementation of the
573 time-related routines we need in mono. This includes a hires
574 monotonic clock and a proper monotonic replacement for GetTickCount ().
576 2008-02-13 Zoltan Varga <vargaz@gmail.com>
578 * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
579 <tsv@solvo.ru>. Add alpha support.
581 2008-01-11 Zoltan Varga <vargaz@gmail.com>
583 * mono-io-portability.c: Include errno.h since it is needed by code inside
586 * mono-ehash.c: Don't include os/gc_wrapper.h.
588 2008-01-06 Zoltan Varga <vargaz@gmail.com>
590 * mono-hash.c: Don't include os/gc_wrapper.h.
592 2007-11-06 Geoff Norton <gnorton@novell.com>
594 * strtod.c: Use a G_MUTEX call pattern compatible with eglib. Patch
595 from Jonathan Chambers
597 2007-10-11 Zoltan Varga <vargaz@freemail.hu>
599 * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
601 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
603 * mono-codeman.c, mono-codeman.h: added a function to be able
604 to specify alignment per-allocation. Changed the code to align
605 the starting position instead of the size, which wouldn't work
606 with variable-alignment.
608 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
610 * mono-codeman.c, mono-codeman.h: fixed alignment code to not
611 be wasteful, Added documentation. Added mono_code_manager_size ()
612 to gather statistics info about a code manager.
614 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
616 * mono-counters.h, mono-counters.c: better formatting of the output
617 and added a cleanup function.
619 2007-10-03 Miguel de Icaza <miguel@novell.com>
621 * mono-compiler.h (trunc): Make the definition of trunk for MSC
622 use ceil or floor instead of always using floor which is
625 Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
627 2007-10-02 Jonathan Chambers <joncham@gmail.com>
629 * mono-io-portability.c: Init __mono_io_portability_helpers
630 to PORTABILITY_NONE on windows as mono_portability_helpers_init
631 is not always called before mono_portability_find_file.
633 Code is contributed under MIT/X11 license.
635 2007-10-01 Jonathan Chambers <joncham@gmail.com>
637 * mono-io-portability.c: Only support on non-Windows
640 Code is contributed under MIT/X11 license.
642 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
644 * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
645 renamed exported call and made it properly internal.
647 2007-09-14 Jonathan Chambers <joncham@gmail.com>
649 * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
651 Code is contributed under MIT/X11 license.
653 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
655 * Makefile.am: don't install internal headers.
657 2007-09-12 Marek Habersack <mhabersack@novell.com>
659 * mono-io-portability.c: added. Moved options_init from io-layer.
660 (find_in_dir): moved from io-layer/io-portability.c
661 (mono_portability_find_file): moved find_file from
662 io-layer/io-portability.c, renamed and made MONO_INTERNAL.
664 * mono-io-portability.h: added. Contains declarations utility
665 functions and acros for checking whether MONO_IOMAP is in effect.
666 Added a prototype for mono_portability_find_file.
668 2007-09-09 Zoltan Varga <vargaz@gmail.com>
670 * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
671 Fixes build with -fPIE.
673 2007-08-31 Jonathan Chambers <joncham@gmail.com>
675 * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
676 Fixes tons of warnings we get on cygwin build.
678 Code is contributed under MIT/X11 license.
680 2007-08-14 Jonathan Chambers <joncham@gmail.com>
682 * mono-membar.h: Use intrinsic functions in msvc.
684 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
686 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
688 2007-07-27 Mark Probst <mark.probst@gmail.com>
690 * mono-membar.h: Memory barriers.
692 2007-06-13 Mark Probst <mark.probst@gmail.com>
694 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
697 2007-06-06 Mark Probst <mark.probst@gmail.com>
699 * mono-internal-hash.c: Fixed a bug in the remove entry code.
701 2007-06-04 Mark Probst <mark.probst@gmail.com>
704 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
705 uses the value themselves as nodes, hence doesn't have to allocate
708 2007-05-24 Jonathan Chambers <joncham@gmail.com>
710 * mono-path.c: Add configure checks for header files.
711 * mono-codeman.c: Add configure checks for header files.
712 * mono-poll.h: Add configure checks for header files.
713 * mono-stdlib.c: Add configure checks for header files.
715 Code is contributed under MIT/X11 license.
717 2007-03-09 Jonathan Chambers <joncham@gmail.com>
719 * mono-dl.c: Use Unicode characters for Win32 functions.
721 Code is contributed under MIT/X11 license.
723 2007-01-26 Robert Jordan <robertj@gmx.net>
725 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
728 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
730 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
732 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
734 * mono-codeman.c: don't call mono_mprotect() on windows.
736 2007-01-20 Zoltan Varga <vargaz@gmail.com>
738 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
739 the header file. Add fast macro based versions of most bitset
740 operations and optimize the rest a bit.
742 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
744 * mono-dl.h, mono-dl.c, Makefile.am: implementation
745 of dynamic loading API.
747 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
749 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
751 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
753 * mono-mmap.c : win32 build fix.
755 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
757 * mono-codeman.c: changed to use the mono-mmap.h API.
759 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
761 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
763 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
765 * strtod.c: fix, again, 64 bit issues.
767 2006-11-25 Miguel de Icaza <miguel@novell.com>
769 * strtod.c: Upgrade this implementation to the one from:
770 http://www.netlib.org/fp/
772 Fixed a few warnings, and added the header thta we had to
773 autodetect the FPU setup to use.
775 This should fix the hang when running the corlib test suite.
777 2006-10-18 Miguel de Icaza <miguel@novell.com>
779 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
782 2006-10-17 Miguel de Icaza <miguel@novell.com>
784 * mono-ehash.c: Use the new eglib hash implementation; Currently
785 only Boehm is supported.
787 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
789 * strtod.c: teleport to the new millennium.
791 2006-10-09 Miguel de Icaza <miguel@novell.com>
793 * strtod.c: Replace the BSD implementation which was fairly old
794 and complex with a cleaner version from Tcl/Tk. Fixes the hang
795 that we have in the Double parsing tests in our class libraries.
797 2006-09-12 Zoltan Varga <vargaz@gmail.com>
799 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
800 IEEE_8087 for alpha as well.
802 2006-09-04 Robert Jordan <robertj@gmx.net>
804 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
806 2006-08-30 Zoltan Varga <vargaz@gmail.com>
808 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
810 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
813 * mono-stdlib.[ch]: mkstemp implementation.
815 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
818 * mono-path.[ch]: new files with functions to handle/resolve paths.
820 2006-08-10 Zoltan Varga <vargaz@gmail.com>
822 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
823 module. Fixes #78767.
825 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
827 * mono-hash.h, mono-hash.c: changed the code so we're able to
828 specify if the key or value or both are managed objects.
830 2006-04-10 Zoltan Varga <vargaz@gmail.com>
832 * monobitset.c (mono_bitset_sub): Use src->size since the assert
833 guarantees it is less than dest->size.
835 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
837 * monobitset.c: cap size in mono_bitset_sub () to
838 avoid reading uninit memory.
840 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
842 * mono-counters.c: initialize the next pointer.
844 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
846 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
848 2006-03-16 Zoltan Varga <vargaz@gmail.com>
850 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
852 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
855 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
857 2006-03-10 Zoltan Varga <vargaz@gmail.com>
859 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
862 2006-03-01 Zoltan Varga <vargaz@gmail.com>
864 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
866 * mono-counters.c: Fix windows build.
868 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
870 * mono-counters.h, mono-counters.c, Makefile.am: added
871 API for flexible stats collection.
873 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
875 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
877 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
879 * mono-compiler.h: patch from Jakub Jelinek to retrieve
880 the tls offset without a text writable section (bug #77653).
882 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
884 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
887 2006-01-20 Zoltan Varga <vargaz@gmail.com>
889 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
891 2006-01-17 Zoltan Varga <vargaz@gmail.com>
893 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
894 from mini.h. Also fix it after the 64 bit changes.
896 2006-01-15 Zoltan Varga <vargaz@gmail.com>
898 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
900 2006-01-04 Zoltan Varga <vargaz@gmail.com>
902 * mono-codeman.c (new_codechunk): Fix warnings.
904 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
906 * strtod.c : un-constified some variables to fix bug #75228.
908 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
910 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
911 the FF FE at the beginning, which is not what we expect. Now
912 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
914 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
916 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
917 with recent binutils.
919 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
921 * mono-codeman.c: ensure we have enough room for thunks
922 with large allocations.
924 2005-08-27 Zoltan Varga <vargaz@gmail.com>
926 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
929 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
931 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
933 * mono-codeman.c: allow room for far calls for ARM, too.
935 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
937 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
938 getting the tls offsets on amd64 too.
940 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
942 * mono-compiler.h: Add TLS offset detection for ia64.
944 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
946 * mono-compiler.h (trunc): Define this to be floor under win32.
948 2005-06-13 Geoff Norton <gnorton@customerdna.com>
950 * mono-compiler.h: Be slightly more conservative on ppc
951 as this was previously causing crashes building.
953 2005-06-09 Duncan Mak <duncan@novell.com>
955 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
956 all public headers. Fixes #74919.
958 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
960 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
962 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
964 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
966 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
968 * mono-poll.c: windows return code translation.
969 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
970 Moved to configure.in.
972 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
974 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
975 implement it in terms of select().
976 * Makefile.am: added new files.
978 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
980 * mono-compiler.h: Added defines to make it easier to compile mono and
981 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
983 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
985 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
986 code to have 32 bit addresses.
988 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
990 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
992 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
994 * Makefile.am, mono-compiler.h: added header to deal with
995 compiler-specific bugs and features.
997 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
999 * mono-logger.c (mono_trace_is_traced): Fix comment.
1001 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
1003 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
1005 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
1008 2004-12-23 Ben Maurer <bmaurer@ximian.com>
1010 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
1012 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
1014 * mono-codeman.c: align bsize so the returned pointer
1015 is aligned also for dynamic methods.
1017 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
1019 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
1021 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1023 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
1026 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1028 * mono-sha1.c: Remove uint32 and int32 types completely
1030 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1032 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
1034 * mono-codeman.c (new_codechunk): Fix windows build.
1036 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
1037 allocate code for dynamic methods (one method per code manager).
1039 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
1041 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
1043 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
1045 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
1046 x86 break on AMD64 too.
1048 2004-07-23 zovarga <vargaz@freemail.hu>
1050 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
1053 2004-07-09 Ben Maurer <bmaurer@ximain.com>
1055 * mono-hash.c: register gc roots
1057 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
1059 * mono-logger.h mono-logger.c: Added AOT component.
1061 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
1063 * strtod.c: Use gint32 for 32 bit types.
1065 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
1067 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
1068 in SHA1Transform on 64 bit systems.
1070 2004-06-24 David Waite <mass@akuma.org>
1072 * monobitset.c: change to C90-style comments from C99/C++-style
1074 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
1076 * mono-sha1.c : close opened file in case of successful read. This
1077 saves a bunch of System.Reflection Emit failures under windows.
1079 2004-06-18 Jackson Harper <jackson@ximian.com>
1081 * mono-logger.c/h: Add a trace mask option for tracing loading
1082 config files. A little white space love.
1084 2004-06-18 Jackson Harper <jackson@ximian.com>
1086 * mono-logger.c: Change default logging level to ERROR. Make sure
1087 that mono_trace_init is called if mono_tracev is our first trace
1088 statement is mono_tracev. Little indentation fix.
1090 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
1092 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
1093 memory with 0xcc (x86 break).
1095 2004-05-02 Miguel de Icaza <miguel@ximian.com>
1097 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
1098 to test against BYTE_ORDER, and this caused trouble. We now use
1099 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
1101 2004-04-26 David Waite <mass@akuma.org>
1103 * mono-logger.h: remove comma from end of enumeration declaration
1105 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1107 * mono-codeman.c: macosx pretends an argument (which is ignored)
1108 to be -1. Make sure the thunks area is zeroed.
1110 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
1112 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1115 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1117 * mono-codeman.c: add a define to force the use of malloc
1120 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1122 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1123 to the native code for arch where calls have a limited immediate
1126 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1128 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1129 to deal with buffers of native code (handles exec bits and other
1132 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1135 (mono_unicode_from_external): UTF8 is the default, not the preferred
1136 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1137 was passed in the env. var., it always failed because we were passing
1138 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1140 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1144 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1146 * mono-uri.c: fixed compile problem.
1148 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
1150 * mono-math.c: fix for older C compilers and big endian machines
1152 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
1154 * mono-math.h mono-math.c: New file which contains implementations of
1155 math functions/macros which are missing on some platforms.
1157 2003-11-10 Dick Porter <dick@ximian.com>
1159 * strenc.c: Use platform-endian UTF16
1161 2003-10-28 Dick Porter <dick@ximian.com>
1164 * strenc.c: New files, convert text to and from unicode or utf8,
1165 and the user's chosen encoding.
1167 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
1169 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1170 to remap hashtable values during a copying collection. Not used at the
1172 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1174 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1175 the key function even if the client supplied g_direct_equal instead of
1178 2003-08-22 Duncan Mak <duncan@ximian.com>
1180 * strtod.c: 64-bit related fixes from Laurent Morichetti
1181 <l_m@pacbell.net>. Patch approval from Miguel.
1183 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1185 * mono-logger.h, mono-logger.c, Makefile.am: added
1186 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1188 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
1190 * monobitset.c (mono_bitset_set_all): impl.
1192 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1194 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1195 to get the public key token from a public key.
1197 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1199 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1202 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1204 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1206 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1208 * monobitset.c, monobitset.h: documentation and fixes from
1211 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1213 * monobitset.c: fix my screwup pointed out by Lawrence Pit
1214 (loz@cable.a2000.nl).
1216 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1218 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1220 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1222 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1223 Add more tests. mono_bitset_find_first (set, -1) will work correctly
1226 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
1228 * monobitset.c: use memcmp instead of memcpy
1230 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1232 * monobitset.c, monibitset.h: bit set data structure.
1233 Not included in the build yet because the jit has some symbol clashes
1236 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1238 * First checkin: libmonoutils is meant to hold some utility
1239 data structures and bits that are usefult to the rest of the project
1240 and don't require metadata/runtime support.
1241 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated