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