Commit Graph

76 Commits

Author SHA1 Message Date
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Luke Wagner
002cf7abaa Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
Hannes Verschore
5e83c1314d Bug 766752: Add trace logging, r=jandem 2012-08-09 15:29:21 +02:00
Benjamin Peterson
90c89222f7 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
ad68904e51 Bug 751845 - Remove pcre source, and cleanup js/src/Makefile.in after bug 691898. r=dmandelin 2012-05-10 12:31:01 +02:00
Landry Breuil
3238222b67 Bug 691898 - Use YARR regexp interpreter instead of PCRE on platforms where YARR JIT is not supported r=dmandelin
PCRE doesn't build anyway.
2012-05-03 08:41:30 +02:00
Marco Bonardo
780de92c27 Backout d68420c97e0e (bug 691898) as suspected of the jit tests failures 2012-03-07 14:06:03 +01:00
Landry Breuil
c78af1f2ba Bug 691898 - Use YARR interpreter instead of PCRE on platforms where YARR JIT is not supported. r=dmandelin 2012-03-07 12:06:19 +01:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Jeff Walden
ca8c9935e4 Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Cameron Kaiser
d87c8b605b Bug 712990: add missing big-endian code to Yarr JIT, r=dmandelin 2011-12-22 19:09:53 -08:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Chris Leary
75098ca12a Bug 691299: Lower maximum quantifier. (r=dmandelin)
--HG--
extra : rebase_source : ea2cdc1664171309d60c02094913483e2af3a61a
2011-11-29 15:24:44 -08:00
Andrew Paprocki
b628131404 Bug 660747 - Reverting YARR begin characters optimization. r=dmandelin 2011-11-22 00:21:18 -05:00
Dave Mandelin
8e49acb81a Bug 679986: Deoptimize unnecessary regexps. (r=cdleary)
--HG--
extra : rebase_source : 63f2d3865ea362fd2071751edce00737ab83ae26
2011-11-07 11:42:02 -08:00
Ginn Chen
519a8f4fa1 Bug 689916 Fix yarr crashes on SPARC r=dmandelin 2011-10-25 12:50:03 +08:00
Luke Wagner
5ad2324343 Followup for b9c673621e1e: fixup missed ARM-only includes of jsvector/jshashtable 2011-10-11 08:50:50 -07:00
Luke Wagner
c7d3e6785c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Gavin Barraclough
3495c54e82 Bug 683838: Fix return logic in backTrackParentheses, r=dmandelin 2011-10-07 17:52:50 -07:00
Jan Horak
7e6d53226c Bug 680917 - Use a pool size of 16kB on ia64 for bump pointer allocator. r=luke 2011-10-05 09:00:06 +02:00
Landry Breuil
4c2a5bcfec Bug 684559 - Don't include now missing jswtfbridge.h on non-YARR JIT architectures (NPOTDB); r=dmandelin 2011-09-21 13:41:17 +01:00
Cameron Kaiser
1270c81714 Bug 684559: bring back PCRE for JavaScript regexps on systems without YARR JIT because it's faster than YARR's interpreter. r=dmandelin 2011-09-07 17:05:59 -07:00
Sander van Veen
3347c443e5 Bug 673158 - Separate regexp JIT code and normal mjit code in about:memory. code=sandervv,Bas.Weelinck, r=nnethercote. 2011-08-30 17:21:36 -07:00
Ginn Chen
02f6d40f21 Bug 673850 - Fix YARR with Solaris Studio compiler. r=dmandelin. 2011-07-28 11:35:30 +08:00
Tom Schuster
5d42be833c Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Dave Yeo
705efe6018 Bug 670003: Fix yarr on OS/2. r=dmandelin 2011-07-12 12:57:08 -07:00
Andrew Paprocki
025ec4a673 Bug 665819: build fix for ENABLE_YARR_JIT=0, r=dmandelin 2011-07-11 17:32:47 -07:00
Leon Sha
b223802f5f Bug 666488 - [TM] Re-enable YARR on sparc. r=dvander. 2011-07-04 13:40:43 +08:00
Gavin Barraclough
8ccf51f141 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Luke Wagner
de6d0e2330 Bug 665189 - hoist JSString and family into vm/String{.h, -inl.h, .cpp} (r=njn) 2011-06-20 11:44:20 -07:00
Chris Leary
cb10121547 Avoid copy construction for paren info vector. (rs=dmandelin)
--HG--
extra : rebase_source : 659e9e5aa1946b2693645664584f98dfe068d19f
2011-06-14 11:53:14 -07:00
Makoto Kato
634f7d1946 Bug 660591 - Bug 625600 causes bustage on Win64. r=dmandelin 2011-06-01 14:05:36 +09:00
David Mandelin
88e2fc9186 Remove some stray Ctrl-M characters 2011-05-27 14:05:05 -07:00
David Mandelin
4e818e3c46 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
098ec8fea9 Backed out changeset 10b4c261e3d0 -- Tracemonkey tinderbox is stricter than try 2011-05-25 08:53:26 -07:00
David Mandelin
64fee2ad60 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander
--HG--
extra : rebase_source : 80887364e39608eadb947d77ff80725642e41f31
2011-05-12 18:39:47 -07:00
David Mandelin
46408c2ec4 Backed out changeset 119f17b3f03a -- still failing TB 2011-05-23 17:54:42 -07:00
David Mandelin
83c9f9dee2 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
d52fa2f1b8 Backed out changeset 195f8cf8758f due to ARM bustage 2011-05-23 14:49:33 -07:00
David Mandelin
e60b7b472a Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
37887345d9 Backed out changeset de6dfe16fd91 due to Linux/Mac build bustage 2011-05-23 14:22:03 -07:00
David Mandelin
f7eb07c405 Bug 625600: Update Yarr import to WebKit rev 83339, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
Leon Sha
f02a8fab29 Re-landing. Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander. 2011-04-19 01:27:50 -07:00
Leon Sha
4744fa47e3 Backout 91eaf74fff1e. 2011-04-18 20:53:24 -07:00
Leon Sha
c3cb41cc19 Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander. 2011-04-18 20:17:21 -07:00
Paul Biggar
72c7701093 Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
This changes the allocation API, in the following way:

  js_malloc -> {cx->,rt->,OffTheBooks::}malloc
  js_calloc -> {cx->,rt->,OffTheBooks::}calloc
  js_realloc -> {cx->,rt->,OffTheBooks::}realloc
  js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
  js_new -> {cx->,rt->,OffTheBooks::}new_
  js_new_array -> {cx->,rt->,OffTheBooks::}new_array
  js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_

This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Jeff Walden
f1b6ce9142 Initialize a member variable in yarr/yarr/RegexParser.h if building with gcc 4.5 or later, because this compiler incorrectly claims the member variable might be used uninitialized. r=cdleary 2011-03-24 13:33:41 -07:00
Nicholas Nethercote
62bb333ede Bug 631106 - JM: simplify allocation of executable memory. r=dvander. 2011-03-07 20:15:56 -08:00
David Mandelin
9fec2fde54 Bug 625417: fix detection of ?-quantified groups for empty-match rule in regexes, r=dvander, a=blocking 2011-02-25 11:06:31 -08:00