Commit Graph

115219 Commits

Author SHA1 Message Date
locka%iol.ie
b864237a15 Fix blacklist/whitelist registry code in COM connect. b=193256 r=dbradley sr=alecf a=dbaron 2003-02-16 19:50:14 +00:00
sicking%bigfoot.com
3ea21f2ffc Bug 169036: Fix potential crasher by adding a nullcheck.
r=jrgm sr=jst a=dbaron
2003-02-16 18:08:37 +00:00
brendan%mozilla.org
04624a2df0 - Turn jrgm's helpful assert/defend changes into assertions that mCIDOffset
is never 0, and make the memset-to-zero required for these assertions be
  #ifdef NS_DEBUG.
- Extend FastLoad file format to encode a singleton flag in the high bit of
  nsFastLoadSharpObjectInfo.mWeakRefCnt.  The updater code needs to test this
  bit in order to deserialize a singleton that was not read by the updater's
  reader during this FastLoad episode.  Otherwise the updater is likely to
  reserialize the singleton, leading to multiple entries in the object map
  for the same object, and UMRs when loading from the writer's object map
  enumeration (objvec) in nsFastLoadFileWriter::WriteFooter.
- Remove bogus assertion that worked only when an XPCOM data structure being
  serialized was still alive at the time the writer closed.  In general, there
  is no relationship between the strong ref-counts in a FastLoad file and the
  XPCOM refcnts in memory at close time.
- Bug 189832, r=jrgm, sr=ben, a=dbaron.
2003-02-16 17:40:16 +00:00
burnus%gmx.de
eeb7e7387d Bug 135820 - token cancellation message are not user-friendly
r=gerv, a=justdave
2003-02-16 16:11:49 +00:00
jake%bugzilla.org
05921fc5ef Recompiling the docs for the 2.17.4 development release. 2003-02-16 15:43:50 +00:00
jake%bugzilla.org
dfac737c63 Spell variant correctly 2003-02-16 15:36:08 +00:00
jake%bugzilla.org
f2e6476e4d Update version infomation in anticipation for 2.17.4. 2003-02-16 15:33:35 +00:00
gerv%gerv.net
576dafac60 Bug 193511 - post_bug page has two headers. Patch by gerv; r=burnus, a=justdave. 2003-02-16 12:01:14 +00:00
gerv%gerv.net
306d660cbd Bug 186994 - Unable to accept a new bug that has been assigned. Patch by gerv; r=bbaetz, a=justdave. 2003-02-16 11:59:44 +00:00
cbiesinger%web.de
07d9f284b2 192805 patch by db48x@yahoo.com r=timeless sr=bzbarsky a=asa
Page Info Window does not remember previous size
2003-02-16 11:48:46 +00:00
igor%mir2.org
bed15cd944 Creating and filling VariableTable directly during parsing phase and then accessing it in NodeTransformer. It still does not remove the need to have a separated walk through the tree for variables but now it only checks for function name / variable name clashes.
And http://bugzilla.mozilla.org/show_bug.cgi?id=193555 is now fixed as well.
2003-02-16 11:34:54 +00:00
igor%mir2.org
56c3f65ac9 Do explicit parsing of function expression statements so a correct function type will be passed to IRFactory during node creation and fix incorrect code generation when FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME is true.
I also added explicit flags to Parser: languageVersion and allowMemberExprAsFunctionName and set them from Context. In this way Parser can be used without Context which is useful for debugging.
2003-02-15 23:30:02 +00:00
igor%mir2.org
2c7161713c VariableTable changes toward removal of a separated NodeTransformer pass over the parser tree for variable initialization: the code to support a table of optimized variables for functions in the optimizer is moved to optimizer/OptFunctionNode and VariableTable holds only parameters/variables names now. It allowed to simplify VariableTable initialization in NodeTransformer. 2003-02-15 21:35:58 +00:00
igor%mir2.org
75697022cf Remove synchronization on Context instances as Context should only be accessed from one thread. 2003-02-15 21:23:54 +00:00
darin%netscape.com
944e096c4f fixes bug 193227 "Mozilla session hangs when trying to open website, then cannot load until restart" r=dougt sr=bz a=dbaron 2003-02-15 21:04:30 +00:00
wtc%netscape.com
46b5be5b53 Bug 134967: handle spaces and hyphens in $(USERNAME). Convert them to
underscores.  r=seawood@netscape.com.
2003-02-15 20:39:01 +00:00
jake%bugzilla.org
7d3b5f35ac Rearrange the credits page and give myself co-author status. 2003-02-15 18:31:13 +00:00
bernd.mielke%snafu.de
15ca7219e8 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron 2003-02-15 18:25:02 +00:00
igor%mir2.org
c914122b03 Decoupling JavaAdapter from ClassRepository logic: JavaAdapter.createAdapterClass is replaced by JavaAdapter.createAdapterCode which just generates byte array with the adapter class file code and Codegen then passes this array to ClassRepository to save the class if necessary. In this way if repository do not need to load classes, adapter class will not be loaded at all. 2003-02-15 17:47:13 +00:00
jake%bugzilla.org
26439e1139 Bug 191537 - Improvements to the security section. 2003-02-15 17:22:42 +00:00
igor%mir2.org
de021ba69a ClassNameHelper cleanup:
1. It is not passed as a parameter to Interpreter/Codegen, instead Codegen access it directly when necessary.

