mrbkap%gmail.com
ec686a8d55
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
...
git-svn-id: svn://10.0.0.236/trunk@179068 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 18:34:41 +00:00
nboyd%atg.com
f79e57a49b
Modify command for building docs directory so that owner.js is included.
...
git-svn-id: svn://10.0.0.236/trunk@179046 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 13:55:53 +00:00
mrbkap%gmail.com
ae6fbb954a
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
...
git-svn-id: svn://10.0.0.236/trunk@178955 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 16:38:58 +00:00
szegedia%freemail.hu
9275a31f10
Fix for 305753: "NativeJavaMethod objects have incorrect parent when using parent scopes"
...
git-svn-id: svn://10.0.0.236/trunk@178924 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 08:44:40 +00:00
jst%mozilla.jstenback.com
204db39c56
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
...
git-svn-id: svn://10.0.0.236/trunk@178902 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 04:30:31 +00:00
brendan%mozilla.org
9cad3f82f3
Restore lost for(i in null); compat (bug 292731, r=mrbkap).
...
git-svn-id: svn://10.0.0.236/trunk@178804 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 18:15:53 +00:00
bzbarsky%mit.edu
a1e031e0ea
Make sure all XPCWrappedNatives get their equality op called. Bug 305288, also
...
fixes bug 305421. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@178748 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:01:37 +00:00
mrbkap%gmail.com
51a7e8ecba
bug 305583: Toggle on the XML option, even if the script wasn't invoked with it when the XMLList constructor is used. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@178705 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 17:10:47 +00:00
mrbkap%gmail.com
f466933f81
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
...
git-svn-id: svn://10.0.0.236/trunk@178696 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 16:47:12 +00:00
mrbkap%gmail.com
85bc637ffb
Fix stupid OOM leak. r+a=shaver (bug 305628)
...
git-svn-id: svn://10.0.0.236/trunk@178693 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 16:26:36 +00:00
mrbkap%gmail.com
b99362a8b1
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)
...
git-svn-id: svn://10.0.0.236/trunk@178643 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:30:08 +00:00
brendan%mozilla.org
306d9c4922
Have to check this instanceof XML in natives after all (305335, r/sr=mrbkap/shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@178641 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:20:35 +00:00
mrbkap%gmail.com
778d69a5f2
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
...
git-svn-id: svn://10.0.0.236/trunk@178611 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 17:30:44 +00:00
mrbkap%gmail.com
1c00f363b1
bug 292731: be consistent in calling valueOf when using for-in. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@178609 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 17:09:53 +00:00
szegedia%freemail.hu
a7beb9afe7
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.
git-svn-id: svn://10.0.0.236/trunk@178541 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 13:29:32 +00:00
brendan%mozilla.org
c769380e0b
Put E4X-only stuff within #if JS_HAS_XML_SUPPORT.
...
git-svn-id: svn://10.0.0.236/trunk@178317 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 23:35:30 +00:00
brendan%mozilla.org
a5ee8dc118
Forgot this fix to the fix for 301956 -- wahhhh!
...
git-svn-id: svn://10.0.0.236/trunk@178315 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 23:30:47 +00:00
brendan%mozilla.org
e4787dc4af
Patch to bug 305002 written by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>.
...
git-svn-id: svn://10.0.0.236/trunk@178215 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 01:48:48 +00:00
brendan%mozilla.org
9c973f5450
C++ auto-storage-class helpers for requests and local roots (needed for 301265 and other bugs).
...
git-svn-id: svn://10.0.0.236/trunk@177951 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 16:26:14 +00:00
dougt%meer.net
a6361ac7ce
WinCE only. Disable opt for xpconnect. Did I mention that the windows ce optimizer blows? bug=304714. r=shaver, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@177931 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 06:21:05 +00:00
timeless%mozdev.org
4dad4e76e9
Bug 303596 DEBUG_CheckClassInfoClaims should tolerate NS_ERROR_OUT_OF_MEMORY
...
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@177929 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 05:36:36 +00:00
timeless%mozdev.org
62408f158b
Bug 303521 !!! Object's nsIClassInfo lies about it's interfaces!!! s.b. "its"
...
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@177928 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 03:44:45 +00:00
mrbkap%gmail.com
4717271786
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
...
git-svn-id: svn://10.0.0.236/trunk@177895 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:40:55 +00:00
jst%mozilla.jstenback.com
3cc6010472
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
...
git-svn-id: svn://10.0.0.236/trunk@177879 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 20:08:39 +00:00
bsmedberg%covad.net
f5a3c325b8
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
...
git-svn-id: svn://10.0.0.236/trunk@177766 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:29:55 +00:00
nboyd%atg.com
44a8e411fc
Doc changes for 1.6R2.
...
git-svn-id: svn://10.0.0.236/trunk@177739 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:43:50 +00:00
igor%mir2.org
d5d89c0517
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.
git-svn-id: svn://10.0.0.236/trunk@177729 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-14 14:36:17 +00:00
igor%mir2.org
cbc3df8b95
Cosmetics: removal of end-of-line whitespace
...
git-svn-id: svn://10.0.0.236/trunk@177728 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-14 14:24:52 +00:00
timeless%mozdev.org
866c1e854f
Bug 127760 - complete patch file for OpenUNIX and OpenServer ports
...
js patch
patch by kean@armory.com r=shaver
git-svn-id: svn://10.0.0.236/trunk@177675 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 23:39:46 +00:00
brendan%mozilla.org
9468a47aba
Comment tweak I forgot to bug mrbkap about.
...
git-svn-id: svn://10.0.0.236/trunk@177664 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:57:40 +00:00
jst%mozilla.jstenback.com
a9f668bc25
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
brendan%mozilla.org
21176a96c5
Comment tweak, still avoids subjunctive but qualifies the crash case as fixed.
...
git-svn-id: svn://10.0.0.236/trunk@177633 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 03:32:29 +00:00
mrbkap%gmail.com
431ed93742
bug 304376: Fix hash table refcounting problem while recursively entering a marked object. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@177613 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 00:46:56 +00:00
bsmedberg%covad.net
bb73805324
Backout bug 299992 - too much odd platform-specific bustage
...
git-svn-id: svn://10.0.0.236/trunk@177596 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
b80f390773
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
...
git-svn-id: svn://10.0.0.236/trunk@177591 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:40:53 +00:00
igor%mir2.org
ef8895131c
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.
git-svn-id: svn://10.0.0.236/trunk@177546 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 08:42:14 +00:00
szegedia%freemail.hu
827bfadbc9
RFE 303572: access to underlying RhinoException in rethrown error objects
...
git-svn-id: svn://10.0.0.236/trunk@177319 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 08:49:09 +00:00
brendan%mozilla.org
85ce220a4c
Restore compatibility: allow function(){} at statement level, treating it as an expression statement (303723, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@177313 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 06:54:59 +00:00
brendan%mozilla.org
90b059daad
Fix null ptr deref crash on shortid-bearing proto-property watch (303277, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@177293 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 19:46:58 +00:00
igor%mir2.org
9ab9df5239
RefCallable is new member of public API
...
git-svn-id: svn://10.0.0.236/trunk@177288 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 10:05:47 +00:00
szegedia%freemail.hu
52ff853d72
A bit more descriptive error message -- states also what the object *is* instead of only telling it isn't a function.
...
git-svn-id: svn://10.0.0.236/trunk@177164 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 14:59:44 +00:00
nboyd%atg.com
05b049515d
Update some documentation references to versions to describe 1.6 and E4X.
...
git-svn-id: svn://10.0.0.236/trunk@177111 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 17:38:23 +00:00
timeless%mozdev.org
d2c24bde31
Bug 303213 integer overflow in js
...
patch by mrbkap r=brendan a=brendan
git-svn-id: svn://10.0.0.236/trunk@177088 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 01:52:01 +00:00
timeless%mozdev.org
9794169aea
Bug 303213 integer overflow in js
...
patch by brendan r=mrbkap a=brendan
git-svn-id: svn://10.0.0.236/trunk@177065 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 17:56:43 +00:00
timeless%mozdev.org
ae81b727c2
Visual Age properly complained about C++ comments in a C file
...
fixing.
git-svn-id: svn://10.0.0.236/trunk@177000 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 18:46:14 +00:00
timeless%mozdev.org
d324887ac8
fixing some more 64bit non macro usage instances
...
git-svn-id: svn://10.0.0.236/trunk@176985 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 16:34:45 +00:00
timeless%mozdev.org
6da83c66be
hoping that the build bustage is macro related
...
git-svn-id: svn://10.0.0.236/trunk@176984 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 16:12:27 +00:00
timeless%mozdev.org
ac0793519a
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
git-svn-id: svn://10.0.0.236/trunk@176982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 15:53:59 +00:00
igor%mir2.org
f57ef91bc9
Fixing bug 298786: bad type inference caused infinite loop in the compiler.
...
git-svn-id: svn://10.0.0.236/trunk@176928 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 14:02:27 +00:00
igor%mir2.org
d944f3bb04
Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints.
...
git-svn-id: svn://10.0.0.236/trunk@176927 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 13:50:33 +00:00