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