2. ClassNameHelper.reset method is removed as inherently thread unsafe and data that should be used during compilation of single script is stored in Codegen itself.

3. Instead of a special DefaultClassRepository null is used to indicate that generated classes should not be stored and JavaAdapter is modified to take ClassRepository as a parameter, not ClassNameHelper.
2003-02-15 14:21:33 +00:00
igor%mir2.org
cb81ad7f8d When parsing function parameters, collect all parameters names into array instead of generating a separated syntax subtree for them. 2003-02-15 13:54:22 +00:00
igor%mir2.org
d32dddbf0c Remove the last argument "args" from generateInit as it is never used. 2003-02-15 13:05:38 +00:00
igor%mir2.org
c386a1cc35 Make Optimizer class a package private and turn most of its methods into private ones. 2003-02-15 12:56:21 +00:00
igor%mir2.org
9f52d081d9 I changed PreorderNodeIterator so a pattern for its usage will be:
PreorderNodeIterator iter = new PreorderNodeIterator();
for (iter.start(tree); !iter.done(); iter.next()) {
    Node node = iter.getCurrent();
    ...
}

instead of

PreorderNodeIterator iter = tree.getPreorderIterator();
Node node;
while ((node = iter.nextNode()) != null) {
}

to allow for more flexible usage and added PreorderNodeIterator.nextSkipSubtree to skip iteration of the last visited node subtree which allows to have simple code  in Optimizer.buildStatementList when iterating over statements.
2003-02-15 12:47:45 +00:00
igor%mir2.org
ade76dc700 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=193418 :
The bug caused by a missed check in StmtNodeIterator.nextNode for a possible null result of findFirstInterestingNode inside the search loop which made search to stop preliminary with non-empty stack.

The changes fixe this and integrate StmtNodeIterator into
Optimizer.buildStatementList as StmtNodeIterator was used only by
buildStatementList and the new version is simpler.
2003-02-15 10:33:31 +00:00
preed%sigkill.com
9b198bffac Bug 192877 - State changes on bugs w/ dependancies cause "Use of uninitialized values" in BugMail.pm; r=justdave, bbaetz, a=justdave 2003-02-15 08:29:26 +00:00
justdave%syndicomm.com
bb26a7057a Bug 193286: Field validation errors had the wrong page title
r= gerv, a= justdave
2003-02-15 08:03:51 +00:00
jake%bugzilla.org
e640357b8d Add a little page telling people where the win32 instructions went (NOTE: This file is not generated by Bugzilla-Guide.sgml). 2003-02-15 06:12:28 +00:00
wtc%netscape.com
c766b3d808 Bug 193055: the "cat ${file} | while read ...do ... done" construct does
not work under MKS Korn shell on Windows XP.  Replaced it by the equivalent
construct "while read ... do ... done < ${file}".
2003-02-15 04:48:13 +00:00
mkaply%us.ibm.com
67af744d8b OS/2 only packaging bustage - Mistake with checkin for 106161 causing installing over old Os/2 builds to fail 2003-02-15 02:23:39 +00:00
relyea%netscape.com
4c4ce5586d Bug 167756. Address Nelson's review comments. remove socket specific latency
in favor of a slot specific latency test (already done by pk11wrap code).
2003-02-15 01:21:25 +00:00
relyea%netscape.com
7737f1bf2b bug193367: Don't blindly copy all the certs from a given S/MIME message into the db. 2003-02-15 00:23:04 +00:00
jake%bugzilla.org
71ca8fad26 <edition/> is not included by default in ldp.dsl so putting version information into the <title/> tag.
This has the added benifit that the version will appear at the top of each .html (and the top of each page on the .pdf version generated by tldp.org).
2003-02-15 00:05:55 +00:00
igor%mir2.org
2660547dee Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191276 :
The reason for the bug was that omj/optimizer/Optimizer.java when optimizing code for this[name] (see GETELEM switch, line 665) assumed a number context for GETELEM index node unconditionally which is wrong.

