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