Commit Graph

1535 Commits (2ba45f9a2216957a3d8e015a237b59152bb0cea3)

Author SHA1 Message Date
Alain Frisch ab918e2078 Detect unused exception declarations (#5524).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-06 19:47:07 +00:00
Alain Frisch f0b95f3349 Keep locations for exception declaration. This gives better error messages and paves the way to #5524.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-06 19:03:17 +00:00
Xavier Leroy a1b1a068f8 PR#5516: in Bigarray C stubs, use C99 / GCC flexible array types if possible
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12188 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-27 17:46:05 +00:00
Damien Doligez 5b14388ad0 refactoring the "read n bytes from a channel into a new string" idiom
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-23 19:54:44 +00:00
Xavier Leroy b5dbeb6611 PR#5511: in Bigarray.reshape, unwarranted limitation on new array dimensions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-21 17:53:49 +00:00
Wojciech Meyer 5899af063c PR#5504: Fix. Patch proposed by Stephane Glondu, thanks.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19 17:30:02 +00:00
Damien Doligez d4522f062c Change "Ocaml" to "OCaml" everywhere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12152 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-13 17:48:41 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 604f1de662 add missing link in doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 16:41:02 +00:00
Damien Doligez b2e4161d38 set svn:keywords property
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 11:05:56 +00:00
Benedikt Meurer d0f04172e7 Fix various compiler warnings in labltk.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12126 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 09:20:46 +00:00
Jonathan Protzenko 824179a92f Partial fix for #5398: at least avoid an out-of-bounds access.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12104 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-30 16:07:18 +00:00
Jonathan Protzenko 438da6350a Fix #5383: Cannot build OCaml 3.12.1 Win32/MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-30 14:51:54 +00:00
Damien Doligez 1074ef6252 cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 14:14:28 +00:00
Jacques Garrigue 477b2dd743 propagate path-expansion environment everywhere
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths@12068 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 07:59:45 +00:00
Jacques Garrigue db66874712 Attempt at shortening paths on printing
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths@12064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-22 01:47:52 +00:00
Jonathan Protzenko fc3bfa68d5 Merge branch 'pending'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 10:04:15 +00:00
Jonathan Protzenko bb96c0b92c Fix #5421: do not leak fds in various open_proc* functions.
Patch by Till Varoquaux <till@janestreet.com>

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12038 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 09:28:05 +00:00
Alain Frisch ff476d8431 Merge the unused_declarations branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 09:15:27 +00:00
Alain Frisch c45bcb892d Synchronize with trunk.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@12034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 08:31:11 +00:00
Fabrice Le Fessant 28c7bcd42d Fix PR#5475
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 21:47:36 +00:00
Fabrice Le Fessant 6f9f5cdfdb Fix PR#5479
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 20:32:33 +00:00
Xavier Leroy e9123cd60f PR#5327, PR#5329: improvements in Unix.select emulation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-14 09:40:49 +00:00
Alain Frisch 33eefe4874 Remove unused constructors in the AST: Cf_let, Pcf_let.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 13:27:07 +00:00
Xavier Leroy c3ead2a680 PR#5325 ("remove" solution).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 10:38:55 +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
Jonathan Protzenko 35e8dcc6e3 Fix #5382: EOPNOTSUPP and ENOTSUPP different on exotic platforms (Solaris, GNU/Hurd).
Patch by Samuel Thibault <sthibault@debian.org>

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11915 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 13:08:48 +00:00
Jonathan Protzenko 93d66f94fa Fix #5434: implement times in win32unix (partially).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 09:43:13 +00:00
Alain Frisch 9d17272024 Create a branch to experiment with better warnings on unused declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 09:39:30 +00:00
Xavier Leroy d0667f4e52 Cosmetic: old-style K&R function -> new style prototyped function
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11896 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 12:37:52 +00:00
Xavier Leroy b51df176a8 PR#5416: better implementation of set/clear_close_on_exec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 08:59:09 +00:00
Xavier Leroy 4af724cf54 Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS.
Part 4: cleaning up some more references & specific code for these archs.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11886 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-18 09:52:52 +00:00
Xavier Leroy 3e42214295 Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS.
So long and thanks for all the fish.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11882 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 11:12:50 +00:00
Xavier Leroy 9178181eae The "DBM" library (interface with Unix DBM key-value stores) is no
longer part of this distribution.  It now lives its own life at
https://forge.ocamlcore.org/projects/camldbm/.  Bye bye, DBM.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11881 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 10:45:23 +00:00
Alain Frisch fcf6dcf3cb Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-13 17:59:10 +00:00
Alain Frisch 14b778db90 #5420: fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-13 16:21:10 +00:00
Alain Frisch 84dd8601e0 #5420: adding a O_SHARE_DELETE flag to Unix.openfile, for enabling FILE_SHARE_DELETE mode under Windows (ignored under Unix).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-13 16:18:13 +00:00
Xavier Leroy d187828b8c PR#5306: comparing values of type Thread.t
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11303 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-13 15:21:14 +00:00
Jacques Garrigue b1f8048f39 merge branches/located_errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-21 03:26:35 +00:00
Xavier Leroy ce4946768c PR#5328: Windows, Unix.select and non-blocking sockets (untested patch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-15 09:02:22 +00:00
Jacques Garrigue 156fff1b8a Keep type variable names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-22 09:05:42 +00:00
Xavier Leroy 9ef7e04cf3 Jonathan's updates to the Windows/Mingw port
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-15 13:38:45 +00:00
Xavier Clerc 4a97d270ad PR#5335: Unix.environment segfaults after a call to clearenv
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11176 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-05 09:25:26 +00:00
Damien Doligez d9eb848d86 PR#5238, PR#5277: Sys_error when getting error location
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:59:13 +00:00
Jacques Garrigue 9dc661c3bf merge branches/gadts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 10:32:43 +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
Damien Doligez db1e7c7e23 file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:52:13 +00:00
Damien Doligez 6712010b6b file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:51:01 +00:00
Damien Doligez 9286fd5a70 file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:50:08 +00:00
Xavier Leroy 952c0170ee PR#5290, continued: make sure hash values of nats are the same
on 32-bit and 64-bit platforms.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:24:58 +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
Pierre Weis e1fda3d23a New module dependency.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11099 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:44:27 +00:00
Xavier Leroy 4b8b6fed96 Tick thread: remove hack specific to LinuxThreads v1, probably useless today, certainly problematic when program is daemonized.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:57:23 +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 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
Pierre Weis dc2472c8dd Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:25:14 +00:00
Pierre Weis ce86438318 Including corrections from 3.12.1.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-06 16:26:34 +00:00
Pierre Weis e21c5bd0f6 Including corrections from 3.12.1.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-06 16:24:33 +00:00
Jacques Le Normand 3ec9bc692b complete_constrs in parmatch.ml now works with gadts. Reverted changes to the syntax tree which are no longer needed.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-16 06:01:59 +00:00
Jacques Le Normand 1680403fb9 clean up
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-10 06:01:27 +00:00
Jacques Le Normand ad30b17be1 updated references to Tpat_record to accomodate the extra field
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10771 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-08 09:14:57 +00:00
Jacques Garrigue f368f4e0d5 allow variance in GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-08 06:59:46 +00:00
Jacques Le Normand c2777a43d0 merged with trunk. specifically, merged with implicit unpack patch
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-25 08:19:48 +00:00
Jacques Garrigue ce605c042a merge branches/implicit-unpack + update camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10738 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 23:59:33 +00:00
Jacques Le Normand 87898cb3e9 internally, we can now refer to constructors with the help of their type, thus avoiding shadowing
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 08:17:17 +00:00
Jacques Le Normand 304dba8a0f removed Type_variant, fixed bug in GADT exhaustive check
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 04:02:02 +00:00
Jacques Le Normand 6de25fef2f first commit
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-13 05:28:30 +00:00
Jacques Garrigue 9a053e7fd8 for Jacques Le Normand
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-30 04:57:49 +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
Pierre Weis ef38d5bf94 Report corrections for ^^ from stdlib/pervasives.ml + PR#5062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-04 16:46:06 +00:00
Alain Frisch f0d3e10ef7 Simplification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-28 15:09:22 +00:00
Alain Frisch 7e84b29e46 Remove the runtime detection of whether natdynlink works or not.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10471 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-28 10:16:31 +00:00
Alain Frisch 684a1baafe Do not install natdynlink if it does not work.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-28 10:11:54 +00:00
Xavier Leroy 734b805161 Patch provided by Sylvain Le Gall:
- Fix #4894: Windows (mingw): Unix.select and non-blocking sockets,
  add a filedescr.flags_fd in win32unix/unixsupport.h. It contains the
  non-blocking status of the associated filedescr and helps to restore
  this status after a select.
- Fix #4789: Windows: Unix.select failing with EPIPE error,
  Apply patch provided by J. Vouillon
- Fix #4973: Failure "Unknown handle",
  Be consistent between Windows and Linux, raise an EBADF Unix_error
  for a closed pipe handle.
- Fix #4844: Unix.select bug (triggered if linked against threads),
  Apply patch by C. Bauer, replace lpOrig by lpOrigIdx which can survive
  a GC collection

For otherlibs/win32unix/{select|windbug}.c:
- Remove Heap* fucntions to allocate/free memory and replace it by
  caml_stat_* function, which are more OCaml compliant
- Rework DBUG message, use DEBUG_PRINT rather than #ifdef DBUG... #endif
  and use DEBUG variable (more OCaml compliant), also remove dbug_init
  functions and use a static variable to replace it (subject to race
  condition but this not really important, because every path lead to
  same initialization)
- Use a fast start scheme for pipe polling, rather than always waiting
  10ms, start by 1, 2, 4, 8 and then 10ms. The 4 first times give select
  a chance to a fast answer.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 13:01:06 +00:00
Alain Frisch 47dbbc7d7f Decide at config time if natdynlink is supported or not, but always compile/install dynlink.cmxa to simplify 3rd party packages. A runtime exception signals an unsupported natdynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10461 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 10:00:39 +00:00
Alain Frisch 1cb53ee05a Create a branch to experiment with improving locations of errors.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/located_errors@10453 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 13:21:14 +00:00
Damien Doligez 5e67123bf6 PR#4975: spelling mistakes "overriden" and "informations"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 12:00:49 +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
Xavier Leroy 6c55d7fea2 PR#4632: install socketaddr.h header in lib/caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10442 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 09:40:41 +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
Xavier Leroy d4d232101d PR#4874: interpretation of \b in regexps: characters that constitute a word now include 0-9 and _
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:22:24 +00:00
Damien Doligez 90d215424c removal of tkanim
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10426 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 11:37:13 +00:00
Damien Doligez 00ca063f87 missing change from last branch merge !?
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 11:33:23 +00:00
Xavier Leroy 2adec7d747 PR#5033: tools/objinfo made more general.
tools/dumpapprox removed, now subsumed by tools/objinfo.
Introduced asmcomp/cmx_format.mli and used consistently in asmcomp,
  tools/objinfo, and otherlibs/dynlink
Note: ocamlbuild -based build procedure not updated yet.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 11:29:38 +00:00
Damien Doligez 1072c2cc6d deduplicate debugger/dynlink.{ml,mli}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 15:49:53 +00:00
Nicolas Pouillard 0d72001f2a Merge branch 'ocaml-git/buildsys' (early part) into trunk
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 13:34:20 +00:00
Maxence Guesdon ef925ce233 comment out useless code in Str
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 14:36:41 +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
Alain Frisch c7ca3843a9 Fix 'make clean' under Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 13:27:35 +00:00
Xavier Leroy 30878cea6c PR#5017: shift_right_big_int on negative numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-29 13:53:01 +00:00
Xavier Leroy 93508995e0 PR#4676: wrong constant in Win64 IL32LLP64 model
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 11:59:09 +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
Damien Doligez 27780d9f8a fixed several build problems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 15:41:16 +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
Jacques Garrigue ee36e1d1c5 merge branches/override
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 03:58:41 +00:00
Alain Frisch 1a0d254dbe PR #5018: Wrong exception raised by Dynlink.loadfile.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10234 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-06 20:57:11 +00:00
Jacques Garrigue 5ed9193051 macosx tk says page
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10231 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-04 02:09:57 +00:00
Jun FURUSE / 古瀬 淳 f5fc4d5207 fix for tk86 and removal of tkanim
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10230 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-03 06:43:51 +00:00
Xavier Leroy ab550592ef Adding "module type of <module-expr>" in the class of <module-type>.
Merge of branches/moduletypeof -r 9636:10226


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10227 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-02 12:53:33 +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
Damien Doligez c53dc927d0 test directory was removed -- portable version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-09 14:17:20 +00:00
Damien Doligez 885eb6487b test directory was removed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-09 14:13:35 +00:00
Xavier Clerc b50f60e138 Tests moved to 'lib-num*'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-29 13:01:31 +00:00
Xavier Clerc 2c54e3a4fa Tests moved to 'lib-systhreads'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-28 15:43:45 +00:00
Xavier Clerc 45b70408a7 Tests moved to 'lib-threads'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9594 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-28 15:43:03 +00:00
Xavier Clerc b5fbdc43c2 Tests moved to 'lib-threads'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-28 15:42:08 +00:00
Damien Doligez 15cc229da7 fix mysteriously broken dependencies
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 11:55:04 +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 02de54d9ee bug with $
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9532 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-19 13:12:47 +00:00
Damien Doligez 56646c4d8c synchronisation with Makefile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-11 14:27:59 +00:00
Xavier Leroy b56fef658c Fix for build/fastworld.sh as reported on caml-list by J. Reymond
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9514 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-09 11:31:43 +00:00
Damien Doligez 1b8095f404 PR#4940: get rid of naked end-of-lines in string constants + add warning 29
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:15:07 +00:00
Damien Doligez bfa1c0f2ec updated to new language constructs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9440 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-03 16:06:56 +00:00
Damien Doligez f5efbb60b1 fine-grained control of warnings -- cont
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-02 12:19:08 +00:00
Xavier Leroy 835ae86ff1 Treat these GIF files as binary data
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-18 08:14:24 +00:00
Pierre Weis e5522b690d Variable err is initialized to 0.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-25 15:03:06 +00:00
Pierre Weis 4b71a3183c Les fonctions internal_tracevis et internal_tracedestroy sont mal declarees.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-25 12:56:10 +00:00
Xavier Leroy 9c6c8fb47e As discussed at the latest consortium meeting:
Syntactic sugar {x} for {x=x} in record expressions and patterns.
Syntax { lbl=pat; _ } to mark record patterns where the user explicitly wants not to list all labels.
Warning (activated by E, the fragile match warning) to signal record patterns without '; _' that fail to list all labels.
To be done: adjust Camlp4 parser accordingly.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:41:07 +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
Damien Doligez 591d89e773 resolve name clash with ossp-str
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-16 14:18:41 +00:00
Xavier Leroy 11217e8f70 Added option -no-app-funct to turn off applicative functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:06:37 +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 5ba174438f Typo in error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-16 07:23:35 +00:00
Xavier Leroy 238cf4bde3 PR#3047: added Unix.setgroups, Unix.initgroups.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9220 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:50:10 +00:00
Xavier Leroy 42f90d720e PR#4641: added bitwise operation to Big_int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9218 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:20:20 +00:00
Xavier Leroy c2bdcafb6a Added testfork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9217 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:57 +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
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Damien Doligez 2b0441401a merge changes between 3.10.2 and the end of branch 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Xavier Leroy 29e590ccb9 Attribution.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:05:48 +00:00
Xavier Leroy f747f75664 Forgotten include
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9071 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:20:27 +00:00
Xavier Leroy 2ea9e887af Fixed error handling. Added credit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 11:47:39 +00:00
Xavier Leroy c0f298d68a Revised lockf implementation (PR#4609)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 08:48:44 +00:00
Xavier Leroy 9cc0b9a01a PR#4577: reinitialize thread machinery after fork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 10:46:55 +00:00
Jacques Garrigue ff88bbc575 fix PR#4614
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-26 07:35:24 +00:00
Pierre Weis 3a62f73c4b A better implementation for quo_num and mod_num.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:12:05 +00:00
Pierre Weis 4bb8667558 Clean also emacs generated ~ files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:10:43 +00:00
Pierre Weis 463a498664 A test of pi's digits computation: one version for big_int, one version for nums.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:03:51 +00:00
Pierre Weis c979bedfea Cleaning more files. Addition of a overall arithmetic test:the computation of pi.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:02:52 +00:00
Pierre Weis a3f387e1e6 Spurious warnings elimination.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:01:03 +00:00
Damien Doligez b085b3e0bb PR#4599 better documentation of process_status
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8994 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-04 13:53:43 +00:00
Alain Frisch af064a536f Fix bug #4606
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-28 22:17:51 +00:00
Jacques Garrigue 44140eb131 only recompile when needed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8991 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-27 10:22:42 +00:00
Xavier Leroy de5bed37de PR#4566: bugs in approx_{ratio/num}_fix.
big_int.ml: bugs in conversions int64/big_int on 32-bit platforms.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-03 09:04:40 +00:00
Michel Mauny 666cb14adf Implement Lazy.force as a primitive, and optimize its calls.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:57:10 +00:00
Michel Mauny 29b8f845fd Add IPV6_ONLY to match unix.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8972 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:29:44 +00:00
Xavier Leroy b4d335cb9f PR#4536: Add socket option IPV6_V6ONLY
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 13:46:08 +00:00
Xavier Leroy 7ae8be59fa PR#4542: don't play with get/setpriority, call nice() directly, it's part of the POSIX standard
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 13:14:36 +00:00
Xavier Leroy 7e9f606dee PR#4338: tail recursion in global_substitute, global_replace, and *split*
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:27:13 +00:00
Xavier Leroy 50af4a8c98 Render unto Caesar...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-31 12:09:18 +00:00
Xavier Leroy 0ca175e74c Missing includes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8957 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 12:13:24 +00:00
Xavier Leroy 0837ee9e6f ocamldebug under Win32 take 2 (S. Le Gall, Lexifi)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 08:47:00 +00:00
Xavier Leroy 776ae225a0 ocamldebug under Win32 (S. Le Gall, Lexifi)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8955 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 08:31:41 +00:00
Alain Frisch 5243326917 Include a missing header.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-24 05:55:21 +00:00
Alain Frisch 20bc66eb25 Enable to (old) -dlcode option by default. -nodynlink disables it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-15 15:31:32 +00:00
Xavier Leroy 91d39feb72 PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 09:09:53 +00:00
Xavier Leroy 14c6208483 Improvements in socket options: added option TCP_NODELAY (PR#4484),
added getsockopt_error with a better interface (PR#4492),
revised sockopt.c to facilitate future extensions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8910 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 07:45:03 +00:00
Michel Mauny 493a26ab25 Add lazy patterns in labltk
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8907 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-09 14:03:08 +00:00
Pierre Weis 10b38811b6 Support for tk8.5: correcting tk_incs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:55:52 +00:00
Jacques Garrigue ad3ca0e02b add support for Tcl/Tk 8.5 (but no directory autodetect)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-05-02 06:41:30 +00:00
Alain Frisch dedf33637b Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8877 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 15:04:39 +00:00
Alain Frisch 4ec2351f08 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8875 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:29:18 +00:00
Alain Frisch 291a4207ad Cleanup natdynlink. Automatic initialization of Dynlink (bytecode and native code). Do not use RTLD_GLOBAL for Dynlink.loadfile_private in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:24:10 +00:00
Alain Frisch f3f7dd8919 Cosmetic.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 07:38:07 +00:00
Alain Frisch ff421e9e8b Cleanup + pass -Wl,-E to linker when linking dynlink.cma in custom mode.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-16 06:50:31 +00:00
Alain Frisch d7bc25bd89 Fix compilation of ocamlbrowser.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-07 10:59:33 +00:00
Damien Doligez 04aa158cb6 merge changes from 3.10.1 to 3.10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Alain Frisch d1006c1983 Now that we compile with -DCAML_NAME_SPACE, we need to use new names here.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8773 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-15 14:55:15 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Xavier Leroy 1844666bc8 PR#4457: no need to limit each bigarray dimension to 2^31.
Name space depollution.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8754 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-04 15:01:48 +00:00
Xavier Leroy bd7fc99c43 PR#4371: added conversions between big_int and int32/int64/nativeint
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8751 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-04 13:15:52 +00:00
Xavier Leroy abc5e774cb PR#4457: no need to limit each bigarray dimension to 2^31.
Name space depollution.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8748 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-04 09:52:27 +00:00
Damien Doligez f666922cb2 "make install" must not compile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8708 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-12 14:09:45 +00:00
Damien Doligez e9a9bf9613 PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Damien Doligez 16bd7d60cc add .PHONY annotations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-23 10:54:26 +00:00
Damien Doligez 6aed4b19a5 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 22:14:43 +00:00
Damien Doligez 16e4a68197 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +00:00
Alain Frisch 02654dc3b6 Do not build threads.cmxs: on some systems, it is needed to link the system thread library statically.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:19:48 +00:00
Alain Frisch 3994064914 Restore dependencies to Widgets.src
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8492 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:53:35 +00:00
Alain Frisch 185ec52922 Remove spurious .depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8491 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:47:48 +00:00
Alain Frisch 572d162e30 Restore include dirs for X11.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:23:06 +00:00
Alain Frisch eacafd064f Fixes for BSD make.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8489 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:17:48 +00:00
Alain Frisch 9299a19d8b Don't use BYTECCCOMPOPTS twice.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8484 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-07 08:58:35 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Xavier Leroy 45f7137dd3 PR#4351: try to avoid rescheduling in mutex and condvar operations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-31 09:12:29 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Damien Doligez 773ff5b883 probleme avec les .depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:30:31 +00:00
Pierre Weis 45bef8fffc PR#4292 point 3.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8276 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-25 07:32:52 +00:00
Pierre Weis 0efd168f48 Typos reported by Hendrik Tews (PR #4292) No 4, 6, 10, 11.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8275 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-25 07:17:37 +00:00
Damien Doligez 1dd68ccf50 ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Xavier Leroy 6f2ec9b618 Protect (partially) against tick count wrapping around
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:51:24 +00:00
Xavier Leroy efbf67e517 Tentative fix for PR#3927. To be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 14:38:11 +00:00
Xavier Leroy e254ca38e0 Suppressed useless calls to inchan_ready and outchan_ready
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7918 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:37:30 +00:00
Xavier Leroy 9b5ce17d20 Typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7917 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:37:02 +00:00
Xavier Leroy d27adbc9c3 Bigarray.*.map_subfile replaced by an optional argument to Bigarray.*.map_file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-21 15:16:53 +00:00
Nicolas Pouillard ec19231fb9 Fix the otherlibs/threads/Makefile to avoid useless re-compilations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 09:54:55 +00:00