116715 Commits

Author SHA1 Message Date
jake%bugzilla.org
0d78df76f9 Rearrange the credits page and give myself co-author status.
git-svn-id: svn://10.0.0.236/trunk@137855 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 18:31:13 +00:00
bernd.mielke%snafu.de
6c25746f96 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137854 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 18:25:02 +00:00
igor%mir2.org
2d7d66fc2e 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.
git-svn-id: svn://10.0.0.236/trunk@137853 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 17:47:13 +00:00
jake%bugzilla.org
0fd33718f4 Bug 191537 - Improvements to the security section.
git-svn-id: svn://10.0.0.236/trunk@137852 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 17:22:42 +00:00
igor%mir2.org
028d325296 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.


git-svn-id: svn://10.0.0.236/trunk@137850 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 14:21:33 +00:00
igor%mir2.org
092d661e20 When parsing function parameters, collect all parameters names into array instead of generating a separated syntax subtree for them.
git-svn-id: svn://10.0.0.236/trunk@137849 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 13:54:22 +00:00
igor%mir2.org
71467dd4e9 Remove the last argument "args" from generateInit as it is never used.
git-svn-id: svn://10.0.0.236/trunk@137848 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 13:05:38 +00:00
igor%mir2.org
1f59aed911 Make Optimizer class a package private and turn most of its methods into private ones.
git-svn-id: svn://10.0.0.236/trunk@137847 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 12:56:21 +00:00
igor%mir2.org
f83c6e9144 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.


git-svn-id: svn://10.0.0.236/trunk@137846 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 12:47:45 +00:00
igor%mir2.org
5306e7db78 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.


git-svn-id: svn://10.0.0.236/trunk@137845 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 10:33:31 +00:00
preed%sigkill.com
e78d94c221 Bug 192877 - State changes on bugs w/ dependancies cause "Use of uninitialized values" in BugMail.pm; r=justdave, bbaetz, a=justdave
git-svn-id: svn://10.0.0.236/trunk@137844 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 08:29:26 +00:00
justdave%syndicomm.com
c825424954 Bug 193286: Field validation errors had the wrong page title
r= gerv, a= justdave


git-svn-id: svn://10.0.0.236/trunk@137843 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 08:03:51 +00:00
jake%bugzilla.org
073097165a Add a little page telling people where the win32 instructions went (NOTE: This file is not generated by Bugzilla-Guide.sgml).
git-svn-id: svn://10.0.0.236/trunk@137842 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 06:12:28 +00:00
wtc%netscape.com
3fefa37933 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}".


git-svn-id: svn://10.0.0.236/trunk@137841 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 04:48:13 +00:00
mkaply%us.ibm.com
d3e7d8940f OS/2 only packaging bustage - Mistake with checkin for 106161 causing installing over old Os/2 builds to fail
git-svn-id: svn://10.0.0.236/trunk@137839 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 02:23:39 +00:00
relyea%netscape.com
39cd897ff6 Bug 167756. Address Nelson's review comments. remove socket specific latency
in favor of a slot specific latency test (already done by pk11wrap code).


git-svn-id: svn://10.0.0.236/trunk@137837 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 01:21:25 +00:00
relyea%netscape.com
3ddad1df30 bug193367: Don't blindly copy all the certs from a given S/MIME message into the db.
git-svn-id: svn://10.0.0.236/trunk@137835 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 00:23:04 +00:00
jake%bugzilla.org
823a8de323 <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).


git-svn-id: svn://10.0.0.236/trunk@137833 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 00:05:55 +00:00
igor%mir2.org
34304f5463 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.


git-svn-id: svn://10.0.0.236/trunk@137832 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:56:34 +00:00
igor%mir2.org
ff97fb4bbc 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.


git-svn-id: svn://10.0.0.236/trunk@137831 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:53:32 +00:00
igor%mir2.org
6c5f56b786 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.
git-svn-id: svn://10.0.0.236/trunk@137830 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:51:28 +00:00
igor%mir2.org
7c54378ac6 I made Context.codeBug public so optimizer can use it.
git-svn-id: svn://10.0.0.236/trunk@137829 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:47:11 +00:00
igor%mir2.org
cdf2c93cf5 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.


git-svn-id: svn://10.0.0.236/trunk@137828 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:38:49 +00:00
pschwartau%netscape.com
dbdd5b1a4b Removing skip since bug 191633 has been fixed.
git-svn-id: svn://10.0.0.236/trunk@137827 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:37:21 +00:00
igor%mir2.org
12a32c6aea Optimization: In OptFunctionNode.getDirectCallParameterSignature use static strings for common cases of 0, 1 and 2 direct parameters.
git-svn-id: svn://10.0.0.236/trunk@137826 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:36:58 +00:00
jkeiser%netscape.com
4b26324c60 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
git-svn-id: svn://10.0.0.236/trunk@137825 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:43:06 +00:00
mikep%oeone.com
26f6c59679 Removing incorrect comments.
git-svn-id: svn://10.0.0.236/trunk@137824 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:40:25 +00:00
mikep%oeone.com
eb92dc0e3f 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.
git-svn-id: svn://10.0.0.236/trunk@137823 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:39:28 +00:00
sonja.mirtitsch%sun.com
531e7f55bb bug 193394, change to check returncode of modutil after switching to
fips mode, r=wtc


