10027 Commits

Author SHA1 Message Date
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
gavin%gavinsharp.com
fd864797ec Bug 393206: fix JSON tests, patch by Simon Bünzli <zeniko@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@232869 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 18:16:01 +00:00
gavin%gavinsharp.com
e60169184b disable failing tests for the moment (bug 393206)
git-svn-id: svn://10.0.0.236/trunk@232856 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 15:34:15 +00:00
gavin%gavinsharp.com
3eef6c31df Bug 386789: create JSON utilities module and use it for search suggest/sessionstore/Places, patch by Simon Bünzli <zeniko@gmail.com>, r=sspitzer, sr+a=brendan
git-svn-id: svn://10.0.0.236/trunk@232853 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 14:49:34 +00:00
brendan%mozilla.org
0aa69c5e9a Remove MAX_INLINE_CALL_COUNT policing, plus old MAX_INTERP_LEVEL deadwood (392973, r=crowder).
git-svn-id: svn://10.0.0.236/trunk@232485 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 00:04:24 +00:00
igor%mir2.org
cf410cbb26 Bug 325202: XDR uses lossless encoding for all string. r=brendan
git-svn-id: svn://10.0.0.236/trunk@232477 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 21:22:26 +00:00
nboyd%atg.com
dd37262628 Tests for fix for bug 392481.
Contributed by donnamalayeri@google.com.


git-svn-id: svn://10.0.0.236/trunk@232448 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 13:05:08 +00:00
nboyd%atg.com
8e94e899d2 Fix bug 392481 - Feature request: selectively allowing access to non-public
Java methods and fields


git-svn-id: svn://10.0.0.236/trunk@232447 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 12:59:29 +00:00
brendan%mozilla.org
479096651e One-char fix to recent regression (392944, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@232430 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 01:24:51 +00:00
nboyd%atg.com
a83e7dc544 Fix warning due to member hiding a superclass member.
git-svn-id: svn://10.0.0.236/trunk@232410 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 20:38:30 +00:00
nboyd%atg.com
5ffc998918 Skip bad test that will occaisionally fail due to changes in system clock
git-svn-id: svn://10.0.0.236/trunk@232409 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 20:37:43 +00:00
bclary%bclary.com
f1691687ff JavaScript Tests - update spidermonkey-gc.tests, bug 392596, by Jason Orendorff, not part of the build
git-svn-id: svn://10.0.0.236/trunk@232388 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 16:15:33 +00:00
nboyd%atg.com
12c37370a2 Fix miscellaneous Java compilation warnings.
git-svn-id: svn://10.0.0.236/trunk@232386 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 14:16:25 +00:00
nboyd%atg.com
856e586006 Add SAX ErrorHandler that throws Rhino TypeErrors and doesn't print to console
for better error handling.


git-svn-id: svn://10.0.0.236/trunk@232383 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:57:03 +00:00
nboyd%atg.com
39cae2da94 Update for latest tests.
git-svn-id: svn://10.0.0.236/trunk@232382 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:53:16 +00:00
nboyd%atg.com
6937201ee8 rerun idswitch tool to remove unused label declarations
git-svn-id: svn://10.0.0.236/trunk@232381 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:31:34 +00:00
nboyd%atg.com
f7aa82ab15 Remove unused import
git-svn-id: svn://10.0.0.236/trunk@232380 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:29:59 +00:00
nboyd%atg.com
bbf2fabd6b Fix warning, spelling error in comment
git-svn-id: svn://10.0.0.236/trunk@232379 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:29:13 +00:00
nboyd%atg.com
52ab7c65e5 Removed unused private member.
git-svn-id: svn://10.0.0.236/trunk@232359 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 00:32:12 +00:00
nboyd%atg.com
457de4428e Fix bug 392825 - ClassShutter doesn't prevent access through Java reflection
APIs


git-svn-id: svn://10.0.0.236/trunk@232358 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 00:30:05 +00:00
bclary%bclary.com
e328ab2dcb JavaScript Tests - regression test for bug 392308, by Norris Boyd, not part of the build
git-svn-id: svn://10.0.0.236/trunk@232328 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-18 10:18:40 +00:00
mrbkap%gmail.com
d3a886a643 Get the right class -- off of obj2, not obj and ensure that we propagate failure from outerObject. bug 375344, r=brendan a=sicking
git-svn-id: svn://10.0.0.236/trunk@232321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-18 01:24:51 +00:00
jwalden%mit.edu
58c5c3eb23 Bug 296653 - mkdepend takes more than 10 hours on Solaris for nsIconChannel.cpp. Patch by Ginn Chen <ginn.chen@sun.com>, r=cls, a=bz
git-svn-id: svn://10.0.0.236/trunk@232303 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 23:07:40 +00:00
nboyd%atg.com
cd958f74cc Remove unused import.
git-svn-id: svn://10.0.0.236/trunk@232263 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 13:47:00 +00:00
nboyd%atg.com
76f6fc9dc5 Fix spelling error in comment.
git-svn-id: svn://10.0.0.236/trunk@232262 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 13:45:27 +00:00