Граф коммитов

4967 Коммитов

Автор SHA1 Сообщение Дата
igor%mir2.org 729a139dc3 Working on http://bugzilla.mozilla.org/show_bug.cgi?id=198208 :
I removed deprecated methods to access ClassNameHelper functionality through Context instance.
2003-04-01 14:52:27 +00:00
igor%mir2.org 64af9c759b Work for http://bugzilla.mozilla.org/show_bug.cgi?id=198208 :
I removed deprecated since 1.5R3 omj.ClassOutput and moved some of code from omj/ClassNameHelper.java to omj/optimizer/OptClassNameHelper so if one does not need the optimizer package, the jar will be smaller.
2003-04-01 11:39:08 +00:00
louie.zhao%sun.com 14455882e9 fix bug 183092 "Buffer overrun calling Java from JS"
patch = joshua.xia@sun.com; r = rogerl; sr = beard; approval = asa
2003-04-01 03:11:53 +00:00
igor%mir2.org 9e16916a56 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=199051 :
Initialize invoker in FunctionObject constructor, not during first call and catch possible SecurityException. In this way initialization will happen without script code on java stack which may not have permissions to create class loaders.
2003-03-31 13:18:04 +00:00
igor%mir2.org 2c0d284a12 Removal of deprecated SecuritySupport as a part of work on 198208. 2003-03-31 08:43:40 +00:00
timeless%mozdev.org 1c09f596eb Bug 191778 Fix minor errors in perlconnect readme
r=brendan
2003-03-27 17:18:39 +00:00
brendan%mozilla.org 0b5349b42c Work around OpenVMS compiler bug: it reserves |readonly| (199366, r=me, patch from colin@theblakes.com). 2003-03-27 00:04:51 +00:00
pschwartau%netscape.com 9ca5795ebe The fix in rev 1.48 was not placed high enough in the program. Correcting that now. 2003-03-26 21:28:19 +00:00
dbradley%netscape.com c3244ab6bc 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
2003-03-26 04:20:33 +00:00
nboyd%atg.com 0d0a9b51e2 change to 1.5R5 prerelease 2003-03-25 19:13:29 +00:00
nboyd%atg.com 3532c8b351 Switch to 1.5R5pre. 2003-03-25 19:11:58 +00:00
timeless%mozdev.org 6e23a2b17c Bug 101198 nsXPCToolsCompiler.cpp > xpctools_private.h incorrectly uses LL_INIT which breaks for !*HAVE_LONG_LONG
removing unused include
r=dbradley sr=dmose
2003-03-25 07:18:15 +00:00
timeless%mozdev.org f1405a389b Bug 101198 nsXPCToolsCompiler.cpp > xpctools_private.h incorrectly uses LL_INIT which breaks for !*HAVE_LONG_LONG
r=dbradley sr=dmose
2003-03-25 06:57:55 +00:00
pschwartau%netscape.com 98eb5b9431 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. - 2003-03-25 01:45:29 +00:00
bryner%netscape.com 3ef153fb1b Another leak fix from bug 198655 that it turns out we do need. r/sr=brendan. 2003-03-25 00:41:13 +00:00
pschwartau%netscape.com 6c0d0439e7 Adding standard lines to report bug number and summary, which were missing from this testcase for some reason. 2003-03-23 20:24:34 +00:00
cbiesinger%web.de c71efb21a2 22984 r=cls Remove MOZ_JAVA references from the build 2003-03-23 19:36:00 +00:00
bryner%netscape.com a34166cfa3 - 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.
2003-03-23 07:22:18 +00:00
dbradley%netscape.com 5b79f3a198 Minor comment fix 2003-03-23 00:28:40 +00:00
dbaron%dbaron.org afa20d707d Add DEBUG_dbaron to the DEBUG_xpc_hacker list. 2003-03-22 17:26:29 +00:00
rogerl%netscape.com 128b5ff916 Fix bug #122076. r=brendan. Stop [] parse loop from wandering off into the
weeds.
2003-03-22 03:42:22 +00:00
dbradley%netscape.com d5d20084f2 bug 197281 - Introduction of XPCConvert::GetNativeInterfaceFromJSObject is causing problems r=jst, sr=alecf 2003-03-22 02:13:38 +00:00
mkaply%us.ibm.com 65789fed66 #188249
s/r=brendan
Cleanup #ifdef and add EMX
2003-03-21 22:18:12 +00:00
bolian.yin%sun.com 839baee721 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 2003-03-21 03:37:18 +00:00
pschwartau%netscape.com d773d70b6b Removing the early return, and adjusting |N| downward from 1000 to 90 instead. 2003-03-21 02:02:59 +00:00
igor%mir2.org 9a1096723f 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. 2003-03-20 15:46:37 +00:00
brendan%mozilla.org a0d37e16f3 Saner ReportReadOnlyScope message names the sealed object, not an undefined property that can't be created in its scope (94693, r=me). 2003-03-20 11:27:33 +00:00
brendan%mozilla.org 6838a8c062 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). 2003-03-20 11:05:10 +00:00
brendan%mozilla.org 2db4bbcf04 Fix broken left-associativity and constant folding for + chains involving some string terms (196290, r=shaver by telepathy). 2003-03-19 19:33:33 +00:00
igor%mir2.org 591352c0ed Make ScriptRuntime.getClassOrNull() package private and use it in place of Class.forName() to avoid ever catching ClassNotFind and Security exceptions. 2003-03-19 19:04:24 +00:00
igor%mir2.org 071e6626a2 Removal of deprecated classes from the list of API docs 2003-03-19 14:14:29 +00:00
igor%mir2.org d8a4f2b19c Fixing JavaSoc documentation tag usage 2003-03-19 14:13:41 +00:00
igor%mir2.org cdf7a42c64 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. 2003-03-19 12:36:48 +00:00
igor%mir2.org ec1028b7f8 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. 2003-03-19 11:19:21 +00:00
bzbarsky%mit.edu 5a829e126a Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
brendan%mozilla.org 20109e1c7e Don't override a prototype property iff it is JSPROP_SHARED (not also if it's a JSPROP_SETTER; 197940, r=rogerl). 2003-03-19 02:25:39 +00:00
brendan%mozilla.org 871a901098 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).
2003-03-19 00:53:45 +00:00
seawood%netscape.com c281c02db9 Fix --enable-xpctools post-minimo bustage 2003-03-17 23:40:16 +00:00
pschwartau%netscape.com 14ac754504 Improving comments. 2003-03-17 14:12:41 +00:00
igor%mir2.org fde8484707 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. 2003-03-17 12:39:19 +00:00
pschwartau%netscape.com 1faf645d5f Improving comments. 2003-03-16 23:38:45 +00:00
pschwartau%netscape.com 241dd31673 Improving readability. 2003-03-16 23:31:49 +00:00
igor%mir2.org 11821416bb 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. 2003-03-16 17:45:34 +00:00
igor%mir2.org f05f484947 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.
2003-03-16 13:53:41 +00:00
pschwartau%netscape.com 7c49f4f637 Adding more cases to test. 2003-03-15 02:25:25 +00:00
dougt%netscape.com be629223b6 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.
2003-03-15 01:04:32 +00:00
pschwartau%netscape.com 8d96a3f128 Improving comments. 2003-03-15 00:07:50 +00:00
pschwartau%netscape.com 90d2dfed6c Adding more cases inspired by bug 197451. 2003-03-14 23:55:37 +00:00
pschwartau%netscape.com a472ff1b66 Initial add. Regression test for bug 196290, testing left-associativity of the + operator (cf. ECMA-262 Ed.3 Section 11.6.1) 2003-03-14 20:40:05 +00:00
igor%mir2.org 52b3708d95 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.
2003-03-14 10:05:01 +00:00