953 Commits

Author SHA1 Message Date
brendan%mozilla.org
49b6521edf Rename stacksize to stackChunkSize, similar cleanups, default new object class extension (27767). 2000-03-23 23:47:23 +00:00
brendan%mozilla.org
17eca8e2c8 Optimize lightweight function calls, and bound their recursion (27767, r=rogerl@netscape.com). 2000-03-23 23:29:36 +00:00
rogerl%netscape.com
1678fe3c07 r=brendan@mozilla.org
Bug #32674, JS_SetVersion hides error; also, jsscan.c keyword bug
2000-03-23 23:00:35 +00:00
slamm%netscape.com
1923718f2a Quiet a warning: '/*' within a comment. 2000-03-22 04:56:37 +00:00
rogerl%netscape.com
c72c567bc7 r=rginda
bug #31316, screwed up match array contents for | operator.
2000-03-21 21:11:19 +00:00
ftang%netscape.com
84856445ab add assertion code to catch data lostage. r=jband 2000-03-21 21:02:18 +00:00
beard%netscape.com
9ccba843c1 fix stand-alone LiveConnect shell on XP_MAC. 2000-03-18 09:45:13 +00:00
beard%netscape.com
8817a932f6 fix simple callbacks (not part of standard LiveConnect) 2000-03-18 09:44:07 +00:00
beard%netscape.com
58b9aa6ad7 added classpath processing. 2000-03-18 09:42:15 +00:00
beard%netscape.com
4412d25298 removed redundant implementation of strdup. 2000-03-18 00:55:47 +00:00
beard%netscape.com
a24c8a18bb fixed to work with Universal Headers 3.3 JManager interfaces. 2000-03-18 00:55:15 +00:00
beard%netscape.com
b6e6704f30 fixed to work with Universal Headers 3.3 to get MRJ interfaces/libraries, added jsj_simpleapi.c. (not part of mozilla build) 2000-03-18 00:53:55 +00:00
mccabe%netscape.com
ca1868c245 Patches for building perlconnect, courtesy Pavel Hlavnicka <pavel@gingerall.cz>. 2000-03-17 06:40:22 +00:00
gagan%netscape.com
e1b0d2b26c Fix a mem leak. r=jband 2000-03-16 23:31:53 +00:00
mkaply%us.ibm.com
b54097c65e # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:50:26 +00:00
mkaply%us.ibm.com
ab9c3bf6ce # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:31:55 +00:00
jband%netscape.com
728658cf2d Fix protection against gc reentry on same thread but on different JSContexts. Also fix potential deadlock in gc when destroying a JSContext while some other thread is blocked in gc waiting for the EndRequest of the first thread. The reentrance fix is needed to fix bug 28570. r=brendan@mozilla.org 2000-03-12 05:09:46 +00:00
norris%netscape.com
060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
jeff.dyer%compilercompany.com
53375c1c1e Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality for unwrapping
wrapped JSObjects.
2000-03-07 02:38:44 +00:00
rogerl%netscape.com
9594ff55ad r=rginda
Make shared lib thingy configurable.
2000-03-02 23:21:04 +00:00
rogerl%netscape.com
429c1db8e9 r=brendan,rginda
Added ECMA3 compliant getter/setter syntax.
Fixed bugs
	- #28686, mishandling of \$ in replace()
	- #27902, eval not detected as heavyweight indicator for non ECMA
			context version.
