92292 Commits

Author SHA1 Message Date
locka%iol.ie
ca8a7aea9f NOT PART OF BUILD. Fix for memory leak in simple array
git-svn-id: svn://10.0.0.236/trunk@106730 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 23:06:50 +00:00
bnesse%netscape.com
73ff098797 Fix for bug 106941. Convert nsProfile from nsIPref to nsIPrefService/nsIPrefBranch. Checking in for chipc. r=bnesse, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@106729 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:59:12 +00:00
rbs%maths.uq.edu.au
410c9e51f2 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
bnesse%netscape.com
1f6755259d Fix for bug 177585. Don't request the observer service when shutting down. r=dougt, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@106727 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:57:44 +00:00
sspitzer%netscape.com
ac0c89244d fix for perf bug #103010. don't persist the "open" state of news servers.
(revert to 4.x behaviour).  persisting the open state of news servers
causes us to update the unread count on news servers if they are "open"
on startup, slowing us down.  r=ssu,varada sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106726 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:57:12 +00:00
ducarroz%netscape.com
31deeb0fff Fix for bug 84081. We need to mark an attachment we cannot fetch as bogus in order to avoid generating an empty part. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@106725 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:49:50 +00:00
ducarroz%netscape.com
7933420766 Fix for bug 83752. Need to close the progress window is an error occurs during the send. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@106724 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:45:31 +00:00
ducarroz%netscape.com
54f06f2fa6 Fix for bug 83549. Add a new send mode in order to be able to display correct message when an error occurs while sending unsent messages. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@106723 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:36:57 +00:00
locka%iol.ie
081f664139 NOT PART OF BUILD. First working version of CAB file packaging and signing script, install file and docs.
git-svn-id: svn://10.0.0.236/trunk@106722 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:32:27 +00:00
andreas.otte%primus-online.de
24dbd2c12a fix bug 104876 [c:foo wrongly considered valid URL] this fixes a bug
in caching protocol handlers, scheme "c" was mixed up with scheme
"chrome" for example, c=darin@netscape.com, r=rjesup@wgate.com,
sr=dougt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:20:06 +00:00
dougt%netscape.com
8e551369e9 ugh. I did not mean to commit these changes. Backing out
git-svn-id: svn://10.0.0.236/trunk@106720 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:19:32 +00:00
alecf%netscape.com
e17afbe404 add initial files for bug 102043 - not part of build, to be reviewed for that bug
git-svn-id: svn://10.0.0.236/trunk@106719 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:17:39 +00:00
colin%theblakes.com
2bb2cc48a5 Turn Java back on by default. b=91271. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106718 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:14:02 +00:00
ian.mcgreer%sun.com
99366f469d patch to fix behavior on AIX's optimizing compiler. Shoul also improve performance on all platforms.
git-svn-id: svn://10.0.0.236/trunk@106717 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:11:49 +00:00
dougt%netscape.com
956ec6e34b Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106716 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:07:28 +00:00
dougt%netscape.com
3e064cf384 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106715 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:03:05 +00:00
ftang%netscape.com
fad8f3eb7f fix bug 90804. add nsMacUnicodeFontInfo.cpp into the mac sectoin and the nsCompressedCCmap.cpp to the src sectoin r=pinkerton sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@106714 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:59:57 +00:00
dougt%netscape.com
55e2803f98 Adding nsISimpleEnumerator.idl to project. 99136. r=alecf, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@106713 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:59:51 +00:00
ftang%netscape.com
5611f75355 fix 90804. enable more char by using atsui. r=pinkerton sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@106710 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:50:52 +00:00
ftang%netscape.com
39df769b40 fix bug 90804. r=pinkerton sr=sfraser. enable rendering of more characters by using atsui.
git-svn-id: svn://10.0.0.236/trunk@106709 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:50:07 +00:00
morse%netscape.com
ee49d0c6a1 bug 106570, prompt for master password when opening context menu, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106708 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:48:08 +00:00
mcafee%netscape.com
1a2e1cf413 unhardcoding hostname
git-svn-id: svn://10.0.0.236/trunk@106707 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:31:00 +00:00
nelsonb%netscape.com
845d4b22d8 Fix bug 107619. The new DHE_ ciphersuites were enabled by default.
Now they are disabled by default, for compatibility with NSS 2.0.


