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