igor%mir2.org
af63c70b07
Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@236029 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:11:41 +00:00
brendan%mozilla.org
0c47e6cc70
Fix old bug involving eval of a local function named by an existing local var (395907, r=mrbkap).
...
git-svn-id: svn://10.0.0.236/trunk@236012 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 00:13:37 +00:00
sayrer%gmail.com
f4b40f4864
Bug 395849. XPCVariant::VariantDataToJS leaks strings with sizes. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@236007 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 22:48:47 +00:00
brendan%mozilla.org
bb2d2dd0c2
Fix dumb signed comparison bug (395828, r=mrbkap).
...
git-svn-id: svn://10.0.0.236/trunk@235980 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 18:00:38 +00:00
nboyd%atg.com
127f7d994e
Enable catching of all Java exceptions through a Rhino FEATURE (disabled
...
by default).
git-svn-id: svn://10.0.0.236/trunk@235547 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 16:57:09 +00:00
bclary%bclary.com
8e13933fe6
JavaScript Test - regression test for bug 394709, by Igor Bukanov, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@235503 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 18:03:23 +00:00
nboyd%atg.com
457a144b7f
Fix warnings in downloaded code.
...
git-svn-id: svn://10.0.0.236/trunk@235493 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 15:30:39 +00:00
nboyd%atg.com
0154979581
Start running some tests for features we now implement, and skip another
...
bad test.
git-svn-id: svn://10.0.0.236/trunk@235492 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:43:51 +00:00
nboyd%atg.com
7c75b79d9f
Fix javadoc warning.
...
git-svn-id: svn://10.0.0.236/trunk@235491 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:32:06 +00:00
nboyd%atg.com
d840417167
Drop use of deprecated interface.
...
git-svn-id: svn://10.0.0.236/trunk@235490 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:31:33 +00:00
nboyd%atg.com
eaa128a255
Fix warnings for unused private fields.
...
git-svn-id: svn://10.0.0.236/trunk@235489 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:29:29 +00:00
benjamin%smedbergs.us
0d019dfff5
Bug 395444 - Fast-path QueryInterface in XPCWrappedNative::CallMethod, r=mrbkap sr=jst a=damons
...
git-svn-id: svn://10.0.0.236/trunk@235460 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 18:16:05 +00:00
bclary%bclary.com
6b65ab1f4f
JavaScript Tests - regression test for devmo example, by Norris Boyd, bug 395498, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@235402 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-08 14:04:01 +00:00
bclary%bclary.com
0d8376cc0d
JavaScript Test - add additional case to test, by Norris Boyd, bug 344951, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@235401 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-08 13:53:33 +00:00
gavin%gavinsharp.com
cf4c1657c2
Back out patch for bug 395256 because it caused bug 395467 (a=schrep/bsmedberg)
...
git-svn-id: svn://10.0.0.236/trunk@235399 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-08 01:43:13 +00:00
igor%mir2.org
cb07525d2f
Bug 394709: fixing memory leak with watch handlers. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@235385 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 21:02:20 +00:00
nboyd%atg.com
2d08bac900
DOM3 E4X implementation preferred
...
As of Rhino 1.7R1, the E4X implementation based on DOM3 is now preferred over
the XMLBeans implementation. Previously the XMLBeans implementation would be
used if present in the classpath; now it will be used only if DOM3 is not
supported on the version of Java running Rhino (i.e., before JDK 1.5).
Also a bit of small cleanup.
git-svn-id: svn://10.0.0.236/trunk@235373 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 18:57:45 +00:00
igor%mir2.org
8d5fc9a7fa
Bug 394853: countHeap function for js shell and help() cleanup. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@235371 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 18:25:19 +00:00
benjamin%smedbergs.us
60ee3c874f
Bug 395256 - Make nsJSID/IID/CID objects .equals method slightly faster, r=mrbkap sr=jst a=damons
...
git-svn-id: svn://10.0.0.236/trunk@235370 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 18:06:15 +00:00
nboyd%atg.com
13b2a6a559
Now tracking changes through Rhino documentation on MDC, so no need to
...
use this file.
git-svn-id: svn://10.0.0.236/trunk@235362 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 14:14:12 +00:00
nboyd%atg.com
1f940350d8
Fix bug: scope of initializer in for statement should be outside of the scope
...
introduced by the for.
git-svn-id: svn://10.0.0.236/trunk@234077 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 20:11:20 +00:00
nboyd%atg.com
f6b63d0376
small tweak to commented-out debug code
...
git-svn-id: svn://10.0.0.236/trunk@234076 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 20:08:52 +00:00
crowder%fiverocks.com
135c939f76
Bug 375651 - "Assertion failure: nbytes != 0" with regexp quantifiers, r=mrbkap, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@234018 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 04:26:11 +00:00
benjamin%smedbergs.us
9cc720ac9b
Bug 394329 - Ship the JS import library in the SDK, and stop linking it from browsercomps which doesn't use it, r=luser a=NPDB
...
git-svn-id: svn://10.0.0.236/trunk@233950 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 15:56:56 +00:00
igor%mir2.org
f271e9325b
Bug 394975: properly initializing JSContext for evalx. r=mrbkap. No 1.9 aproval as the file is outside browser's build tree.
...
git-svn-id: svn://10.0.0.236/trunk@233923 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 09:45:31 +00:00
jag%tty.nl
aa0e245d4b
Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@233920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 09:13:58 +00:00
jwalden%mit.edu
b6f3bdf388
Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
...
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
igor%mir2.org
e624db26f8
Bug 362641: patch from Edward Lee to fix wrong precision warning. r=myself,brendan
...
git-svn-id: svn://10.0.0.236/trunk@233765 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 22:20:41 +00:00
nboyd%atg.com
033f339ffb
We want to suppress strict mode warnings for undefined property o.p for the
...
following constructs:
typeof o.p, if (o.p), if (!o.p), if (o.p == undefined), if (undefined == o.p)
git-svn-id: svn://10.0.0.236/trunk@233515 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 20:49:51 +00:00
nboyd%atg.com
e88decc6e9
Fix typo in error message.
...
git-svn-id: svn://10.0.0.236/trunk@233514 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 20:46:25 +00:00
nboyd%atg.com
9cacb18f70
Wrapped Java objects won't have "toSource" and will report
...
errors for get()s of nonexistent name, so use has() first
git-svn-id: svn://10.0.0.236/trunk@233486 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 13:11:30 +00:00
nboyd%atg.com
2ccd3e7268
Fix whitespace to match rest of Rhino
...
git-svn-id: svn://10.0.0.236/trunk@233485 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 12:47:56 +00:00
nboyd%atg.com
7f3d530f6d
Fix reported NPE on dereference of lib member variable by moving initialization
...
into the constructors.
git-svn-id: svn://10.0.0.236/trunk@233484 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 12:30:10 +00:00
bent.mozilla%gmail.com
6a4869b9c8
Bug 304048 - Backing out patch due to TXUL regression.
...
git-svn-id: svn://10.0.0.236/trunk@233459 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 00:52:59 +00:00
nboyd%atg.com
1d81d3f2cc
Remove duplicate line number member variable.
...
git-svn-id: svn://10.0.0.236/trunk@233396 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 13:53:09 +00:00
nboyd%atg.com
0fef686226
* No need to report both an error to the console and throw and exception.
...
* Prettier message for uncaught EvaluatorExceptions
git-svn-id: svn://10.0.0.236/trunk@233395 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 13:48:13 +00:00
nboyd%atg.com
e74651529f
fix spelling error in comment
...
git-svn-id: svn://10.0.0.236/trunk@233394 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 13:45:33 +00:00
nboyd%atg.com
e02883aa1f
Fix bug https://bugzilla.mozilla.org/show_bug.cgi?id=393848 : Need better error
...
message for methods that exceed 64K
git-svn-id: svn://10.0.0.236/trunk@233392 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 13:43:06 +00:00
bent.mozilla%gmail.com
5529b20c97
Bug 304048 - "xpconnect getters/setters don't have principals until after they pass or fail their security check." Patch by jst, sr=bzbarsky, a=jst.
...
git-svn-id: svn://10.0.0.236/trunk@233262 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 00:16:21 +00:00
igor%mir2.org
a6d0dcb96f
Bug 393368: new API to limit heap consumption by stack-like data structures used by compiler, decompiler and interpreter.
...
git-svn-id: svn://10.0.0.236/trunk@233163 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 22:21:55 +00:00
igor%mir2.org
13fb97ba6a
Bug 393537: arena handling cleanup. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@233060 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 07:18:35 +00:00
nboyd%atg.com
1918bf3cdf
nit: add missing space
...
git-svn-id: svn://10.0.0.236/trunk@233033 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 20:17:21 +00:00
nboyd%atg.com
f0d999a0a5
Fix bug: syntax error on legal construct:
...
var evens = [i for (i in range(0, 21)) if (i % 2 == 0)];
git-svn-id: svn://10.0.0.236/trunk@233022 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 15:01:09 +00:00
rflint%ryanflint.com
93d5a97984
Bug 386536 - Add category manager helpers to XPCOMUtils. Patch by Nickolay Ponomarev <asqueella@gmail.com>, r=sayrer/mark.finkle a=jst
...
git-svn-id: svn://10.0.0.236/trunk@232994 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 00:21:10 +00:00
igor%mir2.org
a8b943b99b
Bug 393364: Patch from Jason Orendorff to restore ability to compile SpiderMonkey with C++ compiler. r=me
...
git-svn-id: svn://10.0.0.236/trunk@232955 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 19:02:42 +00:00
nboyd%atg.com
7d2971c0fb
Fix a bunch of warnings, mostly javadoc.
...
git-svn-id: svn://10.0.0.236/trunk@232925 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 14:46:26 +00:00
dbaron%dbaron.org
1a81879c1e
When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@232900 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:27 +00:00
dbaron%dbaron.org
e6b3ee0c67
Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@232899 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:26 +00:00
igor%mir2.org
4be524fa01
Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@232883 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 20:56:08 +00:00
bclary%bclary.com
caba423b17
JavaScript Tests - destructuring assignment tests, by Norris Boyd, bug 393272, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@232871 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 19:43:31 +00:00