4934 Commits

Author SHA1 Message Date
timeless%mozdev.org
b97f14e320 Bug 191778 Fix minor errors in perlconnect readme
r=brendan


git-svn-id: svn://10.0.0.236/trunk@140391 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 17:18:39 +00:00
brendan%mozilla.org
ca3f4f9b95 Work around OpenVMS compiler bug: it reserves |readonly| (199366, r=me, patch from colin@theblakes.com).
git-svn-id: svn://10.0.0.236/trunk@140363 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 00:04:51 +00:00
pschwartau%netscape.com
07d3adf0c2 The fix in rev 1.48 was not placed high enough in the program. Correcting that now.
git-svn-id: svn://10.0.0.236/trunk@140357 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 21:28:19 +00:00
dbradley%netscape.com
86d58b0b90 Bug 198668 - [AxPlugin] Ofoto control does not return the value of properties correctly. r=dbradley/adamloc, sr=jst
IDispatch only changes, not part of the regular build


git-svn-id: svn://10.0.0.236/trunk@140334 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 04:20:33 +00:00
nboyd%atg.com
f0ebe630a4 change to 1.5R5 prerelease
git-svn-id: svn://10.0.0.236/trunk@140265 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 19:13:29 +00:00
nboyd%atg.com
edc6afd6c8 Switch to 1.5R5pre.
git-svn-id: svn://10.0.0.236/trunk@140264 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 19:11:58 +00:00
timeless%mozdev.org
6f8490ccfc Bug 101198 nsXPCToolsCompiler.cpp > xpctools_private.h incorrectly uses LL_INIT which breaks for !*HAVE_LONG_LONG
removing unused include
r=dbradley sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140226 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 07:18:15 +00:00
timeless%mozdev.org
df62f8511b Bug 101198 nsXPCToolsCompiler.cpp > xpctools_private.h incorrectly uses LL_INIT which breaks for !*HAVE_LONG_LONG
r=dbradley sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140221 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 06:57:55 +00:00
pschwartau%netscape.com
67f32ab3c4 Revising test to match style of testcase for duplicate bug 192414. That is, use an eval string and try...catch. See bug 192414 comment 25 etc. -
git-svn-id: svn://10.0.0.236/trunk@140191 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 01:45:29 +00:00
bryner%netscape.com
3c5e3c3ffc Another leak fix from bug 198655 that it turns out we do need. r/sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@140179 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:41:13 +00:00
pschwartau%netscape.com
659bddd1ca Adding standard lines to report bug number and summary, which were missing from this testcase for some reason.
git-svn-id: svn://10.0.0.236/trunk@140107 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 20:24:34 +00:00
cbiesinger%web.de
b2fb42edd8 22984 r=cls Remove MOZ_JAVA references from the build
git-svn-id: svn://10.0.0.236/trunk@140102 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 19:36:00 +00:00
bryner%netscape.com
0893f1145b - Fix some JS component loader shutdown leaks.
- Ensure that we use JSPRINCIPALS_DROP() where needed to avoid leaking principals.
- Clear newborn roots when we've finished with a JSContext, so we don't keep objects from being gc'd if there are no other references.

Part of bug 198655.  Thanks to dbaron for much of the component loader patch.  r=shaver, sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@140093 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 07:22:18 +00:00
dbradley%netscape.com
16a8fa4675 Minor comment fix
git-svn-id: svn://10.0.0.236/trunk@140086 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 00:28:40 +00:00
dbaron%dbaron.org
1e16f8bfdd Add DEBUG_dbaron to the DEBUG_xpc_hacker list.
git-svn-id: svn://10.0.0.236/trunk@140074 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 17:26:29 +00:00
rogerl%netscape.com
1dadfe019d Fix bug #122076. r=brendan. Stop [] parse loop from wandering off into the
weeds.


