48664 Commits

Author SHA1 Message Date
kmcclusk%netscape.com
d3a24645a8 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
norris%netscape.com
12f1c79c88 Fix the following bug:
Subject:
            Rhino request URGENT
       Date:
            Thu, 02 Dec 1999 15:58:40 -0500
      From:
            slobo@espialgroup.com
        To:
            Norris Boyd <norris@netscape.com>
 References:
            1 , 2




Hello Norris

In Rhino, the following script gives the error : "function does not always return a value" during the parsing phase. The script
runs perfectly fine in Netscape 4.61. It is an urgent requirement. Many thanks in advance.

Steven

///////////////////////////////////////////////////////SCRIPT  BEGIN  ///////////////////////////////////////////////
function test (a) {
  this.arg = a;
  if (a>20)
        return;
  return this;
}

//print = alert;

function joe() {
a = new test (20);
print (a.arg);


a = new test (25);
print (a.arg);
}

joe();
///////////////////////////////////////////////////////SCRIPT   END  ///////////////////////////////////////////////


git-svn-id: svn://10.0.0.236/trunk@55119 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:04:46 +00:00
norris%netscape.com
809eeca85a Fix bug 18636 java script security problem when accessing my.netscape.com/
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@55118 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:56:25 +00:00
pavlov%netscape.com
2c278231ec if an alpha pixmap is there destroy it and not only in the case where we have alpha bits
git-svn-id: svn://10.0.0.236/trunk@55117 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:56:12 +00:00
dmose%mozilla.org
94ee06fc74 special cased DUPLICATE in the make_options() sanity-checking code
git-svn-id: svn://10.0.0.236/trunk@55116 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:56:07 +00:00
tonyr%fbdesigns.com
15a90341d6 Updated to use new nsIMsgAccountManager interfaces
git-svn-id: svn://10.0.0.236/trunk@55115 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:53:30 +00:00
waterson%netscape.com
e313aaa0ab Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu
git-svn-id: svn://10.0.0.236/trunk@55114 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:53:25 +00:00
alecf%netscape.com
1d51b653fc don't load about:blank unless we have to
(no bug, but it makes ctrl-selecting messages faster)
r=scottip


git-svn-id: svn://10.0.0.236/trunk@55113 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:49:12 +00:00
mscott%netscape.com
82c4ad3f35 Fix a webshell leak! improper nsCOMPtr useage in DestroyChildren was causing us to leak
all child webshells!!! uhuh...that couldn't have been good


git-svn-id: svn://10.0.0.236/trunk@55112 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:46:00 +00:00
ftang%netscape.com
6080853d5d add Mac implmenetation of nsIFontEnumerator r=erik
git-svn-id: svn://10.0.0.236/trunk@55111 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:27:16 +00:00
ftang%netscape.com
94f0737506 Add <U+ > for Unicode fallback instead of ?
git-svn-id: svn://10.0.0.236/trunk@55110 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:26:42 +00:00
ftang%netscape.com
94d1e2f590 add nsIFontEnumerator.h
git-svn-id: svn://10.0.0.236/trunk@55109 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:26:06 +00:00
dmose%mozilla.org
f272eeb07a a bug fix or two and a whole bunch of sanity-checking of form submissions stuff
git-svn-id: svn://10.0.0.236/trunk@55108 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:21:42 +00:00
idk%eng.sun.com
89d1c55bef 20208
Add exception trowing in case
peer object is not existing. (Stream closed, not created, etc)


