igor%mir2.org
fba63a50fd
Removal of unused import statements.
2005-08-30 09:39:01 +00:00
igor%mir2.org
6498bc1f4d
Replacing cx.VERSION_1_2 by Context.VERSION_1_2 as the field is static.
2005-08-30 08:31:48 +00:00
igor%mir2.org
384cd9c17f
1. Replacing cx.reportRuntimeError1 by Context.reportRuntimeError1
...
since the method is static.
2. Replacing cx.getSourcePositionFromStack by
Context.getSourcePositionFromStack since the method is static. That
allowed to remove Context.getCurrentContext() call before.
2005-08-30 08:26:54 +00:00
igor%mir2.org
c668b3c584
1. Replacing cx.getSourcePositionFromStack by Context.getSourcePositionFromStack since the method is static.
...
2. That allowed to remove Context.getCurrentContext() call before.
2005-08-30 07:58:33 +00:00
igor%mir2.org
ef2989bbd2
Yet another update of JS function as Java interface implementation to print explicit error messages when conversion is not possible.
2005-08-30 07:50:08 +00:00
brendan%mozilla.org
48765162d8
Generic static method automation to simplify things for callers of generic prototype methods (304828, r=mrbkap, sr=shaver).
2005-08-30 04:28:45 +00:00
mrbkap%gmail.com
896d2331f1
bug 289628: Emulate Perl's handling of invalid min/max quantifiers (and match other browsers). r=brendan
2005-08-30 00:25:49 +00:00
igor%mir2.org
86a29d689a
Fixing copy-source target to generate proper distribution jars.
2005-08-29 23:24:05 +00:00
igor%mir2.org
3a40845319
Cleanup of JS function as Java interface implementation:
...
1. I removed caching of indicators of which types to convert: it just consumes extra memory without any noticeable benefits.
2. Better comments.
2005-08-29 19:27:17 +00:00
igor%mir2.org
44c06a2fa5
Yet another improvement in not-a-function reporting. Now for foo.bar() when bar does not exist Rhino prints "Can not find function bar"
2005-08-29 14:59:27 +00:00
igor%mir2.org
738a8a6d14
Removal of useless import statementes.
2005-08-29 13:25:32 +00:00
igor%mir2.org
cad58c28dd
Implementing bug 306308: now java.lang.reflect.Proxy is used for function->interface conversion
2005-08-29 10:57:30 +00:00
igor%mir2.org
2077eeee97
Added fixed bug 306268
2005-08-29 06:03:36 +00:00
igor%mir2.org
d30cd8e00d
Eliminating dead code in ScriptRuntime.evalSpecial: Context.compileString
...
never returns with null.
It was reported by Olinda Spider, pat@mcnerthney.com .
2005-08-28 23:44:41 +00:00
igor%mir2.org
568a9d911e
Fixing bug 306268: Patch from Olinda Spider, pat@mcnerthney.com, to fix dot
...
query decompilation.
2005-08-28 23:25:22 +00:00
igor%mir2.org
d50e01de2f
Added ref to bug 306258
2005-08-28 20:43:39 +00:00
igor%mir2.org
0a9495cbab
Fixing 306258: now Rhino can be compiled with Ant under JDK 1.5
2005-08-28 19:51:23 +00:00
igor%mir2.org
45ac052fd9
Changing the example to use the supported syntax, the older syntax did not
...
work since 1.5R1 release or so.
2005-08-28 19:49:21 +00:00
igor%mir2.org
65aa2efb15
Fixing 306258: Allow to compile under JDK 1.5
2005-08-28 19:15:21 +00:00
igor%mir2.org
49ea153d41
Updating with info about direct function->interface conversion
2005-08-28 18:46:13 +00:00
igor%mir2.org
0670d5111d
Ignoring exception during (Input|Output)Stream.close() from external
...
processes. On Windows it may throw IOException if process terminates too
fast.
2005-08-27 21:24:29 +00:00
igor%mir2.org
3b8b7c9e4d
Tools are listed on the main Rhino page
2005-08-27 21:17:57 +00:00
igor%mir2.org
866ed2a25e
Rhino tools are listed explicitly on the main documentation page.
2005-08-27 21:17:02 +00:00
igor%mir2.org
ef9789ff94
Added Windows-specific examples using runCommand
2005-08-27 21:16:14 +00:00
igor%mir2.org
1f522d6b88
Cosmetics: delete-trailing-blanks
2005-08-27 19:50:55 +00:00
mrbkap%gmail.com
bb9dbb8c6c
bug 303108: Components.utils.evalInSandbox should throw exceptions that tell the caller what went wrong, instead of always throwing NS_ERROR_FAILURE. r=shaver
2005-08-26 23:41:06 +00:00
mrbkap%gmail.com
8479515072
bug 305883: Protect against the empty XML list to fix a crash when emitting code for |<></>|. Also fix the decompiler to handle XMLLists correctly. r=brendan
2005-08-26 18:34:41 +00:00
nboyd%atg.com
064c8fbcd7
Modify command for building docs directory so that owner.js is included.
2005-08-26 13:55:53 +00:00
mrbkap%gmail.com
b9b46b0f14
bug 302834: Components.utils.evalInSandbox should return the result of the given operations. Introduce a new Sandbox constructor to pass in as the second argument. Also bring the one use of evalInSandbox in the tree up to date with the new API. r=shaver/brendan
2005-08-25 16:38:58 +00:00
szegedia%freemail.hu
8eca3d00aa
Fix for 305753: "NativeJavaMethod objects have incorrect parent when using parent scopes"
2005-08-25 08:44:40 +00:00
jst%mozilla.jstenback.com
186df31af2
Fixing bug 305528. Make XPCWrappedNative::GetWrappedNativeOfJSObject() attempt to find a wrapper using obj's outer object if it can't find one using obj. r=shaver@mozilla.org, sr=brendan@mozilla.org
2005-08-25 04:30:31 +00:00
brendan%mozilla.org
1ed0bc339f
Restore lost for(i in null); compat (bug 292731, r=mrbkap).
2005-08-24 18:15:53 +00:00
bzbarsky%mit.edu
344d326ae4
Make sure all XPCWrappedNatives get their equality op called. Bug 305288, also
...
fixes bug 305421. r+sr=jst
2005-08-23 23:01:37 +00:00
mrbkap%gmail.com
27d65f3d6e
bug 305583: Toggle on the XML option, even if the script wasn't invoked with it when the XMLList constructor is used. r=brendan
2005-08-23 17:10:47 +00:00
mrbkap%gmail.com
f5f9a83b8e
bug 280769: Clean up the whitespace in jsregexp.c in preparation for fixing large regexp crashes. Patch by Igor Bukanov <igor@mir2.org>. r/sr=mrbkap/brendan
2005-08-23 16:47:12 +00:00
mrbkap%gmail.com
23f130619e
Fix stupid OOM leak. r+a=shaver (bug 305628)
2005-08-23 16:25:18 +00:00
mrbkap%gmail.com
228d38d67d
bug 292731: Use the same optimization for with as we do for for-in; trying to fix the Tp loss caused by the removal of this optimization when we tried doing this the other way. r=brendan (on IRC)
2005-08-22 22:30:08 +00:00
brendan%mozilla.org
c4b1629671
Have to check this instanceof XML in natives after all (305335, r/sr=mrbkap/shaver, a=me).
2005-08-22 22:19:34 +00:00
mrbkap%gmail.com
11127076c8
bug 132949: fix some of the more egregious bugs in jsfile.c, this also cleans up some of the style nits, but is nowhere a complete patch. Use jsfile.c at your own risk! rs=shaver
2005-08-22 17:30:44 +00:00
mrbkap%gmail.com
4b96a2d85d
bug 292731: be consistent in calling valueOf when using for-in. r=brendan
2005-08-22 17:09:53 +00:00
szegedia%freemail.hu
d6f90ca3f3
Fix for 305323: Rhino fails to select the appropriate overloaded method
...
This was due to a bug where code deviated from the section 3.3.6.1 of the LC3 specification. This commit makes the code compliant with the referenced spec section.
2005-08-21 13:29:32 +00:00
brendan%mozilla.org
10ffd02555
Put E4X-only stuff within #if JS_HAS_XML_SUPPORT.
2005-08-19 23:35:00 +00:00
brendan%mozilla.org
d843f56d76
Forgot this fix to the fix for 301956 -- wahhhh!
2005-08-19 23:29:58 +00:00
brendan%mozilla.org
2f04b441fc
Patch to bug 305002 written by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>.
2005-08-19 01:48:48 +00:00
brendan%mozilla.org
557ce72429
C++ auto-storage-class helpers for requests and local roots (needed for 301265 and other bugs).
2005-08-17 16:26:14 +00:00
dougt%meer.net
f80c96ae61
WinCE only. Disable opt for xpconnect. Did I mention that the windows ce optimizer blows? bug=304714. r=shaver, a=asa
2005-08-17 06:21:05 +00:00
timeless%mozdev.org
8b6b9351df
Bug 303596 DEBUG_CheckClassInfoClaims should tolerate NS_ERROR_OUT_OF_MEMORY
...
r=jst sr=jst
2005-08-17 05:36:36 +00:00
timeless%mozdev.org
c8203fe0fd
Bug 303521 !!! Object's nsIClassInfo lies about it's interfaces!!! s.b. "its"
...
r=jst sr=jst
2005-08-17 03:44:45 +00:00
mrbkap%gmail.com
36994cffde
bug 289933: functions, RegExps, and Script objects should all be of type "function" for compatibility with older SpiderMonkeys and to more closely imitate ECMA. r=brendan
2005-08-16 21:40:55 +00:00
jst%mozilla.jstenback.com
1499e16a02
Fixing bug 301476. Make XPCNativeWrapper's checkAccess hook always forward to the wrapper's checkAccess hook, if it's got one. r=shaver@mozilla.org, sr=brendan@mozilla.org
2005-08-16 20:08:39 +00:00
bsmedberg%covad.net
f0d2e05a7e
Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin
2005-08-15 18:29:55 +00:00
nboyd%atg.com
3a2d85fe19
Doc changes for 1.6R2.
2005-08-15 02:43:50 +00:00
igor%mir2.org
12199852d5
Addressing bug 303460:
...
1. Now shell can take compile script. This based on the initial patch from
Patrick Beard <pcbeard@mac.com>.
2. Using common code to read source and compiled scripts and for script
execution.
2005-08-14 14:36:17 +00:00
igor%mir2.org
1263f7496d
Cosmetics: removal of end-of-line whitespace
2005-08-14 14:24:52 +00:00
timeless%mozdev.org
7a1fcd9d72
Bug 127760 - complete patch file for OpenUNIX and OpenServer ports
...
js patch
patch by kean@armory.com r=shaver
2005-08-12 23:39:46 +00:00
brendan%mozilla.org
a6ae68d5c6
Comment tweak I forgot to bug mrbkap about.
2005-08-12 22:57:40 +00:00
jst%mozilla.jstenback.com
e23ea875f3
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
2005-08-12 04:11:00 +00:00
brendan%mozilla.org
8a7b609c4e
Comment tweak, still avoids subjunctive but qualifies the crash case as fixed.
2005-08-12 03:32:29 +00:00
mrbkap%gmail.com
d4a97ba613
bug 304376: Fix hash table refcounting problem while recursively entering a marked object. r+a=brendan
2005-08-12 00:46:56 +00:00
bsmedberg%covad.net
8992fb4c7d
Backout bug 299992 - too much odd platform-specific bustage
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
e9c48557e9
Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard
2005-08-11 20:40:53 +00:00
igor%mir2.org
24fc203bfa
Fixing smalljar target:
...
1. It includes jdk13 package to make the jar usable.
2. It excludes e4x classes as they are useless without xbean.jar and xbean
is several times bigger then the whole js.jar.
2005-08-11 08:42:14 +00:00
szegedia%freemail.hu
4a717e7f5a
RFE 303572: access to underlying RhinoException in rethrown error objects
2005-08-08 08:49:09 +00:00
brendan%mozilla.org
b9b591601d
Restore compatibility: allow function(){} at statement level, treating it as an expression statement (303723, r=shaver).
2005-08-08 06:54:59 +00:00
brendan%mozilla.org
de22c50452
Fix null ptr deref crash on shortid-bearing proto-property watch (303277, r=shaver).
2005-08-07 19:46:58 +00:00
igor%mir2.org
dca0a2a07a
RefCallable is new member of public API
2005-08-07 10:05:47 +00:00
szegedia%freemail.hu
1ef1277ed4
A bit more descriptive error message -- states also what the object *is* instead of only telling it isn't a function.
2005-08-05 14:59:44 +00:00
nboyd%atg.com
a5ad20b1f7
Update some documentation references to versions to describe 1.6 and E4X.
2005-08-04 17:38:23 +00:00
timeless%mozdev.org
5726619847
Bug 303213 integer overflow in js
...
patch by mrbkap r=brendan a=brendan
2005-08-04 01:52:01 +00:00
timeless%mozdev.org
5df47986a3
Bug 303213 integer overflow in js
...
patch by brendan r=mrbkap a=brendan
2005-08-03 17:56:43 +00:00
timeless%mozdev.org
c77df217d1
Visual Age properly complained about C++ comments in a C file
...
fixing.
2005-08-02 18:46:14 +00:00
timeless%mozdev.org
0a5213fbe2
fixing some more 64bit non macro usage instances
2005-08-02 16:34:45 +00:00
timeless%mozdev.org
f6b3916b12
hoping that the build bustage is macro related
2005-08-02 16:12:27 +00:00
timeless%mozdev.org
d2b31f1255
Bug 281137 Add profiling column for functions excluding other functions running
...
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg
2005-08-02 15:53:59 +00:00
igor%mir2.org
05eb249aed
Fixing bug 298786: bad type inference caused infinite loop in the compiler.
2005-08-01 14:02:27 +00:00
igor%mir2.org
63eb7d49ba
Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints.
2005-08-01 13:50:33 +00:00
igor%mir2.org
c5deb378f3
Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.
2005-08-01 13:48:32 +00:00
igor%mir2.org
90ebe1bf30
Resolving bug 299613
...
New interface RefCallable simplifies implementation of function-call-as-rvalue
in Java code. In addition native objects is required to implemet only Callable
interface, not Function, to serve as target of () operator.
2005-07-31 14:27:36 +00:00
igor%mir2.org
5839d1a3e2
Fixing bug 291591
...
\<LineTerminator> in string literals is removed from the resulting string to follow SpiderMonkey and C/C++
2005-07-31 13:48:46 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
2005-07-30 20:57:07 +00:00
bob%bclary.com
4ba662faf3
Date Parsing - fix regression from bug 273292, improve MSIE compatibility, bug 301738. r=mrbkap, r=shaver, a=asa
2005-07-30 03:15:49 +00:00
bob%bclary.com
488023703c
ECMA Compliance: fix daylight savings time before 1970, Bug 58116. Patch by Mike McCabe <mike+mozilla@meer.net>. r+a=shaver
2005-07-30 00:00:05 +00:00
bzbarsky%mit.edu
e45e9c1699
Include pointers to the JSObjects involved when printing out the path in the
...
GC_MARK_DEBUG log. Bug 295434, r+a=shaver
2005-07-29 15:15:48 +00:00
bzbarsky%mit.edu
6e9cbfcb44
Make XPCNativeWrapper call the wrapped native's classinfo resolve/get/set
...
hooks. Makes native wrappers work in lots of nasty DOM0 corner cases. Bug
296967, r=mrbkap, sr=jst, a=asa
2005-07-29 15:11:08 +00:00
mrbkap%gmail.com
b2ecd424ea
bug 302531: QuoteString doesn't deal with not outputting anything. Also fix some whitespace nits. r=shaver a=brendan
2005-07-28 18:16:30 +00:00
mrbkap%gmail.com
3e48666511
bug 302439: Spandep fu doesn't skip unused JSOP_TABLESWITCH jump table entries. Patch by brendan (except for the whitespace cleanup by me), r=shaver a=brendan
2005-07-28 17:39:44 +00:00
timeless%mozdev.org
07c3882b90
Bug 301491 [@ js_LinkFunctionObject]
...
r=brendan sr=shaver a=brendan
2005-07-28 17:18:09 +00:00
bzbarsky%mit.edu
8077a028f9
Reland patch for bug 300562. Patch by brendan. r=jst, sr=shaver, a=brendan
2005-07-28 16:19:06 +00:00
timeless%mozdev.org
22de97b33b
Bug 302100 I just downloaded Firefox 1.06, and it crashes at 004A6170 whenever I try to view any page [@ nsJSPrincipalsSubsume] using PAC
...
r=mrbkap sr=shaver a=bsmedberg
2005-07-28 15:26:05 +00:00
nboyd%atg.com
882189d2fd
Fix bug 302501. Constructor property shouldn't be readonly.
2005-07-28 14:12:03 +00:00
bob%bclary.com
c18d228a2c
Regression test for bug 300858, crash sorting arrays with holes
2005-07-28 07:32:26 +00:00
bob%bclary.com
0c36e43a6a
Regression test for bug 301692, by Seno Aiko
2005-07-28 07:28:34 +00:00
mrbkap%gmail.com
7fe260fe29
bug 301692: Fix typos (extraneous ! in a < condition) and style nits. r+a=brendan
2005-07-28 07:06:20 +00:00
bob%bclary.com
024eac051a
Add regression testcase for bug 292455, by Martin Honnen
2005-07-28 06:49:17 +00:00
bob%bclary.com
01c18759df
Add regression testcase for bug 301545, by Axel Hecht
2005-07-28 06:45:28 +00:00
bob%bclary.com
0b94961a45
function prototypes are now enumerable, bug 299642. Hat tip to mrkbap
2005-07-28 06:30:14 +00:00
bob%bclary.com
949fcbe078
add bug number 297025 to test, no bug
2005-07-28 06:27:19 +00:00
bob%bclary.com
9dcc00b831
add bug number 289630 to test, no bug
2005-07-28 06:26:16 +00:00
bob%bclary.com
97d772d33a
jsDriver.pl - Add Failure indicators for automated testing
2005-07-28 03:37:12 +00:00
bob%bclary.com
e4def52223
Do not crash in args_resolve enumerating |arguments|, bug 291213. Test by David Baron
2005-07-28 03:33:22 +00:00