71407 Commits

Author SHA1 Message Date
edburns%acm.org
f59c24e492 r=vidur, av
a=brendan
bug=49525

This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.

Original method:

    NS_IMETHOD
    GetURL(nsISupports* pluginInst,
           const char* url,
           const char* target = NULL,
           nsIPluginStreamListener* streamListener = NULL,
           const char* altHost = NULL,
           const char* referrer = NULL,
           PRBool forceJSEnabled = PR_FALSE) = 0;

New method:

    NS_IMETHOD
    GetURLWithHeaders(nsISupports* pluginInst,
                      const char* url,
                      const char* target = NULL,
                      nsIPluginStreamListener* streamListener = NULL,
                      const char* altHost = NULL,
                      const char* referrer = NULL,
                      PRBool forceJSEnabled = PR_FALSE,
                      PRUint32 getHeadersLength = 0,
                      const char* getHeaders = NULL) = 0;

I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.

M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h


git-svn-id: svn://10.0.0.236/trunk@79207 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:57:56 +00:00
dougt%netscape.com
5b5da682a9 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts


git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:56 +00:00
mkaply%us.ibm.com
f035fc6541 #45263
r=mkaply, a=brendan
Code from samake - report locale to current and to use OS, not c runtime


git-svn-id: svn://10.0.0.236/trunk@79205 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:05 +00:00
pinkerton%netscape.com
fd26dc2028 Check if preventDefault is set before handling key events. Fix for conflicts
between menus and accesskeys. r=joki/saari. bug#40071


git-svn-id: svn://10.0.0.236/trunk@79204 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:55:19 +00:00
mkaply%us.ibm.com
94a7766af1 #45263
r=nhotta, a=brendan
Code from samake - report locale to current and to use OS, not c runtime


git-svn-id: svn://10.0.0.236/trunk@79203 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:52:17 +00:00
mscott%netscape.com
650968edc1 Bug #51631 --> set correct password dialog text
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79202 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:50:07 +00:00
ccarlen%netscape.com
89c9919b5d checkin for dougt
git-svn-id: svn://10.0.0.236/trunk@79201 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:49:59 +00:00
mkaply%us.ibm.com
e8ebaa6df7 #47874
r=rmkaply, a=brendan
Code from jkobal - step one of bring nsWindow current


git-svn-id: svn://10.0.0.236/trunk@79200 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:49:36 +00:00
mozilla.BenB%bucksch.org
28e6f23c17 Readding errously removed file, and updating to sync with Modern. r=BenGoodger
git-svn-id: svn://10.0.0.236/trunk@79199 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:46:37 +00:00
sspitzer%netscape.com
65bcd1568d fix for #51267. failure to load menu.css bug. we were
packaging up a zero length menu.css file and referencing it.
r=nbhatla,mscott


git-svn-id: svn://10.0.0.236/trunk@79198 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:44:58 +00:00
hyatt%netscape.com
6709fb945e Fix tree to select first item on arrow down. r=ben
git-svn-id: svn://10.0.0.236/trunk@79197 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:44:38 +00:00
sfraser%netscape.com
39ee26ac29 More work on 20743; better low memory handling on Mac. Better control of whether we allocate GWorlds in temp mem, make nsImageManager implement nsIMemoryPressureObserver (not turned on yet), and fix a double delete of GWorlds. r= pinkerton
git-svn-id: svn://10.0.0.236/trunk@79195 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:42:36 +00:00
sfraser%netscape.com
d345fea0ce Fix for 48887 -- truncating last char of URL. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@79194 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:34 +00:00
rogerl%netscape.com
8c20a9717a Bug #46429. r=rginda. Fixed bug in nested quantifiers.
git-svn-id: svn://10.0.0.236/trunk@79193 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:21 +00:00
kin%netscape.com
a2daff930d Fix for bug #46396: select after input confuses session history
- Remove temporary call to SetInitialValue() in CreateAnonymousContent().
      - Move all calls to SetInitialValue() out from under the 'if' statement
        they were under. This will make sure that it gets called at least
        once since there are times when GetPrefSize() and Reflow() are not
        called during the initial reflow.

r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:19 +00:00
kin%netscape.com
07f8c9439a Fix for bug #33938: Pref/reply below quoted text does not move to bottom
mozilla/mailnews/compose/nsMsgCompose.cpp

      - Scroll the selection into view after all the reply text
        is inserted and the caret is positioned.

    mozilla/editor/base/nsHTMLEditor.cpp

      - Added nsAutoEditBatch variable to InsertBreak() to make
        sure that we reflow before returning. Without this fix,
        apps like MsgCompose will not be able to scroll the
        selection properly.

r=jfrancis@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:04 +00:00
nhotta%netscape.com
02dea4a2f3 Fixing solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@79190 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:28:32 +00:00
edburns%acm.org
438c5c3e61 Added
import org.mozilla.webclient.UnimplementedException;

Fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@79189 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:00:20 +00:00
relyea%netscape.com
ede68712e5 Fix authentication tests so they work for both unix and NT.
git-svn-id: svn://10.0.0.236/trunk@79188 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:59:04 +00:00
alecf%netscape.com
45074235d3 export colorpicker.css so win32 build will start without JAR packaging
git-svn-id: svn://10.0.0.236/trunk@79187 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:49:37 +00:00
dprice%netscape.com
b4ca06a198 jar packaging changes for unix
git-svn-id: svn://10.0.0.236/trunk@79186 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:36:03 +00:00
dprice%netscape.com
cca6d0daaa jar packaging changes to the installer
git-svn-id: svn://10.0.0.236/trunk@79185 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:35:39 +00:00
dprice%netscape.com
e2f80a97f8 jar packaging for linux = on
git-svn-id: svn://10.0.0.236/trunk@79184 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:35:05 +00:00
dprice%netscape.com
35852de2b6 jar packaging = on
git-svn-id: svn://10.0.0.236/trunk@79183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:34:27 +00:00
akkana%netscape.com
18557f06ac Fixing solaris build bustage: substring workaround suggested by scc
git-svn-id: svn://10.0.0.236/trunk@79182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:27:59 +00:00
bryner%uiuc.edu
4dc7829384 Changing security build order to fix win32 clobber bustage.
git-svn-id: svn://10.0.0.236/trunk@79181 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:22:06 +00:00
relyea%netscape.com
47de8f7712 Fix certutil to read Certs from PKCS #11 modules. Make the 'all' option for
modules work for ListCerts and ListKeys. Allow password from file for these
options as well.


git-svn-id: svn://10.0.0.236/trunk@79180 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:12:13 +00:00
hyatt%netscape.com
a5ec590672 New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79179 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:10:57 +00:00
margaret.chan%sun.com
4d7af15702 Bug fix for 36567. Use /bin/type instead of which for finding the paths.
r=cls@seawood.org a=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@79177 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:58:56 +00:00
hyatt%netscape.com
6101a8e4e4 New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79176 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:50:12 +00:00
sfraser%netscape.com
473ce3bad4 Add security MANIFEST to fix build bustage. r=bryner
git-svn-id: svn://10.0.0.236/trunk@79175 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:41:33 +00:00
nelsonb%netscape.com
c2af931e2d Remove duplicate PORT_Free call. Fix bug 52633.
git-svn-id: svn://10.0.0.236/trunk@79173 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:25:26 +00:00
sspitzer%netscape.com
34e994dbfd trivial fix for #52578. initialize uninitialized variable. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@79172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:23:00 +00:00
bryner%uiuc.edu
c1e6351bb6 Fixing Mac bustage for real.
git-svn-id: svn://10.0.0.236/trunk@79171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:22:21 +00:00
bryner%uiuc.edu
7c1e8b0bb2 More bustage fixing.
git-svn-id: svn://10.0.0.236/trunk@79170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:21:01 +00:00
sspitzer%netscape.com
9c08db9b05 fix for bug #51546. work around for the bug that the onselect handler
gets called twice.  this was causing the frame src to be set twice
which was interrupting the file loading from the JAR.  r=alecf,putterman


git-svn-id: svn://10.0.0.236/trunk@79169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:19:17 +00:00
bryner%uiuc.edu
3f3639a781 Forgot a file, sorry. Fixes the win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@79168 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:17:29 +00:00
dveditz%netscape.com
7d6149de7f bug 51056 handle unreadable prefs file, patch from gemal@gemal.dk, r=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:12:59 +00:00
bryner%uiuc.edu
a1825244c5 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@79166 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:12:50 +00:00
dbragg%netscape.com
9b62c0966d Fix for 51855. Removed XPInstallNotificationsEnabled and declared _elem. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79165 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:11:56 +00:00
shanjian%netscape.com
55c0442d52 #47368 unpredefined languages entry should appears in accepted languages list once selected
ra=ftang
forgot a code path in previous checkin.


git-svn-id: svn://10.0.0.236/trunk@79164 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:01:53 +00:00
brendan%mozilla.org
3f8f557600 Fix bogus new assertion in js_AllocGCThing (r=rogerc@geocast.com).
git-svn-id: svn://10.0.0.236/trunk@79163 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:58:11 +00:00
akkana%netscape.com
c4f73d88ff 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:55:40 +00:00
nhotta%netscape.com
9045727f43 Changed to convert to unicode to avoid confuse ScanTXT when saving a message as a html file, bug 50413, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@79161 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:54:18 +00:00
nhotta%netscape.com
b894c4ee7a Changed not to free the memory which is returned to the caller, bug 50413 , r=rhp.
git-svn-id: svn://10.0.0.236/trunk@79160 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:50:30 +00:00
nhotta%netscape.com
a25f70029b Fix for a incorrect string length, changed to use converted string length intead of unicode length, bug 23418, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@79159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:49:28 +00:00
sgehani%netscape.com
451ceb3bb2 Add scrollbars to the custom dlg listbox.
[r=dbragg; nsbeta3+ bscape=2288]


git-svn-id: svn://10.0.0.236/trunk@79158 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:41:00 +00:00
hyatt%netscape.com
1e6074f60a New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:40:03 +00:00
saari%netscape.com
e6e7838b72 Fix for 51934, mac only. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@79156 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:39:18 +00:00
bryner%uiuc.edu
96451786db removed files: mozilla/extensions/psm-glue/public/nsISSLSocketProvider.idl, mozilla/extensions/psm-glue/public/nsISecretDecoderRing.idl, mozilla/extensions/psm-glue/public/nsISecureBrowserUI.idl
git-svn-id: svn://10.0.0.236/trunk@79154 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:28:12 +00:00