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