Commit Graph

1137 Commits (3a5b3e6f9b53bd5246b0b76fef000434bae23634)

Author SHA1 Message Date
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
Basile Starynkevitch b3a4e2e07a typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5869 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-15 07:34:23 +00:00
Basile Starynkevitch 8aa1184310 added explanation about scanning indications.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-15 07:28:56 +00:00
Xavier Leroy 74ce1671a3 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5866 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-13 07:40:27 +00:00
Pierre Weis f77cbfa011 Doc typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5862 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-08 13:13:33 +00:00
Pierre Weis 67640cbf13 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5861 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-08 13:12:44 +00:00
Xavier Leroy 486fd42950 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5859 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-03 08:31:50 +00:00
Pierre Weis 46b74fad39 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 10:33:52 +00:00
Xavier Leroy adb5cd1e01 Doc tags desactives par defaut (PR#1849)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 07:43:54 +00:00
Xavier Leroy cb8205d151 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5832 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-12 07:46:55 +00:00
Xavier Leroy 30bddc23a3 Deprecated 'format' function some more
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-09 09:18:58 +00:00
Damien Doligez 86396bf299 PR#1811
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-04 12:44:48 +00:00
Xavier Leroy 48f6c91d3f MAJ pour 3.07 beta 2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-26 07:45:41 +00:00
Jacques Garrigue dd73e90e9e cleanup after export of Parmatch.pressure_variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5781 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-18 08:26:18 +00:00
Damien Doligez 2aa11c7bf8 PR#1782
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5776 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-13 15:31:37 +00:00
Damien Doligez 9cc58da13e PR#1786
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5767 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-07 14:17:59 +00:00
Damien Doligez c9889c9181 PR#1776 suite 2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-01 23:28:58 +00:00
Xavier Leroy 8938acb2ef Retour a %.12g dans string_of_float (PR#1778)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-29 09:08:42 +00:00
Damien Doligez 1c089d9b2c PR#1781
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5745 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-26 18:50:52 +00:00
Damien Doligez 21caeb3027 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-25 21:40:06 +00:00
Damien Doligez ed53ef381a bug findlib/Stolpmann
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-24 18:23:54 +00:00
Damien Doligez 917c0ab755 depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-23 22:26:38 +00:00
Xavier Leroy 60a563d8fb MAJ dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 15:41:14 +00:00
Xavier Leroy 840b2bf9f1 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 09:04:39 +00:00
Pierre Weis 6973c396da Oups, no forward reference !
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 08:04:01 +00:00
Pierre Weis 9269a12940 Incrementing subversion.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 07:26:47 +00:00
Pierre Weis fab3b6b071 More documentation about fscanf (due to private bug report from
Roberto). An unused function is suppressed. The Objective Caml `_'
convention for numbers is used and documented.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 07:25:09 +00:00
Pierre Weis 9cad9931a1 Suite au PR#1745 %F lit un flottant au format token Caml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-14 10:04:25 +00:00
Pierre Weis 139cf32a6f Width field of %c conversion is dynamically checked and must be 0 or 1.
The function end_of_input was wrong in case of a buffer for which both
beginning_of_input and end_of_input conditions were true (e.g. in case
of an empty string or an empty file).

Better error reporting for characters out of the given range.

Reminiscent of the printf semantics, %! matches the end of input
condition.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 11:13:21 +00:00
Xavier Leroy 628364a85a Conventions Cygwin (PR#1707)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5661 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 09:07:45 +00:00
Xavier Leroy e32fbbf849 Code mort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:17:52 +00:00
Xavier Leroy 1a4be860d0 Renommage type format -> format4 et reintroduction type format a 3 arguments pour compatibilite arriere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:13:24 +00:00
Damien Doligez 12690ec2d8 bug de currification
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 13:17:09 +00:00
Damien Doligez 0a1f0f864b desactivation du format %$
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 14:06:05 +00:00
Damien Doligez b37e53cef1 PR#1675, voir aussi PR#1438
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5641 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-01 16:30:12 +00:00
Jacques Garrigue b8f3f07141 coherent handling of type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:04:42 +00:00
Xavier Leroy 4f43b5f3fa Rectif doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 09:50:23 +00:00
Xavier Leroy 230179ff8b MAJ Makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 08:21:40 +00:00
Xavier Leroy dc5c604800 Doc de iter et fold
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 13:19:35 +00:00
Xavier Leroy e697df642b string_of_float: 17 digits au lieu de 18 (18 donne des resultats tres moches sous Linux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:51:18 +00:00
Xavier Leroy d60708263e Probleme d'equilibrage dans remove (PR#1720)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 07:28:54 +00:00
Xavier Leroy 38558879cc Problemes d'equilibrage dans join et remove (PR#1717,PR#1720)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 07:28:34 +00:00
Damien Doligez 51d50c7702 meilleur code pour Random.int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:14:52 +00:00
Damien Doligez 901936498a changement de parse_argv en cas d'erreur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5604 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:13:31 +00:00
Xavier Leroy 1fa763e0c5 Merge branch with recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 15:53:53 +00:00
Damien Doligez 5eef5478ae amelioration Random
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 16:49:32 +00:00
Damien Doligez a085ee8310 plus de determinisme (?)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 12:54:51 +00:00
Damien Doligez 60a5460849 changement seeding + ajout fonctions serieuses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:15:26 +00:00
Damien Doligez 0b2e6f5f7c PR#1709
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:13:40 +00:00
Damien Doligez 313d77d1cb PR#1532
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:34:23 +00:00
Damien Doligez d55a2af738 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:28:39 +00:00
Jacques Garrigue 4202eb8c4d add weak contravariance for types (PR#1692)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5569 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-21 09:04:54 +00:00
Jacques Garrigue c5790aa417 fix PR#1559
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-19 09:21:17 +00:00
Pierre Weis 0df4ab0392 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 17:52:40 +00:00
Pierre Weis 2b7e706ab8 Suppression code mort.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 17:07:22 +00:00
Pierre Weis 3b1652c76c Explicit documentation of %0c: scanf "%0c" (fun c -> ...) gives access
to the current character without reading it. This is convenient to
continue scanning according to the value of the current character,
without having the burden to add it to the scanning result (if only
possible when you decide to scan %C or %S when c is " or ').


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5562 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 06:39:50 +00:00
Pierre Weis f1217b8bc7 Begin_of_input -> beginning_of_input.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 06:30:04 +00:00
Jacques Garrigue 6fc86d03cf fixed PR#1673
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-13 08:24:53 +00:00
Pierre Weis b05ec8f2fa Addition of the Fragile_pat warning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-02 08:47:34 +00:00
Pierre Weis e77055aad9 Complete move from virtual to private for concrete types with private
constructors (or labels).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-01 22:22:37 +00:00
Pierre Weis 2a88474155 Une grammaire à 0 conflits, ça se fête, ça se choie, ça se maintient.
(Je sais j'ai mis un s à conflits, mais c'est par une attraction
grammaticale irrésistible de l'usage du 0 en français: une grammaire
sans conflits prend un s à conflits tout comme ``une maison sans
fenêtres'' prend un s à fenêtres, au motif que si la maison avait des
fenêtres, elle en aurait évidemment plusieurs; mutatis mutandis pour
les grammaires: de mon expérience, s'il y avait des conflits ils
seraient forcément plusieurs :)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-29 07:57:13 +00:00
Pierre Weis 1623dc13fc Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 10:21:57 +00:00
Pierre Weis 961dc4bda4 Introducing new constants deserve a new sub-version increment!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 09:47:04 +00:00
Pierre Weis 9e6895aded Introducing format %$ (to print strings with variables substitution)
and %! (to flush the output). See printf.mli for details.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 09:44:21 +00:00
Pierre Weis e9cda5216b Addition of function add_substitute for adding strings to buffer with
variable names substitution via a function mapping.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 08:13:20 +00:00
Xavier Leroy 7abcc8799e Ajout des litteraux de type int32, nativeint, int64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Pierre Weis e3c25d1b24 Correcting the bug of large buffering when scanning files.
Introduction of two new functions Scanning.from_file and
Scanning.from_file_bin to alleviate this problem.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5506 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 10:21:21 +00:00
Pierre Weis 1d52692ccf Adding new arguments types: boolean with spec Bool for function taking
a boolean as argument, and tuples with spec Tuple of spec list for
functions that takes more than one argument in turn on the command
line. For instance Arg.(Tuple [Arg.Int f; Arg.Bool b; Arg.Int g])
specifies an option that will take 3 elements on the command line and
will call f, b, and g in turn with converted values of the
corresponding types.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 10:19:35 +00:00
Xavier Leroy 5c7accd134 Optimisation de Pervasives.compare par strength reduction
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-01 08:46:39 +00:00
Damien Doligez 0ac0d9ac3b PR#1610
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-31 16:14:45 +00:00
Jacques Garrigue 91801e7a32 corection de bugs methodes polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-26 07:47:32 +00:00
Xavier Leroy 14e7582e8d En Windows, utiliser . comme repertoire temporaire si la variable TEMP n'est pas definie. WinXP ne cree pas le repertoire C:\temp.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5453 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-24 15:26:35 +00:00
Damien Doligez b44e21d6da PR#1588
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-13 17:26:05 +00:00
Damien Doligez cbc181dc76 note: on ne peut pas externer un weak array
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:41:39 +00:00
Damien Doligez f0dd3c5ae7 bug de printf "%8s" x qui tronquait x a 8 caracteres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:40:35 +00:00
Damien Doligez 8a20bd757d completude de la doc, typo sur anon_fun
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:36:28 +00:00
Xavier Leroy 859efb84a8 Ajout de Sys.readdir
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:16:15 +00:00
Pierre Weis 1f955eb17e Format %S now understands continuation newlines (\\\n).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-02 23:03:15 +00:00
Pierre Weis e132cd1f7a Documenting format %$.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 19:55:12 +00:00
Pierre Weis 79f3791c04 Introduction des types virtuels etape 2: introduction dans camlp4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 07:53:08 +00:00
Pierre Weis b5d0102c05 Nouveau format %$. Introduction des types virtuels: step 1 sans inclusion dans Camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 06:59:19 +00:00
Damien Doligez 501d64ea6a PR#1554
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-24 16:44:48 +00:00
Damien Doligez f665df40f1 precisions dans la doc de sort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-12 13:01:12 +00:00
Pierre Weis 9bbe6d7d7a Default policy is to ignore tag printing completely.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-24 14:26:56 +00:00
Damien Doligez 992ea70149 regularisation de print_endline
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-22 16:32:57 +00:00
Damien Doligez 306f79785d points-virgules mal places
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-21 12:57:33 +00:00
Damien Doligez 54ac3911ce typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-21 12:56:30 +00:00