879 Commits

Author SHA1 Message Date
rginda%netscape.com
9599baeb52 -- NOT PART OF THE DEFAULT BUILD --
Added -c (stackchunksize) option to the js shell, for testing purposes
r=pschwartau
2000-04-06 21:19:56 +00:00
brendan%mozilla.org
889c987de0 Fix 22048 and 33391 (see bugs for details; r=jband@netscape.com). 2000-04-05 06:39:11 +00:00
dveditz%netscape.com
a5cef05670 Use threadsafe ISupports for service 2000-04-05 03:31:57 +00:00
brendan%mozilla.org
ec99956290 Clean up ugly whitespace, some of which survived my r=brendan comments. 2000-04-05 02:17:38 +00:00
brendan%mozilla.org
e7aad0c475 Eliminate unused var warning and clean up other stuff not in the patch I reviewed and approved! 2000-04-04 08:17:05 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
cls%seawood.org
9249743718 Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries. 2000-04-03 01:04:59 +00:00
cls%seawood.org
da66e49516 Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point. 2000-04-02 07:17:25 +00:00
brendan%mozilla.org
6fd7f42463 Don't forget to drop property in getter/setter case (34069, r=jband,a=leaf). 2000-04-01 04:23:04 +00:00
scc%netscape.com
c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
mccabe%netscape.com
bd22a269de Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console. 2000-03-31 11:19:51 +00:00
jband%netscape.com
7f5854b8f2 fix a side effect of the fix to bug 32485. It turns out it is better to leak some native objects while shutting down then to fire off Release calls on those wrapped native objects and watch the browser crash 2000-03-31 10:31:00 +00:00
jband%netscape.com
6ed140070f use JS_LookupProperty to find the Components object in the JS scope because the OBJ_GET_PROPERTY call we had been using can fail for security reasons. travis needs this to fix bug 33489. r=brendan@mozilla.org 2000-03-31 02:47:46 +00:00
brendan%mozilla.org
67eed4bca0 Allow anonymous function compilation via JS_Compile*Function (33840, r=shaver,jband). 2000-03-31 02:47:15 +00:00
jband%netscape.com
b7e17c9d8f fix a search-and-replace mistake that was hiding in an #ifdef 2000-03-30 22:37:29 +00:00
jband%netscape.com
7ab8e93ba3 Expose method for getting a 'safe' JSContext appropriate for use on the current thread. This will help travis fix bug 33489. r=brendan@mozilla.org. 2000-03-30 07:06:10 +00:00
jband%netscape.com
ea3935a3b7 fix for bug 32485. Mark wrappednatives when xpconnect shuts down to avoid bad things happening when JS collects the JSObject part of the wrapper. r=mccabe 2000-03-30 00:09:15 +00:00
rogerl%netscape.com
5501a7eae5 Bug #32677, fix for optimizer reducing expression incorrectly for Math.pow
edge cases.
2000-03-29 23:46:08 +00:00
rogerl%netscape.com
b76e51bc61 Bug #32677, r=rginda bugs in Win32 optimized version for edge cases in
Math.exp and Math.pow
Bug #32937, r=rginda, implement missing toLocaleString
2000-03-29 23:45:07 +00:00
jband%netscape.com
1a98fc8141 adding new files - not part of build 2000-03-28 05:14:51 +00:00
jband%netscape.com
f0e95e63d4 Landing changes that have been banging around in my tree... - Add #ifdef'd out support for profiling. - Add support for calling the JS gc root dumper. - Add unified #define for dumping shutdown info". Remove redundant define in makefile.win. - Prepare for semantic change to nsIInterfaceInfo::GetParent if there is no parent (return null rather than an error code). 2000-03-28 03:54:34 +00:00
jband%netscape.com
6447c456fe allow for later use of xpconnect\tools 2000-03-28 03:46:21 +00:00
jband%netscape.com
1703b6270a general cleanup 2000-03-28 03:45:12 +00:00
brendan%mozilla.org
6744754724 Augh! Fix one name-hiding warning, add another... Fixed. 2000-03-24 03:01:47 +00:00
brendan%mozilla.org
e68cd0817f Eliminate name-hiding and consequent compiler warning (r=shaver@mozilla.org). 2000-03-24 00:20:02 +00:00
brendan%mozilla.org
22afff17dc Rename stacksize formal param to stackChunkSize (27767, really a doc bug). 2000-03-23 23:50:29 +00:00
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