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

4959 Коммитов

Автор SHA1 Сообщение Дата
dbradley%netscape.com 371eebbe33 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 aaabfae631 change to 1.5R5 prerelease 2003-03-25 19:13:29 +00:00
nboyd%atg.com 0917d39fa2 Switch to 1.5R5pre. 2003-03-25 19:11:58 +00:00
timeless%mozdev.org a4413bbc8a 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 072e6da90b 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 78a75752a7 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 84d98f2f3e 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 47ab4eca5b 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 c0e941dfb3 22984 r=cls Remove MOZ_JAVA references from the build 2003-03-23 19:36:00 +00:00
bryner%netscape.com 3e84c4969c - 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 394011eae7 Minor comment fix 2003-03-23 00:28:40 +00:00
dbaron%dbaron.org 51d4f67690 Add DEBUG_dbaron to the DEBUG_xpc_hacker list. 2003-03-22 17:26:29 +00:00
rogerl%netscape.com c6d91b4c6a 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 bfd19c222e 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 f6bcf1c153 #188249
s/r=brendan
Cleanup #ifdef and add EMX
2003-03-21 22:18:12 +00:00
bolian.yin%sun.com be94514e09 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 c78c022a6a Removing the early return, and adjusting |N| downward from 1000 to 90 instead. 2003-03-21 02:02:59 +00:00
igor%mir2.org 59d6f7f69d 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 cba834a969 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 86e5524746 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 23d950dbcf 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 5aa0865e56 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 ad1ace93ca Removal of deprecated classes from the list of API docs 2003-03-19 14:14:29 +00:00
igor%mir2.org 067aaa3e0b Fixing JavaSoc documentation tag usage 2003-03-19 14:13:41 +00:00
igor%mir2.org 255e90bedc 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 12ada0ce5c 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 83e46b1a49 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 c0fc066a01 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 f2c8bb3531 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 64b0b42708 Fix --enable-xpctools post-minimo bustage 2003-03-17 23:40:16 +00:00
pschwartau%netscape.com 36cbc846da Improving comments. 2003-03-17 14:12:41 +00:00
igor%mir2.org 4c4f4e4fc8 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 76558f94fa Improving comments. 2003-03-16 23:38:45 +00:00
pschwartau%netscape.com 14da98f00f Improving readability. 2003-03-16 23:31:49 +00:00
igor%mir2.org 9a9f82103c 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 254d313fa4 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 5aadc424fa Adding more cases to test. 2003-03-15 02:25:25 +00:00
dougt%netscape.com 0d2808c511 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 5dfc4c8609 Improving comments. 2003-03-15 00:07:50 +00:00
pschwartau%netscape.com c62eac8089 Adding more cases inspired by bug 197451. 2003-03-14 23:55:37 +00:00
pschwartau%netscape.com df718533bc 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 200e03d717 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
brendan%mozilla.org 25b813e602 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).
2003-03-14 05:24:58 +00:00
igor%mir2.org 23f35a0f28 Inlinning of generateRegExpLiterals into generateInit for simple code 2003-03-13 22:50:04 +00:00
pschwartau%netscape.com 67bb0020b2 Improving comments. 2003-03-13 22:07:02 +00:00
igor%mir2.org cdd74e7e8c I changes ClassFileField to store its attribute as simple short fields to avoid allocation of short[4] array for each field. 2003-03-13 14:03:03 +00:00
igor%mir2.org ddc73696f3 I replaced explicit encoding of int, long and short values into byte arrays by new utility methods putInt16, putInt32, putInt64 2003-03-13 13:59:02 +00:00
igor%mir2.org e1320b934c 1.More checks are added for bad usage of ClassFileWriter methods.
2. Hashtable is replaced by ObjToIntMap or UintMap to minimize memory usage.

3. Converting of strings to utf8 encoding is coded  explicitly to avoid overhead  of creating many objects.
2003-03-13 09:31:01 +00:00
igor%mir2.org 67b44fd9d9 Making class public 2003-03-13 07:52:07 +00:00
beard%netscape.com 8ded18bc1b Fix for bug #53593, sr=brendan, r=beard 2003-03-13 05:37:07 +00:00