1078 Commits

Author SHA1 Message Date
slamm%netscape.com
fd0377dc09 Mac needs string.h put it back.
git-svn-id: svn://10.0.0.236/trunk@46227 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 21:09:29 +00:00
slamm%netscape.com
c19dbf0bd4 Fix warning.
git-svn-id: svn://10.0.0.236/trunk@46226 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 21:05:56 +00:00
slamm%netscape.com
e3949cea38 Fix unix build warnings
git-svn-id: svn://10.0.0.236/trunk@46220 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:35:19 +00:00
rogerl%netscape.com
17e20e67dc Mostly just some cleaning up - especially in regexp.
Merged server specific GC changes from NES branch.
Bunch o' ECMA version 3 fixes to jsregexp.


git-svn-id: svn://10.0.0.236/trunk@46219 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:34:47 +00:00
shaver%netscape.com
18b7766556 Add set/check of modification date and file size in registry.
Defer compilation and module object fetch to first factory use.
(not yet part of build, a=gramps)


git-svn-id: svn://10.0.0.236/trunk@46217 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:30:25 +00:00
shaver%netscape.com
5eef36a511 JSRuntime svc now controls lifetime; make nsIJSRuntimeService::runtime readonly
git-svn-id: svn://10.0.0.236/trunk@46206 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:44:13 +00:00
shaver%netscape.com
8ee8a718a2 initial JS component loader work
git-svn-id: svn://10.0.0.236/trunk@46163 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 06:18:08 +00:00
toshok%hungry.com
68162960f8 wrap calls to JSD_IsActiveScript with JSD_{Lock,Unlock}ScriptSubsystem.
git-svn-id: svn://10.0.0.236/trunk@46158 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:02:11 +00:00
toshok%hungry.com
c27cf242d5 fix up the unix build a bit -- egcs had problems with aggregate initializers, and linux whines about gets. also, include errno.h to stop errors dealing with the (questionable practice of) setting of errno to 0.
git-svn-id: svn://10.0.0.236/trunk@46157 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:00:56 +00:00
toshok%hungry.com
e3f63ca3e9 fix up unix build of jsdebugger.
git-svn-id: svn://10.0.0.236/trunk@46156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 04:57:03 +00:00
toshok%hungry.com
0a424bc749 lock/unlock the script subsystem around the call to jsd_DestroyAllJSDScripts
git-svn-id: svn://10.0.0.236/trunk@46155 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 04:54:41 +00:00
jband%netscape.com
e757f6a9b7 fix that shaver needs for wrapped JS object doing QI semantics
git-svn-id: svn://10.0.0.236/trunk@46144 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 01:48:13 +00:00
jband%netscape.com
4586980e8f fix bug 13217 and add someparam checking for other methods in this interface
git-svn-id: svn://10.0.0.236/trunk@46142 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 00:03:43 +00:00
brendan%mozilla.org
69185ecae9 Expand tabs to spaces per Emacs modeline; other space cleanups.
git-svn-id: svn://10.0.0.236/trunk@46138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 22:59:11 +00:00
toshok%hungry.com
4f5072e9e0 move the typedef to jsd_lock.h so the prototypes will match the actual definition.
git-svn-id: svn://10.0.0.236/trunk@46081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 00:19:14 +00:00
cls%seawood.org
69eb08c43c When cross-compiling, jscpucfg needs to grab the values from NSPR rather than calling sizeof().
git-svn-id: svn://10.0.0.236/trunk@46067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 20:46:57 +00:00
shaver%netscape.com
22e3c663dc _finish_ adding JSRuntime service
git-svn-id: svn://10.0.0.236/trunk@46030 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:41:27 +00:00
shaver%netscape.com
dff3695269 added files: mozilla/js/src/xpconnect/src/xpcruntimesvc.cpp
git-svn-id: svn://10.0.0.236/trunk@46027 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:09:55 +00:00
beard%netscape.com
7f60e7e2bf added files: mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl
git-svn-id: svn://10.0.0.236/trunk@46024 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:58:30 +00:00
shaver%netscape.com
403ad4f01a JSRuntime management service
git-svn-id: svn://10.0.0.236/trunk@46022 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:57:49 +00:00
shaver%netscape.com
6018da0708 add JSRuntime-access service
git-svn-id: svn://10.0.0.236/trunk@46019 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:25:15 +00:00
briano%netscape.com
9996d55f07 Fix for the QNX 4.24 tinderbox breakage.
git-svn-id: svn://10.0.0.236/trunk@45996 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 03:25:02 +00:00
cls%seawood.org
194199ff29 Ack! Do not redefine jscpucfg target for OpenVMS arch. Only add HOST_NSPR_MDCPUCFG to build if it is defined
git-svn-id: svn://10.0.0.236/trunk@45833 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 05:35:26 +00:00
jband%netscape.com
4f386bbb82 renaming the field called 'code' to 'result' in nsIXPCException so that we don't conflict with DOM exception's use of the name 'code'. We want these types of exceptions to be compatible and the DOM exception ought to have a 'code' field that is as required by the DOM spec and also a 'result' field that is the nsresult. This avoids the naming conflict.
git-svn-id: svn://10.0.0.236/trunk@45814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 02:32:21 +00:00
norris%netscape.com
a93d06cc59 Long not supported here. Fix up comments so that is clear.
git-svn-id: svn://10.0.0.236/trunk@45684 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 16:48:20 +00:00
cls%seawood.org
6554bc353e Build jscpucfg using HOST_CC for cross-compiler builds. If cross-compiling, it needs the changes from the autoconf'd nspr tree to support using a different mdcpucfg.h
git-svn-id: svn://10.0.0.236/trunk@45662 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 05:27:14 +00:00
jband%netscape.com
e29d470c76 fix for bug 13001 - gotta let DefaultValue do its thing
git-svn-id: svn://10.0.0.236/trunk@45658 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 05:07:36 +00:00
jband%netscape.com
a9429a6afc Added Components.returnCode so that JS components can control the nsresult that xpconnect will return on their behalf without having to throw the number. Also better mapping of this code to Components.lastResult so that JS components calling JS components will work right with no special treatment
git-svn-id: svn://10.0.0.236/trunk@45588 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:19:42 +00:00
jband%netscape.com
66e11737f3 fix for bug 12954 - was failing to set rval on DeleteProperty call
git-svn-id: svn://10.0.0.236/trunk@45585 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:16:09 +00:00
jband%netscape.com
b03fe5e27c priming the JSContext stack in the test program
git-svn-id: svn://10.0.0.236/trunk@45583 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:11:54 +00:00
jband%netscape.com
e9381b0045 modernizing the undefined test in println
git-svn-id: svn://10.0.0.236/trunk@45582 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:11:16 +00:00
jband%netscape.com
e857a12919 removing unused var
git-svn-id: svn://10.0.0.236/trunk@45581 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:08:53 +00:00
briano%netscape.com
fc4ee09d97 Cleaned it up and eliminated the pointless #!gmake.
git-svn-id: svn://10.0.0.236/trunk@45578 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:06:06 +00:00
fur%netscape.com
2f98c8b1f3 Added capability to pass JS arrays as arguments to Java methods.
git-svn-id: svn://10.0.0.236/trunk@45473 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 14:37:21 +00:00
jband%netscape.com
ead0864f3d removing commented out code
git-svn-id: svn://10.0.0.236/trunk@45464 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 09:37:20 +00:00
mcafee%netscape.com
ab84959fd4 Fixing comment warning on Linux.
git-svn-id: svn://10.0.0.236/trunk@45461 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 08:12:24 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
rogerl%netscape.com
fc3ce85298 Fixed bug : 8672, using prototype from closure instead of function
Fixed memory leak- object acquired by 'in' operator was not being released.


git-svn-id: svn://10.0.0.236/trunk@45204 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:17:55 +00:00
rogerl%netscape.com
8b4e51dfee Changed handling of undefined limit and negative limit values to
String.split()


git-svn-id: svn://10.0.0.236/trunk@45175 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:05:56 +00:00
rogerl%netscape.com
1943b41acc Added new error messages for ecma_2 compliant regular expression handling.
git-svn-id: svn://10.0.0.236/trunk@45174 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:04:07 +00:00
fur%netscape.com
d42d901505 Eliminate obsolete error message
git-svn-id: svn://10.0.0.236/trunk@45063 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 16:55:02 +00:00
fur%netscape.com
6be8ddc8da Propagating fixes from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@45062 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 16:54:24 +00:00
beard%netscape.com
eb4bc42679 wasn't calling __intialize/__terminate.
git-svn-id: svn://10.0.0.236/trunk@44968 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:58:35 +00:00
jband%netscape.com
92f19008fa fix for bug 12466 - heuristic check for existence of 'message' and 'code' properties was broken. Added missing XPC_MSG_DEF
git-svn-id: svn://10.0.0.236/trunk@44579 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 00:04:14 +00:00
ramiro%netscape.com
cb934ee5cc Cleanup linking of libimg.
git-svn-id: svn://10.0.0.236/trunk@44493 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:37:11 +00:00
jband%netscape.com
f5d694013f - Added Support for 'foo instanceof Components.interaces.nsIFoo'.
- Added support for reflecting interface constants as Components.interfaces.nsIFoo.* (this may change).
- Only interfaces marked 'scriptable' are visible in the Components.interfaces array.
- Getting rid of some of the template style syntax.
- Added GetWStringCopied and GetWStringShared for lame tests of speed in wstring copies.
- Cleaned up more Unix warnings.


git-svn-id: svn://10.0.0.236/trunk@44460 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 06:01:42 +00:00
brendan%mozilla.org
d87f3f7b04 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).


git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
rogerl%netscape.com
fc6899029a Fixes for ecma 2 regexp - adding context to init
git-svn-id: svn://10.0.0.236/trunk@44415 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:05:42 +00:00
rogerl%netscape.com
a613d89edf Fixes for ecma 2 regexp - adding context to init.
git-svn-id: svn://10.0.0.236/trunk@44413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:03:06 +00:00
rogerl%netscape.com
a9012d852d New errors for ecma 2 regexp.
git-svn-id: svn://10.0.0.236/trunk@44412 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:01:19 +00:00