git-svn-id: svn://10.0.0.236/trunk@140036 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:42:22 +00:00
dbradley%netscape.com
57a43bca6a bug 197281 - Introduction of XPCConvert::GetNativeInterfaceFromJSObject is causing problems r=jst, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140017 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 02:13:38 +00:00
mkaply%us.ibm.com
98a96ebf73 #188249
s/r=brendan
Cleanup #ifdef and add EMX


git-svn-id: svn://10.0.0.236/trunk@139986 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:18:12 +00:00
bolian.yin%sun.com
23e3692186 Bug 197088, Netscape 7.02 crashes when my JavaScript accesses a Java string or int. r=av, sr=beard. patch by joshua.xia@sun.com
git-svn-id: svn://10.0.0.236/trunk@139899 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 03:37:18 +00:00
pschwartau%netscape.com
4fbd563925 Removing the early return, and adjusting |N| downward from 1000 to 90 instead.
git-svn-id: svn://10.0.0.236/trunk@139891 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 02:02:59 +00:00
igor%mir2.org
3eea159082 Added ScriptRuntime.newInstanceOrNull to call class.newInstance() and return null if it fails. It allows to replace in few places try/3 different catch by a simple method call.
git-svn-id: svn://10.0.0.236/trunk@139851 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 15:46:37 +00:00
brendan%mozilla.org
ddf1166154 Saner ReportReadOnlyScope message names the sealed object, not an undefined property that can't be created in its scope (94693, r=me).
git-svn-id: svn://10.0.0.236/trunk@139833 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 11:27:33 +00:00
brendan%mozilla.org
8f59258858 Fix JSOP_BINDNAME to have JOF_SET (which is now the same as JOF_ASSIGNING, so use that where it's a clearer name; 94693, r=me).
git-svn-id: svn://10.0.0.236/trunk@139832 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 11:05:10 +00:00
brendan%mozilla.org
7cc2d1c1ff Fix broken left-associativity and constant folding for + chains involving some string terms (196290, r=shaver by telepathy).
git-svn-id: svn://10.0.0.236/trunk@139787 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 19:33:33 +00:00
igor%mir2.org
ecc8fd7bfd Make ScriptRuntime.getClassOrNull() package private and use it in place of Class.forName() to avoid ever catching ClassNotFind and Security exceptions.
git-svn-id: svn://10.0.0.236/trunk@139783 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 19:04:24 +00:00
igor%mir2.org
df74d8e664 Removal of deprecated classes from the list of API docs
git-svn-id: svn://10.0.0.236/trunk@139766 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 14:14:29 +00:00
igor%mir2.org
3e5e51f9ae Fixing JavaSoc documentation tag usage
git-svn-id: svn://10.0.0.236/trunk@139764 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 14:13:41 +00:00
igor%mir2.org
c6de5ac995 For concatenation of 2 strings that are not null use str1.concat(str2) instead of str1+str2 to avoid construction of temporary StringBuffer all together.
git-svn-id: svn://10.0.0.236/trunk@139761 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 12:36:48 +00:00
igor%mir2.org
fa3037cfa9 Use ClassFileWriter.addInvoke to add method invocation code instead of deprecated 4-argument ClassFileWriter.add() to avoid unnecessary string concatenation to build full method signature from parameter and result signatures.
git-svn-id: svn://10.0.0.236/trunk@139760 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 11:19:21 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
brendan%mozilla.org
7d9dc98de7 Don't override a prototype property iff it is JSPROP_SHARED (not also if it's a JSPROP_SETTER; 197940, r=rogerl).
git-svn-id: svn://10.0.0.236/trunk@139739 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 02:25:39 +00:00
brendan%mozilla.org
4d94340532 Move readonly pre-ECMA error report down to new place peculiar to sealed
scopes, and share it via downward goto from the old place (which should go
away when a bug on khanson's list whose # I forget is fixed).  This fixes
the hole in sealed scope support mentioned in bug 94693 (r=rogerl/shaver).


git-svn-id: svn://10.0.0.236/trunk@139729 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 00:53:45 +00:00
seawood%netscape.com
f5e8ff6134 Fix --enable-xpctools post-minimo bustage
git-svn-id: svn://10.0.0.236/trunk@139629 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 23:40:16 +00:00
pschwartau%netscape.com
93d56281ab Improving comments.
git-svn-id: svn://10.0.0.236/trunk@139607 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 14:12:41 +00:00
igor%mir2.org
1256ab2ad8 Use ClassFileWriter.addInvoke() instead of ClassFileWriter.add() to add method calls to avoid string concatenation when constructing full method signature from separated parameter and return signatures.
git-svn-id: svn://10.0.0.236/trunk@139605 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 12:39:19 +00:00
pschwartau%netscape.com
d0470000b7 Improving comments.
git-svn-id: svn://10.0.0.236/trunk@139583 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 23:38:45 +00:00
pschwartau%netscape.com
faaad022f1 Improving readability.
git-svn-id: svn://10.0.0.236/trunk@139582 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 23:31:49 +00:00
igor%mir2.org
4b326a683c A version of the add method to add an invoke bytecode is deprectaed in favor of addInvoke that takes a full method signature in place of separated parameter and result signatures. It allow not use a string concatenination to build a full signature.
git-svn-id: svn://10.0.0.236/trunk@139572 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 17:45:34 +00:00
igor%mir2.org
a2ce5d3172 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=197682 :
replace static fields to hold targets of direct call optimization by an instance fields in the class representing the main script object.


git-svn-id: svn://10.0.0.236/trunk@139569 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 13:53:41 +00:00
pschwartau%netscape.com
337accd29b Adding more cases to test.
git-svn-id: svn://10.0.0.236/trunk@139487 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 02:25:25 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
pschwartau%netscape.com
97a7bd9221 Improving comments.
git-svn-id: svn://10.0.0.236/trunk@139479 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 00:07:50 +00:00
pschwartau%netscape.com
c8b0ea3761 Adding more cases inspired by bug 197451.
git-svn-id: svn://10.0.0.236/trunk@139476 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 23:55:37 +00:00
pschwartau%netscape.com
cbe227e531 Initial add. Regression test for bug 196290, testing left-associativity of the + operator (cf. ECMA-262 Ed.3 Section 11.6.1)
git-svn-id: svn://10.0.0.236/trunk@139469 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 20:40:05 +00:00
igor%mir2.org
f72a0e724d 1. When generating various support methods like script main, function constructor etc., use classFile.startMethod instead of startNewMethod since the later is intended for generation of main code for script/function.
2. Do not use trivialInit optimization for scripts since the following changes makes generation of initScript function mandatory.


git-svn-id: svn://10.0.0.236/trunk@139444 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 10:05:01 +00:00
brendan%mozilla.org
d62cd7ab7c Implement SCOPE_IS_SEALED, JS_SealObject, JS_UnsealObject, etc. to support
sealed standard object graphs, as well as to pave the way for optimizations
to object literals (94693, r=shaver).


git-svn-id: svn://10.0.0.236/trunk@139434 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 05:24:58 +00:00
igor%mir2.org
2222bb666b Inlinning of generateRegExpLiterals into generateInit for simple code
git-svn-id: svn://10.0.0.236/trunk@139404 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 22:50:04 +00:00
pschwartau%netscape.com
522eeb1da0 Improving comments.
git-svn-id: svn://10.0.0.236/trunk@139403 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 22:07:02 +00:00
igor%mir2.org
f1ec2af5e7 I changes ClassFileField to store its attribute as simple short fields to avoid allocation of short[4] array for each field.
git-svn-id: svn://10.0.0.236/trunk@139382 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 14:03:03 +00:00
igor%mir2.org
2d32ca86b5 I replaced explicit encoding of int, long and short values into byte arrays by new utility methods putInt16, putInt32, putInt64
git-svn-id: svn://10.0.0.236/trunk@139381 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 13:59:02 +00:00