The fix uses number context only if [] argument is known for sure to be a number.
2003-02-14 23:56:34 +00:00
igor%mir2.org
ca577aa247 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=192288 :
The bug was caused by a double call to Codegen.addNumberConstant, the first
time correctly from Codegen.visitLiteral and the second time wrongfully from
the loop in emitConstantDudeInitializers where loop index should be used
instead of calling addNumberConstant. As addNumberConstant would return the
same index for same numbers, the bug surfaces only with NaN as
addNumberConstant does not recognizes already added NaN. The bug also visible
only with optimization set to 1 or higher since only then constant folding can
produce NaN literal.

The fix removes the second call to addNumberConstant and uses
ScriptRuntime.NaNobj for NaNs.
2003-02-14 23:53:32 +00:00
igor%mir2.org
ef55bade16 Make ScriptRuntime.NaN, ScriptRuntime.NaNobj and ScriptRuntime.negativeZero static final again as now a workaround for MS JVM uses Double.longBitsToDouble to get the necessary values. 2003-02-14 23:51:28 +00:00
igor%mir2.org
d42d684b62 I made Context.codeBug public so optimizer can use it. 2003-02-14 23:47:11 +00:00
igor%mir2.org
485f42581c Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=192105 :
The reason for the bug is that emitDirectConstructor generates code to call
setPrototype twice instead of setPrototype/setParentScope pair during new JS
object construction. The fix replaces that setup by a single call to
BaseFunction.createObject which is used by Interpreter as well.
2003-02-14 22:38:49 +00:00
pschwartau%netscape.com
a89b24e960 Removing skip since bug 191633 has been fixed. 2003-02-14 22:37:21 +00:00
igor%mir2.org
65842b334f Optimization: In OptFunctionNode.getDirectCallParameterSignature use static strings for common cases of 0, 1 and 2 direct parameters. 2003-02-14 22:36:58 +00:00
jkeiser%netscape.com
29f5cb3226 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org 2003-02-14 21:43:06 +00:00
mikep%oeone.com
f6ae0c0197 Removing incorrect comments. 2003-02-14 21:40:25 +00:00
mikep%oeone.com
99f5aaab16 Fixing bug 193388. Calendar was editing the global event object, which edited the event's actual time, and changed it even when pressing cancel in edit. 2003-02-14 21:39:28 +00:00
sonja.mirtitsch%sun.com
6f1f50b42a bug 193394, change to check returncode of modutil after switching to
fips mode, r=wtc
2003-02-14 21:30:45 +00:00
mostafah%oeone.com
48b1d5ed75 Better way to addref 2003-02-14 21:14:42 +00:00
mostafah%oeone.com
4adbc88620 Windows needs stdlib.h too. 2003-02-14 21:03:09 +00:00
igor%mir2.org
788b2b2adf Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191633 :
Replace tail recursion in TokenStream.getToken by a loop.
2003-02-14 20:20:46 +00:00
igor%mir2.org
b1de655726 Mostly cosmetics: use consistent layout for case statements and add additional {} block around main code in TokenStream.getToken() so the following patch to fix http://bugzilla.mozilla.org/show_bug.cgi?id=191633 will be small. 2003-02-14 20:19:07 +00:00
mostafah%oeone.com
cf30057c34 Fixed Bug Don't use std::* in mozilla 2003-02-14 18:05:46 +00:00