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