10746 Commits

Author SHA1 Message Date
igor%mir2.org
99df75fa8a bug=423874 r=brendan a1.9b5=dsicore
Allocating native functions together with JSObject


git-svn-id: svn://10.0.0.236/trunk@248353 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 08:19:27 +00:00
jst%mozilla.org
352eba9b79 Followup fix for bug 418356. Re-enable loading file:// URIs using the subscript loader. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@248342 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 05:07:25 +00:00
benjamin%smedbergs.us
5c886b6f6d Bug 424156 - C++ compilation error in jsinterp.c, r=crowder a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248290 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 18:50:16 +00:00
crowder%fiverocks.com
6e11a799a3 Bug 416933 - Invalid range error for /[\xde-\xdf]/ case-insensitive regular expression, r=brendan, a=blocking1.9 (mtschrep)
git-svn-id: svn://10.0.0.236/trunk@248272 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 06:59:34 +00:00
reed%reedloden.com
0e7c38a4c4 Bug 420869 - "Script stack space in Firefox 3.0b4pre much smaller than it was in Firefox 2.0.0.12" [p=igor@mir2.org (Igor Bukanov) r=brendan a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@248258 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 05:57:10 +00:00
brendan%mozilla.org
823f4bd013 Fix for JSCLASS_NEW_RESOLVE-related bug in js_FillPropertyCache, found by Mike Moening <MikeM@RetekSolutions.com> (418989, r=shaver, a=beltzner).
git-svn-id: svn://10.0.0.236/trunk@248234 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 00:44:59 +00:00
timeless%mozdev.org
cb247b3213 reverting, wrong patch, missing AMBIGUOUS
git-svn-id: svn://10.0.0.236/trunk@248210 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:55:28 +00:00
timeless%mozdev.org
51b0371ed0 Bug 394114 Interfaces missing from various QI implementations.
r=jag sr=jag a=dsicore


git-svn-id: svn://10.0.0.236/trunk@248200 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:19:42 +00:00
jwalden%mit.edu
7371f99d66 Bug 416636 - Remove JSCLASS_FIXED_BINDING; the code that was to use it was removed, and it just clutters the API. r=brendan, a=schrep
git-svn-id: svn://10.0.0.236/trunk@248167 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 02:47:40 +00:00
brendan%mozilla.org
d3e632178f Fix JSOP_SETCALL to cope with delete f() and the like (423300, r=mrbkap, a=beltzner).
git-svn-id: svn://10.0.0.236/trunk@248164 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 01:38:02 +00:00
igor%mir2.org
7af3bfc384 bug=420869 backing out as the tree is red.
git-svn-id: svn://10.0.0.236/trunk@248143 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 22:06:38 +00:00
igor%mir2.org
2b361da3c8 bug=420869 r=brendan a1.9=blocking1.9
bumping script stack quota to 100MB for better compatibility with FF2.


git-svn-id: svn://10.0.0.236/trunk@248142 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 22:05:35 +00:00
bzbarsky%mit.edu
68f6c533cb Remove method that no longer exists.
git-svn-id: svn://10.0.0.236/trunk@248141 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 21:58:46 +00:00
jst%mozilla.org
6f1718aa09 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@248138 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 21:28:43 +00:00
jst%mozilla.org
034d872df6 Fixing bug 422205. Make XOW/SJOW wrappers do security checks on enumeration and interation. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@248134 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 21:17:59 +00:00
bzbarsky%mit.edu
e0b620b5fe Finally kill off CheckSameOriginPrincipal, fix remaining callers to do the
checks they really want to be doing.  Fix screw-up in nsPrincipal::Equals if
one principal has a cert and the other does not.  Bug 418996, r=mrbkap,dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@248133 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 21:14:50 +00:00
reed%reedloden.com
e9481349ed Bug 403224 - "Build spidermonkey with icc on macintel" [p=ted.mielczarek@gmail.com (Ted Mielczarek [luser]) r=bsmedberg a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@248108 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 19:36:57 +00:00
nboyd%atg.com
3b59928432 Massive fix of warnings, mostly supplying type parameters for generics.
Also switched to modern collections classes.


git-svn-id: svn://10.0.0.236/trunk@248077 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 15:10:21 +00:00
nboyd%atg.com
2d07a4c8f2 Add support for optional JLine editing in interactive shell.
Contribution from Matthieu Riou.


git-svn-id: svn://10.0.0.236/trunk@248076 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 15:08:55 +00:00
bzbarsky%mit.edu
0d91cfb7fa Set the right url in the script and don't allow loading non-chrome scripts.
Bug 418356, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@248042 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 03:46:53 +00:00
dbaron%dbaron.org
598935f398 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons
git-svn-id: svn://10.0.0.236/trunk@248031 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 23:11:10 +00:00
jruderman%hmc.edu
f0e56b25ca Fix bug 423043, js shell print() should flush stdout. r+a=shaver. Does not affect Firefox.
git-svn-id: svn://10.0.0.236/trunk@248017 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 20:25:23 +00:00
gavin%gavinsharp.com
9c9b125c47 Bug 423138, browser-test crashes on linux, patch by smaug <Olli.Pettay@gmail.com>, r=brendan, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247995 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 16:25:39 +00:00
igor%mir2.org
7c207155cb bug=421274 r=brendan a=beltzner
Eliminating SAVE_SP_AND_PC() macro


git-svn-id: svn://10.0.0.236/trunk@247972 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 08:58:29 +00:00
sayrer%gmail.com
7de407694a Bug 409803. gcc (4.1 only) zealously avoids inlining at -Os. Patch by Dan Witte. r=ted.mielczarek
git-svn-id: svn://10.0.0.236/trunk@247926 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-16 02:48:58 +00:00
bclary%bclary.com
47b5605c57 JavaScript Tests - modify test to catch allocation size overflow, bug 422348
git-svn-id: svn://10.0.0.236/trunk@247908 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-15 11:56:17 +00:00
crowder%fiverocks.com
c9fb1f54e7 Bug 422885: uninitialized memory-read in XPCWrapper::AddProperty, r/sr=mrbkap, a=:luser
git-svn-id: svn://10.0.0.236/trunk@247820 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 14:44:27 +00:00
nboyd%atg.com
50f6451152 Fix spelling in comment.
git-svn-id: svn://10.0.0.236/trunk@247789 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 00:52:36 +00:00
igor%mir2.org
ffd22acc3a bug=422432 r=brenda,jag a1.9=blocking1.9
The local free lists for doubles now restricted to 32/64 entries, not 8, to minimize locking penaltties.


git-svn-id: svn://10.0.0.236/trunk@247766 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 20:07:29 +00:00
nboyd%atg.com
9bb2f94db2 Fix many warnings, mostly adding @Override, a few Class<?>.
git-svn-id: svn://10.0.0.236/trunk@247765 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 20:00:41 +00:00
bclary%bclary.com
aceb0bb0b0 JavaScript Tests - update tests due to changes on trunk for overflow reporting, bug 422348
git-svn-id: svn://10.0.0.236/trunk@247756 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:46:11 +00:00
sayrer%gmail.com
7c849bf38a Bug 420906. support for custom options for jsinterp.c when compiling the browser. Patch by Ted Mielczarek. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@247746 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:06:16 +00:00
igor%mir2.org
988d79a946 bug 421274: backing out again due to crashes on 64 bit Linux.
git-svn-id: svn://10.0.0.236/trunk@247745 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:03:02 +00:00
igor%mir2.org
2c80a90927 bug=421274 follow up to fix issues with 64 bit
git-svn-id: svn://10.0.0.236/trunk@247741 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 17:29:40 +00:00
brendan%mozilla.org
5ac9fd0dbb Fix ASSERT_VALID_PROPERTY_CACHE_HIT bustage (NPOTB).
git-svn-id: svn://10.0.0.236/trunk@247718 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 08:00:20 +00:00
igor%mir2.org
3e33b57170 bug=421274 r=brendan a1.9=mtschrep
eliminating SAVE_SP_AND_PC and friends from the interpreter loop


git-svn-id: svn://10.0.0.236/trunk@247716 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 06:48:23 +00:00
igor%mir2.org
45ee880fc5 backing out bug 421274
git-svn-id: svn://10.0.0.236/trunk@247715 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 06:23:09 +00:00
igor%mir2.org
22a66cf4d4 bug=421274 r=brendan a1.9=mtschrep
eliminating SAVE_SP_AND_PC and friends from the interpreter loop


git-svn-id: svn://10.0.0.236/trunk@247714 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 05:52:54 +00:00
igor%mir2.org
bd9f77b978 bug=422348 r,a1.9=shaver
proper overflow error reporting


git-svn-id: svn://10.0.0.236/trunk@247697 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 23:07:47 +00:00
igor%mir2.org
6de91a6791 bug=421806 r=brendan a1.9=blockin1.9
fixing decompiler regressions with interpreter stack modeling


git-svn-id: svn://10.0.0.236/trunk@247695 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 23:03:29 +00:00
reed%reedloden.com
7eddaab1f2 Bug 422185 - "jsgc.obj : error LNK2001: unresolved external symbol "int __cdecl posix_memalign(void * *,unsigned int,unsigned int)" (?posix_memalign@@YAHPAPAXII@Z)" (posix_memalign needs to be extern "C" when compiling with a C++ compiler) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=brendan a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@247687 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 22:32:54 +00:00
mattwillis%gmail.com
b92b4f76da Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
git-svn-id: svn://10.0.0.236/trunk@247682 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:57:00 +00:00
nboyd%atg.com
526365f5be Add test
git-svn-id: svn://10.0.0.236/trunk@247675 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:09:00 +00:00
nboyd%atg.com
137910fcf4 Patch from Dominic Cooney:
Some users are getting bitten by Xerces' DocumentBuilderImpl
throwing UnsupportedOperationException for reset, which Rhino E4X
calls when it is returning the document builder to its (wading) pool.
I've attached a patch that suppresses the
UnsupportedOperationException in returnDocumentBuilderToPool and
leaves the pool empty if reset throws UnsupportedOperationException.


git-svn-id: svn://10.0.0.236/trunk@247665 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 19:05:06 +00:00
nboyd%atg.com
706695df30 Begin 1.7R2 work
git-svn-id: svn://10.0.0.236/trunk@247664 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 19:04:03 +00:00
bclary%bclary.com
90bbc2ca73 JavaScript Tests - update known failures to account for improved CAPS messages in bug 246699, not part of the build
git-svn-id: svn://10.0.0.236/trunk@247660 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 18:12:09 +00:00
bclary%bclary.com
62e991a75e JavaScript Tests - update known failures for mac debug browser on js1_5/Array/regress-350256-03.js, bug 350256, not part of the build
git-svn-id: svn://10.0.0.236/trunk@247653 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 17:21:54 +00:00
igor%mir2.org
9be5670c27 bug=420904 support for custom options for jsinterp.c in js shell build scripts. This is outside of tree.
git-svn-id: svn://10.0.0.236/trunk@247638 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 14:36:06 +00:00
nboyd%atg.com
54e009f4f7 Fix warnings, mainly @Override and generics.
git-svn-id: svn://10.0.0.236/trunk@247632 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 12:47:25 +00:00
brendan%mozilla.org
46a89fcd1a Fix indentation nit
git-svn-id: svn://10.0.0.236/trunk@247606 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 07:05:30 +00:00