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