1 2010-03-04 Zoltan Varga <vargaz@gmail.com>
3 * strtod.c: Get rid of locking so this works with eglib.
5 2010-03-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
7 * mono-mmap.c: apparently kill() can return ENOMEM. Also use signal 0
8 which is the documented way of testing for the existence of a PID.
11 Thu Feb 25 11:59:22 CET 2010 Paolo Molaro <lupus@ximian.com>
13 * mono-logger.h, Makefile.am: expose in the API the ability to
14 set trace mask and level.
15 * mono-logger-internal.h: new header for mono internal use.
16 * mono-logger.c: fixed mono_trace_set_mask_string() to not change
17 the passed string argument.
19 Wed Feb 24 15:50:55 CET 2010 Paolo Molaro <lupus@ximian.com>
21 * mono-publib.h, mono-publib.c: new public header file to allow
22 the removal of gli from the other public headers.
23 * Makefile.am: install only the public header mono-publib.h.
25 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
27 * mono-semaphore.h: enable the #defines when io-layer is in use.
28 * Makefile.am: added new file.
29 * mono-semaphore.c: new mono_sem_timedwait() function.
31 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
33 * mono-semaphore.h: set maximum count to 0x7fffffff.
35 2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
37 * mono-error-internals.h: Add mono_error_set_not_verifiable.
39 * mono-error.h: Add MONO_ERROR_NOT_VERIFIABLE.
41 * mono-error.c: Implement mono_error_set_not_verifiable.
43 2010-01-26 U-anarquia\miguel <miguel@anarquia>
45 * mono-dl.c: Removed debugging messages for the embeddable version
48 2010-01-22 Miguel de Icaza (miguel@novell.com)
50 * mono-dl.c: Always strdup the return value, for consistency.
52 2010-01-18 Sebastien Pouliot <sebastien@ximian.com>
54 * mono-error.c: Call va_end/va_start before reusing 'args'.
56 2010-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
58 * mono-hash.c: fix the null-gc build.
60 2010-01-11 Miguel de Icaza <miguel@novell.com>
62 * valgrind.h, memcheck.h: Add guards to prevent the gcc features
63 from being included in non-GCC builds like the Windows build.
65 2010-01-03 Zoltan Varga <vargaz@gmail.com>
67 * mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
70 2009-12-18 Zoltan Varga <vargaz@gmail.com>
72 * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
73 headers so we can use the valgrind user requests even if mono is compiled on
74 a system where they are not installed.
76 2009-12-11 Marek Habersack <mhabersack@novell.com>
78 * mono-io-portability.c: moved all the reporting code to the IOMAP
80 (mono_portability_find_file_internal): calls mono_profiler_iomap
81 whenever an adjustement is made.
83 2009-12-02 Mark Probst <mark.probst@gmail.com>
85 * mono-hash.c: Don't use MONO_ROOT_SETREF for setting keys and
86 values. It's unnecessary - the hash table has a marking function
87 which takes care of all GC-tracked keys and values.
89 2009-11-26 Zoltan Varga <vargaz@gmail.com>
91 * mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.
93 2009-11-25 Rodrigo Kumpera <rkumpera@novell.com>
95 * mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
96 of mono_error_set_bad_image to take a MonoImage instead of a const char *.
100 2009-11-25 Zoltan Varga <vargaz@gmail.com>
102 * mono-hash.c (mono_g_hash_table_find): Implement this.
104 2009-11-24 Zoltan Varga <vargaz@gmail.com>
106 * mono-io-portability.c (append_report): g_string_append_vprintf is available
109 2009-11-23 Andreas Färber <andreas.faerber@web.de>
111 * mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
113 Code contributed under MIT/X11 license.
115 2009-11-23 Marek Habersack <mhabersack@novell.com>
117 * mono-io-portability.c: gather up and report misnamed files
118 accessed by the application if the 'report' option is present in
119 the MONO_IOMAP environment variable.
121 2009-11-13 Jonathan Chambers <joncham@gmail.com>
123 * mono-semaphore.h: Implementation for Windows platform.
125 Code contributed under MIT/X11 license.
127 2009-11-12 Geoff Norton <gnorton@novell.com>
129 * mono-path.c: When resolving symlinks in a path, we need to
130 split on the directory separator and check each level, as
131 readlink only checks the final destination.
133 2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
135 * mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.
137 Patch by Justin Hibbits <chmeeedalf@gmail.com>.
139 2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
141 * mono-error.c: VS does not like this.
143 2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
145 * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
147 * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
150 * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
152 * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
153 for MONO_ERROR_ARGUMENT.
155 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
157 * mono-proclib.c: hz is only multiplied by the number of cpus when
160 2009-10-29 Mark Probst <mark.probst@gmail.com>
162 * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
164 2009-10-23 Alp Toker <alp@nuanti.com>
166 Fix embedding API breakage from r144688. mono-compiler.h is an internal
167 header and should not be shipped:
169 * Makefile.am: Include newly added public header mono-error.h in HEADERS so
172 2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
174 * Makefile.am: Fix make dist.
176 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
178 * mono-compiler.h: Add MONO_DEPRECATED.
180 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
182 * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
183 structures and functions.
185 * Makefile.am: Add new files.
187 2009-10-12 Joel W. Reed <joelwreed@gmail.com>
189 * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
190 network statistics from "/proc/net/dev" for performance counters.
192 Code is contributed under MIT/X11 license.
194 2009-09-29 Zoltan Varga <vargaz@gmail.com>
196 * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
197 millions of warnings during compilation.
199 2009-09-25 Jonathan Chambers <joncham@gmail.com>
201 * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
203 Code is contributed under MIT/X11 license.
205 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
207 * mono-sha1.c: Update documentation.
209 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
211 * mono-md5.c: Update documentation.
213 2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
215 * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
216 * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
217 success (just like we do for sha1)
219 2009-08-21 Mark Probst <mark.probst@gmail.com>
221 * mono-hash.c: When creating a hash table, if the keys are managed
222 objects, assert that we have a hash function. Remove the
223 rehashing after GC marking.
225 2009-08-18 Christian Hergert <chris@dronelabs.com>
227 * strtod.c: Fix warnings for uninitialized variables.
229 2009-08-18 Christian Hergert <chris@dronelabs.com>
232 * mono-counters.c: Fix printf warnings.
234 2009-08-12 Mark Probst <mark.probst@gmail.com>
236 * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
237 rehash the table after marking.
239 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
241 * monobitset.h: add comment.
243 2009-08-01 Zoltan Varga <vargaz@gmail.com>
245 * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
247 2009-07-30 Mark Probst <mark.probst@gmail.com>
249 * mono-sigcontext.h: Include config.h.
251 2009-07-30 Mark Probst <mark.probst@gmail.com>
253 * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
254 macros, moved from mini.
256 2009-07-29 Massimiliano Mantione <massi@ximian.com>
258 * mono-codeman.c (free_chunklist and new_codechunk):
259 Call profiler hooks to keep track of code chunks.
261 2009-07-20 Geoff Norton <gnorton@novell.com>
263 * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
264 can be used by the runtime as well.
266 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
268 * mono-proclib.c: fix reading processor usage for a process. Patch
269 from Jacob Gladish that fixes bug #523052.
271 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
273 * mono-proclib.c: fixed setting the NUL terminator.
274 Thanks to Jacob Gladish.
276 2009-06-15 Zoltan Varga <vargaz@gmail.com>
278 * gc_wrapper.h: Disable thread local alloc on mips.
280 2009-05-26 Zoltan Varga <vargaz@gmail.com>
282 * CMakeLists.txt: New file.
284 2009-05-09 Miguel de Icaza <miguel@novell.com>
286 * mono-value-hash.c (mono_value_hash_table_insert_replace):
287 Initialize variable, to quiet the compiler.
289 * mono-proclib.c: Eliminate two warnings.
291 2009-04-03 Miguel de Icaza <miguel@novell.com>
293 * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
294 the mono-filemap.c file so it can be plugged in platform-specific
297 2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
300 * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
302 2009-03-23 Zoltan Varga <vargaz@gmail.com>
304 * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
306 2009-03-22 Zoltan Varga <vargaz@gmail.com>
308 * gc_wrapper.h: Disable thread local allocation for ARM too because of
309 incomplete support in libgc.
311 2009-03-20 Zoltan Varga <vargaz@gmail.com>
313 * gc_wrapper.h: New file, moved from ../os.
315 * Makefile.am: Add gc_wrapper.h
317 2009-03-06 Zoltan Varga <vargaz@gmail.com>
319 * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
321 2009-02-16 Mark Probst <mark.probst@gmail.com>
323 Contributed under the terms of the MIT/X11 license by Steven
324 Munroe <munroesj@us.ibm.com>.
326 * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
328 2009-02-11 Bill Holmes <billholmes54@gmail.com>
330 * mono-filemap.c : Fixing the MSVC build.
332 Contributed under MIT/X11 license.
334 2009-02-03 Miguel de Icaza <miguel@novell.com>
336 * mono-dl.c: Add support for registering in-proc addresses as
337 libraries that can be P/Invoked. Used in operating systems that
338 lack a dynamic linker.
340 * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
341 some code from mono-mmap. into this file to ease porting.
343 * mono-io-portability.c: Use new define to turn off portability
346 2009-01-25 Zoltan Varga <vargaz@gmail.com>
348 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
350 2009-01-21 Zoltan Varga <vargaz@gmail.com>
352 * mono-mmap.c: Applied patch from Koushik Dutta
353 (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
356 2009-01-19 Bill Holmes <billholmes54@gmail.com>
358 * mono-path.c (mono_path_canonicalize): Adding support for UNC
361 Contributed under MIT/X11 license.
363 2009-01-18 Zoltan Varga <vargaz@gmail.com>
365 * mono-mmap.c: Applied patch from Koushik Dutta
366 (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
368 2009-01-16 Zoltan Varga <vargaz@gmail.com>
370 * mono-hash.c: Change the roots to use write barriers when running with
371 SGEN, to avoid scanning all the hash nodes at every minor collection.
373 2009-01-15 Zoltan Varga <vargaz@gmail.com>
375 * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
376 marker function instead of registering each GC node as a hash root.
378 2009-01-08 Bill Holmes <billholmes54@gmail.com>
380 * mono-dl.c (mono_dl_open): Fix the MSVC build.
382 Contributed under MIT/X11 license.
384 2008-12-19 Miguel de Icaza <miguel@novell.com>
386 * mono-dl.c (mono_dl_open): Do not crash if the platform does not
389 2008-12-08 Kornél Pál <kornelpal@gmail.com>
391 * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
392 with ULARGE_INTEGER that is more efficient.
394 Contributed under MIT/X11 license.
396 2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
398 * mono-property-hash.c (mono_property_hash_destroy): Release
399 the root hashtable as well.
401 2008-11-24 Zoltan Varga <vargaz@gmail.com>
403 * freebsd-elf_common.h (struct): Use uint32_t instead of
404 u_int32_t to fix the build on opensolaris.
406 2008-11-18 Zoltan Varga <vargaz@gmail.com>
408 * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
410 2008-11-14 Andreas Färber <andreas.faerber@web.de>
412 * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
415 Contributed under MIT/X11 license.
417 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
419 * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
422 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
424 * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
426 2008-11-05 Zoltan Varga <vargaz@gmail.com>
428 * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
431 2008-11-04 Zoltan Varga <vargaz@gmail.com>
433 * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
436 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
438 * mono-proclib.c, mono-proclib.h: added functions to get info
439 about the processors in the system.
441 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
443 * mono-proclib.c, mono-mmap.c: basic support for OSX and
444 (untested) BSD systems.
446 2008-10-13 Bill Holmes <billholmes54@gmail.com>
448 * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
450 Contributed under MIT/X11 license.
452 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
454 * mono-proclib.c, mono-proclib.h: added a function to deal with
455 error handling if the caller needs the info.
457 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
459 * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
460 access process-related information.
462 2008-10-08 Zoltan Varga <vargaz@gmail.com>
464 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
465 the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
467 2008-09-26 Zoltan Varga <vargaz@gmail.com>
469 * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
471 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
473 * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
474 too return the list of mono processes with performance counter data.
476 2008-08-27 Bill Holmes <billholmes54@gmail.com>
478 * strenc.c : Fixing some waringings and compiler errors when using
481 Contributed under MIT/X11 license.
483 2008-08-20 Mike Voorhees <vernish13@gmail.com>
485 * strenc.h : Adding declaration for mono_utf8_validate_and_len.
487 * strenc.c : Adding implementation for mono_utf8_validate_and_len.
489 Contributed under MIT/X11 license.
491 2008-08-03 Andreas Färber <andreas.faerber@web.de>
493 * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
495 Contributed under MIT/X11 license.
497 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
499 * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
500 in a shared memory page.
502 2008-07-21 Bill Holmes <billholmes54@gmail.com>
504 * mono-membar.h : From previous commit. When including glib.h,
505 <> should be used and not "".
507 Contributed under MIT/X11 license.
509 2008-07-21 Bill Holmes <billholmes54@gmail.com>
511 * mono-membar.h : Including glib.h to get definition of 'inline.' Needed
512 by the MSVC compiler.
514 Contributed under MIT/X11 license.
516 2008-07-09 Zoltan Varga <vargaz@gmail.com>
518 * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
520 * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
521 set the code manager to read-only status.
522 (mono_code_manager_reserve_align): Assert if the code manager is read only.
524 2008-06-14 Zoltan Varga <vargaz@gmail.com>
526 * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
529 * dlmalloc.c: Enable the memalign functions.
531 2008-06-05 Zoltan Varga <vargaz@gmail.com>
533 * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
535 2008-06-05 Andreas Färber <andreas.faerber@web.de>
537 * dtrace.h: New file, defines macros for DTrace probes.
538 * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
540 Contributed under MIT/X11 license.
542 2008-05-29 Zoltan Varga <vargaz@gmail.com>
544 * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
546 2008-05-27 Zoltan Varga <vargaz@gmail.com>
548 * mono-value-hash.c: Fix build on older glib versions.
550 * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
552 * mono-value-hash.h mono-value-hash.c: New files.
554 2008-05-26 Zoltan Varga <vargaz@gmail.com>
556 * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
558 * mono-property-hash.h mono-property-hash.c: New files.
560 2008-05-14 Kornél Pál <kornelpal@gmail.com>
562 * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
563 fixes path canonicalization for paths containing '/'.
565 Contributed under MIT/X11 license.
567 2008-05-04 Andreas Faerber <andreas.faerber@web.de>
569 * mono-membar.h: Prepare support for OSX/ppc64.
571 Contributed under MIT/X11 license.
573 2008-04-16 Jonathan Chambers <joncham@gmail.com>
574 * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
575 dependent size; fixes Win64.
576 * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
577 mono_memory_write_barrier for Win64.
579 Contributed under MIT/X11 license.
581 2008-04-16 Marek Habersack <mhabersack@novell.com>
583 * mono-io-portability.c (mono_portability_find_file): properly
584 process unrooted entries with a trailing slash.
586 2008-04-09 Zoltan Varga <vargaz@gmail.com>
588 * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
589 Lea's malloc package.
591 * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
592 this allows us to set the executable bit on the system memory dlmalloc
593 allocates from, fixing #320036.
595 2008-03-29 Zoltan Varga <vargaz@gmail.com>
597 * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
599 2008-03-14 Robert Jordan <robertj@gmx.net>
601 * mono-dl.c (w32_load_module): prevent error dialog by resetting
602 the Win32 error mode during LoadLibrary (). Fixes #360363.
604 * mono-dl.c (w32_dlerror): kill a warning.
606 2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
608 * mono-membar.h: Memory barrier for mips.
610 Contributed under MIT/X11 license.
612 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
614 * mono-time.c, mono-time.h: new file with the implementation of the
615 time-related routines we need in mono. This includes a hires
616 monotonic clock and a proper monotonic replacement for GetTickCount ().
618 2008-02-13 Zoltan Varga <vargaz@gmail.com>
620 * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
621 <tsv@solvo.ru>. Add alpha support.
623 2008-01-11 Zoltan Varga <vargaz@gmail.com>
625 * mono-io-portability.c: Include errno.h since it is needed by code inside
628 * mono-ehash.c: Don't include os/gc_wrapper.h.
630 2008-01-06 Zoltan Varga <vargaz@gmail.com>
632 * mono-hash.c: Don't include os/gc_wrapper.h.
634 2007-11-06 Geoff Norton <gnorton@novell.com>
636 * strtod.c: Use a G_MUTEX call pattern compatible with eglib. Patch
637 from Jonathan Chambers
639 2007-10-11 Zoltan Varga <vargaz@freemail.hu>
641 * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
643 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
645 * mono-codeman.c, mono-codeman.h: added a function to be able
646 to specify alignment per-allocation. Changed the code to align
647 the starting position instead of the size, which wouldn't work
648 with variable-alignment.
650 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
652 * mono-codeman.c, mono-codeman.h: fixed alignment code to not
653 be wasteful, Added documentation. Added mono_code_manager_size ()
654 to gather statistics info about a code manager.
656 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
658 * mono-counters.h, mono-counters.c: better formatting of the output
659 and added a cleanup function.
661 2007-10-03 Miguel de Icaza <miguel@novell.com>
663 * mono-compiler.h (trunc): Make the definition of trunk for MSC
664 use ceil or floor instead of always using floor which is
667 Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
669 2007-10-02 Jonathan Chambers <joncham@gmail.com>
671 * mono-io-portability.c: Init __mono_io_portability_helpers
672 to PORTABILITY_NONE on windows as mono_portability_helpers_init
673 is not always called before mono_portability_find_file.
675 Code is contributed under MIT/X11 license.
677 2007-10-01 Jonathan Chambers <joncham@gmail.com>
679 * mono-io-portability.c: Only support on non-Windows
682 Code is contributed under MIT/X11 license.
684 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
686 * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
687 renamed exported call and made it properly internal.
689 2007-09-14 Jonathan Chambers <joncham@gmail.com>
691 * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
693 Code is contributed under MIT/X11 license.
695 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
697 * Makefile.am: don't install internal headers.
699 2007-09-12 Marek Habersack <mhabersack@novell.com>
701 * mono-io-portability.c: added. Moved options_init from io-layer.
702 (find_in_dir): moved from io-layer/io-portability.c
703 (mono_portability_find_file): moved find_file from
704 io-layer/io-portability.c, renamed and made MONO_INTERNAL.
706 * mono-io-portability.h: added. Contains declarations utility
707 functions and acros for checking whether MONO_IOMAP is in effect.
708 Added a prototype for mono_portability_find_file.
710 2007-09-09 Zoltan Varga <vargaz@gmail.com>
712 * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
713 Fixes build with -fPIE.
715 2007-08-31 Jonathan Chambers <joncham@gmail.com>
717 * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
718 Fixes tons of warnings we get on cygwin build.
720 Code is contributed under MIT/X11 license.
722 2007-08-14 Jonathan Chambers <joncham@gmail.com>
724 * mono-membar.h: Use intrinsic functions in msvc.
726 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
728 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
730 2007-07-27 Mark Probst <mark.probst@gmail.com>
732 * mono-membar.h: Memory barriers.
734 2007-06-13 Mark Probst <mark.probst@gmail.com>
736 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
739 2007-06-06 Mark Probst <mark.probst@gmail.com>
741 * mono-internal-hash.c: Fixed a bug in the remove entry code.
743 2007-06-04 Mark Probst <mark.probst@gmail.com>
746 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
747 uses the value themselves as nodes, hence doesn't have to allocate
750 2007-05-24 Jonathan Chambers <joncham@gmail.com>
752 * mono-path.c: Add configure checks for header files.
753 * mono-codeman.c: Add configure checks for header files.
754 * mono-poll.h: Add configure checks for header files.
755 * mono-stdlib.c: Add configure checks for header files.
757 Code is contributed under MIT/X11 license.
759 2007-03-09 Jonathan Chambers <joncham@gmail.com>
761 * mono-dl.c: Use Unicode characters for Win32 functions.
763 Code is contributed under MIT/X11 license.
765 2007-01-26 Robert Jordan <robertj@gmx.net>
767 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
770 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
772 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
774 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
776 * mono-codeman.c: don't call mono_mprotect() on windows.
778 2007-01-20 Zoltan Varga <vargaz@gmail.com>
780 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
781 the header file. Add fast macro based versions of most bitset
782 operations and optimize the rest a bit.
784 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
786 * mono-dl.h, mono-dl.c, Makefile.am: implementation
787 of dynamic loading API.
789 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
791 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
793 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
795 * mono-mmap.c : win32 build fix.
797 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
799 * mono-codeman.c: changed to use the mono-mmap.h API.
801 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
803 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
805 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
807 * strtod.c: fix, again, 64 bit issues.
809 2006-11-25 Miguel de Icaza <miguel@novell.com>
811 * strtod.c: Upgrade this implementation to the one from:
812 http://www.netlib.org/fp/
814 Fixed a few warnings, and added the header thta we had to
815 autodetect the FPU setup to use.
817 This should fix the hang when running the corlib test suite.
819 2006-10-18 Miguel de Icaza <miguel@novell.com>
821 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
824 2006-10-17 Miguel de Icaza <miguel@novell.com>
826 * mono-ehash.c: Use the new eglib hash implementation; Currently
827 only Boehm is supported.
829 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
831 * strtod.c: teleport to the new millennium.
833 2006-10-09 Miguel de Icaza <miguel@novell.com>
835 * strtod.c: Replace the BSD implementation which was fairly old
836 and complex with a cleaner version from Tcl/Tk. Fixes the hang
837 that we have in the Double parsing tests in our class libraries.
839 2006-09-12 Zoltan Varga <vargaz@gmail.com>
841 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
842 IEEE_8087 for alpha as well.
844 2006-09-04 Robert Jordan <robertj@gmx.net>
846 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
848 2006-08-30 Zoltan Varga <vargaz@gmail.com>
850 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
852 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
855 * mono-stdlib.[ch]: mkstemp implementation.
857 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
860 * mono-path.[ch]: new files with functions to handle/resolve paths.
862 2006-08-10 Zoltan Varga <vargaz@gmail.com>
864 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
865 module. Fixes #78767.
867 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
869 * mono-hash.h, mono-hash.c: changed the code so we're able to
870 specify if the key or value or both are managed objects.
872 2006-04-10 Zoltan Varga <vargaz@gmail.com>
874 * monobitset.c (mono_bitset_sub): Use src->size since the assert
875 guarantees it is less than dest->size.
877 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
879 * monobitset.c: cap size in mono_bitset_sub () to
880 avoid reading uninit memory.
882 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
884 * mono-counters.c: initialize the next pointer.
886 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
888 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
890 2006-03-16 Zoltan Varga <vargaz@gmail.com>
892 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
894 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
897 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
899 2006-03-10 Zoltan Varga <vargaz@gmail.com>
901 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
904 2006-03-01 Zoltan Varga <vargaz@gmail.com>
906 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
908 * mono-counters.c: Fix windows build.
910 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
912 * mono-counters.h, mono-counters.c, Makefile.am: added
913 API for flexible stats collection.
915 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
917 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
919 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
921 * mono-compiler.h: patch from Jakub Jelinek to retrieve
922 the tls offset without a text writable section (bug #77653).
924 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
926 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
929 2006-01-20 Zoltan Varga <vargaz@gmail.com>
931 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
933 2006-01-17 Zoltan Varga <vargaz@gmail.com>
935 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
936 from mini.h. Also fix it after the 64 bit changes.
938 2006-01-15 Zoltan Varga <vargaz@gmail.com>
940 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
942 2006-01-04 Zoltan Varga <vargaz@gmail.com>
944 * mono-codeman.c (new_codechunk): Fix warnings.
946 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
948 * strtod.c : un-constified some variables to fix bug #75228.
950 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
953 the FF FE at the beginning, which is not what we expect. Now
954 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
956 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
958 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
959 with recent binutils.
961 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
963 * mono-codeman.c: ensure we have enough room for thunks
964 with large allocations.
966 2005-08-27 Zoltan Varga <vargaz@gmail.com>
968 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
971 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
973 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
975 * mono-codeman.c: allow room for far calls for ARM, too.
977 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
979 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
980 getting the tls offsets on amd64 too.
982 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
984 * mono-compiler.h: Add TLS offset detection for ia64.
986 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
988 * mono-compiler.h (trunc): Define this to be floor under win32.
990 2005-06-13 Geoff Norton <gnorton@customerdna.com>
992 * mono-compiler.h: Be slightly more conservative on ppc
993 as this was previously causing crashes building.
995 2005-06-09 Duncan Mak <duncan@novell.com>
997 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
998 all public headers. Fixes #74919.
1000 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
1002 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
1004 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
1006 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
1008 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * mono-poll.c: windows return code translation.
1011 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
1012 Moved to configure.in.
1014 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1016 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
1017 implement it in terms of select().
1018 * Makefile.am: added new files.
1020 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
1022 * mono-compiler.h: Added defines to make it easier to compile mono and
1023 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
1025 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
1027 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
1028 code to have 32 bit addresses.
1030 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
1032 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
1034 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
1036 * Makefile.am, mono-compiler.h: added header to deal with
1037 compiler-specific bugs and features.
1039 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
1041 * mono-logger.c (mono_trace_is_traced): Fix comment.
1043 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
1045 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
1047 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
1050 2004-12-23 Ben Maurer <bmaurer@ximian.com>
1052 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
1054 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
1056 * mono-codeman.c: align bsize so the returned pointer
1057 is aligned also for dynamic methods.
1059 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
1061 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
1063 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1065 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
1068 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1070 * mono-sha1.c: Remove uint32 and int32 types completely
1072 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1074 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
1076 * mono-codeman.c (new_codechunk): Fix windows build.
1078 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
1079 allocate code for dynamic methods (one method per code manager).
1081 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
1083 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
1085 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
1087 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
1088 x86 break on AMD64 too.
1090 2004-07-23 zovarga <vargaz@freemail.hu>
1092 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
1095 2004-07-09 Ben Maurer <bmaurer@ximain.com>
1097 * mono-hash.c: register gc roots
1099 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
1101 * mono-logger.h mono-logger.c: Added AOT component.
1103 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
1105 * strtod.c: Use gint32 for 32 bit types.
1107 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
1109 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
1110 in SHA1Transform on 64 bit systems.
1112 2004-06-24 David Waite <mass@akuma.org>
1114 * monobitset.c: change to C90-style comments from C99/C++-style
1116 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
1118 * mono-sha1.c : close opened file in case of successful read. This
1119 saves a bunch of System.Reflection Emit failures under windows.
1121 2004-06-18 Jackson Harper <jackson@ximian.com>
1123 * mono-logger.c/h: Add a trace mask option for tracing loading
1124 config files. A little white space love.
1126 2004-06-18 Jackson Harper <jackson@ximian.com>
1128 * mono-logger.c: Change default logging level to ERROR. Make sure
1129 that mono_trace_init is called if mono_tracev is our first trace
1130 statement is mono_tracev. Little indentation fix.
1132 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
1134 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
1135 memory with 0xcc (x86 break).
1137 2004-05-02 Miguel de Icaza <miguel@ximian.com>
1139 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
1140 to test against BYTE_ORDER, and this caused trouble. We now use
1141 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
1143 2004-04-26 David Waite <mass@akuma.org>
1145 * mono-logger.h: remove comma from end of enumeration declaration
1147 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1149 * mono-codeman.c: macosx pretends an argument (which is ignored)
1150 to be -1. Make sure the thunks area is zeroed.
1152 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
1154 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1157 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1159 * mono-codeman.c: add a define to force the use of malloc
1162 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1164 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1165 to the native code for arch where calls have a limited immediate
1168 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1170 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1171 to deal with buffers of native code (handles exec bits and other
1174 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 (mono_unicode_from_external): UTF8 is the default, not the preferred
1178 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1179 was passed in the env. var., it always failed because we were passing
1180 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1182 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1186 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1188 * mono-uri.c: fixed compile problem.
1190 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
1192 * mono-math.c: fix for older C compilers and big endian machines
1194 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
1196 * mono-math.h mono-math.c: New file which contains implementations of
1197 math functions/macros which are missing on some platforms.
1199 2003-11-10 Dick Porter <dick@ximian.com>
1201 * strenc.c: Use platform-endian UTF16
1203 2003-10-28 Dick Porter <dick@ximian.com>
1206 * strenc.c: New files, convert text to and from unicode or utf8,
1207 and the user's chosen encoding.
1209 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
1211 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1212 to remap hashtable values during a copying collection. Not used at the
1214 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1216 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1217 the key function even if the client supplied g_direct_equal instead of
1220 2003-08-22 Duncan Mak <duncan@ximian.com>
1222 * strtod.c: 64-bit related fixes from Laurent Morichetti
1223 <l_m@pacbell.net>. Patch approval from Miguel.
1225 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1227 * mono-logger.h, mono-logger.c, Makefile.am: added
1228 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1230 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
1232 * monobitset.c (mono_bitset_set_all): impl.
1234 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1236 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1237 to get the public key token from a public key.
1239 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1241 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1244 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1246 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1248 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1250 * monobitset.c, monobitset.h: documentation and fixes from
1253 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1255 * monobitset.c: fix my screwup pointed out by Lawrence Pit
1256 (loz@cable.a2000.nl).
1258 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1260 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1262 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1264 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1265 Add more tests. mono_bitset_find_first (set, -1) will work correctly
1268 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
1270 * monobitset.c: use memcmp instead of memcpy
1272 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1274 * monobitset.c, monibitset.h: bit set data structure.
1275 Not included in the build yet because the jit has some symbol clashes
1278 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1280 * First checkin: libmonoutils is meant to hold some utility
1281 data structures and bits that are usefult to the rest of the project
1282 and don't require metadata/runtime support.
1283 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated