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