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