Commit Graph

876 Commits (05627e0de4a50067f36d1eca9dcc9ebd5736c3f8)

Author SHA1 Message Date
Damien Doligez ff00570de4 fix whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 14:13:51 +00:00
Damien Doligez 2258a237af fix whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 15:09:07 +00:00
Alain Frisch 55688836f4 PR#4688: (Windows) special floating-point values aren't converted to strings correctly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 10:23:51 +00:00
Xavier Leroy 288ebd8cbc Reverting commit 11996
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12001 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-08 08:31:47 +00:00
Fabrice Le Fessant 4c4a9fc507 Fix of #5467: no extern C in header files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-07 20:55:28 +00:00
Damien Doligez b932aaa4e6 robustify the production of debug and PIC object files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-06 13:42:46 +00:00
Damien Doligez 334a2fdbe6 remove useless call to Modify
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:29:14 +00:00
Damien Doligez 51ca775aa8 typo in a comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:28:57 +00:00
Jacques Garrigue 16d937aa40 fix PR#5436
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 07:30:18 +00:00
Xavier Leroy ac0aa0778d PR#5179: giant steps towards a Mingw64 port.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 16:31:01 +00:00
Xavier Leroy e43dd3a2a1 OCaml, not Objective Caml, I get it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11914 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 10:41:59 +00:00
Xavier Leroy c8f32a4a50 Module Array: faster implementations of "blit", "copy", "sub",
"append" and "concat" (PR#2395, PR#2787, PR#4591)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11913 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 10:36:35 +00:00
Xavier Clerc cb7818e6de PR#5344: some predifined exceptions need special printing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-08 08:34:43 +00:00
Xavier Leroy 735c4f6b67 Follow-up: complete removal of pre-ANSI-C cruft.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11181 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:06:18 +00:00
Xavier Leroy d2126be2b3 Testing byterun with CompCert and finding minor issues:
- int64_format.h: off-by-one error in skipping width modifier
- sys.c: pre-ANSI-C cruft removed (<errno.h> MUST define errno)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:04:58 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy d0709a762f byterun: embarrassing typo in caml_hash
testsuite/tests/lib-num: testing hashing of big_int


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11147 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 18:13:18 +00:00
Xavier Leroy f90ddc8c22 PR#5290: added hash functions for channels, nats, mutexes, conditions.
Also: added "custom_compare_ext_default" to all struct custom_operations:
default initialization to 0 did what we want, but explicit initialization
better documents the C sources.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:07:25 +00:00
Damien Doligez 90664f4ea1 uniform .ignore system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Xavier Leroy 4d7a905b69 Trigger GC when alloc_ptr < alloc_start, not < alloc_limit.
(In native code, the latter test triggers unneeded GCs after a signal
is recorded.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:56:21 +00:00
Xavier Leroy 174ff0b018 PR#3806, 4752, 5246: added "hypot" and "copysign" to Pervasives.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:55:55 +00:00
Xavier Leroy 2c3c8db149 Forgot to add new header
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-01 15:11:09 +00:00
Xavier Leroy aea227fdeb Better hashing!
- New generic hash function based on Murmur 3, with better statistical
  properties (PR#5225), and better speed
- Make sure equal floats hash equally (PR#5222)
- Breadth-first traversal instead of depth-first
- Added seeded hash functions and seeded functorial interface to Hashtbl.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11056 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-05-29 09:52:27 +00:00
Xavier Leroy 9bf11b9057 Problem with Damien's change: if foo.pic.c exists (and it does on second and subsequent compilations), make applies the rule .c -> .o instead of .c -> .pic.o, resulting in .pic.o files compiled without -fPIC. As a partial workaround, remove .pic.c links after compilation. Not perfect because .pic.c stays around if compilation fails.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 08:05:05 +00:00
Xavier Leroy de47195103 Added public functions "caml_array_length" and "caml_is_double_array"
to abstract (slightly) over the concrete representation of arrays.
Contributed by F. Le Fessant.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11006 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 07:33:34 +00:00
Pierre Weis ddd69c683b On bsd make clean should remove the links .pic.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-18 00:14:51 +00:00
Damien Doligez a53ce2df70 add option -runtime-variant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 16:18:05 +00:00
Damien Doligez fa73e25120 PR#4243: make .c.p.o rule thread-safe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-01-06 14:23:20 +00:00
Damien Doligez f7a5e69ad5 increased default minor heap size
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10920 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-01-06 14:20:52 +00:00
Damien Doligez 575555eecd merge changes from branching of 3.12 to release/3.12.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Damien Doligez b29bc9fd2b PR#5055: head -1 doesn't work
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 11:28:21 +00:00
Damien Doligez 3bba52b91c PR#4857: add -vnum option to all executables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 14:06:29 +00:00
Damien Doligez dc7affa4b7 fix Windows MSVC build + ignores
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10440 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 14:52:34 +00:00
Damien Doligez 29224ccbe6 PR#4742: finalisation function raising an exception blocks other finalisations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 14:32:23 +00:00
Alain Frisch e09a12388f New -help-warnings command-line option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:44:38 +00:00
Xavier Leroy 09ba69134f - Refactoring of otherlibs/systhreads
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h> 
- Added "stack_size" field in GC statistics.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +00:00
Mark Shinwell 62d8b11287 fix mantis 5032
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-23 07:58:59 +00:00
Damien Doligez 674da0324d PR#4541 make debugger compatible with fork()
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 15:47:15 +00:00
Mark Shinwell cf088abef1 release runtime lock for lseek (mantis 4801)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-01 07:36:49 +00:00
Xavier Leroy 74eb9a3016 Typo in I64_is_min_int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10217 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-29 11:29:24 +00:00
Damien Doligez 7539834933 big bug in Obj.add_offset
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 11:55:30 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez f2a404eb0c inconsistency reported by Basile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-04 12:25:47 +00:00
Damien Doligez 71b94fa3e8 merge changes from ocaml3111rc0 to ocaml3111
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Xavier Leroy a5aa0b7e37 PR#4210, PR#4245: tightened bound checking in string->integer conversion functions, without changing what the lexer accepts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:50:31 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Xavier Leroy eb1922c6ab ARM EABI: do not force use of register r9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9254 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-05 09:13:26 +00:00
Xavier Leroy 2da17c49c6 PR#4638: added expm1 and log1p.
Cleaned up some doc comments in stdlib/pervasives.mli


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:37 +00:00