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