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