git-svn-id: svn://10.0.0.236/trunk@106706 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:09:47 +00:00
nicolson%netscape.com
35b7fde379 Fix 101609: JSS OSF fails, on the trunk this time.
git-svn-id: svn://10.0.0.236/trunk@106705 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:07:51 +00:00
despotdaemon%netscape.com
42a480d172 Pseudo-automatic update of changes made by smeredith@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@106704 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 19:32:58 +00:00
sspitzer%netscape.com
549449ba49 backing out a jag's change. mLength on returnString is not correct, so doing returnString.Length()
cause problems, but strlen() works.  bienvenu's looking into why our string foo is doing that to mLength,
but this gets the tree open. sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106699 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 18:32:31 +00:00
mkaply%us.ibm.com
611a66c1c4 Stupid OS/2 breakage - bug has been opened with compiler folk
git-svn-id: svn://10.0.0.236/trunk@106697 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 17:39:31 +00:00
ian.mcgreer%sun.com
dce8a3b4fd fixes for testing word alignment
git-svn-id: svn://10.0.0.236/trunk@106696 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 16:03:43 +00:00
bzbarsky%mit.edu
a8a1992e09 Fix strict JS warnings in addressbook. Bug 107538, patch from James
Green <jg@cyberstorm.demon.co.uk>, r=hwaara, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106695 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:54:04 +00:00
ducarroz%netscape.com
38011f6783 Fix for bug 86089. Replace attachments string in message compose fields by an array of nsIMsgAttachment objects. This architecture change allow us to dissocie the attachment name from the attachment url. We can also now carry over extra information like the attachment content type or Mac file type. This check in contains also fix for related bug 52428, bug 80895, bug 87765 and bug 89090.
R=varada, SR=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106694 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:42:41 +00:00
rginda%netscape.com
157fee654b bug 99601, add filter support to js/jsd, r=jband sr=brendan
Use the new filtering api to allow users to safely debug with initAtStartup enabled.  Also adds highlighting to source view, saves stack view state, fixes selection problems in the outliners, cleans up some strict mode issues, and refactors menu and script tags out of venkman.xul


git-svn-id: svn://10.0.0.236/trunk@106693 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:27:10 +00:00
hwaara%chello.se
aeee16f55d #107094, "Error: mBlank is not defined".
Patch by Andrews <simm0@ii.net>

r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@106692 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:24:58 +00:00
nboyd%atg.com
8f7d722e97 Fix bug with test case:
var testArray = new Array(6);
testArray[1+1]+=2;


git-svn-id: svn://10.0.0.236/trunk@106691 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 14:06:58 +00:00
nboyd%atg.com
8d20f58b4f Hello Norris
The following test case case leads to a compilation error in Rhino. In this
script alert is an user defined
function in the global object and it shows the value of the specified
parameter in a popup window. Save the script as a html file and run it under
Netscape and IE. The output via their JS engines is that alert(1)
executes but the execution of line fails as blks variable is undefined. The
Fix bug:

Rhino engine fails at compilation time itself and cannot excute the script.
It doesn't like the syntax of line.


Steven


/// ****************  test case **************    ///
<script>
alert(1);
  blks[ 10 << 2 ] |= true;
  alert(2);
</script>


/// **********************  Error Message ************************** ////
evaluating script: null
java.lang.NullPointerException
  at org.mozilla.javascript.Interpreter.generateICode(Compiled Code)
  at org.mozilla.javascript.Interpreter.generateICode(Compiled Code)
  at org.mozilla.javascript.Interpreter.generateICode(Compiled Code)
  at org.mozilla.javascript.Interpreter.generateICode(Compiled Code)
  at org.mozilla.javascript.Interpreter.generateICode(Compiled Code)
  at org.mozilla.javascript.Interpreter.generateICodeFromTree(Compiled Code)
  at
org.mozilla.javascript.Interpreter.generateScriptICode(Interpreter.java)
  at org.mozilla.javascript.Interpreter.compile(Interpreter.java)
  at org.mozilla.javascript.Context.compile(Context.java)
  at org.mozilla.javascript.Context.compile(Context.java)


git-svn-id: svn://10.0.0.236/trunk@106690 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 13:55:26 +00:00
rginda%netscape.com
9dffd404bd bug 99601, add filter support to js/jsd, r=jband sr=brendan
large addition to the jsd_xpc component allows arbitrary filtering of debug hooks by url pattern, line range, and global object.  also adds ability to begin instrumenting jsscripts at app startup.


git-svn-id: svn://10.0.0.236/trunk@106689 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 13:41:32 +00:00
nboyd%atg.com
487a8a8072 Patch from Igor:
I must admit this is very subtitle, but still...

