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