Commit Graph

1142 Commits (93d66f94fa5c1eaaf15e1052e4fde34fe981e84e)

Author SHA1 Message Date
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
Damien Doligez a76ddd0f12 doc detail
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9073 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:33:21 +00:00
Pierre Weis 579eb1e41e Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:50:01 +00:00
Pierre Weis 5dcc6d8b6b Better semantics for fscanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9039 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:45:05 +00:00
Damien Doligez 61d26f938a no integer in weak arrays (preparing an optimization)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-17 14:55:30 +00:00
Damien Doligez f855dcf49a PR#4321 bug with positional parameters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9017 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 15:34:51 +00:00
Pierre Weis b1d6d4faa3 Correction bug add_substitute.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:50:39 +00:00
Pierre Weis 2c1693ee00 Added a comment for correction of BR #4041.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-08 12:30:19 +00:00
Xavier Leroy c049cec891 PR#4367: added Parsing.set_trace to control the printing of a trace of actions for ocamlyacc-generated parsers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 09:38:25 +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
Alain Frisch 44d7357990 Share makefiles.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-24 05:18:31 +00:00
Pierre Weis 30b2585b6c Correction bug #4582 sur index_from et al. Tests a venir. Invariants itou.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-22 11:29:00 +00:00
Pierre Weis fe31f1a1c5 Emphasis in documentation strings was not comformant to Ocamldoc special syntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-07 07:25:47 +00:00
Pierre Weis aa29a89d44 Rewriting/simplifying/enhancing the documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 15:56:00 +00:00
Pierre Weis 9be355c716 Various explanations and typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8901 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 12:47:39 +00:00
Pierre Weis 84637b17df Another typo in the definition of format4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 12:13:21 +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
Pierre Weis 5abe61a5ad Char count was wrong in case of lookahead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8898 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:53:56 +00:00
Michel Mauny d0d6af3c16 Remove restrictions to stream concatenation, and use Lazy.t for the argument
of the Slazy data constructor.
Affected files: stdlib/{stream.ml,.depend,Makefile}


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8893 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-18 15:35:02 +00:00
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