git-svn-id: svn://10.0.0.236/trunk@55107 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:20:29 +00:00
pinkerton%netscape.com
2f528b1160 Fix for bug 18409. clipboard/d&d now converts incoming text to DOM linebreaks. r=saari
git-svn-id: svn://10.0.0.236/trunk@55106 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:18:23 +00:00
pinkerton%netscape.com
2f60faf19d Removed a bunch of duplicated code. r=saari
git-svn-id: svn://10.0.0.236/trunk@55105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:17:31 +00:00
putterman%netscape.com
59b63e045b Fix 20556 and change printf to dump in js.
git-svn-id: svn://10.0.0.236/trunk@55104 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:14:42 +00:00
rpotts%netscape.com
9145120320 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-(
git-svn-id: svn://10.0.0.236/trunk@55103 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:09:15 +00:00
locka%iol.ie
e3e325da15 Added CommandStateChangeConstants
git-svn-id: svn://10.0.0.236/trunk@55102 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:49:27 +00:00
fur%netscape.com
9520efcc7a Fix 20594: C++ comments in C files
git-svn-id: svn://10.0.0.236/trunk@55101 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:41:02 +00:00
akkana%netscape.com
87d7b8f23c Forgot to add the idl file to the makefile
git-svn-id: svn://10.0.0.236/trunk@55100 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:36:34 +00:00
sspitzer%netscape.com
37115d48b0 fix pref xul and window size to look nicer. now the pref window is bigger and now the size is set in pref.xul. fixes #20244 among other bugs
git-svn-id: svn://10.0.0.236/trunk@55099 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:34:19 +00:00
sfraser%netscape.com
7fb638c5fe Add nsISelectionController.idl for akkana
git-svn-id: svn://10.0.0.236/trunk@55098 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:31:27 +00:00
sfraser%netscape.com
ad4471e3c6 Add nsISelectionController.idl for akkana.
git-svn-id: svn://10.0.0.236/trunk@55097 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:31:17 +00:00
pavlov%netscape.com
84657b4391 reuse pixmaps when image bits are changed instead of destroying them and recreating them every time r=blizzard
git-svn-id: svn://10.0.0.236/trunk@55096 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:25:20 +00:00
sdagley%netscape.com
94f75c64f9 Checking in fix for bug #20558 for sfraser. Calling pr_UnlockedFindLibrary() with a NULL fragment name not a good idea. sfraser and I both though he'd fixed this before but apparently the change was lost.
git-svn-id: svn://10.0.0.236/trunk@55095 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:25:17 +00:00
locka%iol.ie
10eaaa0963 Made ActiveX plugin buildable
git-svn-id: svn://10.0.0.236/trunk@55094 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:17:18 +00:00
rods%netscape.com
c75ec68d38 changed select:-moz-dropdown-list back to collapse from hidden, this works better in more cases
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55093 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:09:35 +00:00
blizzard%redhat.com
693cc4f3c0 Clean up Destroy() and focus handling. fix bug #19302
git-svn-id: svn://10.0.0.236/trunk@55092 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:09:25 +00:00
rods%netscape.com
9f71844e59 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301


git-svn-id: svn://10.0.0.236/trunk@55091 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:07:43 +00:00
rods%netscape.com
6f46990bc8 changing generated and psuedo content frames to inherit
r=kmcclusk bug 20301


git-svn-id: svn://10.0.0.236/trunk@55090 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:06:53 +00:00
valeski%netscape.com
8d420bdb8c r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :)
git-svn-id: svn://10.0.0.236/trunk@55089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:02:30 +00:00
rods%netscape.com
06dcead5d1 bad or of flags, r=dcone, bug 13745
git-svn-id: svn://10.0.0.236/trunk@55088 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:54:39 +00:00
akkana%netscape.com
b7c2823d4c 18033: hook up the motion commands to real commands now that the stubs are in place. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@55087 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:53:02 +00:00
erik%netscape.com
ed399a586a bug 17856; added 2 more font charset names to the table so that we can use
those Taiwanese fonts too; r=ftang


git-svn-id: svn://10.0.0.236/trunk@55086 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:49:27 +00:00
akkana%netscape.com
52b17eda5e 18033: Editor changes to use the new nsISelectionController interface.
Triggered from key events.  Untested since the nsISelectionController
  implementation isn't in yet (bug 18046), but key events do call
  the stub routines.  r=mjudge


git-svn-id: svn://10.0.0.236/trunk@55085 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:47:30 +00:00
dougt%netscape.com
fd347bcedd Fix tabs.
added enumerator.


git-svn-id: svn://10.0.0.236/trunk@55084 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:50 +00:00
akkana%netscape.com
f6184abf8e 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge


git-svn-id: svn://10.0.0.236/trunk@55083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:21 +00:00
ducarroz%netscape.com
d86937364e Fixbuild bustage. It was generating a lib instead of a share lib and several others setting was wrong.
git-svn-id: svn://10.0.0.236/trunk@55082 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:17:03 +00:00
petitta%netscape.com
6dbeca04a0 This file used to fill in empty folders so ZIP will pick up the folder hiearchy
git-svn-id: svn://10.0.0.236/trunk@55081 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:02:54 +00:00
petitta%netscape.com
96222301bc Found a better place for this file. in cck\build" DeleteThisFile
git-svn-id: svn://10.0.0.236/trunk@55080 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:00:59 +00:00
petitta%netscape.com
1dad7c3d4a used to fill in empty folders that wont normally get picked up by zip
git-svn-id: svn://10.0.0.236/trunk@55079 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:57:11 +00:00
saari%netscape.com
de3e84d435 Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
regardless of the ESM instance you call it from. Editor guys need this for bug 20225


git-svn-id: svn://10.0.0.236/trunk@55078 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:55:17 +00:00
norris%netscape.com
67b2b41af0 remove invalid test
git-svn-id: svn://10.0.0.236/trunk@55077 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:04:48 +00:00
norris%netscape.com
34b0e9dc86 EvaluatorExceptions should set an exit error code.
git-svn-id: svn://10.0.0.236/trunk@55075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 19:12:34 +00:00
norris%netscape.com
d129821369 Pass a scope to ScriptRuntime.call so we can throw EcmaErrors if need be.
git-svn-id: svn://10.0.0.236/trunk@55074 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 18:17:22 +00:00
despotdaemon%netscape.com
188545d820 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@55073 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 16:24:51 +00:00
morse%netscape.com
3471a1b69c fix bug 20164, cookie viewer crashed on long cookies, r=andreas.otte
git-svn-id: svn://10.0.0.236/trunk@55072 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 14:23:28 +00:00
brade%netscape.com
b6cccbf28a handle state where controls aren't displayed (Fewer) and we need to store values until the controls are restored (More) or dialog is dismissed. (Bug #20279; r=sfraser@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@55071 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 13:25:41 +00:00
tbogard%aol.net
c494d95016 Added new interface nsIDocShellTreeNode that will replace nsIDocShellContainer.
git-svn-id: svn://10.0.0.236/trunk@55070 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 11:54:40 +00:00