2009-03-22 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / utils / ChangeLog
1 2009-03-22  Zoltan Varga  <vargaz@gmail.com>
2
3         * gc_wrapper.h: Disable thread local allocation for ARM too because of
4         incomplete support in libgc.
5
6 2009-03-20  Zoltan Varga  <vargaz@gmail.com>
7
8         * gc_wrapper.h: New file, moved from ../os.
9
10         * Makefile.am: Add gc_wrapper.h
11
12 2009-03-06  Zoltan Varga  <vargaz@gmail.com>
13
14         * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
15
16 2009-02-16  Mark Probst  <mark.probst@gmail.com>
17
18         Contributed under the terms of the MIT/X11 license by Steven
19         Munroe <munroesj@us.ibm.com>.
20
21         * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
22
23 2009-02-11  Bill Holmes  <billholmes54@gmail.com>
24
25         * mono-filemap.c : Fixing the MSVC build.
26
27         Contributed under MIT/X11 license.
28
29 2009-02-03  Miguel de Icaza  <miguel@novell.com>
30
31         * mono-dl.c: Add support for registering in-proc addresses as
32         libraries that can be P/Invoked.   Used in operating systems that
33         lack a dynamic linker. 
34
35         * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
36         some code from mono-mmap. into this file to ease porting.
37
38         * mono-io-portability.c: Use new define to turn off portability
39         features. 
40
41 2009-01-25  Zoltan Varga  <vargaz@gmail.com>
42
43         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
44
45 2009-01-21  Zoltan Varga  <vargaz@gmail.com>
46
47         * mono-mmap.c: Applied patch from Koushik Dutta
48         (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
49         implementation.
50
51 2009-01-19  Bill Holmes  <billholmes54@gmail.com>
52
53         * mono-path.c (mono_path_canonicalize): Adding support for UNC
54            paths on Windows.
55
56         Contributed under MIT/X11 license.
57
58 2009-01-18  Zoltan Varga  <vargaz@gmail.com>
59
60         * mono-mmap.c: Applied patch from Koushik Dutta
61         (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
62
63 2009-01-16  Zoltan Varga  <vargaz@gmail.com>
64
65         * mono-hash.c: Change the roots to use write barriers when running with
66         SGEN, to avoid scanning all the hash nodes at every minor collection.
67
68 2009-01-15  Zoltan Varga  <vargaz@gmail.com>
69
70         * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
71         marker function instead of registering each GC node as a hash root.
72
73 2009-01-08  Bill Holmes  <billholmes54@gmail.com>
74
75         * mono-dl.c (mono_dl_open): Fix the MSVC build.
76
77         Contributed under MIT/X11 license.
78
79 2008-12-19  Miguel de Icaza  <miguel@novell.com>
80
81         * mono-dl.c (mono_dl_open): Do not crash if the platform does not
82         support dlopen.
83
84 2008-12-08  Kornél Pál  <kornelpal@gmail.com>
85
86         * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
87         with ULARGE_INTEGER that is more efficient.
88
89         Contributed under MIT/X11 license.
90
91 2008-12-02  Rodrigo Kumpera  <rkumpera@novell.com>
92
93         * mono-property-hash.c (mono_property_hash_destroy): Release
94         the root hashtable as well.
95
96 2008-11-24  Zoltan Varga  <vargaz@gmail.com>
97
98         * freebsd-elf_common.h (struct): Use uint32_t instead of 
99         u_int32_t to fix the build on opensolaris.
100
101 2008-11-18  Zoltan Varga  <vargaz@gmail.com>
102
103         * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
104
105 2008-11-14  Andreas Färber  <andreas.faerber@web.de>
106
107         * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
108         Fixes #445074.
109         
110         Contributed under MIT/X11 license.
111
112 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
113
114         * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
115         systems.
116
117 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
118
119         * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
120
121 2008-11-05  Zoltan Varga  <vargaz@gmail.com>
122
123         * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
124         the build.
125
126 2008-11-04  Zoltan Varga  <vargaz@gmail.com>
127
128         * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
129         files from freebsd.
130
131 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
132
133         * mono-proclib.c, mono-proclib.h: added functions to get info
134         about the processors in the system.
135
136 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
137
138         * mono-proclib.c, mono-mmap.c: basic support for OSX and
139         (untested) BSD systems.
140
141 2008-10-13  Bill Holmes  <billholmes54@gmail.com>
142
143         * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
144
145         Contributed under MIT/X11 license.
146
147 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
148
149         * mono-proclib.c, mono-proclib.h: added a function to deal with
150         error handling if the caller needs the info.
151
152 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
153
154         * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
155         access process-related information.
156
157 2008-10-08  Zoltan Varga  <vargaz@gmail.com>
158
159         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
160         the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
161
162 2008-09-26  Zoltan Varga  <vargaz@gmail.com>
163
164         * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
165
166 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
167
168         * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
169         too return the list of mono processes with performance counter data.
170
171 2008-08-27  Bill Holmes  <billholmes54@gmail.com>
172
173         * strenc.c : Fixing some waringings and compiler errors when using
174           eglib.
175
176         Contributed under MIT/X11 license.
177
178 2008-08-20  Mike Voorhees  <vernish13@gmail.com>
179
180         * strenc.h : Adding declaration for mono_utf8_validate_and_len.
181
182         * strenc.c : Adding implementation for mono_utf8_validate_and_len.
183
184         Contributed under MIT/X11 license.
185
186 2008-08-03  Andreas Färber  <andreas.faerber@web.de>
187
188         * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
189         
190         Contributed under MIT/X11 license.
191
192 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
193
194         * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
195         in a shared memory page.
196
197 2008-07-21  Bill Holmes  <billholmes54@gmail.com>
198
199         * mono-membar.h :  From previous commit.  When including glib.h,
200           <> should be used and not "".
201
202         Contributed under MIT/X11 license.
203
204 2008-07-21  Bill Holmes  <billholmes54@gmail.com>
205
206         * mono-membar.h :  Including glib.h to get definition of 'inline.'  Needed
207           by the MSVC compiler.
208
209         Contributed under MIT/X11 license.
210
211 2008-07-09  Zoltan Varga  <vargaz@gmail.com>
212
213         * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
214         
215         * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
216         set the code manager to read-only status.
217         (mono_code_manager_reserve_align): Assert if the code manager is read only.
218
219 2008-06-14  Zoltan Varga  <vargaz@gmail.com>
220
221         * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
222         using dlmemalign.
223
224         * dlmalloc.c: Enable the memalign functions.
225
226 2008-06-05  Zoltan Varga  <vargaz@gmail.com>
227
228         * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
229
230 2008-06-05  Andreas Färber  <andreas.faerber@web.de>
231
232         * dtrace.h: New file, defines macros for DTrace probes.
233         * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
234
235         Contributed under MIT/X11 license.
236
237 2008-05-29  Zoltan Varga  <vargaz@gmail.com>
238
239         * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
240
241 2008-05-27  Zoltan Varga  <vargaz@gmail.com>
242
243         * mono-value-hash.c: Fix build on older glib versions.
244
245         * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
246
247         * mono-value-hash.h mono-value-hash.c: New files.
248
249 2008-05-26  Zoltan Varga  <vargaz@gmail.com>
250
251         * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
252
253         * mono-property-hash.h mono-property-hash.c: New files.
254
255 2008-05-14  Kornél Pál  <kornelpal@gmail.com>
256
257         * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
258         fixes path canonicalization for paths containing '/'.
259
260         Contributed under MIT/X11 license.
261
262 2008-05-04  Andreas Faerber  <andreas.faerber@web.de>
263
264         * mono-membar.h: Prepare support for OSX/ppc64.
265
266         Contributed under MIT/X11 license.
267
268 2008-04-16  Jonathan Chambers  <joncham@gmail.com>
269         * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
270           dependent size; fixes Win64.
271         * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and 
272           mono_memory_write_barrier for Win64.
273
274         Contributed under MIT/X11 license.
275
276 2008-04-16  Marek Habersack  <mhabersack@novell.com>
277
278         * mono-io-portability.c (mono_portability_find_file): properly
279         process unrooted entries with a trailing slash.
280
281 2008-04-09  Zoltan Varga  <vargaz@gmail.com>
282
283         * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
284         Lea's malloc package.
285
286         * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
287         this allows us to set the executable bit on the system memory dlmalloc 
288         allocates from, fixing #320036.
289
290 2008-03-29  Zoltan Varga  <vargaz@gmail.com>
291
292         * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
293
294 2008-03-14  Robert Jordan  <robertj@gmx.net>
295
296         * mono-dl.c (w32_load_module): prevent error dialog by resetting
297         the Win32 error mode during LoadLibrary (). Fixes #360363.
298
299         * mono-dl.c (w32_dlerror): kill a warning.
300
301 2007-MM-DD  Yoichi NAKAYAMA  <nakayama@pixela.co.jp>
302  
303         * mono-membar.h: Memory barrier for mips.
304  
305         Contributed under MIT/X11 license.
306  
307 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
308
309         * mono-time.c, mono-time.h: new file with the implementation of the
310         time-related routines we need in mono. This includes a hires
311         monotonic clock and a proper monotonic replacement for GetTickCount ().
312
313 2008-02-13  Zoltan Varga  <vargaz@gmail.com>
314
315         * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov 
316         <tsv@solvo.ru>. Add alpha support.
317
318 2008-01-11  Zoltan Varga  <vargaz@gmail.com>
319
320         * mono-io-portability.c: Include errno.h since it is needed by code inside
321         #ifdef DEBUG.
322
323         * mono-ehash.c: Don't include os/gc_wrapper.h.
324
325 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
326
327         * mono-hash.c: Don't include os/gc_wrapper.h.
328
329 2007-11-06  Geoff Norton  <gnorton@novell.com>
330
331         * strtod.c: Use a G_MUTEX call pattern compatible with eglib.  Patch
332         from Jonathan Chambers
333
334 2007-10-11  Zoltan Varga  <vargaz@freemail.hu>
335
336         * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
337
338 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
339
340         * mono-codeman.c, mono-codeman.h: added a function to be able
341         to specify alignment per-allocation. Changed the code to align
342         the starting position instead of the size, which wouldn't work
343         with variable-alignment.
344
345 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
346
347         * mono-codeman.c, mono-codeman.h: fixed alignment code to not
348         be wasteful, Added documentation. Added mono_code_manager_size ()
349         to gather statistics info about a code manager.
350
351 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
352
353         * mono-counters.h, mono-counters.c: better formatting of the output
354         and added a cleanup function.
355
356 2007-10-03  Miguel de Icaza  <miguel@novell.com>
357
358         * mono-compiler.h (trunc): Make the definition of trunk for MSC
359         use ceil or floor instead of always using floor which is
360         incorrect.
361
362         Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
363
364 2007-10-02  Jonathan Chambers <joncham@gmail.com>
365
366         * mono-io-portability.c: Init __mono_io_portability_helpers
367         to PORTABILITY_NONE on windows as mono_portability_helpers_init
368         is not always called before mono_portability_find_file.
369         
370         Code is contributed under MIT/X11 license.
371
372 2007-10-01  Jonathan Chambers <joncham@gmail.com>
373
374         * mono-io-portability.c: Only support on non-Windows
375         platforms.
376         
377         Code is contributed under MIT/X11 license.
378
379 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
380
381         * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
382         renamed exported call and made it properly internal.
383
384 2007-09-14  Jonathan Chambers <joncham@gmail.com>
385
386         * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
387         
388         Code is contributed under MIT/X11 license.
389
390 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
391
392         * Makefile.am: don't install internal headers.
393
394 2007-09-12  Marek Habersack  <mhabersack@novell.com>
395
396         * mono-io-portability.c: added. Moved options_init from io-layer.
397         (find_in_dir): moved from io-layer/io-portability.c
398         (mono_portability_find_file): moved find_file from
399         io-layer/io-portability.c, renamed and made MONO_INTERNAL.
400
401         * mono-io-portability.h: added. Contains declarations utility
402         functions and acros for checking whether MONO_IOMAP is in effect.
403         Added a prototype for mono_portability_find_file.
404
405 2007-09-09  Zoltan Varga  <vargaz@gmail.com>
406
407         * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
408         Fixes build with -fPIE.
409
410 2007-08-31  Jonathan Chambers <joncham@gmail.com>
411
412         * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
413         Fixes tons of warnings we get on cygwin build.
414         
415         Code is contributed under MIT/X11 license.
416
417 2007-08-14  Jonathan Chambers <joncham@gmail.com>
418
419         * mono-membar.h: Use intrinsic functions in msvc.
420
421 2007-07-31  Zoltan Varga  <vargaz@freemail.hu>
422
423         * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
424
425 2007-07-27  Mark Probst  <mark.probst@gmail.com>
426
427         * mono-membar.h: Memory barriers.
428
429 2007-06-13  Mark Probst  <mark.probst@gmail.com>
430
431         * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
432         allocation stats.
433
434 2007-06-06  Mark Probst  <mark.probst@gmail.com>
435
436         * mono-internal-hash.c: Fixed a bug in the remove entry code.
437
438 2007-06-04  Mark Probst  <mark.probst@gmail.com>
439
440         * Makefile.am:
441         * mono-internal-hash.c, mono-internal-hash.h: Hash table which
442         uses the value themselves as nodes, hence doesn't have to allocate
443         nodes.
444
445 2007-05-24  Jonathan Chambers  <joncham@gmail.com>
446
447         * mono-path.c: Add configure checks for header files.
448         * mono-codeman.c: Add configure checks for header files.
449         * mono-poll.h: Add configure checks for header files.
450         * mono-stdlib.c: Add configure checks for header files.
451         
452         Code is contributed under MIT/X11 license.
453
454 2007-03-09  Jonathan Chambers  <joncham@gmail.com>
455
456         * mono-dl.c:  Use Unicode characters for Win32 functions.
457         
458         Code is contributed under MIT/X11 license.
459         
460 2007-01-26  Robert Jordan  <robertj@gmx.net>
461
462         * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
463         for Win32.
464
465 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
466
467         * mono-dl.h, mono-dl.c: make symbols internal and fixes.
468
469 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
470
471         * mono-codeman.c: don't call mono_mprotect() on windows.
472
473 2007-01-20  Zoltan Varga  <vargaz@gmail.com>
474
475         * monobitset.h: monobitset.c: Move MonoBitSet type definition to
476         the header file. Add fast macro based versions of most bitset 
477         operations and optimize the rest a bit.
478
479 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
480
481         * mono-dl.h, mono-dl.c, Makefile.am: implementation
482         of dynamic loading API.
483
484 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
485
486         * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
487
488 2006-12-12  Atsushi Enomoto  <atsushi@ximian.com>
489
490         * mono-mmap.c : win32 build fix.
491
492 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
493
494         * mono-codeman.c: changed to use the mono-mmap.h API.
495
496 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
497
498         * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
499
500 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
501
502         * strtod.c: fix, again, 64 bit issues.
503
504 2006-11-25  Miguel de Icaza  <miguel@novell.com>
505
506         * strtod.c: Upgrade this implementation to the one from:
507         http://www.netlib.org/fp/
508
509         Fixed a few warnings, and added the header thta we had to
510         autodetect the FPU setup to use.
511
512         This should fix the hang when running the corlib test suite. 
513
514 2006-10-18  Miguel de Icaza  <miguel@novell.com>
515
516         * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
517         g_free. 
518
519 2006-10-17  Miguel de Icaza  <miguel@novell.com>
520
521         * mono-ehash.c: Use the new eglib hash implementation;   Currently
522         only Boehm is supported. 
523
524 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
525
526         * strtod.c: teleport to the new millennium.
527
528 2006-10-09  Miguel de Icaza  <miguel@novell.com>
529
530         * strtod.c: Replace the BSD implementation which was fairly old
531         and complex with a cleaner version from Tcl/Tk.   Fixes the hang
532         that we have in the Double parsing tests in our class libraries.
533
534 2006-09-12  Zoltan Varga  <vargaz@gmail.com>
535
536         * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
537         IEEE_8087 for alpha as well.
538
539 2006-09-04  Robert Jordan  <robertj@gmx.net>
540
541         * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
542
543 2006-08-30  Zoltan Varga  <vargaz@gmail.com>
544
545         * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
546
547 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
548
549         * Makefile.am:
550         * mono-stdlib.[ch]: mkstemp implementation.
551
552 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553
554         * Makefile.am:
555         * mono-path.[ch]: new files with functions to handle/resolve paths.
556
557 2006-08-10  Zoltan Varga  <vargaz@gmail.com>
558
559         * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
560         module. Fixes #78767.
561
562 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
563
564         * mono-hash.h, mono-hash.c: changed the code so we're able to
565         specify if the key or value or both are managed objects.
566
567 2006-04-10  Zoltan Varga  <vargaz@gmail.com>
568
569         * monobitset.c (mono_bitset_sub): Use src->size since the assert 
570         guarantees it is less than dest->size.
571
572 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
573
574         * monobitset.c: cap size in mono_bitset_sub () to
575         avoid reading uninit memory.
576
577 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
578
579         * mono-counters.c: initialize the next pointer.
580
581 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
582
583         * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
584
585 2006-03-16  Zoltan Varga  <vargaz@gmail.com>
586
587         * monobitset.c: Guard inline asm with #ifdef __GNUC__.
588
589         * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
590         into an assert.
591
592         * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
593
594 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
595
596         * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il 
597         branch.
598
599 2006-03-01  Zoltan Varga  <vargaz@gmail.com>
600
601         * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
602
603         * mono-counters.c: Fix windows build.
604
605 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
606
607         * mono-counters.h, mono-counters.c, Makefile.am: added
608         API for flexible stats collection.
609
610 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
611
612         * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
613
614 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
615
616         * mono-compiler.h: patch from Jakub Jelinek to retrieve
617         the tls offset without a text writable section (bug #77653).
618
619 2006-02-01  Sebastien Pouliot  <sebastien@ximian.com>
620
621         * mono-compiler.h: Added a macro for isnormal(x) as it's not available
622         in VS.NET.
623
624 2006-01-20  Zoltan Varga  <vargaz@gmail.com>
625
626         * monobitset.h (mono_bitset_set_fast): Add more fast accessors. 
627
628 2006-01-17  Zoltan Varga  <vargaz@gmail.com>
629
630         * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
631          from mini.h. Also fix it after the 64 bit changes.
632
633 2006-01-15  Zoltan Varga  <vargaz@gmail.com>
634
635         * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
636
637 2006-01-04  Zoltan Varga  <vargaz@gmail.com>
638
639         * mono-codeman.c (new_codechunk): Fix warnings.
640
641 2005-12-13  Atsushi Enomoto  <atsushi@ximian.com>
642
643         * strtod.c : un-constified some variables to fix bug #75228.
644
645 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646
647         * strenc.c: don't use the UTF16 conversion with g_convert. It returns
648         the FF FE at the beginning, which is not what we expect. Now
649         MONO_EXTERNAL_ENCODINGS can roundtrip and works.
650
651 2005-09-12  Zoltan Varga  <vargaz@freemail.hu>
652
653         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
654         with recent binutils.
655
656 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
657
658         * mono-codeman.c: ensure we have enough room for thunks
659         with large allocations.
660
661 2005-08-27  Zoltan Varga  <vargaz@gmail.com>
662
663         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
664         intel icc.
665
666         * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
667
668 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
669
670         * mono-codeman.c: allow room for far calls for ARM, too.
671
672 2005-07-20  Zoltan Varga  <vargaz@freemail.hu>
673
674         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
675         getting the tls offsets on amd64 too.
676
677 2005-07-19  Zoltan Varga  <vargaz@freemail.hu>
678
679         * mono-compiler.h: Add TLS offset detection for ia64.
680
681 2005-06-28  Zoltan Varga  <vargaz@freemail.hu>
682
683         * mono-compiler.h (trunc): Define this to be floor under win32.
684
685 2005-06-13  Geoff Norton  <gnorton@customerdna.com>
686
687         * mono-compiler.h:  Be slightly more conservative on ppc
688         as this was previously causing crashes building.
689
690 2005-06-09  Duncan Mak  <duncan@novell.com>
691
692         * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
693         all public headers. Fixes #74919.
694
695 2005-05-18  Zoltan Varga  <vargaz@freemail.hu>
696
697         * mono-codeman.c: Align code on a 16 byte boundary on ia64.
698
699 2005-04-20  Zoltan Varga  <vargaz@freemail.hu>
700
701         * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
702
703 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704
705         * mono-poll.c: windows return code translation.
706         * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
707         Moved to configure.in.
708
709 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710
711         * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
712         implement it in terms of select().
713         * Makefile.am: added new files.
714
715 2005-03-29  Sebastien Pouliot  <sebastien@ximian.com>
716
717         * mono-compiler.h: Added defines to make it easier to compile mono and
718         it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
719
720 2005-02-27  Zoltan Varga  <vargaz@freemail.hu>
721
722         * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
723         code to have 32 bit addresses.
724
725 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
726
727         * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
728
729 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
730
731         * Makefile.am, mono-compiler.h: added header to deal with 
732         compiler-specific bugs and features.
733
734 2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
735
736         * mono-logger.c (mono_trace_is_traced): Fix comment.
737
738         * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
739
740 2005-01-15  Zoltan Varga  <vargaz@freemail.hu>
741
742         * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
743         case as well.
744
745 2004-12-23  Ben Maurer  <bmaurer@ximian.com>
746
747         * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
748
749 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
750
751         * mono-codeman.c: align bsize so the returned pointer
752         is aligned also for dynamic methods.
753
754 2004-10-26  Zoltan Varga  <vargaz@freemail.hu>
755
756         * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
757
758 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
759
760         * mono-codeman.c (new_codechunk): Set malloc'ed code pages as 
761         executable.
762
763 2004-09-07  Bernie Solomon  <bernard@ugsolutions.com>
764
765         * mono-sha1.c: Remove uint32 and int32 types completely
766
767 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
768
769         * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
770         
771         * mono-codeman.c (new_codechunk): Fix windows build.
772
773         * mono-codeman.h mono-codeman.c: Generalize so it can be used to
774         allocate code for dynamic methods (one method per code manager).
775
776 2004-07-30  Zoltan Varga  <vargaz@freemail.hu>
777
778         * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
779
780 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
781
782         * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
783         x86 break on AMD64 too.
784
785 2004-07-23  zovarga  <vargaz@freemail.hu>
786
787         * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
788         64 bit platforms.
789
790 2004-07-09  Ben Maurer  <bmaurer@ximain.com>
791         
792         * mono-hash.c: register gc roots
793
794 2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
795
796         * mono-logger.h mono-logger.c: Added AOT component.
797
798 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
799
800         * strtod.c: Use gint32 for 32 bit types.
801
802 2004-06-29  Zoltan Varga  <vargaz@freemail.hu>
803
804         * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
805         in SHA1Transform on 64 bit systems.
806
807 2004-06-24  David Waite  <mass@akuma.org>
808
809         * monobitset.c: change to C90-style comments from C99/C++-style 
810
811 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
812
813         * mono-sha1.c : close opened file in case of successful read. This
814           saves a bunch of System.Reflection Emit failures under windows.
815
816 2004-06-18  Jackson Harper  <jackson@ximian.com>
817
818         * mono-logger.c/h: Add a trace mask option for tracing loading
819         config files. A little white space love.
820         
821 2004-06-18  Jackson Harper  <jackson@ximian.com>
822
823         * mono-logger.c: Change default logging level to ERROR. Make sure
824         that mono_trace_init is called if mono_tracev is our first trace
825         statement is mono_tracev. Little indentation fix.
826         
827 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
828
829         * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
830         memory with 0xcc (x86 break).
831
832 2004-05-02  Miguel de Icaza  <miguel@ximian.com>
833
834         * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
835         to test against BYTE_ORDER, and this caused trouble.  We now use
836         G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.
837
838 2004-04-26  David Waite  <mass@akuma.org>
839
840         * mono-logger.h: remove comma from end of enumeration declaration
841
842 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
843
844         * mono-codeman.c: macosx pretends an argument (which is ignored)
845         to be -1. Make sure the thunks area is zeroed.
846
847 2004-03-11  Zoltan Varga  <vargaz@freemail.hu>
848
849         * monobitset.c (mono_bitset_test_bulk): New function to return multiple
850         bits at once.
851
852 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
853
854         * mono-codeman.c: add a define to force the use of malloc
855         instead of mmap.
856
857 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
858
859         * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
860         to the native code for arch where calls have a limited immediate
861         displacement.
862
863 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
864
865         * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
866         to deal with buffers of native code (handles exec bits and other
867         details).
868
869 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
870
871         * strenc.c:
872         (mono_unicode_from_external): UTF8 is the default, not the preferred
873         encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
874         was passed in the env. var., it always failed because we were passing
875         "default_locale" to g_convert. Also fixed the byte count for non-UTF8
876         conversions.
877         (mono_utf8_from_external): UTF8 is the default, not the preferred one.
878
879         Fixes bug #53166.
880
881 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
882
883         * mono-uri.c: fixed compile problem.
884
885 2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>
886
887         * mono-math.c: fix for older C compilers and big endian machines
888
889 2003-11-12  Zoltan Varga  <vargaz@freemail.hu>
890
891         * mono-math.h mono-math.c: New file which contains implementations of
892         math functions/macros which are missing on some platforms.
893
894 2003-11-10  Dick Porter  <dick@ximian.com>
895
896         * strenc.c: Use platform-endian UTF16
897
898 2003-10-28  Dick Porter  <dick@ximian.com>
899
900         * strenc.h:
901         * strenc.c: New files, convert text to and from unicode or utf8,
902         and the user's chosen encoding.
903
904 2003-08-26  Zoltan Varga  <vargaz@freemail.hu>
905
906         * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
907         to remap hashtable values during a copying collection. Not used at the
908         moment.
909         * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
910         in the common case.
911         * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
912         the key function even if the client supplied g_direct_equal instead of
913         NULL.
914
915 2003-08-22  Duncan Mak  <duncan@ximian.com>
916
917         * strtod.c: 64-bit related fixes from Laurent Morichetti
918         <l_m@pacbell.net>. Patch approval from Miguel.
919
920 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
921
922         * mono-logger.h, mono-logger.c, Makefile.am: added
923         selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
924
925 2003-03-05  Dietmar Maurer  <dietmar@ximian.com>
926
927         * monobitset.c (mono_bitset_set_all): impl.
928
929 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
930
931         * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
932         to get the public key token from a public key.
933
934 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
935
936         * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
937         implementations.
938
939 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
940
941         * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
942
943 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
944
945         * monobitset.c, monobitset.h: documentation and fixes from
946         Dennis Haney.
947
948 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
949
950         * monobitset.c: fix my screwup pointed out by Lawrence Pit
951         (loz@cable.a2000.nl).
952
953 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
954
955         * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
956
957 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
958
959         * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
960         Add more tests. mono_bitset_find_first (set, -1) will work correctly
961         now.
962
963 2002-05-09  Dietmar Maurer  <dietmar@ximian.com>
964
965         * monobitset.c: use memcmp instead of memcpy
966
967 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
968
969         * monobitset.c, monibitset.h: bit set data structure.
970         Not included in the build yet because the jit has some symbol clashes
971         with it.
972
973 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
974
975         * First checkin: libmonoutils is meant to hold some utility
976         data structures and bits that are usefult to the rest of the project
977         and don't require metadata/runtime support.
978         mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
979         data in it.
980