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