mccabe%netscape.com
65adc912fa
Mark 'clear' function exposed thru shell global object PR_CALLBACK, like other similar functions.
...
Patch courtesy Skip Nizinski <snizinsk@us.ibm.com >.
git-svn-id: svn://10.0.0.236/trunk@69101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:58:51 +00:00
brendan%mozilla.org
2b8ca54165
Reword comment to fix typo (missing 'to').
...
git-svn-id: svn://10.0.0.236/trunk@69055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 20:05:17 +00:00
brendan%mozilla.org
573a86b5c2
More minor style cleanups, plus a teeny optimization from tlundeen@webcrossing.com.
...
git-svn-id: svn://10.0.0.236/trunk@69054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:58:28 +00:00
brendan%mozilla.org
53d858c363
Fix the TOO_MUCH_GC define (optional for GC stress-testing, not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@69053 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:56:21 +00:00
brendan%mozilla.org
64e4f8c0de
Minor style improvements (80th column, over-parenthesization, better variable names).
...
git-svn-id: svn://10.0.0.236/trunk@69052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:55:48 +00:00
mccabe%netscape.com
0f10f8f0b5
Add pithy quote.
...
git-svn-id: svn://10.0.0.236/trunk@68944 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:35:30 +00:00
cls%seawood.org
a539ab2494
More OS/2 Makefile changes. Bug #34106 Batch 12
...
git-svn-id: svn://10.0.0.236/trunk@68226 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 11:00:47 +00:00
cls%seawood.org
4225c9d4bf
MOZ_JS_LIBS doesn't set the linker path so put it after MOZ_COMPONENT_LIBS.
...
git-svn-id: svn://10.0.0.236/trunk@67976 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:21:08 +00:00
thayes%netscape.com
f483c05bd1
Replace implementation of nsISupports with thread-safe version. This allows
...
SSL/HTTPS operations to complete on debug builds with thread-safety checking.
r=bryner
git-svn-id: svn://10.0.0.236/trunk@67971 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:04:48 +00:00
mkaply%us.ibm.com
fac3e5b39a
# 34082
...
r= rogerl
OS/2 bring up continues - support for debugging asserts on OS/2
git-svn-id: svn://10.0.0.236/trunk@67957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:18:32 +00:00
mkaply%us.ibm.com
c33dc12d2a
# 34082
...
r= rogerl
OS/2 bring up continues - VisualAge fixes
git-svn-id: svn://10.0.0.236/trunk@67936 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:44:23 +00:00
cls%seawood.org
7b09f0a0a3
OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106
...
git-svn-id: svn://10.0.0.236/trunk@67813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:18:46 +00:00
rogerl%netscape.com
c8331f888e
r=norris@netscape.com. Add ASSERT/ASSERT_NOT cases to fixNext child
...
processing - was running into garbage when processing these as children
of a '|'
git-svn-id: svn://10.0.0.236/trunk@67751 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:57:22 +00:00
rogerl%netscape.com
22da079eb8
r=norris@netscape.com
...
Bug #34187 , adding 'eval' as property of global object.
Bug #31864 , decompiler failure when attempting to invoke a non-function
where that object is accessed via an incoming argument of the current
function.
git-svn-id: svn://10.0.0.236/trunk@67748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:55:52 +00:00
rogerl%netscape.com
e92af4aae2
r=norris@netscape.com; Bug#32174
...
Prevent recursive death when user has a function 'Object'.
git-svn-id: svn://10.0.0.236/trunk@67745 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:53:20 +00:00
jband%netscape.com
821ccde88b
be less aggresive in shutdown cleanup to avoid shutdown crashes. See bug 37058 for an example stack.
...
git-svn-id: svn://10.0.0.236/trunk@67101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:26:02 +00:00
jband%netscape.com
74a771526d
release the threadcontextstack to avoid a shutdown leak
...
git-svn-id: svn://10.0.0.236/trunk@67082 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:59:21 +00:00
jband%netscape.com
c2ab972684
Cleanup at shutdown the JSContexts that xpconnect manages on a per thread basis. This should fix some shutdown leaks.
...
git-svn-id: svn://10.0.0.236/trunk@67081 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:57:32 +00:00
brendan%mozilla.org
d9b006ed90
Final destroy-context must await racing GCs before freeing atom state (32525, r=jband).
...
git-svn-id: svn://10.0.0.236/trunk@67009 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:12:36 +00:00
jband%netscape.com
2e1e95ace7
belt and suspenders check of WITH_SERVICE results
...
git-svn-id: svn://10.0.0.236/trunk@66940 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 23:04:40 +00:00
jband%netscape.com
7511ada4ea
fix a dangerous looking (but harmless) warning on Mac opt
...
git-svn-id: svn://10.0.0.236/trunk@66822 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:06:42 +00:00
mccabe%netscape.com
0318df82ae
Fix to 23532. Check validity of JS_ARENA_ALLOCATE call before using it as an argument of memcpy in JS_ArenaGrow.
...
Thanks to wyeung@real.com for noticing we were being unsafe here and suggesting the fix.
git-svn-id: svn://10.0.0.236/trunk@66692 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:25:43 +00:00
brendan%mozilla.org
a1e0219a1d
Spruce up a couple of comments.
...
git-svn-id: svn://10.0.0.236/trunk@66642 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:49:49 +00:00
brendan%mozilla.org
50400ce9b5
Functions that use unqualified __parent__ or __proto__ must be heavyweight (36625, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@66641 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:47:20 +00:00
jband%netscape.com
486fb4f510
Had the wrong clazz for the root! So it was better when the caching was broken. Now it works on MI objects with caching fixed. My bad copy/paste error from long ago.
...
git-svn-id: svn://10.0.0.236/trunk@66551 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:16:45 +00:00
jband%netscape.com
fe72a694dd
backing out little fix from earlier today because it causes crashes in some MI cases. I'll investigate and do the right fix
...
git-svn-id: svn://10.0.0.236/trunk@66549 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 11:06:48 +00:00
brendan%mozilla.org
953de28629
Check access and redeclaration legality when defining a getter/setter (36117, r=norris)
...
git-svn-id: svn://10.0.0.236/trunk@66535 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 07:10:14 +00:00
jband%netscape.com
b251c67df7
fix typo bug that was causing wrapper cache misses on wrapper around objects implementing multiple interfaces when the first wrapper is made for an interface that is not leftmost
...
git-svn-id: svn://10.0.0.236/trunk@66511 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:38:47 +00:00
scc%netscape.com
d2a7990448
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66364 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:53:10 +00:00
dp%netscape.com
4e89ce53af
Implemented component unregister.
...
git-svn-id: svn://10.0.0.236/trunk@66252 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:26:40 +00:00
mccabe%netscape.com
dd8d16945e
Move nsIConsoleService and implementation into xpcom/base, and nsIScriptError and implementation into js/src/xpconnect. (A place for JavaScript-specific XPCOM would be better, but xpconnect will do).
...
git-svn-id: svn://10.0.0.236/trunk@66233 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:34:54 +00:00
braddr%puremagic.com
e185fff9bb
Implicit types are evil. Add PRUint32.
...
r=mccabe
git-svn-id: svn://10.0.0.236/trunk@66110 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:21:07 +00:00
jband%netscape.com
4826209b80
add a test with an 'out' array of strings
...
git-svn-id: svn://10.0.0.236/trunk@66096 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:44:22 +00:00
mccabe%netscape.com
31bd0337ce
Print error diagnostics to stderr even when non-debug, to support those folks
...
that want to debug with the -console flag.
git-svn-id: svn://10.0.0.236/trunk@66075 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:59:21 +00:00
brendan%mozilla.org
5b0a490b7f
Always call resolve for each object in a prototype chain (35738, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@66052 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 02:01:02 +00:00
shaver%mozilla.org
a0c44a968e
Replace stupid and evil BYTECODE_ITER hack with proper use of back-patch
...
chained PatchGotos goodness. (PatchGotos seasoned to taste.)
r=brendan
git-svn-id: svn://10.0.0.236/trunk@66038 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:27:09 +00:00
norris%netscape.com
f70a94e258
Fix
...
28390, 28866, 34364
r=brendan@mozilla.org
35701
r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@65940 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:14:53 +00:00
rginda%netscape.com
f029c602eb
-- NOT PART OF THE DEFAULT BUILD --
...
Added -c (stackchunksize) option to the js shell, for testing purposes
r=pschwartau
git-svn-id: svn://10.0.0.236/trunk@65435 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:19:56 +00:00
brendan%mozilla.org
200a1a7b52
Fix 22048 and 33391 (see bugs for details; r=jband@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@65359 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:39:11 +00:00
dveditz%netscape.com
d2e14e9235
Use threadsafe ISupports for service
...
git-svn-id: svn://10.0.0.236/trunk@65314 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:31:57 +00:00
brendan%mozilla.org
66bc1e6c09
Clean up ugly whitespace, some of which survived my r=brendan comments.
...
git-svn-id: svn://10.0.0.236/trunk@65282 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:17:38 +00:00
brendan%mozilla.org
de16b39a0f
Eliminate unused var warning and clean up other stuff not in the patch I reviewed and approved!
...
git-svn-id: svn://10.0.0.236/trunk@65171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:17:05 +00:00
cls%seawood.org
a26020ddae
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
...
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
cls%seawood.org
d93b9c94c3
Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries.
...
git-svn-id: svn://10.0.0.236/trunk@64973 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:04:59 +00:00
cls%seawood.org
4b879b15dd
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.
...
git-svn-id: svn://10.0.0.236/trunk@64923 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:17:25 +00:00
brendan%mozilla.org
196aa16c44
Don't forget to drop property in getter/setter case (34069, r=jband,a=leaf).
...
git-svn-id: svn://10.0.0.236/trunk@64847 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:23:04 +00:00
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
mccabe%netscape.com
0ed38a8fd3
Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console.
...
git-svn-id: svn://10.0.0.236/trunk@64765 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:19:51 +00:00
jband%netscape.com
1e8edc9e93
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
...
git-svn-id: svn://10.0.0.236/trunk@64756 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:31:00 +00:00
jband%netscape.com
51d374a343
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
...
git-svn-id: svn://10.0.0.236/trunk@64679 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:47:46 +00:00