Here are the lines from
    public void defineProperty(String propertyName, Object delegateTo,
                               Method getter, Method setter, int attributes)


        GetterSlot slot = (GetterSlot)getSlotToSet(propertyName,
                                                   propertyName.hashCode(),
                                                   true);
        slot.delegateTo = delegateTo;
        slot.getter = getter;
        slot.setter = setter;
        slot.setterReturnsValue = setter != null && setter.getReturnType() != Void.TYPE;
        slot.value = null;
        slot.attributes = (short) attributes;
        slot.flags = (byte)flags;

Now suppose that after the new slot is added, another thread is accessing it. Then it would see not yet ready slot with all nasty consequences! For example,  SMP computer can re-arrange writes so the new value of slot.flags would be visible before slot.getter then another thread would generate null pointer exception.

race2_fix.diff fixes that by using the explicit Slot argument to addSlot instead of boolean flag so the new slot can be fully initialized and then inserted under synchronization to the table. I also call addSlot directly because it is supposed to be used with not-yet existed properties and split addSlot to addSlot and addSlotImpl so in case of table growth there is no need to re-enter already synchronized monitor.

This changes also allows to explicitly throw RuntimeException if defineProperty is called for the property that is already exists instead of either throwing cast exception in "GetterSlot slot = (GetterSlot)getSlotToSet(propertyName," or worth yet re-initializing already existed slot.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@106688 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 13:07:00 +00:00
nboyd%atg.com
8d0d15ef9e Print either line or file name if either is present.
git-svn-id: svn://10.0.0.236/trunk@106687 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 12:59:30 +00:00
mkaply%us.ibm.com
cdde11a97a More reordering crap
git-svn-id: svn://10.0.0.236/trunk@106686 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 12:59:00 +00:00
ben%netscape.com
d51417dc21 add licenses. (not part of build)
git-svn-id: svn://10.0.0.236/trunk@106685 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 11:03:44 +00:00
ben%netscape.com
241c7e48ba 102477 - Download Manager
adding initial XUL & js files for window, basic listview/toolbar UI,
controllers etc.
NOT PART OF BUILD!


git-svn-id: svn://10.0.0.236/trunk@106684 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 11:02:56 +00:00
jst%netscape.com
e605f7d9da Fixing linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@106683 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:24:55 +00:00
jst%netscape.com
76aa8c7050 added files: mozilla/content/html/content/src/nsHTMLSharedLeafElement.cpp, removed files: mozilla/content/html/content/src/nsHTMLBaseElement.cpp, mozilla/content/html/content/src/nsHTMLEmbedElement.cpp, mozilla/content/html/content/src/nsHTMLIsIndexElement.cpp, mozilla/content/html/content/src/nsHTMLParamElement.cpp, mozilla/content/html/content/src/nsHTMLSpacerElement.cpp, mozilla/content/html/content/src/nsHTMLTableColGroupElement.cpp, mozilla/content/html/content/src/nsHTMLWBRElement.cpp
git-svn-id: svn://10.0.0.236/trunk@106682 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:15:21 +00:00
jst%netscape.com
ac8fa2d5a5 Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:14:06 +00:00
jst%netscape.com
4aad4d442d Make the signature of nsHTMLDocument::FlushPendingNotifications() match nsIDocument::FlushPendingNotifications() so that callers of the interface method actually call the correct method. No bug. r=peterv@netscape.com, sr=rpotts@netscape.com. Problem found by jkeiser@iname.com
git-svn-id: svn://10.0.0.236/trunk@106680 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 09:58:07 +00:00
alecf%netscape.com
1467e1e8bc bump max string bundles in cache up to 16 from 10, since thats how many are created on startup
git-svn-id: svn://10.0.0.236/trunk@106678 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 08:48:49 +00:00
dbaron%fas.harvard.edu
b572449775 Fix HP bustage, I hope, by adding -L$(DIST)/lib.
git-svn-id: svn://10.0.0.236/trunk@106677 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 08:46:43 +00:00
dbaron%fas.harvard.edu
5eb9b7f619 Fix BeOS bustage by doing what bryner meant to. b=106208.
git-svn-id: svn://10.0.0.236/trunk@106676 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 08:36:21 +00:00
alecf%netscape.com
a0092293be oops this should be getService not createInstance
git-svn-id: svn://10.0.0.236/trunk@106673 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 08:03:08 +00:00
dbaron%fas.harvard.edu
32b4e50cec Fixing double parens.
git-svn-id: svn://10.0.0.236/trunk@106672 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 08:01:14 +00:00
dbaron%fas.harvard.edu
ae08cf8dcb ... and fixing one other typo.
git-svn-id: svn://10.0.0.236/trunk@106671 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 07:59:16 +00:00