2 Wed Feb 24 15:50:55 CET 2010 Paolo Molaro <lupus@ximian.com>
4 * mono-publib.h, mono-publib.c: new public header file to allow
5 the removal of gli from the other public headers.
6 * Makefile.am: install only the public header mono-publib.h.
8 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
10 * mono-semaphore.h: enable the #defines when io-layer is in use.
11 * Makefile.am: added new file.
12 * mono-semaphore.c: new mono_sem_timedwait() function.
14 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
16 * mono-semaphore.h: set maximum count to 0x7fffffff.
18 2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
20 * mono-error-internals.h: Add mono_error_set_not_verifiable.
22 * mono-error.h: Add MONO_ERROR_NOT_VERIFIABLE.
24 * mono-error.c: Implement mono_error_set_not_verifiable.
26 2010-01-26 U-anarquia\miguel <miguel@anarquia>
28 * mono-dl.c: Removed debugging messages for the embeddable version
31 2010-01-22 Miguel de Icaza (miguel@novell.com)
33 * mono-dl.c: Always strdup the return value, for consistency.
35 2010-01-18 Sebastien Pouliot <sebastien@ximian.com>
37 * mono-error.c: Call va_end/va_start before reusing 'args'.
39 2010-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
41 * mono-hash.c: fix the null-gc build.
43 2010-01-11 Miguel de Icaza <miguel@novell.com>
45 * valgrind.h, memcheck.h: Add guards to prevent the gcc features
46 from being included in non-GCC builds like the Windows build.
48 2010-01-03 Zoltan Varga <vargaz@gmail.com>
50 * mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
53 2009-12-18 Zoltan Varga <vargaz@gmail.com>
55 * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
56 headers so we can use the valgrind user requests even if mono is compiled on
57 a system where they are not installed.
59 2009-12-11 Marek Habersack <mhabersack@novell.com>
61 * mono-io-portability.c: moved all the reporting code to the IOMAP
63 (mono_portability_find_file_internal): calls mono_profiler_iomap
64 whenever an adjustement is made.
66 2009-12-02 Mark Probst <mark.probst@gmail.com>
68 * mono-hash.c: Don't use MONO_ROOT_SETREF for setting keys and
69 values. It's unnecessary - the hash table has a marking function
70 which takes care of all GC-tracked keys and values.
72 2009-11-26 Zoltan Varga <vargaz@gmail.com>
74 * mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.
76 2009-11-25 Rodrigo Kumpera <rkumpera@novell.com>
78 * mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
79 of mono_error_set_bad_image to take a MonoImage instead of a const char *.
83 2009-11-25 Zoltan Varga <vargaz@gmail.com>
85 * mono-hash.c (mono_g_hash_table_find): Implement this.
87 2009-11-24 Zoltan Varga <vargaz@gmail.com>
89 * mono-io-portability.c (append_report): g_string_append_vprintf is available
92 2009-11-23 Andreas Färber <andreas.faerber@web.de>
94 * mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
96 Code contributed under MIT/X11 license.
98 2009-11-23 Marek Habersack <mhabersack@novell.com>
100 * mono-io-portability.c: gather up and report misnamed files
101 accessed by the application if the 'report' option is present in
102 the MONO_IOMAP environment variable.
104 2009-11-13 Jonathan Chambers <joncham@gmail.com>
106 * mono-semaphore.h: Implementation for Windows platform.
108 Code contributed under MIT/X11 license.
110 2009-11-12 Geoff Norton <gnorton@novell.com>
112 * mono-path.c: When resolving symlinks in a path, we need to
113 split on the directory separator and check each level, as
114 readlink only checks the final destination.
116 2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
118 * mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.
120 Patch by Justin Hibbits <chmeeedalf@gmail.com>.
122 2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
124 * mono-error.c: VS does not like this.
126 2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
128 * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
130 * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
133 * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
135 * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
136 for MONO_ERROR_ARGUMENT.
138 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
140 * mono-proclib.c: hz is only multiplied by the number of cpus when
143 2009-10-29 Mark Probst <mark.probst@gmail.com>
145 * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
147 2009-10-23 Alp Toker <alp@nuanti.com>
149 Fix embedding API breakage from r144688. mono-compiler.h is an internal
150 header and should not be shipped:
152 * Makefile.am: Include newly added public header mono-error.h in HEADERS so
155 2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
157 * Makefile.am: Fix make dist.
159 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
161 * mono-compiler.h: Add MONO_DEPRECATED.
163 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
165 * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
166 structures and functions.
168 * Makefile.am: Add new files.
170 2009-10-12 Joel W. Reed <joelwreed@gmail.com>
172 * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
173 network statistics from "/proc/net/dev" for performance counters.
175 Code is contributed under MIT/X11 license.
177 2009-09-29 Zoltan Varga <vargaz@gmail.com>
179 * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
180 millions of warnings during compilation.
182 2009-09-25 Jonathan Chambers <joncham@gmail.com>
184 * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
186 Code is contributed under MIT/X11 license.
188 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
190 * mono-sha1.c: Update documentation.
192 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
194 * mono-md5.c: Update documentation.
196 2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
198 * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
199 * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
200 success (just like we do for sha1)
202 2009-08-21 Mark Probst <mark.probst@gmail.com>
204 * mono-hash.c: When creating a hash table, if the keys are managed
205 objects, assert that we have a hash function. Remove the
206 rehashing after GC marking.
208 2009-08-18 Christian Hergert <chris@dronelabs.com>
210 * strtod.c: Fix warnings for uninitialized variables.
212 2009-08-18 Christian Hergert <chris@dronelabs.com>
215 * mono-counters.c: Fix printf warnings.
217 2009-08-12 Mark Probst <mark.probst@gmail.com>
219 * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
220 rehash the table after marking.
222 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
224 * monobitset.h: add comment.
226 2009-08-01 Zoltan Varga <vargaz@gmail.com>
228 * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
230 2009-07-30 Mark Probst <mark.probst@gmail.com>
232 * mono-sigcontext.h: Include config.h.
234 2009-07-30 Mark Probst <mark.probst@gmail.com>
236 * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
237 macros, moved from mini.
239 2009-07-29 Massimiliano Mantione <massi@ximian.com>
241 * mono-codeman.c (free_chunklist and new_codechunk):
242 Call profiler hooks to keep track of code chunks.
244 2009-07-20 Geoff Norton <gnorton@novell.com>
246 * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
247 can be used by the runtime as well.
249 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
251 * mono-proclib.c: fix reading processor usage for a process. Patch
252 from Jacob Gladish that fixes bug #523052.
254 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
256 * mono-proclib.c: fixed setting the NUL terminator.
257 Thanks to Jacob Gladish.
259 2009-06-15 Zoltan Varga <vargaz@gmail.com>
261 * gc_wrapper.h: Disable thread local alloc on mips.
263 2009-05-26 Zoltan Varga <vargaz@gmail.com>
265 * CMakeLists.txt: New file.
267 2009-05-09 Miguel de Icaza <miguel@novell.com>
269 * mono-value-hash.c (mono_value_hash_table_insert_replace):
270 Initialize variable, to quiet the compiler.
272 * mono-proclib.c: Eliminate two warnings.
274 2009-04-03 Miguel de Icaza <miguel@novell.com>
276 * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
277 the mono-filemap.c file so it can be plugged in platform-specific
280 2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
283 * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
285 2009-03-23 Zoltan Varga <vargaz@gmail.com>
287 * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
289 2009-03-22 Zoltan Varga <vargaz@gmail.com>
291 * gc_wrapper.h: Disable thread local allocation for ARM too because of
292 incomplete support in libgc.
294 2009-03-20 Zoltan Varga <vargaz@gmail.com>
296 * gc_wrapper.h: New file, moved from ../os.
298 * Makefile.am: Add gc_wrapper.h
300 2009-03-06 Zoltan Varga <vargaz@gmail.com>
302 * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
304 2009-02-16 Mark Probst <mark.probst@gmail.com>
306 Contributed under the terms of the MIT/X11 license by Steven
307 Munroe <munroesj@us.ibm.com>.
309 * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
311 2009-02-11 Bill Holmes <billholmes54@gmail.com>
313 * mono-filemap.c : Fixing the MSVC build.
315 Contributed under MIT/X11 license.
317 2009-02-03 Miguel de Icaza <miguel@novell.com>
319 * mono-dl.c: Add support for registering in-proc addresses as
320 libraries that can be P/Invoked. Used in operating systems that
321 lack a dynamic linker.
323 * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
324 some code from mono-mmap. into this file to ease porting.
326 * mono-io-portability.c: Use new define to turn off portability
329 2009-01-25 Zoltan Varga <vargaz@gmail.com>
331 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
333 2009-01-21 Zoltan Varga <vargaz@gmail.com>
335 * mono-mmap.c: Applied patch from Koushik Dutta
336 (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
339 2009-01-19 Bill Holmes <billholmes54@gmail.com>
341 * mono-path.c (mono_path_canonicalize): Adding support for UNC
344 Contributed under MIT/X11 license.
346 2009-01-18 Zoltan Varga <vargaz@gmail.com>
348 * mono-mmap.c: Applied patch from Koushik Dutta
349 (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
351 2009-01-16 Zoltan Varga <vargaz@gmail.com>
353 * mono-hash.c: Change the roots to use write barriers when running with
354 SGEN, to avoid scanning all the hash nodes at every minor collection.
356 2009-01-15 Zoltan Varga <vargaz@gmail.com>
358 * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
359 marker function instead of registering each GC node as a hash root.
361 2009-01-08 Bill Holmes <billholmes54@gmail.com>
363 * mono-dl.c (mono_dl_open): Fix the MSVC build.
365 Contributed under MIT/X11 license.
367 2008-12-19 Miguel de Icaza <miguel@novell.com>
369 * mono-dl.c (mono_dl_open): Do not crash if the platform does not
372 2008-12-08 Kornél Pál <kornelpal@gmail.com>
374 * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
375 with ULARGE_INTEGER that is more efficient.
377 Contributed under MIT/X11 license.
379 2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
381 * mono-property-hash.c (mono_property_hash_destroy): Release
382 the root hashtable as well.
384 2008-11-24 Zoltan Varga <vargaz@gmail.com>
386 * freebsd-elf_common.h (struct): Use uint32_t instead of
387 u_int32_t to fix the build on opensolaris.
389 2008-11-18 Zoltan Varga <vargaz@gmail.com>
391 * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
393 2008-11-14 Andreas Färber <andreas.faerber@web.de>
395 * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
398 Contributed under MIT/X11 license.
400 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
402 * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
405 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
407 * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
409 2008-11-05 Zoltan Varga <vargaz@gmail.com>
411 * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
414 2008-11-04 Zoltan Varga <vargaz@gmail.com>
416 * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
419 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
421 * mono-proclib.c, mono-proclib.h: added functions to get info
422 about the processors in the system.
424 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
426 * mono-proclib.c, mono-mmap.c: basic support for OSX and
427 (untested) BSD systems.
429 2008-10-13 Bill Holmes <billholmes54@gmail.com>
431 * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
433 Contributed under MIT/X11 license.
435 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
437 * mono-proclib.c, mono-proclib.h: added a function to deal with
438 error handling if the caller needs the info.
440 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
442 * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
443 access process-related information.
445 2008-10-08 Zoltan Varga <vargaz@gmail.com>
447 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
448 the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
450 2008-09-26 Zoltan Varga <vargaz@gmail.com>
452 * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
454 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
456 * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
457 too return the list of mono processes with performance counter data.
459 2008-08-27 Bill Holmes <billholmes54@gmail.com>
461 * strenc.c : Fixing some waringings and compiler errors when using
464 Contributed under MIT/X11 license.
466 2008-08-20 Mike Voorhees <vernish13@gmail.com>
468 * strenc.h : Adding declaration for mono_utf8_validate_and_len.
470 * strenc.c : Adding implementation for mono_utf8_validate_and_len.
472 Contributed under MIT/X11 license.
474 2008-08-03 Andreas Färber <andreas.faerber@web.de>
476 * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
478 Contributed under MIT/X11 license.
480 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
482 * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
483 in a shared memory page.
485 2008-07-21 Bill Holmes <billholmes54@gmail.com>
487 * mono-membar.h : From previous commit. When including glib.h,
488 <> should be used and not "".
490 Contributed under MIT/X11 license.
492 2008-07-21 Bill Holmes <billholmes54@gmail.com>
494 * mono-membar.h : Including glib.h to get definition of 'inline.' Needed
495 by the MSVC compiler.
497 Contributed under MIT/X11 license.
499 2008-07-09 Zoltan Varga <vargaz@gmail.com>
501 * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
503 * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
504 set the code manager to read-only status.
505 (mono_code_manager_reserve_align): Assert if the code manager is read only.
507 2008-06-14 Zoltan Varga <vargaz@gmail.com>
509 * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
512 * dlmalloc.c: Enable the memalign functions.
514 2008-06-05 Zoltan Varga <vargaz@gmail.com>
516 * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
518 2008-06-05 Andreas Färber <andreas.faerber@web.de>
520 * dtrace.h: New file, defines macros for DTrace probes.
521 * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
523 Contributed under MIT/X11 license.
525 2008-05-29 Zoltan Varga <vargaz@gmail.com>
527 * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
529 2008-05-27 Zoltan Varga <vargaz@gmail.com>
531 * mono-value-hash.c: Fix build on older glib versions.
533 * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
535 * mono-value-hash.h mono-value-hash.c: New files.
537 2008-05-26 Zoltan Varga <vargaz@gmail.com>
539 * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
541 * mono-property-hash.h mono-property-hash.c: New files.
543 2008-05-14 Kornél Pál <kornelpal@gmail.com>
545 * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
546 fixes path canonicalization for paths containing '/'.
548 Contributed under MIT/X11 license.
550 2008-05-04 Andreas Faerber <andreas.faerber@web.de>
552 * mono-membar.h: Prepare support for OSX/ppc64.
554 Contributed under MIT/X11 license.
556 2008-04-16 Jonathan Chambers <joncham@gmail.com>
557 * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
558 dependent size; fixes Win64.
559 * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
560 mono_memory_write_barrier for Win64.
562 Contributed under MIT/X11 license.
564 2008-04-16 Marek Habersack <mhabersack@novell.com>
566 * mono-io-portability.c (mono_portability_find_file): properly
567 process unrooted entries with a trailing slash.
569 2008-04-09 Zoltan Varga <vargaz@gmail.com>
571 * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
572 Lea's malloc package.
574 * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
575 this allows us to set the executable bit on the system memory dlmalloc
576 allocates from, fixing #320036.
578 2008-03-29 Zoltan Varga <vargaz@gmail.com>
580 * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
582 2008-03-14 Robert Jordan <robertj@gmx.net>
584 * mono-dl.c (w32_load_module): prevent error dialog by resetting
585 the Win32 error mode during LoadLibrary (). Fixes #360363.
587 * mono-dl.c (w32_dlerror): kill a warning.
589 2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
591 * mono-membar.h: Memory barrier for mips.
593 Contributed under MIT/X11 license.
595 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
597 * mono-time.c, mono-time.h: new file with the implementation of the
598 time-related routines we need in mono. This includes a hires
599 monotonic clock and a proper monotonic replacement for GetTickCount ().
601 2008-02-13 Zoltan Varga <vargaz@gmail.com>
603 * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
604 <tsv@solvo.ru>. Add alpha support.
606 2008-01-11 Zoltan Varga <vargaz@gmail.com>
608 * mono-io-portability.c: Include errno.h since it is needed by code inside
611 * mono-ehash.c: Don't include os/gc_wrapper.h.
613 2008-01-06 Zoltan Varga <vargaz@gmail.com>
615 * mono-hash.c: Don't include os/gc_wrapper.h.
617 2007-11-06 Geoff Norton <gnorton@novell.com>
619 * strtod.c: Use a G_MUTEX call pattern compatible with eglib. Patch
620 from Jonathan Chambers
622 2007-10-11 Zoltan Varga <vargaz@freemail.hu>
624 * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
626 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
628 * mono-codeman.c, mono-codeman.h: added a function to be able
629 to specify alignment per-allocation. Changed the code to align
630 the starting position instead of the size, which wouldn't work
631 with variable-alignment.
633 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
635 * mono-codeman.c, mono-codeman.h: fixed alignment code to not
636 be wasteful, Added documentation. Added mono_code_manager_size ()
637 to gather statistics info about a code manager.
639 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
641 * mono-counters.h, mono-counters.c: better formatting of the output
642 and added a cleanup function.
644 2007-10-03 Miguel de Icaza <miguel@novell.com>
646 * mono-compiler.h (trunc): Make the definition of trunk for MSC
647 use ceil or floor instead of always using floor which is
650 Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
652 2007-10-02 Jonathan Chambers <joncham@gmail.com>
654 * mono-io-portability.c: Init __mono_io_portability_helpers
655 to PORTABILITY_NONE on windows as mono_portability_helpers_init
656 is not always called before mono_portability_find_file.
658 Code is contributed under MIT/X11 license.
660 2007-10-01 Jonathan Chambers <joncham@gmail.com>
662 * mono-io-portability.c: Only support on non-Windows
665 Code is contributed under MIT/X11 license.
667 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
669 * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
670 renamed exported call and made it properly internal.
672 2007-09-14 Jonathan Chambers <joncham@gmail.com>
674 * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
676 Code is contributed under MIT/X11 license.
678 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
680 * Makefile.am: don't install internal headers.
682 2007-09-12 Marek Habersack <mhabersack@novell.com>
684 * mono-io-portability.c: added. Moved options_init from io-layer.
685 (find_in_dir): moved from io-layer/io-portability.c
686 (mono_portability_find_file): moved find_file from
687 io-layer/io-portability.c, renamed and made MONO_INTERNAL.
689 * mono-io-portability.h: added. Contains declarations utility
690 functions and acros for checking whether MONO_IOMAP is in effect.
691 Added a prototype for mono_portability_find_file.
693 2007-09-09 Zoltan Varga <vargaz@gmail.com>
695 * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
696 Fixes build with -fPIE.
698 2007-08-31 Jonathan Chambers <joncham@gmail.com>
700 * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
701 Fixes tons of warnings we get on cygwin build.
703 Code is contributed under MIT/X11 license.
705 2007-08-14 Jonathan Chambers <joncham@gmail.com>
707 * mono-membar.h: Use intrinsic functions in msvc.
709 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
711 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
713 2007-07-27 Mark Probst <mark.probst@gmail.com>
715 * mono-membar.h: Memory barriers.
717 2007-06-13 Mark Probst <mark.probst@gmail.com>
719 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
722 2007-06-06 Mark Probst <mark.probst@gmail.com>
724 * mono-internal-hash.c: Fixed a bug in the remove entry code.
726 2007-06-04 Mark Probst <mark.probst@gmail.com>
729 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
730 uses the value themselves as nodes, hence doesn't have to allocate
733 2007-05-24 Jonathan Chambers <joncham@gmail.com>
735 * mono-path.c: Add configure checks for header files.
736 * mono-codeman.c: Add configure checks for header files.
737 * mono-poll.h: Add configure checks for header files.
738 * mono-stdlib.c: Add configure checks for header files.
740 Code is contributed under MIT/X11 license.
742 2007-03-09 Jonathan Chambers <joncham@gmail.com>
744 * mono-dl.c: Use Unicode characters for Win32 functions.
746 Code is contributed under MIT/X11 license.
748 2007-01-26 Robert Jordan <robertj@gmx.net>
750 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
753 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
755 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
757 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
759 * mono-codeman.c: don't call mono_mprotect() on windows.
761 2007-01-20 Zoltan Varga <vargaz@gmail.com>
763 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
764 the header file. Add fast macro based versions of most bitset
765 operations and optimize the rest a bit.
767 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
769 * mono-dl.h, mono-dl.c, Makefile.am: implementation
770 of dynamic loading API.
772 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
774 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
776 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
778 * mono-mmap.c : win32 build fix.
780 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
782 * mono-codeman.c: changed to use the mono-mmap.h API.
784 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
786 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
788 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
790 * strtod.c: fix, again, 64 bit issues.
792 2006-11-25 Miguel de Icaza <miguel@novell.com>
794 * strtod.c: Upgrade this implementation to the one from:
795 http://www.netlib.org/fp/
797 Fixed a few warnings, and added the header thta we had to
798 autodetect the FPU setup to use.
800 This should fix the hang when running the corlib test suite.
802 2006-10-18 Miguel de Icaza <miguel@novell.com>
804 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
807 2006-10-17 Miguel de Icaza <miguel@novell.com>
809 * mono-ehash.c: Use the new eglib hash implementation; Currently
810 only Boehm is supported.
812 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
814 * strtod.c: teleport to the new millennium.
816 2006-10-09 Miguel de Icaza <miguel@novell.com>
818 * strtod.c: Replace the BSD implementation which was fairly old
819 and complex with a cleaner version from Tcl/Tk. Fixes the hang
820 that we have in the Double parsing tests in our class libraries.
822 2006-09-12 Zoltan Varga <vargaz@gmail.com>
824 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
825 IEEE_8087 for alpha as well.
827 2006-09-04 Robert Jordan <robertj@gmx.net>
829 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
831 2006-08-30 Zoltan Varga <vargaz@gmail.com>
833 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
835 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
838 * mono-stdlib.[ch]: mkstemp implementation.
840 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
843 * mono-path.[ch]: new files with functions to handle/resolve paths.
845 2006-08-10 Zoltan Varga <vargaz@gmail.com>
847 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
848 module. Fixes #78767.
850 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
852 * mono-hash.h, mono-hash.c: changed the code so we're able to
853 specify if the key or value or both are managed objects.
855 2006-04-10 Zoltan Varga <vargaz@gmail.com>
857 * monobitset.c (mono_bitset_sub): Use src->size since the assert
858 guarantees it is less than dest->size.
860 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
862 * monobitset.c: cap size in mono_bitset_sub () to
863 avoid reading uninit memory.
865 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
867 * mono-counters.c: initialize the next pointer.
869 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
871 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
873 2006-03-16 Zoltan Varga <vargaz@gmail.com>
875 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
877 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
880 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
882 2006-03-10 Zoltan Varga <vargaz@gmail.com>
884 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
887 2006-03-01 Zoltan Varga <vargaz@gmail.com>
889 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
891 * mono-counters.c: Fix windows build.
893 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
895 * mono-counters.h, mono-counters.c, Makefile.am: added
896 API for flexible stats collection.
898 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
900 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
902 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
904 * mono-compiler.h: patch from Jakub Jelinek to retrieve
905 the tls offset without a text writable section (bug #77653).
907 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
909 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
912 2006-01-20 Zoltan Varga <vargaz@gmail.com>
914 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
916 2006-01-17 Zoltan Varga <vargaz@gmail.com>
918 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
919 from mini.h. Also fix it after the 64 bit changes.
921 2006-01-15 Zoltan Varga <vargaz@gmail.com>
923 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
925 2006-01-04 Zoltan Varga <vargaz@gmail.com>
927 * mono-codeman.c (new_codechunk): Fix warnings.
929 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
931 * strtod.c : un-constified some variables to fix bug #75228.
933 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
936 the FF FE at the beginning, which is not what we expect. Now
937 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
939 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
941 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
942 with recent binutils.
944 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
946 * mono-codeman.c: ensure we have enough room for thunks
947 with large allocations.
949 2005-08-27 Zoltan Varga <vargaz@gmail.com>
951 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
954 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
956 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
958 * mono-codeman.c: allow room for far calls for ARM, too.
960 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
962 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
963 getting the tls offsets on amd64 too.
965 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
967 * mono-compiler.h: Add TLS offset detection for ia64.
969 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
971 * mono-compiler.h (trunc): Define this to be floor under win32.
973 2005-06-13 Geoff Norton <gnorton@customerdna.com>
975 * mono-compiler.h: Be slightly more conservative on ppc
976 as this was previously causing crashes building.
978 2005-06-09 Duncan Mak <duncan@novell.com>
980 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
981 all public headers. Fixes #74919.
983 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
985 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
987 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
989 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
991 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
993 * mono-poll.c: windows return code translation.
994 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
995 Moved to configure.in.
997 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
999 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
1000 implement it in terms of select().
1001 * Makefile.am: added new files.
1003 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
1005 * mono-compiler.h: Added defines to make it easier to compile mono and
1006 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
1008 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
1010 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
1011 code to have 32 bit addresses.
1013 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
1015 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
1017 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
1019 * Makefile.am, mono-compiler.h: added header to deal with
1020 compiler-specific bugs and features.
1022 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
1024 * mono-logger.c (mono_trace_is_traced): Fix comment.
1026 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
1028 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
1030 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
1033 2004-12-23 Ben Maurer <bmaurer@ximian.com>
1035 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
1037 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
1039 * mono-codeman.c: align bsize so the returned pointer
1040 is aligned also for dynamic methods.
1042 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
1044 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
1046 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1048 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
1051 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1053 * mono-sha1.c: Remove uint32 and int32 types completely
1055 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1057 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
1059 * mono-codeman.c (new_codechunk): Fix windows build.
1061 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
1062 allocate code for dynamic methods (one method per code manager).
1064 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
1066 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
1068 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
1070 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
1071 x86 break on AMD64 too.
1073 2004-07-23 zovarga <vargaz@freemail.hu>
1075 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
1078 2004-07-09 Ben Maurer <bmaurer@ximain.com>
1080 * mono-hash.c: register gc roots
1082 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
1084 * mono-logger.h mono-logger.c: Added AOT component.
1086 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
1088 * strtod.c: Use gint32 for 32 bit types.
1090 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
1092 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
1093 in SHA1Transform on 64 bit systems.
1095 2004-06-24 David Waite <mass@akuma.org>
1097 * monobitset.c: change to C90-style comments from C99/C++-style
1099 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
1101 * mono-sha1.c : close opened file in case of successful read. This
1102 saves a bunch of System.Reflection Emit failures under windows.
1104 2004-06-18 Jackson Harper <jackson@ximian.com>
1106 * mono-logger.c/h: Add a trace mask option for tracing loading
1107 config files. A little white space love.
1109 2004-06-18 Jackson Harper <jackson@ximian.com>
1111 * mono-logger.c: Change default logging level to ERROR. Make sure
1112 that mono_trace_init is called if mono_tracev is our first trace
1113 statement is mono_tracev. Little indentation fix.
1115 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
1117 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
1118 memory with 0xcc (x86 break).
1120 2004-05-02 Miguel de Icaza <miguel@ximian.com>
1122 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
1123 to test against BYTE_ORDER, and this caused trouble. We now use
1124 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
1126 2004-04-26 David Waite <mass@akuma.org>
1128 * mono-logger.h: remove comma from end of enumeration declaration
1130 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1132 * mono-codeman.c: macosx pretends an argument (which is ignored)
1133 to be -1. Make sure the thunks area is zeroed.
1135 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
1137 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1140 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1142 * mono-codeman.c: add a define to force the use of malloc
1145 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1147 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1148 to the native code for arch where calls have a limited immediate
1151 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1153 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1154 to deal with buffers of native code (handles exec bits and other
1157 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1160 (mono_unicode_from_external): UTF8 is the default, not the preferred
1161 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1162 was passed in the env. var., it always failed because we were passing
1163 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1165 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1169 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1171 * mono-uri.c: fixed compile problem.
1173 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
1175 * mono-math.c: fix for older C compilers and big endian machines
1177 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
1179 * mono-math.h mono-math.c: New file which contains implementations of
1180 math functions/macros which are missing on some platforms.
1182 2003-11-10 Dick Porter <dick@ximian.com>
1184 * strenc.c: Use platform-endian UTF16
1186 2003-10-28 Dick Porter <dick@ximian.com>
1189 * strenc.c: New files, convert text to and from unicode or utf8,
1190 and the user's chosen encoding.
1192 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
1194 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1195 to remap hashtable values during a copying collection. Not used at the
1197 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1199 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1200 the key function even if the client supplied g_direct_equal instead of
1203 2003-08-22 Duncan Mak <duncan@ximian.com>
1205 * strtod.c: 64-bit related fixes from Laurent Morichetti
1206 <l_m@pacbell.net>. Patch approval from Miguel.
1208 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1210 * mono-logger.h, mono-logger.c, Makefile.am: added
1211 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1213 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
1215 * monobitset.c (mono_bitset_set_all): impl.
1217 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1219 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1220 to get the public key token from a public key.
1222 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1224 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1227 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1229 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1231 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1233 * monobitset.c, monobitset.h: documentation and fixes from
1236 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1238 * monobitset.c: fix my screwup pointed out by Lawrence Pit
1239 (loz@cable.a2000.nl).
1241 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1243 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1245 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1247 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1248 Add more tests. mono_bitset_find_first (set, -1) will work correctly
1251 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
1253 * monobitset.c: use memcmp instead of memcpy
1255 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1257 * monobitset.c, monibitset.h: bit set data structure.
1258 Not included in the build yet because the jit has some symbol clashes
1261 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1263 * First checkin: libmonoutils is meant to hold some utility
1264 data structures and bits that are usefult to the rest of the project
1265 and don't require metadata/runtime support.
1266 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated