brendan@mozilla.org
290b94c5a9
Rip out assign hack, simplify boolean value synthesis, minor cleanups.
1999-07-01 02:24:32 +00:00
jband@netscape.com
4e6c17dd83
1) make nsIXPConnect.h include only jspubtd.h instead of the whole of jsapi.h.
...
2) make the wrappedJS QI check for a match with chained wrappers before trying QI on the wrapped JS object.
3) add support for brendan's new JSArgumentFormatter callback to do auto js arg conversions - with test.
1999-06-30 06:01:36 +00:00
jband@netscape.com
e310aef8a7
an nsISupports::GetIID() to nsCOMTypeInfo<nsISupports>::GetIID() change that scc missed
1999-06-30 03:17:30 +00:00
jband@netscape.com
36fc7b0c49
Fixing lame bug in two Find implementations - thanks shaver. Removing commented out dead code
1999-06-29 21:37:09 +00:00
jband@netscape.com
8cb4ecd827
doing my part for bug 8227
1999-06-29 21:34:50 +00:00
scc@netscape.com
90f6a8560a
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
1999-06-29 21:01:31 +00:00
mcafee@netscape.com
65dbb798a0
BeOS changes. a=jband
1999-06-29 07:05:14 +00:00
mcafee@netscape.com
2d185b06d0
BeOS changes. a=jband
1999-06-29 06:57:57 +00:00
mcafee@netscape.com
6a3a13c90f
BeOS changes. a=jband
1999-06-29 06:53:01 +00:00
mcafee@netscape.com
24eacf4f1e
BeOS changes. a=jband
1999-06-29 06:51:25 +00:00
mcafee@netscape.com
b53ffb3785
BeOS changes, a=jband.
1999-06-29 06:47:38 +00:00
mcafee@netscape.com
c07f4d4a86
BeOS changes. a=jband
1999-06-29 06:44:17 +00:00
mcafee@netscape.com
39fee08e4e
BeOS changes
1999-06-29 06:42:26 +00:00
mcafee@netscape.com
7efa5316c7
BeOS changes
1999-06-29 06:36:18 +00:00
mcafee@netscape.com
9be1d09de5
Changes for BeOS. r=jband
1999-06-29 06:23:40 +00:00
brendan@netscape.com
d8b2bed2bf
- Add (jsatomid) cast to GET_ATOM_INDEX to abate warnings.
...
- Fix js_GetAtom fallibility by returning &dummy on assert-botch "can't happen"
index out of range case.
- js_InitAtomMap needn't bother nulling ale->next with tmp save
- js_InitAtomState explicit tail fusion for FROB via goto bad, and early memset
(I know, JSRuntime is cleared already and it contains the atom state ... but
jsatom.c doesn't know that).
- Clear all ATOM_ flags save ATOM_PINNED when creating a new atom.
- Cleanup xtra, ALIGNNUM, etc. useless variables, use JSVAL_ALIGN and JS_MAX.
1999-06-29 02:19:17 +00:00
brendan@netscape.com
a8888e3a2d
Final part of 8042 fix: always initialize frame.internalCall.
1999-06-29 00:22:06 +00:00
brendan@netscape.com
ee13c16822
Forgot externs before JS_PUBLIC_API calls for ArgumentFormatter functions.
1999-06-29 00:20:21 +00:00
brendan@netscape.com
fe6c9cd349
OK, final fix not to impute JS_ARGUMENT_FORMATTER_DEFINED from va_start (duh).
...
Despite my stupidity here, I must say that over-includers elsewhere of both
jspubtd.h and jsapi.h, and even jscntxt.h, with system headers intermixed, suck
a lot too.
1999-06-28 04:50:37 +00:00
brendan@netscape.com
c2fa2e1e8e
Shoot me now.
1999-06-28 04:36:54 +00:00
brendan@netscape.com
b16753ede9
*Clone* JSArgumentFormatter typedef from jspubtd.h to jsapi.h to cope with bad
...
includers who grab jspubtd.h first, then stdarg.h, then jsapi.h. Suckage.
1999-06-28 04:04:58 +00:00
brendan@netscape.com
8534059f1d
Move JSArgumentFormatter typedef from jspubtd.h to jsapi.h to cope with bad
...
includers who grab jspubtd.h first, then stdarg.h, then jsapi.h.
1999-06-28 03:52:16 +00:00
brendan@netscape.com
67ad8bdf73
Added custom JS_{Convert,Push}Arguments{,VA} formatter function support for
...
use by XPConnect and other clients.
1999-06-28 03:13:21 +00:00
sspitzer@netscape.com
fc92f82161
more anal tricks.
1999-06-26 05:01:40 +00:00
sspitzer@netscape.com
f82893f088
being anal.
1999-06-26 04:59:48 +00:00
brendan@netscape.com
c0cd11d794
Remove gratuitous include of <string.h>.
1999-06-26 03:32:15 +00:00
brendan@netscape.com
7c43e62c86
- Rename js_CallFunctionValue to js_InternalCall to distinguish it from all
...
"external" calls compiled from scripts, which have stack budget depth slots
under the return value slot for the call expression's generating pc.
- New internalCall packed boolean flag in JSStackFrame to distinguish callers
of js_InternalCall so the generating pc isn't mistakenly stored depth slots
below stack space allocated on-the-fly for internal call args/rval.
- Fixed bugzilla bug 8042, finally by storing the call expression's generating
pc -- but only for external calls.
- Whitespace policing, gratuitous parenthesization reduction, etc.
1999-06-26 03:28:47 +00:00
brendan@netscape.com
fbfa7d5ff5
Eliminate assignment in condition.
1999-06-26 03:00:36 +00:00
briano@netscape.com
5152acece9
Fix for the case where jscpucfg dies and leaves a zero-length jsautocfg.h.
1999-06-24 22:35:28 +00:00
rogerl@netscape.com
f1a358baf3
Added tree deletion to regexp finalizer
1999-06-24 20:47:20 +00:00
Jerry.Kirk@Nexwarecorp.com
4b1fcc32a2
- Add support for Neutrino platform
1999-06-24 20:21:26 +00:00
fur@netscape.com
4b215052eb
Backing out the merge with SpiderMonkey140_BRANCH for LiveConnect.
...
Some OJI-related changes were made on the trunk that can't be easily
reconciled with the branch.
1999-06-24 05:56:16 +00:00
fur@netscape.com
839669e001
Merge changes from SpiderMonkey140_BRANCH between
...
JS_STABLE_DROP_04261999 and
JS_STABLE_DROP_06221999
1999-06-24 05:22:41 +00:00
briano@netscape.com
c45d9224ce
IRIX-specific fix to create jsmath.o properly.
1999-06-23 22:20:25 +00:00
fur@netscape.com
951f0382f0
Removing shaver/brendan fix for #8042 since it's apparently buggy
1999-06-23 19:39:08 +00:00
fur@netscape.com
321c9d56d8
Merge from SpiderMonkey140_BRANCH:
...
Incorporated changes from JS_STABLE_DROP_04261999 to JS_STABLE_DROP_06221999
1999-06-23 14:18:56 +00:00
jband@netscape.com
1923ac7240
1) fix for bug 7700 - use a JSClass without a call method for all wrappers that don't do nsIXPCScriptable so that JS doesn't think they're all functions.
...
2) breakout js ops into their own file so that the flattening project is less complicated
3) add a noisy object to the test components - this object prints addrefs, release, QIs, ctor, and dtor. This is useful for refcounting tests.
4) cleanup some component registration stuff.
1999-06-23 07:04:34 +00:00
jband@netscape.com
80408a3dff
fix bustage
1999-06-22 20:57:57 +00:00
jband@netscape.com
6cc4602955
added files: mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp
1999-06-22 19:50:25 +00:00
jband@netscape.com
c10ddfdade
breaking out stuff into a new file - using placeholder now to get all makefiles and projects building right first
1999-06-22 19:45:56 +00:00
cbegle@netscape.com
b4dc06b9f8
Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=7635 .
...
Rename files for consistency.
These files are not part of the client.
1999-06-17 00:20:04 +00:00
cbegle@netscape.com
3f38ededc4
Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=4088 ,
...
Date.parse.
Not built in the client.
1999-06-16 19:25:05 +00:00
jband@netscape.com
c9757918a8
updaing TODO list
1999-06-16 01:30:13 +00:00
jband@netscape.com
8db7eda9e1
fix for bug 8248. Not setting the VAL_IS_IFACE flag for purely out params when calling native from JS. All interfaces that return an interface (e.g. QueryInterface) were getting left with one extra ref. Yuck!
1999-06-16 01:29:49 +00:00
dp@netscape.com
ab7086f43d
Using default autoregistration
1999-06-16 00:34:08 +00:00
rogerl@netscape.com
2dc5bc25d1
Fixed bug #7635 . instanceof now starts the chain walk from the object
...
prototype.
1999-06-15 23:44:30 +00:00
cbegle@netscape.com
295825cd76
Fix errors in liveconnect tests per furman@netscape.com. Renaming files
...
to not have a "-n" filename, since they are no longer negative tests.
1999-06-15 20:03:30 +00:00
jband@netscape.com
b1978ca44d
removing an assert that is no longer appropriate
1999-06-15 04:46:18 +00:00
jband@netscape.com
54a0d858fd
fix for bug 7940. Notification in xpconnect of JSContext about to be destroyed was zeroing out information later used to remove gc root. This was keeping JS_RemoveRoot from being called for those objects. So, the JSRuntime was getting left with pointers to roots for stuff on JSContexts long since destroyed and for which memory had been recycled. The fix is to be *sure* to do all the proper cleanup in xpconnect upon notification that a JSContext is about to be destroyed.
1999-06-15 02:48:26 +00:00
rogerl@netscape.com
2dfe23679d
Changes to get traditional functions with args. working
1999-06-15 00:57:05 +00:00