jband%netscape.com
659e7dcc90
adding new file to build projects
...
git-svn-id: svn://10.0.0.236/trunk@38366 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 19:42:32 +00:00
jband%netscape.com
deeea7b4b7
added files: mozilla/js/src/xpconnect/idl/nsIJSContextStack.idl
...
git-svn-id: svn://10.0.0.236/trunk@38364 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 19:29:09 +00:00
jband%netscape.com
94fab0601a
adding JSContextStack interface
...
git-svn-id: svn://10.0.0.236/trunk@38363 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 19:26:36 +00:00
jband%netscape.com
21e6c5adb6
updating string example/test to include an example of [shared]
...
git-svn-id: svn://10.0.0.236/trunk@38212 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:59:56 +00:00
jband%netscape.com
281c645be7
adding a string getter tests as an example for bug 9227
...
git-svn-id: svn://10.0.0.236/trunk@38204 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:34:35 +00:00
briano%netscape.com
5339cd21ab
Minor IRIX-specific tweak to make 5.x happy.
...
git-svn-id: svn://10.0.0.236/trunk@38179 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 23:19:13 +00:00
jband%netscape.com
459b847b5f
fix mismatched bool type. Thanks to Glen Nakamura <glen.nakamura@usa.net>
...
git-svn-id: svn://10.0.0.236/trunk@38178 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 23:08:24 +00:00
ramiro%netscape.com
294068fd65
Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.
...
All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.
git-svn-id: svn://10.0.0.236/trunk@38100 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 14:59:36 +00:00
dveditz%netscape.com
4a69d1d866
nakefile cleanups
...
git-svn-id: svn://10.0.0.236/trunk@38066 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:42:17 +00:00
jband%netscape.com
5a672d0530
spaced out format string for readability
...
git-svn-id: svn://10.0.0.236/trunk@37943 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 02:41:15 +00:00
jband%netscape.com
5c5d2478ba
xpconnect now QIs the object to be wrapped before wrapping it 'just to be sure'
...
git-svn-id: svn://10.0.0.236/trunk@37935 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 02:17:37 +00:00
jband%netscape.com
08a9e2e637
change some instances of 'const char* foo' to 'const char foo[]'
...
git-svn-id: svn://10.0.0.236/trunk@37728 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 18:21:01 +00:00
brendan%mozilla.org
691b3263fd
Rip out assign hack, simplify boolean value synthesis, minor cleanups.
...
git-svn-id: svn://10.0.0.236/trunk@37627 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 02:25:47 +00:00
jband%netscape.com
6921693a16
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.
git-svn-id: svn://10.0.0.236/trunk@37518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 06:01:36 +00:00
jband%netscape.com
9ffe404459
an nsISupports::GetIID() to nsCOMTypeInfo<nsISupports>::GetIID() change that scc missed
...
git-svn-id: svn://10.0.0.236/trunk@37509 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 03:17:30 +00:00
jband%netscape.com
cf48f65273
Fixing lame bug in two Find implementations - thanks shaver. Removing commented out dead code
...
git-svn-id: svn://10.0.0.236/trunk@37476 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:37:09 +00:00
jband%netscape.com
ece9930005
doing my part for bug 8227
...
git-svn-id: svn://10.0.0.236/trunk@37475 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:34:50 +00:00
scc%netscape.com
a2d0be4d64
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
...
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
mcafee%netscape.com
353c54aca0
BeOS changes. a=jband
...
git-svn-id: svn://10.0.0.236/trunk@37379 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 07:05:14 +00:00
mcafee%netscape.com
b230f614b6
BeOS changes. a=jband
...
git-svn-id: svn://10.0.0.236/trunk@37377 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:57:57 +00:00
mcafee%netscape.com
d706aeaa96
BeOS changes. a=jband
...
git-svn-id: svn://10.0.0.236/trunk@37375 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:53:01 +00:00
mcafee%netscape.com
8524d783be
BeOS changes. a=jband
...
git-svn-id: svn://10.0.0.236/trunk@37374 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:51:25 +00:00
mcafee%netscape.com
f121ff0a45
BeOS changes, a=jband.
...
git-svn-id: svn://10.0.0.236/trunk@37373 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:47:38 +00:00
mcafee%netscape.com
73722053f2
BeOS changes. a=jband
...
git-svn-id: svn://10.0.0.236/trunk@37371 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:44:17 +00:00
mcafee%netscape.com
9c707a84d6
BeOS changes
...
git-svn-id: svn://10.0.0.236/trunk@37370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:42:26 +00:00
mcafee%netscape.com
45466f2cf6
BeOS changes
...
git-svn-id: svn://10.0.0.236/trunk@37369 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:36:18 +00:00
mcafee%netscape.com
065eb7e9bf
Changes for BeOS. r=jband
...
git-svn-id: svn://10.0.0.236/trunk@37368 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:23:40 +00:00
brendan%netscape.com
af49c2cbb7
- 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.
git-svn-id: svn://10.0.0.236/trunk@37314 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 02:20:48 +00:00
brendan%netscape.com
e176eaf8d9
Final part of 8042 fix: always initialize frame.internalCall.
...
git-svn-id: svn://10.0.0.236/trunk@37295 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 00:22:22 +00:00
brendan%netscape.com
503f279021
Forgot externs before JS_PUBLIC_API calls for ArgumentFormatter functions.
...
git-svn-id: svn://10.0.0.236/trunk@37294 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 00:21:38 +00:00
brendan%netscape.com
3d9d9d07a6
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.
git-svn-id: svn://10.0.0.236/trunk@37160 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 04:51:23 +00:00
brendan%netscape.com
6c5c21734f
Shoot me now.
...
git-svn-id: svn://10.0.0.236/trunk@37159 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 04:37:10 +00:00
brendan%netscape.com
2a739d7205
*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.
git-svn-id: svn://10.0.0.236/trunk@37158 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 04:06:30 +00:00
brendan%netscape.com
08fe4f44e4
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.
git-svn-id: svn://10.0.0.236/trunk@37157 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 03:52:16 +00:00
brendan%netscape.com
0bba7c2d36
Added custom JS_{Convert,Push}Arguments{,VA} formatter function support for
...
use by XPConnect and other clients.
git-svn-id: svn://10.0.0.236/trunk@37156 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 03:15:25 +00:00
brendan%netscape.com
002110f568
Remove gratuitous include of <string.h>.
...
git-svn-id: svn://10.0.0.236/trunk@36987 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 03:32:46 +00:00
brendan%netscape.com
6864664759
- 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.
git-svn-id: svn://10.0.0.236/trunk@36986 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 03:31:15 +00:00
brendan%netscape.com
6c457ab2cd
Eliminate assignment in condition.
...
git-svn-id: svn://10.0.0.236/trunk@36983 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 03:01:14 +00:00
briano%netscape.com
708f075e6e
Fix for the case where jscpucfg dies and leaves a zero-length jsautocfg.h.
...
git-svn-id: svn://10.0.0.236/trunk@36750 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 22:35:28 +00:00
rogerl%netscape.com
752acf3124
Added tree deletion to regexp finalizer
...
git-svn-id: svn://10.0.0.236/trunk@36716 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:47:20 +00:00
Jerry.Kirk%Nexwarecorp.com
1fea1185dc
- Add support for Neutrino platform
...
git-svn-id: svn://10.0.0.236/trunk@36706 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:21:26 +00:00
fur%netscape.com
25f1f59d16
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.
git-svn-id: svn://10.0.0.236/trunk@36677 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 05:56:16 +00:00
fur%netscape.com
1d9e2f72c5
Merge changes from SpiderMonkey140_BRANCH between
...
JS_STABLE_DROP_04261999 and
JS_STABLE_DROP_06221999
git-svn-id: svn://10.0.0.236/trunk@36676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 05:22:41 +00:00
briano%netscape.com
e9a4ed4ab3
IRIX-specific fix to create jsmath.o properly.
...
git-svn-id: svn://10.0.0.236/trunk@36620 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 22:20:25 +00:00
fur%netscape.com
12713a9ffb
Removing shaver/brendan fix for #8042 since it's apparently buggy
...
git-svn-id: svn://10.0.0.236/trunk@36577 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:43:07 +00:00
fur%netscape.com
40e974ccab
Merge from SpiderMonkey140_BRANCH:
...
Incorporated changes from JS_STABLE_DROP_04261999 to JS_STABLE_DROP_06221999
git-svn-id: svn://10.0.0.236/trunk@36563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 14:18:56 +00:00
jband%netscape.com
bf8c382d14
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.
git-svn-id: svn://10.0.0.236/trunk@36524 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:04:34 +00:00
jband%netscape.com
6ae6267556
fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@36332 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 20:57:57 +00:00
jband%netscape.com
0199435e9f
added files: mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp
...
git-svn-id: svn://10.0.0.236/trunk@36312 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:50:25 +00:00
jband%netscape.com
3351982f60
breaking out stuff into a new file - using placeholder now to get all makefiles and projects building right first
...
git-svn-id: svn://10.0.0.236/trunk@36311 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:45:56 +00:00