Gabriel Scherer
75b8c0184f
PR#5933 type-specialize 'let compare = compare' on ints and strings
...
According to the reporter 'sliquister', type-specialized comparison
can nearly halve compilation time in some cases. This patch applies
type-specialization throughout the OCaml distribution sources, so not
all changes will have performance utility, but in this case I think
it's best to be consistent, as I see no downside to the change.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:22:12 +00:00
Wojciech Meyer
dc9834c4a4
misc: replace stat_(alloc|free|resize) occurences with caml_stat_(...).
...
byterun/compatibility.h defines:
#define stat_alloc caml_stat_alloc
#define stat_free caml_stat_free
#define stat_resize caml_stat_resize
Having the "caml_" prefix seems cleaner to me, it also avoids some
issues for cross-compilation but I don't remember well which ones.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:31 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez
9d3c2b0920
PR#4019: better documentation of Str.matched_string
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-11 14:45:44 +00:00
Damien Doligez
0c3a7de507
merge changes from 4.00 branching to 4.00.0 (part 1)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
90664f4ea1
uniform .ignore system
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Pierre Weis
dc2472c8dd
Ignoring compiled files.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:25:14 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Xavier Leroy
d4d232101d
PR#4874: interpretation of \b in regexps: characters that constitute a word now include 0-9 and _
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:22:24 +00:00
Nicolas Pouillard
0d72001f2a
Merge branch 'ocaml-git/buildsys' (early part) into trunk
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 13:34:20 +00:00
Maxence Guesdon
ef925ce233
comment out useless code in Str
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 14:36:41 +00:00
Alain Frisch
e09a12388f
New -help-warnings command-line option.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:44:38 +00:00
Damien Doligez
27780d9f8a
fixed several build problems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 15:41:16 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez
bdc0fadee2
merge changes from release/3.11.1 to release/3.11.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez
591d89e773
resolve name clash with ossp-str
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-16 14:18:41 +00:00
Damien Doligez
ed32f569e3
merge changes from ocaml3110 to ocaml3111rc0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Damien Doligez
1f95b17570
merge changes from 3.10.2merged to 3.11.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Xavier Leroy
7e9f606dee
PR#4338: tail recursion in global_substitute, global_replace, and *split*
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:27:13 +00:00
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
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
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
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
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
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
Xavier Leroy
3de54dec26
Remplacement long/unsigned long par intnat/uintnat
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +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
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
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
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
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
Xavier Leroy
c24cbffd1c
Clarification doc syntaxe regexps
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-09 13:26:12 +00:00
Xavier Leroy
ab687946a2
Proteger les fonctions split* contre les regexps qui filtrent la chaine vide (PR#2167)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-17 10:13:50 +00:00
Damien Doligez
b34d7fa82e
utiliser caml_fatal_error au lieu de assert
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:26:00 +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
1a9f5599dd
decontamination (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 18:10:51 +00:00
Damien Doligez
6e2815a2b0
PR#1844
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-23 15:41:44 +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
Damien Doligez
43b02185d7
ajout option -stypes; depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 01:32:09 +00:00
Xavier Leroy
1b6668ad08
Bug dans le 'undo' de ENDGROUP
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-02 09:14:35 +00:00
Xavier Leroy
50db9b2b70
Initialisation des registres et des groupes: ne le faire que pour ceux qui sont utilises
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-20 10:32:46 +00:00
Xavier Leroy
909bd3ab18
Revu gestion des variables globales (groupes, registres) en cas de backtrack
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-19 15:06:32 +00:00
Damien Doligez
c442456315
MAJ dependances
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5352 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 15:59:59 +00:00
Xavier Leroy
4485b55b20
Revu * et + sur regexp nullable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 14:34:59 +00:00
Xavier Leroy
eef06282ca
On n'utilise plus la bibliotheque regexp de GNU
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 11:02:23 +00:00
Xavier Leroy
37eb6033ed
Bug dans les nouvelles instructions GOTO_STAR et GOTO_PLUS
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 11:00:45 +00:00
Xavier Leroy
5e32950066
S'assurer que l'on progresse lors du 'greedy matching' de * et +
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-13 17:06:19 +00:00