1 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
3 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
5 2007-07-27 Mark Probst <mark.probst@gmail.com>
7 * mono-membar.h: Memory barriers.
9 2007-06-13 Mark Probst <mark.probst@gmail.com>
11 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
14 2007-06-06 Mark Probst <mark.probst@gmail.com>
16 * mono-internal-hash.c: Fixed a bug in the remove entry code.
18 2007-06-04 Mark Probst <mark.probst@gmail.com>
21 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
22 uses the value themselves as nodes, hence doesn't have to allocate
25 2007-05-24 Jonathan Chambers <joncham@gmail.com>
27 * mono-path.c: Add configure checks for header files.
28 * mono-codeman.c: Add configure checks for header files.
29 * mono-poll.h: Add configure checks for header files.
30 * mono-stdlib.c: Add configure checks for header files.
32 Code is contributed under MIT/X11 license.
34 2007-03-09 Jonathan Chambers <joncham@gmail.com>
36 * mono-dl.c: Use Unicode characters for Win32 functions.
38 Code is contributed under MIT/X11 license.
40 2007-01-26 Robert Jordan <robertj@gmx.net>
42 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
45 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
47 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
49 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
51 * mono-codeman.c: don't call mono_mprotect() on windows.
53 2007-01-20 Zoltan Varga <vargaz@gmail.com>
55 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
56 the header file. Add fast macro based versions of most bitset
57 operations and optimize the rest a bit.
59 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
61 * mono-dl.h, mono-dl.c, Makefile.am: implementation
62 of dynamic loading API.
64 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
66 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
68 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
70 * mono-mmap.c : win32 build fix.
72 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
74 * mono-codeman.c: changed to use the mono-mmap.h API.
76 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
78 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
80 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
82 * strtod.c: fix, again, 64 bit issues.
84 2006-11-25 Miguel de Icaza <miguel@novell.com>
86 * strtod.c: Upgrade this implementation to the one from:
87 http://www.netlib.org/fp/
89 Fixed a few warnings, and added the header thta we had to
90 autodetect the FPU setup to use.
92 This should fix the hang when running the corlib test suite.
94 2006-10-18 Miguel de Icaza <miguel@novell.com>
96 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
99 2006-10-17 Miguel de Icaza <miguel@novell.com>
101 * mono-ehash.c: Use the new eglib hash implementation; Currently
102 only Boehm is supported.
104 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
106 * strtod.c: teleport to the new millennium.
108 2006-10-09 Miguel de Icaza <miguel@novell.com>
110 * strtod.c: Replace the BSD implementation which was fairly old
111 and complex with a cleaner version from Tcl/Tk. Fixes the hang
112 that we have in the Double parsing tests in our class libraries.
114 2006-09-12 Zoltan Varga <vargaz@gmail.com>
116 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
117 IEEE_8087 for alpha as well.
119 2006-09-04 Robert Jordan <robertj@gmx.net>
121 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
123 2006-08-30 Zoltan Varga <vargaz@gmail.com>
125 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
127 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
130 * mono-stdlib.[ch]: mkstemp implementation.
132 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135 * mono-path.[ch]: new files with functions to handle/resolve paths.
137 2006-08-10 Zoltan Varga <vargaz@gmail.com>
139 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
140 module. Fixes #78767.
142 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
144 * mono-hash.h, mono-hash.c: changed the code so we're able to
145 specify if the key or value or both are managed objects.
147 2006-04-10 Zoltan Varga <vargaz@gmail.com>
149 * monobitset.c (mono_bitset_sub): Use src->size since the assert
150 guarantees it is less than dest->size.
152 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
154 * monobitset.c: cap size in mono_bitset_sub () to
155 avoid reading uninit memory.
157 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
159 * mono-counters.c: initialize the next pointer.
161 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
163 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
165 2006-03-16 Zoltan Varga <vargaz@gmail.com>
167 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
169 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
172 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
174 2006-03-10 Zoltan Varga <vargaz@gmail.com>
176 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
179 2006-03-01 Zoltan Varga <vargaz@gmail.com>
181 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
183 * mono-counters.c: Fix windows build.
185 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
187 * mono-counters.h, mono-counters.c, Makefile.am: added
188 API for flexible stats collection.
190 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
192 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
194 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
196 * mono-compiler.h: patch from Jakub Jelinek to retrieve
197 the tls offset without a text writable section (bug #77653).
199 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
201 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
204 2006-01-20 Zoltan Varga <vargaz@gmail.com>
206 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
208 2006-01-17 Zoltan Varga <vargaz@gmail.com>
210 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
211 from mini.h. Also fix it after the 64 bit changes.
213 2006-01-15 Zoltan Varga <vargaz@gmail.com>
215 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
217 2006-01-04 Zoltan Varga <vargaz@gmail.com>
219 * mono-codeman.c (new_codechunk): Fix warnings.
221 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
223 * strtod.c : un-constified some variables to fix bug #75228.
225 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
228 the FF FE at the beginning, which is not what we expect. Now
229 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
231 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
233 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
234 with recent binutils.
236 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
238 * mono-codeman.c: ensure we have enough room for thunks
239 with large allocations.
241 2005-08-27 Zoltan Varga <vargaz@gmail.com>
243 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
246 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
248 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
250 * mono-codeman.c: allow room for far calls for ARM, too.
252 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
254 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
255 getting the tls offsets on amd64 too.
257 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
259 * mono-compiler.h: Add TLS offset detection for ia64.
261 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
263 * mono-compiler.h (trunc): Define this to be floor under win32.
265 2005-06-13 Geoff Norton <gnorton@customerdna.com>
267 * mono-compiler.h: Be slightly more conservative on ppc
268 as this was previously causing crashes building.
270 2005-06-09 Duncan Mak <duncan@novell.com>
272 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
273 all public headers. Fixes #74919.
275 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
277 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
279 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
281 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
283 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
285 * mono-poll.c: windows return code translation.
286 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
287 Moved to configure.in.
289 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
292 implement it in terms of select().
293 * Makefile.am: added new files.
295 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
297 * mono-compiler.h: Added defines to make it easier to compile mono and
298 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
300 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
302 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
303 code to have 32 bit addresses.
305 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
307 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
309 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
311 * Makefile.am, mono-compiler.h: added header to deal with
312 compiler-specific bugs and features.
314 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
316 * mono-logger.c (mono_trace_is_traced): Fix comment.
318 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
320 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
322 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
325 2004-12-23 Ben Maurer <bmaurer@ximian.com>
327 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
329 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
331 * mono-codeman.c: align bsize so the returned pointer
332 is aligned also for dynamic methods.
334 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
336 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
338 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
340 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
343 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
345 * mono-sha1.c: Remove uint32 and int32 types completely
347 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
349 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
351 * mono-codeman.c (new_codechunk): Fix windows build.
353 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
354 allocate code for dynamic methods (one method per code manager).
356 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
358 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
360 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
362 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
363 x86 break on AMD64 too.
365 2004-07-23 zovarga <vargaz@freemail.hu>
367 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
370 2004-07-09 Ben Maurer <bmaurer@ximain.com>
372 * mono-hash.c: register gc roots
374 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
376 * mono-logger.h mono-logger.c: Added AOT component.
378 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
380 * strtod.c: Use gint32 for 32 bit types.
382 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
384 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
385 in SHA1Transform on 64 bit systems.
387 2004-06-24 David Waite <mass@akuma.org>
389 * monobitset.c: change to C90-style comments from C99/C++-style
391 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
393 * mono-sha1.c : close opened file in case of successful read. This
394 saves a bunch of System.Reflection Emit failures under windows.
396 2004-06-18 Jackson Harper <jackson@ximian.com>
398 * mono-logger.c/h: Add a trace mask option for tracing loading
399 config files. A little white space love.
401 2004-06-18 Jackson Harper <jackson@ximian.com>
403 * mono-logger.c: Change default logging level to ERROR. Make sure
404 that mono_trace_init is called if mono_tracev is our first trace
405 statement is mono_tracev. Little indentation fix.
407 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
409 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
410 memory with 0xcc (x86 break).
412 2004-05-02 Miguel de Icaza <miguel@ximian.com>
414 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
415 to test against BYTE_ORDER, and this caused trouble. We now use
416 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
418 2004-04-26 David Waite <mass@akuma.org>
420 * mono-logger.h: remove comma from end of enumeration declaration
422 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
424 * mono-codeman.c: macosx pretends an argument (which is ignored)
425 to be -1. Make sure the thunks area is zeroed.
427 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
429 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
432 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
434 * mono-codeman.c: add a define to force the use of malloc
437 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
439 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
440 to the native code for arch where calls have a limited immediate
443 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
445 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
446 to deal with buffers of native code (handles exec bits and other
449 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452 (mono_unicode_from_external): UTF8 is the default, not the preferred
453 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
454 was passed in the env. var., it always failed because we were passing
455 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
457 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
461 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
463 * mono-uri.c: fixed compile problem.
465 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
467 * mono-math.c: fix for older C compilers and big endian machines
469 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
471 * mono-math.h mono-math.c: New file which contains implementations of
472 math functions/macros which are missing on some platforms.
474 2003-11-10 Dick Porter <dick@ximian.com>
476 * strenc.c: Use platform-endian UTF16
478 2003-10-28 Dick Porter <dick@ximian.com>
481 * strenc.c: New files, convert text to and from unicode or utf8,
482 and the user's chosen encoding.
484 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
486 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
487 to remap hashtable values during a copying collection. Not used at the
489 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
491 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
492 the key function even if the client supplied g_direct_equal instead of
495 2003-08-22 Duncan Mak <duncan@ximian.com>
497 * strtod.c: 64-bit related fixes from Laurent Morichetti
498 <l_m@pacbell.net>. Patch approval from Miguel.
500 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
502 * mono-logger.h, mono-logger.c, Makefile.am: added
503 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
505 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
507 * monobitset.c (mono_bitset_set_all): impl.
509 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
511 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
512 to get the public key token from a public key.
514 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
516 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
519 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
521 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
523 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
525 * monobitset.c, monobitset.h: documentation and fixes from
528 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
530 * monobitset.c: fix my screwup pointed out by Lawrence Pit
531 (loz@cable.a2000.nl).
533 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
535 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
537 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
539 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
540 Add more tests. mono_bitset_find_first (set, -1) will work correctly
543 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
545 * monobitset.c: use memcmp instead of memcpy
547 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
549 * monobitset.c, monibitset.h: bit set data structure.
550 Not included in the build yet because the jit has some symbol clashes
553 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
555 * First checkin: libmonoutils is meant to hold some utility
556 data structures and bits that are usefult to the rest of the project
557 and don't require metadata/runtime support.
558 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated