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