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