Commit Graph

1223 Commits (d3d363a1a65a21ae55669607ea792ce860069d2f)

Author SHA1 Message Date
Pierre Weis 0c49b27a78 Merge between head and 3.10.2.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-16 13:04:46 +00:00
Xavier Leroy 1d3f14e995 PR#4507: incorrect documentation for epsilon_float (follow-up)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:11:34 +00:00
Xavier Leroy 6559ae1996 PR#4507: incorrect documentation for epsilon_float
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:10:25 +00:00
Xavier Leroy 640b24249d Ability to print and capture exception backtraces (see stdlib module Printexc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +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
Damien Doligez 8ecf3fc156 better anti-fragmentation measures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:56:15 +00:00
Damien Doligez 99ef8c802e add unaligned_tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-29 13:11:15 +00:00
Damien Doligez a16126b2a3 PR#3930 helper function for end-of-line
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-22 16:27:53 +00:00
Damien Doligez f4d4288d09 resize that does not refresh the values
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-21 14:15:59 +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
Damien Doligez db2092907f fixed big performance bug in weak hash tables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 11:55:36 +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
Alain Frisch 1b059475c8 Cleanup and factorization of linker-related code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +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
Pierre Weis 00f4865bad Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:11:52 +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 c2b4fdde78 Better treatment of meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-04 21:02:39 +00:00
Pierre Weis fd31a59856 Indentation was erroneous.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-04 21:00:51 +00:00
Pierre Weis 8e5fb9bb75 Added shared library support for NetBSD and OpenBSD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-08-23 07:43:06 +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
Pierre Weis 5dbc715029 Indent.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8215 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-09 21:04:24 +00:00
Pierre Weis 771646e79a Fix bug #4273.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-08 21:30:01 +00:00
Pierre Weis 4f37f1c289 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-08 16:58:11 +00:00
Pierre Weis 8c9e42862c The functions that escape characters ([escaped]) now handle characters
consistently with the compiler's lexer (PR#4220).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8189 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-04-16 11:06:51 +00:00
Xavier Leroy 1398fbbe1f Ajout de Sys.is_directory (PR#4054 + needed by ocamlbuild)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 14:21:57 +00:00
Damien Doligez bdfffc09fe MAJ pour VERSION/sys.mlp
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7907 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 12:42:42 +00:00
Xavier Leroy 251e86a370 Documentation of int_of_float (see PR#4207)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7890 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-21 14:15:19 +00:00
Damien Doligez 62fc7043b6 bug de performance dans stdlib/weak.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 16:05:36 +00:00
Damien Doligez f700284aac fusion des changements 3.09.3 -> release309_merge310
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Damien Doligez 1560e25f2c probleme de permission sur sys.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:24:20 +00:00
Damien Doligez 5b52f30e7d deplacement du numero de version -> fichier VERSION a la racine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Nicolas Pouillard d7c9375166 Some changes to the build system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 10:31:36 +00:00
Nicolas Pouillard b100c43753 Add many .mllib .mlpack .clib .dlib files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 09:52:28 +00:00
Xavier Leroy 6ce858f4a8 Ensure type specialization for the 'compare' functions (PR#4194)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7818 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-30 09:34:36 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Pierre Weis acd9b70661 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-22 08:51:29 +00:00
Jacques Garrigue 60710728de sync comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-22 08:06:09 +00:00
Pierre Weis 227bc9a094 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-21 12:38:13 +00:00
Damien Doligez d8679038e0 Filename.quote sur Windows : best effort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7796 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-09 13:42:17 +00:00
Pierre Weis b5eb82e24d Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7776 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-19 20:30:53 +00:00
Damien Doligez cb0bf2cc6a bug repere par Nicolas
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7775 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-18 13:30:07 +00:00
Damien Doligez eaf64f01e5 ajout variable OCAMLPROF_DUMP pour profiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7762 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-28 15:59:35 +00:00
Damien Doligez f4702f8208 PR#4167 ajout de const dans fail.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-24 14:40:11 +00:00
Pierre Weis 22e8639445 Documentation additions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:37:07 +00:00
Pierre Weis bf93ec1d4e Sub-version++.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:36:32 +00:00
Pierre Weis 236baa6ee4 Encapsulation of system specific exports in module Printf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:34:05 +00:00
Pierre Weis b6fa9a2529 Typo in the definition of format4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:34:02 +00:00
Damien Doligez 7e7ce6e349 PR#4156 increment AST magic numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 11:50:38 +00:00
Pierre Weis a85b5df010 Bumping sub-version for user-defined readers implementation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:23:15 +00:00
Pierre Weis 6d958f53fd New type ac (argument counting for format strings). New function ac_of_format.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:22:42 +00:00
Pierre Weis 9bc5cb17bf New type ac (argument counting for format strings). Private export of new function ac_of_format for Scanf (and the typechecker).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:22:02 +00:00
Pierre Weis e80a2387f4 Documentation plus new exports.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:19:43 +00:00
Pierre Weis 4c493c3292 Implementing %r.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:19:12 +00:00
Pierre Weis 044ac2610c New function ifprintf that does not print. (See request #0004031.)
Ifprintf is a one-liner using implementation tools from Printf, whereas it is
not possible to write it in pure Caml.
Useful to conditionally ignore printing.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 09:12:53 +00:00
Pierre Weis 6ef4e22e54 Version modification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7709 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:15:05 +00:00
Pierre Weis 5f5211a849 Better calculation of format argument number.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7708 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:13:40 +00:00
Pierre Weis dd25537b69 Defining an abbrev to give a readable type to scanf functions. Using format6. Format_from_string specification changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:12:07 +00:00
Pierre Weis 5770271304 Typechecking of user's defined readers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 22:07:47 +00:00
Pierre Weis fa5b7ef147 Sub module Sformat now deals with format6.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7703 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 21:11:48 +00:00
Pierre Weis 0be3884f18 Introducing format6 as a built in type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:42:41 +00:00
Pierre Weis ae5fcbb4c2 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-15 21:58:28 +00:00
Pierre Weis 5c04d6cade Bug report 0004119: Issue with Scanf.Scanning.from_file
Bumping the version sub number and date.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 10:02:01 +00:00
Pierre Weis 3cd7de7f80 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 09:42:45 +00:00
Xavier Leroy 8d3d91b9a3 Attempt to support Visual C++ 2005. Remain to be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-23 08:51:31 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Pierre Weis b54571295f Coherent naming of scanning buffer (to avoid confusion with usual Buffer.t
values.)
Revised documentation of the scanf_format family of functions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-13 07:41:07 +00:00
Damien Doligez ef3f35d7d6 amelioration de la doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-12 10:38:18 +00:00
Damien Doligez ed4351139c PR#4055 List.nth when argument is negative
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 12:18:00 +00:00
Jacques Garrigue 6f6b1849c5 -rectypes obligatoire pour les dependences
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-26 09:38:06 +00:00
Xavier Leroy 7e41567e69 Utilisation OUTPUTEXE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:04:49 +00:00
Pierre Weis cf0590146f Code review before adding new typing of format string.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:52:22 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Pierre Weis 8604fbe7f3 A bit of documentation to explain the behaviour of stdib and more generally the
lookahead behaviour of scanning buffers.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 15:41:42 +00:00
Pierre Weis a09a711749 Dead code removed. Typos corrected + documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 15:40:03 +00:00
Pierre Weis cd49f2b781 Dead code removed + typos.
cvs: ----------------------------------------------------------------------


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 15:39:10 +00:00
Pierre Weis 176b3c0da8 Module Sformat is internal to printf. Better typing specifications of functions working with format strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 11:49:07 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez 9d1901feea test lock
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-03-22 12:41:17 +00:00
Pierre Weis dca5609f32 Importing the 3.09 debugging version of Printf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-24 11:12:26 +00:00
Pierre Weis dc068cdbe1 Sscanf_format gets a type consistent with the type of sscanf.
Adding a function scan_format that scan a string to directely return a format4
value.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-12 10:18:18 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Pierre Weis 129535d070 Correcting bug for %{ conversions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 08:50:40 +00:00
Pierre Weis d154852500 Last correction for l, n, L numbers scanning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-03 18:27:32 +00:00
Pierre Weis b970e68b67 New and better wording for scanf_format functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-03 18:25:21 +00:00
Damien Doligez 7ca09b85f0 demarrage de la version 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7179 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-26 16:40:46 +00:00
Damien Doligez 0e5ca9dca5 nettoyage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +00:00
Damien Doligez 64666f7de7 PR#3809 wrong line numbers in backtrace (partial)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 15:56:45 +00:00
Jacques Garrigue b9ff981ae7 make dummy_met an atom
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-24 05:18:43 +00:00
Jacques Garrigue 402dc832ec PR#3803: do not use NULL in vtable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7104 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-06 05:42:12 +00:00
Pierre Weis 19096f90f3 Hard bug in printf: when the first argument to print was a floating point
number, the printing process failed and we had a fatal error.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7095 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-30 16:15:18 +00:00
Pierre Weis da6305232e Sub-version++
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7084 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-26 10:13:30 +00:00
Pierre Weis 0e1fb05fc7 The type Printf.sz is used for indexes; hence its renaming to becomes
Printf.index.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7083 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-26 10:13:08 +00:00
Pierre Weis 922746e675 Implementing positional parameters in format string. First step:
runtime implementation for printf-like functions.
Revising printf documentation and adding something for positional
parameters.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-26 10:12:01 +00:00
Xavier Leroy f10f568807 Doc de open_{in,out}_gen (PR#3785)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 08:34:37 +00:00
Pierre Weis a3b605a2db New function sscanf_format to read a format from a string.
The type of the resulting format is dynamically checked and should be
the type of the template format which is the second argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 21:42:44 +00:00
Pierre Weis 339b08f82f Closing a long standing bug in the implementation of printf-like
functions: partially applied printf functions were printing material
as soon as the first argument was applied (and even before: printing
started as soon as the format string was provided).
This is the first step towards the implementation of $ formats
(i.e. formats that can access directly to any of their arguments,
using a $n notation to denote the nth argument (``a la Yacc'')). This
is supposed to be mandatory to internationalisation of messages.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 17:18:03 +00:00
Pierre Weis 93474822f4 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 08:41:09 +00:00
Pierre Weis 564969e68c Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-13 15:44:02 +00:00
Pierre Weis 026ff6d482 Better documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-13 11:26:06 +00:00
Damien Doligez fd7d0c3bfe PR#3755 indentation trompeuse
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-26 12:10:47 +00:00
Damien Doligez 1ced22dda7 PR#3767 features 1 and 2: display full location of events instead of one position
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-25 15:35:16 +00:00
Damien Doligez 990a8c4178 PR#3767 feature 4: identify backtraces with a keyword
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-24 11:50:27 +00:00
Damien Doligez 95a5c077e8 PR#3767 feature 3: feedback when removing breakpoints
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-23 20:16:43 +00:00
Damien Doligez a4a3c10e70 fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Xavier Leroy abb2a740b4 Doc %F (PR#3541)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-02 09:21:24 +00:00
Pierre Weis eb81b70950 Bumping the version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:23:28 +00:00
Pierre Weis d9fbc1854c Typos in the doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:22:29 +00:00
Pierre Weis 32e84c0515 Homogènésation des interfaces de printf et format: kprintf est marquée
obsolète au profit de ksprintf; on introduit kfprintf.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6979 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:21:02 +00:00
Jacques Garrigue 8e25cec9c4 definition plus claire du partage des variables de types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:11:47 +00:00
Damien Doligez 841e1e9a28 espaces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-21 14:52:45 +00:00
Pierre Weis d21474e7b3 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-11 14:49:57 +00:00
Pierre Weis 6fae6a771a A subtile bug in scanf: stopper character have not to be always
present in the input (in this case the token spreads to the end of
file, as specified, and this is not an error!).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-02 21:10:04 +00:00
Pierre Weis 4018798e3f A bug in the treatment of (implicit) string delimitors (' ' '\n' '\r'
'\t'): the delimitor should not be skipped. This way

sscanf "hello\n" "%s\n" (fun s -> s) = "hello"

(not exception End_of_file !)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 09:02:02 +00:00
Pierre Weis 6f130bf55d After major Scanf modification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:16:35 +00:00
Pierre Weis 9bc393e8f2 A major modification: the main invariant has been modified !
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:15:02 +00:00
Jacques Garrigue 3aa312d98b do not force presence for variants with only 1 constructor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-13 01:11:02 +00:00
Pierre Habouzit 9d198c1874 or is obsolete --> ||
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6885 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-19 15:30:35 +00:00
Damien Doligez 6c9bac39d4 ajout de l'option -config (suggestion de Gerd Stolpmann)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-09 13:39:17 +00:00
Damien Doligez 984fc2d8e3 typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-04 13:36:47 +00:00
Damien Doligez 41e03a7e78 espaces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-13 12:35:16 +00:00
Damien Doligez dac3ce381f suppression d'espaces superflus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6834 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-11 16:44:26 +00:00
Jacques Garrigue 827d03d59f bug in type_approx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-04 04:34:53 +00:00
Damien Doligez e6007f6057 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Jacques Garrigue ef396b4e5a merge fixedtypes branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-23 03:08:37 +00:00
Pierre Weis 58c2c48ac7 More regular naming convention for operations on format strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 13:42:01 +00:00
Pierre Weis ea8c2fdc2a Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 13:41:25 +00:00
Pierre Weis 34121ffea0 Bumping the sub version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:55:21 +00:00
Pierre Weis 280dcb3097 Correcting bug about erroneous erro reporting in case of wrong
conversions in format strings.
Static and dynamic messages about wrong format strings are now very
similar in printf.ml, scanf.ml, and typecore.ml.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:51:31 +00:00
Damien Doligez b8b9314f74 (::) et warnings inconnus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-16 14:38:52 +00:00
Xavier Leroy 7423522e4f MAJ construction camlheader.exe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6777 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-03 10:03:03 +00:00
Damien Doligez 0d18ab145e ajout support ocamlopt -pack pour Mac OS X
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6753 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-21 18:30:20 +00:00
Damien Doligez 99885a80a0 meilleur report d'erreur pour temp_file et open_temp_file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6748 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-18 14:33:08 +00:00
Damien Doligez 51ac0f737e PR#3406 CAMLreturn manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 15:39:44 +00:00
Damien Doligez a3bfddb98f coercion plus robuste apres magic
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6740 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 15:39:10 +00:00
Jacques Garrigue 972209dd6b fix variance bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-09 12:40:53 +00:00
Pierre Weis ccb93aeb98 Sub_format is shared between static and dynamic semantics of the language.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-07 06:18:14 +00:00
Pierre Weis 53c525611e Invalid format string error report is more uniform.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6726 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-07 06:17:12 +00:00
Pierre Weis 75b0db3044 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-07 06:14:49 +00:00
Damien Doligez 1971a6ba83 changements sur les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez 35de2ce529 mise au carre des warnings XYZ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:53:32 +00:00
Damien Doligez 4a696ef35c annotation de Obj.obj pour eviter les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:52:22 +00:00
Damien Doligez 9108f88cd8 annotation de Obj.magic pour eviter les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6711 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:52:02 +00:00
Jacques Garrigue 6d1d85e520 compact classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 02:26:45 +00:00
Damien Doligez 8397a6a5af suppression de variables inutiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 13:28:27 +00:00
Damien Doligez 7519fe8f6b fusion des bugfixes de 3.08.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 00:06:06 +00:00
Damien Doligez 3d2b844368 warning Y prioritaire sur Z
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-18 16:22:15 +00:00
Pierre Weis 1676f61cd6 Documenting the [%s] behaviour on end-of-input and stating that it
never fails.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-16 10:27:28 +00:00
Pierre Weis 09b2253f0e Doc (typos).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-16 10:25:59 +00:00
Damien Doligez 4ffbf5ec57 ajout warning unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:17:47 +00:00
Maxence Guesdon 6088ac221a fix comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-03 08:54:15 +00:00
Damien Doligez 0133ef3ef2 bug de scanf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 14:51:37 +00:00
Damien Doligez 06703fdc45 typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 10:41:43 +00:00
Jacques Garrigue 7cbcb5f0f1 add Fmu check
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-13 09:34:44 +00:00
Jacques Garrigue b3a50ac0ed add location info in Ptype_variant and Ptype_record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-06 13:06:11 +00:00
Pierre Weis b5c447dba6 Exporting the name_of_input function to get the name of the input
buffer's character source.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-05 06:54:45 +00:00
Pierre Weis 83b16075a3 Dead code elimination.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-04 20:21:04 +00:00
Pierre Weis 486d45c826 Careful review of meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-04 20:19:44 +00:00
Pierre Weis fe5f184972 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-04 20:18:17 +00:00
Pierre Weis af5c49f878 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-29 09:57:30 +00:00
Pierre Weis b0270c4cf9 Implementation des meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-22 09:17:21 +00:00
Pierre Weis 695fe90650 Wrong example in character ranges specification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-09 07:54:50 +00:00
Damien Doligez c3a39fc8c8 Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Damien Doligez 2c9f41ab42 PR#3002
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-17 12:32:02 +00:00
Xavier Leroy 30d9dc3229 Ajout module CamlinternalMod (auxiliaires pour la compilation de 'module rec')
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:57:00 +00:00
Xavier Leroy c8db125eae Removed misleading comment about mutable keys
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-10 08:46:22 +00:00
Xavier Leroy 63c1789b5e Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +00:00
Damien Doligez a4111b65e5 PR#2799
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-24 11:19:05 +00:00
Damien Doligez adf48882c9 changement du numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-22 11:23:38 +00:00
Damien Doligez fae0bc9d9b PR#1938
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-16 16:58:46 +00:00
Damien Doligez 9722599952 PR#2727
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-16 11:31:20 +00:00
Pierre Weis e0122726af Implementation of an extension of record typing: the first path
annotated label in a record implies the implicit path annotations of
the other labels. This way, a single annotation allows the
simultaneous annotation of the whole set of labels. This is a
conservative extension, since all the labels of a record must already
belong to the same module. Hence, any program that was typable before,
had this property and is thus still typable in the new scheme.

This new treatment provides a simple way to desambiguate labels in
mass, just adding a module path annotation on one of the field labels;
this slight improvement of record typing thus avoids the burden of
repeating Module.label for each label of the record.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 21:29:05 +00:00
Pierre Weis ae6c474d49 Documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 20:20:16 +00:00
Damien Doligez cd64d89caf finalisation dans l'ordre
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 13:27:42 +00:00
Xavier Leroy 999ba4d805 COMPFLAGS et OPTCOMPFLAGS comme dans Makefile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6402 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 12:23:40 +00:00
Xavier Leroy ba00a93df8 L'option -g avait disparu
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 12:23:21 +00:00
Xavier Leroy fc5f00835c Nettoyage des Makefiles, notamment la gestion des options de compilation specifiques a chaque fichier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-13 12:47:32 +00:00
Damien Doligez 97ed033e88 PR#2297, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-11 23:45:46 +00:00
Pierre Weis d29a2ec4df Wrong treatment of 3 chars long patterns, when a range is specified.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-04 13:27:24 +00:00
Pierre Weis 4f8c5658cd Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-04 08:01:31 +00:00
Xavier Leroy 7099a33f24 Revu chop_extension (PR#2614); reorganisation des parties dependantes / independantes de l'OS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-30 09:41:53 +00:00
Damien Doligez cd013c12c2 PR#2335
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-28 09:06:12 +00:00
Jacques Garrigue 6a940ef65d switch to new vtable representation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-26 11:10:52 +00:00
Damien Doligez db3745919b suppression des warnings "unused variable" de gcc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-17 17:10:00 +00:00
Basile Starynkevitch 001f49fff3 document what signal does with bad signal numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-04 11:51:13 +00:00
Jacques Garrigue 05b6ab1aa8 cas d'un appel de methode d'un autre objet
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6265 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-28 03:45:41 +00:00
Jacques Garrigue 61fe590178 use definitions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-27 02:47:45 +00:00
Xavier Leroy 0d71c73c37 Meilleure implementation de Set.compare. Revu doc de Set.split.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6251 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-23 10:01:54 +00:00
Xavier Leroy 32077394fe Ajout Map.is_empty, Map.compare, Map.equal
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-23 10:01:34 +00:00
Damien Doligez 7405556404 directives #line pour lex et yacc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-21 23:26:06 +00:00
Xavier Leroy 884bd4d7e5 Doc de {output,input}_binary_int (PR#2019)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-18 08:33:03 +00:00
Maxence Guesdon 2a79256076 fix comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-17 13:36:03 +00:00
Damien Doligez 63233b1a79 PR#2275
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6205 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-14 15:37:30 +00:00
Basile Starynkevitch bfe541d754 added cvs Id
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6204 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-14 11:37:53 +00:00
Basile Starynkevitch 4281c5216b added Buffer.sub & Buffer.nth
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6203 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-14 11:26:21 +00:00
Basile Starynkevitch 4041c97364 added split in the result of Set.Make
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6202 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-14 11:10:22 +00:00
Damien Doligez bde72ee4d5 PR#2328
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-13 17:12:46 +00:00
Damien Doligez 01cbd4fca5 PR#2352
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-13 17:11:55 +00:00
Maxence Guesdon 2cfb007059 fix: a comment not associated to a type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-02 15:24:50 +00:00
Pierre Weis 496cbf99ad Bumping patch level and date.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-01 15:07:56 +00:00
Pierre Weis 5873271ba9 Integer conversions are now treated uniformly: End_of_file is raised
hwen end of input is reached before a valid integer has been read.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6183 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-01 15:07:02 +00:00
Basile Starynkevitch 326f61bb36 added length to Hashtbl.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-23 12:37:46 +00:00
Basile Starynkevitch 2c8fe3ae6b added length function.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6167 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-23 12:37:19 +00:00
Maxence Guesdon 90f3ac484a ajout cross ref dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:59:22 +00:00
Maxence Guesdon 27181b4db2 associate comment to fscanf correctly (there was a blank line preventing the comment to be associated to the function)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6161 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 14:38:01 +00:00
Pierre Weis ff0f8b35ca Better error report.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6145 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-10 22:10:54 +00:00
Pierre Weis ea86069c4c open_sys_box simplified.
pp_print_flush reverted to old semantics (handling of bug report
concerning @\n needs further thoughts or should be ignored (?)).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-08 07:16:37 +00:00
Pierre Weis acdf61dad7 Hardening the behaviour of pp_print_flush.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-05 12:15:31 +00:00
Damien Doligez 1b77eb1054 precision dans les commenetaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-20 10:09:30 +00:00
Xavier Leroy 92f6138607 Specifier l'ordre de calcul pour les fonctions map et iter (PR#1947)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6114 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-14 16:52:22 +00:00
Pierre Weis 6ba80fdf70 Correcting the treatment of @?.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-11 22:20:04 +00:00
Pierre Weis 7fe9b14904 Bugs 2052 and 2053 (off by one for max indentation limit).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-05 17:11:06 +00:00
Pierre Weis 177a7a8ce0 Format %F shoudl to be documented on its own.
More documentation and some code rewriting in Scanf.ml; push the
special case for ranges of length 3 to make_setp.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6108 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-04 10:16:25 +00:00
Damien Doligez 6f7612b39d PR#2123 patch configure pour FreeBSD IA64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6105 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-02 22:05:37 +00:00
Damien Doligez 0fe2251296 documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6101 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-02 14:43:12 +00:00
Damien Doligez a28cc2b00f ajout Gc.quick_stat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6097 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-30 14:29:04 +00:00
Damien Doligez 776a8d59b7 suppression support MacOS9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:24:03 +00:00
Damien Doligez 3640952183 PR#2032
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6071 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-14 17:20:56 +00:00
Damien Doligez 5cfb0e6121 suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-07 17:39:46 +00:00
Damien Doligez 258c929f64 PR#1914,PR#1956, suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-05 20:26:19 +00:00
Damien Doligez ba3f92d0ab PR#2020
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-04 15:50:43 +00:00
Damien Doligez b5834f55fe typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6054 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-03 22:08:38 +00:00
Damien Doligez 258688a333 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-03 12:51:20 +00:00
Damien Doligez 0c7aecb88d depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez 331b2d89c3 depollution suite (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez 31943bac1d depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Xavier Leroy fa20613687 Introduction de Int32.float_of_bits et Int32.bits_of_float. Remplacement de float_of_bytes par Int64.float_of_bits.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-20 16:24:35 +00:00
Jacques Garrigue 7e1bd03ec7 protect recursion in class variables too (Jun)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-17 09:23:55 +00:00
Damien Doligez aa46693dc5 depollution (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Damien Doligez a90b6e9d12 decontamination (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 18:37:24 +00:00
Damien Doligez 8fde08275d deuxieme tranche des travaux de depollution (PR#1914 et PR#1956) + dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 16:29:53 +00:00
Damien Doligez 5fcac6a58c debut du travail de depollution de l'espace de noms (PR#1914)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-08 19:50:26 +00:00
Jacques Garrigue 62f1c626de PR#1953 make error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-02 01:02:49 +00:00
Pierre Weis 819496a447 Main function has been simplified.
Bug corrected in (negative) range scanning.
Line numbers are counted for you in next_char.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-30 22:13:03 +00:00
Basile Starynkevitch 2020ef749f added cvs id
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5979 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-26 10:57:14 +00:00
Jacques Garrigue 19c1ab41b6 profiling
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-25 12:48:36 +00:00
Jacques Garrigue f2095623ff fast and compact classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-25 09:20:45 +00:00
Xavier Leroy 14b6ff4507 Doc compare
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 18:22:50 +00:00
Xavier Leroy 6c5d5d9e03 MAJ documentation:
- comportement de nan avec les comparaisons et avec la fonction compare
- exceptions levees par les acces hors-bornes
- exceptions de debordement dans les conversions string -> int


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:06:08 +00:00
Xavier Leroy f009490d09 Utiliser compare x y = 0 au lieu de x = y lorsqu'on compare des cles qui peuvent etre le flottant nan
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5962 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:04:26 +00:00
Damien Doligez 48d626ac16 PR#1931
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-19 14:01:23 +00:00
Jacques Garrigue 8c2a24f381 fix PR#1917 and PR#1918
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5898 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-07 01:09:37 +00:00
Pierre Weis fa91038ef2 Suite à la remarque de Didier.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-27 10:37:31 +00:00
Pierre Weis e06b2b9bf8 Need to bootstrap => Sub-version++
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5887 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-27 09:33:26 +00:00
Pierre Weis 117bab91dd To answer a relevant question asked on the mailing list, introduction
of a general pgc (Print with Given Continuation) facility: kfprintf
with the corresponding profile
val kfprintf : (formatter -> 'a) -> formatter ->
              ('b, formatter, unit, 'a) format4 -> 'b;;


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5886 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-27 08:59:08 +00:00
Pierre Weis a11df076b9 Scanning char ranges was far too inefficient (due to repetitive
analysis of the char ranges and the repetitive computation of the
corresponding characteristic function); hence, analysis and creation
of char range predicates has been completely rewritten.

Char range predicates now use bit strings instead of vectors;
predicate computation is a memo function such that scanning ranges is
no more just a matter of expensive predicate calculation (performed
again and again for each scanf call). In addition, trivial and very
common char ranges (one, two, or threee characters only) are treated
specially and more efficiently.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-27 08:21:04 +00:00
Damien Doligez e969e8ad9f PR#1878
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-16 23:22:23 +00:00
Pierre Weis 5320c8fce6 Documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-16 16:25:25 +00:00
Damien Doligez 7ded3641b2 meilleure doc de la fonction de comparaison
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-16 13:05:34 +00:00