319 Commits

Author SHA1 Message Date
cbiesinger%web.de
2ce1496a15 97324 r=peterl/jst sr=jst/bz nsContentDLF.cpp should not use a static list of image types; also: 192023 Make DocLoaderFactories a service
git-svn-id: svn://10.0.0.236/trunk@138608 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 13:51:55 +00:00
bryner%netscape.com
48b399202c Removing a couple of dead files.
git-svn-id: svn://10.0.0.236/trunk@135724 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-31 00:55:12 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
rods%netscape.com
f94983c561 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@131423 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 13:17:56 +00:00
dougt%netscape.com
57028338f0 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
alecf%netscape.com
feeeaa6162 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@126549 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:51:42 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
jkeiser%netscape.com
9ed7ccc48f Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:08:56 +00:00
radha%netscape.com
2bd74e926a Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
rods%netscape.com
20b4083174 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
locka%iol.ie
dbfc30244c Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 13:01:38 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
shanjian%netscape.com
3356940ad2 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
danm%netscape.com
20e05520b9 adding an nsILoadGroup parameter to nsIDocumentLoaderFactory::CreateBlankDocument. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108229 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:06:56 +00:00
danm%netscape.com
17ff11d2db initial (disabled) cut at creating about:blank documents synchronously. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107393 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:24:39 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
alecf%netscape.com
1115fa5f28 bug 100113, r=jag, sr=blizzard - remove some dumb dependencies on dom and gfx
git-svn-id: svn://10.0.0.236/trunk@106871 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:43:27 +00:00
locka%iol.ie
8693f97742 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 r=jaggernaut@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:08:30 +00:00
pinkerton%netscape.com
f357dde28e freezing interface for embedding. r=chak/sr=alecf. bug#99623
git-svn-id: svn://10.0.0.236/trunk@104352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 22:03:21 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +00:00
dr%netscape.com
11f8827691 fix for 78010 (implement nsIClipboardHelper). r=pavlov, pinkerton, hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@94436 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:35:00 +00:00
disttsc%bart.nl
3de766b659 Bug 45143: fix <meta http-equiv="refresh" content="X; url=URI"> to accept URI which contain commas. While I'm at it, merging the implementations in nsDocShell.cpp and nsHTMLContentSink.cpp. r=brendan@mozilla.org, sr=rpotts@netscape.com, a=hofmann
git-svn-id: svn://10.0.0.236/trunk@92825 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 08:11:12 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
valeski%netscape.com
e028f93870 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
git-svn-id: svn://10.0.0.236/trunk@90298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:22:18 +00:00
radha%netscape.com
af35982fcc Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock
git-svn-id: svn://10.0.0.236/trunk@87104 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:10:16 +00:00
rods%netscape.com
ca25456113 Printing of selected frameset frames and Iframes
Bug 66783 r=dcone sr=buster,attinasi


git-svn-id: svn://10.0.0.236/trunk@86352 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:03:17 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
pinkerton%netscape.com
2baa86a01a clean up interface, per directions. adding copyLinkLocation(), and specifying semantics of selectNone() wrt insertion point location. Implemented selectNone(). r=saari/a=hyatt. bug#s 46867, 63001
git-svn-id: svn://10.0.0.236/trunk@83971 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:13:46 +00:00
disttsc%bart.nl
b34ed638cd Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82496 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:30:35 +00:00
mscott%netscape.com
392f47f802 Bug #56938 --> add a method for setting up a refresh uri given just a channel.
r=sspitzer, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@82137 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:03:22 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
edburns%acm.org
f4ed6ebe07 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
dbaron%fas.harvard.edu
38b11b0554 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
valeski%netscape.com
75f3656c64 fixing IID collision, a=leaf
git-svn-id: svn://10.0.0.236/trunk@74465 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 17:23:20 +00:00
valeski%netscape.com
7ab521def4 adding xpidl module
git-svn-id: svn://10.0.0.236/trunk@74427 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:45:53 +00:00
valeski%netscape.com
181de06fa6 do not need the dot specifier for unix
git-svn-id: svn://10.0.0.236/trunk@74418 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:04:25 +00:00
valeski%netscape.com
7bdbdf782f 45723. idl'ized some ifaces and removed some cruft
git-svn-id: svn://10.0.0.236/trunk@74409 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:21:25 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
pinkerton%netscape.com
4d88da0c4a remove .h files that have been moved into idl. r=valeski (bug #45723).
git-svn-id: svn://10.0.0.236/trunk@74405 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:11:33 +00:00
pinkerton%netscape.com
08857bf0bd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74401 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:02:39 +00:00
valeski%netscape.com
ba47bca9e1 not part of the build. adding idl'ized version of this iface
git-svn-id: svn://10.0.0.236/trunk@74376 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 15:03:16 +00:00
valeski%netscape.com
060e64fefb not in build. removing this one as one in docshell is going to replace it
git-svn-id: svn://10.0.0.236/trunk@74375 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 06:59:30 +00:00
valeski%netscape.com
3d169563fb 45723. not part of the build. idl'izing some interfaces. will throw the switch tomorrow
git-svn-id: svn://10.0.0.236/trunk@74361 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:35:55 +00:00
cls%seawood.org
7fb57d53ad Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
git-svn-id: svn://10.0.0.236/trunk@73643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:44:42 +00:00