2000-03-02 23:21:03 +00:00
cls%seawood.org
08e716cb3e Reverted part of slamm's checkin so that non-official builds (including tinderboxes) stop on errors. Changed makefiles to use gmake's -C option instead of 'cd'. 2000-03-02 12:41:47 +00:00
jband%netscape.com
417094058a Fix bug 28982. Call to JS_ClearScope in property setter (e.g. window.location = "foo")
was causing defered calls to js_FreeSlot to do wild pointer writes into slots that
were no longer owned by the object. Also this improves the fix to 14462 (see note
in 28982 from brendan). r=brendan@mozilla.org a=jar@netscape.com
2000-02-26 23:47:33 +00:00
bryner%uiuc.edu
6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
shaver%mozilla.org
60daa8a8d1 fix #25581 (leaking JSScript, r=beard, a=waterson) 2000-02-23 06:09:04 +00:00
bruce%cybersight.com
e789f4a295 Fixes a memory leak. r=shaver,a=waterson 2000-02-22 22:22:02 +00:00
jband%netscape.com
4d59da1ce5 fix bug 28381. Make xpcshell bypass the caps security manager. dougt has looked at and used this but is not around for a 'r='. a=jar 2000-02-19 00:14:44 +00:00
cls%seawood.org
5d9778ac08 Temporary fix for bug #24892 2000-02-16 07:58:45 +00:00
dveditz%netscape.com
f620060761 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
rginda%netscape.com
4a4e1595ae Fix for 26725, r=jband 2000-02-16 06:26:21 +00:00
rginda%netscape.com
545de1b470 Fix for JS bug 26463. r=rogerl 2000-02-16 01:02:25 +00:00
rogerl%netscape.com
0d6278177c Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda
2000-02-16 00:49:34 +00:00
jband%netscape.com
d5f3a1ff79 Reimplement the Components.[ID,Exception,Constructor] properties in C++. These
things were completely unusable due to security restriction in anything besides
xpcshell. This fixes bug 26879 and helps a lot for bug 8700 because is reduces
the work done for JSContext creation.

Also, ease the burden of xptcall porters by doing IS_COMPONENT for all unix platforms.

r=mccabe
2000-02-15 06:43:51 +00:00
rogerl%netscape.com
adda1105ce Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something.
Correct bug# is 26060.
2000-02-11 23:00:21 +00:00
rogerl%netscape.com
64cbad6efe r=brendan@mozilla.org
bug #26857
Fix for evaluating multi-part script prologs in advance.
2000-02-11 22:21:15 +00:00
rogerl%netscape.com
34fb934c53 r=brendan@mozilla.org
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com
a952f351c4 r=mccabe
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com
76de968c08 r=norris
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
mccabe%netscape.com
278d8d2829 Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
Also verbiage refactory.

r=brendan
2000-02-08 01:38:20 +00:00
rogerl%netscape.com
1b01852975 r=brendan@mozilla.org
Bug #14462, lot's of discussin there about these changes, but here's
Brendan's description :
In order, changes in the patch are:

- Rename JSSLOT_ITR_STATE to be JSSLOT_ITER_STATE (avoid cybercrud abbreviation
as cbrcrd, no more six-char id limits!).

- Property cache tests must occur with the object's scope-lock held, to close a
race with delete (js_DestroyProperty, always called with the property's scope
locked).  Once the cache has been hit, and before the lock is released, the
property's refcount must be bumped.  This requires re-acquisition of the lock
and js_DropScopeProperty afterward.

- Reworked js_FindProperty to use a do-while loop, as cx->fp->scopeChain must be
non-null.  This avoids a gratuitous lastobj init done to "Suppress gcc warning"
in the old revision.

- Akin to the property cache hit cases in jsinterp.c and jsobj.c's
js_FindProperty, code to hold and drop the scope-property by its refcount that
was #ifdef JS_THREADSAFE must be unconditional, now that user-defined getters
and setters may delete the property id they're getting or setting.

- Fixed overlong continuation line in jsobj.h.

/be
2000-02-08 01:24:53 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
brendan%mozilla.org
8f35d9a247 Comment/cosmetic changes only (r=shaver@mozilla.org). 2000-02-07 07:28:25 +00:00
norris%netscape.com
d58c9a657d Fix 18860 impossible to call applet's public methods from JavaScript
(fix from jeff.dyer@compilercompany.com, r=norris)
2000-02-06 23:34:50 +00:00
risto%netscape.com
65c0d3c80a Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner
2000-02-05 07:23:36 +00:00
brendan%mozilla.org
a3a7b17f1f Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com). 2000-02-05 02:04:16 +00:00
brendan%mozilla.org
544df81550 Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning. 2000-02-05 01:54:13 +00:00
pinkerton%netscape.com
7d8250392f fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
brendan%mozilla.org
1462b9a294 - Eliminate ancient, bogus proxying of function object for its call objects (23346, r=jband@netscape.com).
- Tabs expanded as much as I could stand, without taking too much cvsblame.
2000-02-04 02:01:49 +00:00
rogerl%netscape.com
ac432c6284 r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00