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