git-svn-id: svn://10.0.0.236/trunk@137822 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:30:45 +00:00
mostafah%oeone.com
3d94ec55ba Better way to addref
git-svn-id: svn://10.0.0.236/trunk@137821 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:14:42 +00:00
mostafah%oeone.com
ef03a0d915 Windows needs stdlib.h too.
git-svn-id: svn://10.0.0.236/trunk@137820 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:03:09 +00:00
igor%mir2.org
a7e7b2fa58 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191633 :
Replace tail recursion in TokenStream.getToken by a loop.


git-svn-id: svn://10.0.0.236/trunk@137819 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 20:20:46 +00:00
igor%mir2.org
45ba1a20c3 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.
git-svn-id: svn://10.0.0.236/trunk@137818 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 20:19:07 +00:00
mostafah%oeone.com
5624e5b1c7 Fixed Bug Don't use std::* in mozilla
git-svn-id: svn://10.0.0.236/trunk@137817 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 18:05:46 +00:00
igor%mir2.org
70727d0ea2 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191668 :
Integration of LineBuffer into TokenStream code which now uses a special buffer for unreading of several chars to follow SM more closely. In this way there is no problem with a possible backtracking of 3 chars on failed attempt to match <!-- at the last minus.

TokenStream is also modified to accept a string with a source directly which avoids the need to construct intermediate StringReader in Context and allows to remove DebugReader class which is replaced by a simple function to read all Reader data into string.


git-svn-id: svn://10.0.0.236/trunk@137816 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 17:09:19 +00:00
igor%mir2.org
161afa11f7 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=192226 :
Codegen.visitRegularCall should not try to apply the simple call optimization
when firstArgDone is true indicating directly called function. The patch also
replaces generation of code to call new Object[0] by loading the
ScripRuntime.emptyArgs field.


git-svn-id: svn://10.0.0.236/trunk@137815 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 16:55:40 +00:00
igor%mir2.org
cc1a680e6a Use x instanceof Type checks in place of x.getClass() = TypeClass as instanceof is significantly faster then calling getClass.
git-svn-id: svn://10.0.0.236/trunk@137814 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 16:53:14 +00:00
blizzard%redhat.com
1070acbf76 Bug #185160. Crashes due to uninitialized drawing area. Patch from robin.lu@sun.com. Cleaned up by me. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@137813 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 15:11:42 +00:00
mostafah%oeone.com
f7f0453016 Added missing Addref
git-svn-id: svn://10.0.0.236/trunk@137812 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 15:11:00 +00:00
brade%netscape.com
7aea5a7834 add comments, remove warnings, cancel mLoadBlankDocTimer to prevent crash, disable animation of images (bugs 191392, 192976, 191166) r=smfr, kin, brade; a=asa (mLoadBlankDocTimer portion originally submitted by cmanske@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@137811 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 14:56:32 +00:00
mikep%oeone.com
dca766a567 More localization fixes, changing dialog box side for localCalDialog and making localCalDialog and serverDialog persist their width and height.
git-svn-id: svn://10.0.0.236/trunk@137810 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 14:33:13 +00:00
blizzard%redhat.com
9585a5fffb Bug #192718. mozilla-xremote-client links against xpcom when it doesn't need to (round 2.) r/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137809 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 13:17:50 +00:00
neil%parkwaycc.co.uk
65bebb588a Bug 192299 Editing a page when browsing a named anchor should strip off anchor name from url r=brade sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@137808 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 11:56:49 +00:00
neil%parkwaycc.co.uk
b8e6051c24 Bug 185790 Impossible to remove JavaScript Events in Composer r=brade sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@137807 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 11:42:10 +00:00
bbaetz%acm.org
6a0d99eb6c Bug 192531 - Bugzilla not properly closing DB statement handles
Change code to work arround a perl < 5.8 leak when localising the tied
statement attributes. Also, clear the sql statestack compat stuff so that
the handles are really dead by the time we disconnect

r,a=justdave


git-svn-id: svn://10.0.0.236/trunk@137806 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 10:37:43 +00:00
neil%parkwaycc.co.uk
755525463b Bug 82547 patch allows Composer to catch mouse events on some form elements r=glazman sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@137805 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 09:59:51 +00:00
aaronl%netscape.com
5ad44d49b3 Bug 191413. Little text changes to keynav pref panel. r=jatin, sr=oeschger, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137804 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 07:52:00 +00:00
aaronl%netscape.com
2869d6fde2 Bug 189775. First keypress cancels currently playing sound. r=neil, sr=alecf, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137803 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 07:50:09 +00:00
aaronl%netscape.com
013c193406 Bug 189193. With find as you type, don't search text docs for links. r=kyle, sr=henry jia, a=dbaron. Bug 190555. Weird find as you type behavior in framed pages. r=caillon, sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137802 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 07:47:40 +00:00
wtc%netscape.com
1b135b6354 There should be no token after #endif.
git-svn-id: svn://10.0.0.236/trunk@137801 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 05:32:35 +00:00