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