Commit Graph

584 Commits

Author SHA1 Message Date
hyatt%netscape.com
085f789265 Added a method to webshell so that a root container can find out when
new webshells are added to its hierarchy.
1999-04-20 01:50:03 +00:00
hyatt%netscape.com
bdd9fd47e1 Changes to enable an asynchronous creation of a webshell in response to a
window.open call.
1999-04-19 21:08:44 +00:00
hyatt%netscape.com
e6b90f3347 Added support for chrome vs. content in the webshell. Altered some methods
so that they know how to go across the chrome vs. content boundary.
1999-04-16 08:15:04 +00:00
michaelp%netscape.com
04b6780a88 added zooming front end. 1999-04-16 04:25:17 +00:00
waterson%netscape.com
cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
waterson%netscape.com
0a0b15da60 nsISupportsArray::RemoveElement() returns an nsresult, not a PRBool. 1999-04-14 20:42:48 +00:00
radha%netscape.com
58c1fd0c96 Fix for bug 4668. Make sure that all children documents have finished loading
before calling OnEndDocumentLoading.
1999-04-13 00:19:48 +00:00
davidm%netscape.com
66a58a43bb Remove #ifdef Mac code now that the mac uses the EventQueue Service 1999-04-12 22:49:38 +00:00
joki%netscape.com
4bece97409 New argument to nsIWebShellContainer::FocusAvailable method 1999-04-12 21:25:08 +00:00
gayatrib%netscape.com
a17030501a Added profile module 1999-04-11 09:40:22 +00:00
karnaze%netscape.com
5c121e8bd6 bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
joki%netscape.com
56f3dc11a6 Fix for bug 4001, crashing immediately or on exit after tabbing to end of doc. A: chofmann. 1999-04-09 20:35:18 +00:00
law%netscape.com
8fd0a4e421 File download; approved by chofmann 1999-04-08 04:21:15 +00:00
nisheeth%netscape.com
b48eb32ab9 Fix for bug 3413. I had to reapply the fix because it got trashed during the
work that happened on the document load observation APIs.
1999-04-08 04:08:49 +00:00
radha%netscape.com
e86caa3802 Remove few debug printfs 1999-04-06 21:25:06 +00:00
radha%netscape.com
711080a640 Webshell implements the new nsIDocumentLoaderObserver interface 1999-04-06 21:01:04 +00:00
sspitzer%netscape.com
355c7fad39 use nsString instead of of nsAutoString, since that is what the function takes 1999-03-31 19:08:53 +00:00
ramiro%netscape.com
532f507e84 delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
pierre%netscape.com
afe0c71fc1 Use delete[] for strings allocated with ToNewCString(). 1999-03-30 00:54:56 +00:00
joki%netscape.com
3ee2a13826 Adding unload event 1999-03-29 23:01:13 +00:00
sspitzer%netscape.com
2bc3c0e46a fix build breakage on Linux
the build breakage only happens if you build with -pedantic
1999-03-29 22:04:04 +00:00
rpotts%netscape.com
8eb73e4fce Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell... 1999-03-29 09:21:01 +00:00
joki%netscape.com
e39e13cf18 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
nisheeth%netscape.com
8daf5c5e1c Checking in webshell patches from Bruce Mitchener (bruce@cybersight.com). Thanks a lot. 1999-03-25 03:30:35 +00:00
beard%netscape.com
64f5b1f967 added pluginInstanceOwner::GetDocument() 1999-03-24 05:43:09 +00:00
ftang%netscape.com
a396c8feb7 add Set/GetDefaultCharacterSet to nsWebShell. Reviewed and approved by nisheeth 1999-03-22 22:21:22 +00:00
danm%netscape.com
493f3c64d9 plug leak in CheckForTrailingSlash. r:nisheeth 1999-03-22 21:53:58 +00:00
nisheeth%netscape.com
8256161ceb Fix bug 3413. Approved by chofmann. Reviewed by rpotts. We check nsIURL's
address in nsWebshell::OnStartBinding() and if a trailing slash has been
added to it, we replace the topmost history entry with the new address.
1999-03-18 01:07:22 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
law%netscape.com
58a7aafc0f Adding url listener support 1999-03-13 03:31:55 +00:00
hyatt%netscape.com
9cf9918ee2 Enhanced the document loader to handle subdocuments. 1999-03-12 05:20:29 +00:00
amusil%netscape.com
cabca15143 Added some mimetypes. Fixed bugs. 1999-03-11 22:49:51 +00:00
michaelp%netscape.com
d4ba88584d fixed memory leak. 1999-03-11 05:45:52 +00:00
morse%netscape.com
997797e21a changes for wallet 1999-03-10 21:42:45 +00:00
ramiro%netscape.com
eb2ce0674f Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
ramiro%netscape.com
8a849f863a Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
beard%netscape.com
448fb5de76 Using the service manager to access the plugin manager, because it needs to be a singleton. 1999-03-08 00:01:02 +00:00
joki%netscape.com
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
ftang%netscape.com
ff01627a7c add CID for lwbrk 1999-02-17 15:30:26 +00:00
pinkerton%netscape.com
eff5525b83 no longer implements nsIToolbarItem because this interface is obsolete. 1999-02-16 17:35:53 +00:00
rickg%netscape.com
de5fffb57b allow plain text file to be handled by HTML document 1999-02-16 07:37:53 +00:00
waterson%netscape.com
085a8b47ad Got rid of #include's, too. 1999-02-15 19:56:47 +00:00
waterson%netscape.com
4aa3bc8de1 Got rid of nsIRDFDocument: we never use it here anyway. 1999-02-15 19:53:55 +00:00
troy%netscape.com
3060f3cea1 Fixed a bunch of "const" problems 1999-02-14 06:35:01 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
8525cc47d4 Factored out the code that checked for anchors within the current document so
that "back" and "forward" used it, too
1999-02-12 17:32:17 +00:00
kipp%netscape.com
3a1d86932f Removed some warnings 1999-02-12 17:14:26 +00:00
troy%netscape.com
0ff08d7805 Changed LoadURL() to look at the destination anchor and see if it's an element
within the current document. If so, it calls the pres shell's GoToAnchor()
function
1999-02-12 05:43:46 +00:00
waterson%netscape.com
12a702f4a8 RDFDocument is now XULDocument. 1999-02-09 03:16:17 +00:00
ftang%netscape.com
1adbcea447 add several intl componment into nsSetupRegistry 1999-02-04 15:55:58 +00:00
amusil%netscape.com
4ede2ec9d9 Corrected error in the use of CIIDs and IIDs 1999-02-04 00:03:18 +00:00
hyatt%netscape.com
e4778d0f18 Implementing the XUL content sink. Teaching the document loader that it
can instantiate files of type "text/xul" using RDF.
1999-02-03 02:43:32 +00:00
waterson%netscape.com
08d1869b50 Content model builder CID now specified by XML processing instruction. 1999-02-01 22:30:42 +00:00
ftang%netscape.com
85f86f3c27 add -I uconv 1999-01-30 16:52:29 +00:00
joki%netscape.com
785c19b2d1 Adding new history interface method onto webshell, removing enums types from linkhandler 1999-01-28 23:13:48 +00:00
michaelp%netscape.com
5805db03b3 modified for new DrawString() API. 1999-01-28 05:05:14 +00:00
rods%netscape.com
70bb3c7d63 The :prefs" variable in the "Print" method is null so I changed
NS_RELEASE(prefs) to NS_IF_RELEASE(prefs) why is prefs null??
1999-01-27 15:25:56 +00:00
rods%netscape.com
8759206a92 I uncommented out the progation of the EndLoadURL notification 1999-01-27 03:50:10 +00:00
amusil%netscape.com
350f11e0fa Fixing build bustage 1999-01-25 12:18:51 +00:00
amusil%netscape.com
5c2d63cafb Changed function name 1999-01-25 10:57:57 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
peterl%netscape.com
291b002887 sync to style set api change 1999-01-23 07:09:27 +00:00
troy%netscape.com
6810e3ae38 Fixed a memory leak of the web shell in LoadURL() 1999-01-23 04:16:18 +00:00
radha%netscape.com
00e422d147 gWebShell_UnixEventQueue is gone. Use the Event queue service instead 1999-01-23 00:52:01 +00:00
karnaze%netscape.com
44d24e235a added GetIsFrame, SetIsFrame to distinguish <frame> documents 1999-01-19 23:14:31 +00:00
rpotts%netscape.com
5a21fff729 fixed bug when firing the OnConnectionsComplete() notification. If one of the listeners initiated a new URL load then state in the doc loader became inconsistent... 1999-01-19 22:48:05 +00:00
karnaze%netscape.com
d29710743f <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
rpotts%netscape.com
7dd5ee5f53 The DocumentLoader is now a global service. Rather than creating document loaders via the factory, they are now created as child loaders of the global DocumentLoader service which is accessable via GetService. 1999-01-17 11:48:58 +00:00
davidm%netscape.com
ec9d3ae727 2258 [PP] Messed up drawing after scrolling 1999-01-16 00:38:32 +00:00
pierre%netscape.com
6b3fe446e8 no longer ignores the returned value from m_Observer->OnStartBinding(). This allows embedding apps (eg. Intuit) to intercept and filter URLs. 1999-01-15 22:34:46 +00:00
rpotts%netscape.com
ffc406e017 Added some more debug trace messages... 1999-01-15 10:10:46 +00:00
rpotts%netscape.com
c62636aecb Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver... 1999-01-14 06:44:23 +00:00
waterson%netscape.com
d1081a74f9 Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources. 1999-01-12 19:41:06 +00:00
rpotts%netscape.com
2dfc4dc095 Changed to use the EventQueue service rather than the PL_InitializeEventsLib() and GetMainEventQueue() apis... 1999-01-10 08:18:25 +00:00
kipp%netscape.com
5ca010bd96 Added in code from bug #1935 to improve auto-protocol handling on urls 1999-01-09 02:00:42 +00:00
rpotts%netscape.com
2b7c69f19b Bug fix from Davide Pasetto (dipo@sis.it) for nsWebShell::Init(...). I Also changed a bunch of checks against NS_OK to use the NS_SUCCEEDED() and NS_FAILED() macros... 1999-01-08 00:32:55 +00:00
rpotts%netscape.com
4ac04e8dae Use the EventQueueService to get the event queue for the UI thread... 1999-01-05 09:46:33 +00:00
rpotts%netscape.com
9b9408cc44 Fixed the firing of the OnConnectionsComplete(...) notification so it worked correctly in framesets... 1998-12-29 04:45:00 +00:00
pierre%netscape.com
f8315aa628 Improve performance on Mac: make the root view invisible 1998-12-20 13:16:13 +00:00
davidm%netscape.com
6b8a3d666d Add mac code to get NSPR event queue for dispatching of link click events 1998-12-16 22:05:04 +00:00
ramiro%netscape.com
a885776445 Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
anality.
1998-12-16 10:27:49 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
michaelp%netscape.com
18a7ed72a7 we no longer tell the widgets to paint themselves as a result of
a resize operation.
1998-12-15 05:45:05 +00:00
kipp%netscape.com
831535719e Landed a patch from bobg@zanshin.com 1998-12-15 01:34:36 +00:00
dcone%netscape.com
c6014a9c03 moved the begindocument() so things can be set up before the device context is inited and the size of the printer page is needed. 1998-12-11 16:07:10 +00:00
troy%netscape.com
a6b423f947 Changes to nsPrintOptions 1998-12-10 03:06:30 +00:00
troy%netscape.com
311641cb40 Changed StartDocument/EndDocument to use the correct device context 1998-12-09 23:12:56 +00:00
troy%netscape.com
6de236993c Moved StartDocument/EndDocument calls from page sequence frame to Print(). This
fits better with the Mac printing model
1998-12-09 22:36:17 +00:00
kipp%netscape.com
8aff77b70d Implement new NewWebShell API 1998-12-08 02:39:48 +00:00
troy%netscape.com
d31fad8e94 Changed Print() to use nsIPageSequenceFrame. Now we can print to multiple
pages
1998-12-07 03:45:30 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
waterson%netscape.com
0233a245ca Changed RDF document CID. 1998-12-04 10:01:42 +00:00
troy%netscape.com
969ef68900 Changed Print() to use a print context instead of a galley mode
context
1998-12-02 03:26:37 +00:00
waterson%netscape.com
62a440cd1b Added factory method for RDF documents. 1998-12-02 00:28:27 +00:00
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
mjudge%netscape.com
542442606d fixing files for stupid hack in nsComFactory.cpp 1998-11-29 23:19:24 +00:00
kipp%netscape.com
394ccd6829 Hide some noise; pass on Stop to content-viewer 1998-11-26 18:06:47 +00:00
kipp%netscape.com
de5a385241 XPCOMize API; added Stop method 1998-11-26 18:06:25 +00:00
kipp%netscape.com
a75d2cff3c Removed duplicate init 1998-11-26 18:06:08 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
michaelp%netscape.com
e943cafaea fixed non-painting controls on certain resize operations in xpviewer. 1998-11-25 02:52:04 +00:00
kipp%netscape.com
c10779fd3a Added some debug noise (disabled by default) for document creation 1998-11-23 17:18:08 +00:00
vidur%netscape.com
fe7eee67f9 Partial fix for bug 1256. A script context should always be created for each new script global object. 1998-11-23 08:09:11 +00:00
rpotts%netscape.com
0d0e64a4ad Return NS_BINDING_FAILED if nw stream was created... 1998-11-22 09:28:44 +00:00
troy%netscape.com
0c7fbc0e79 Changed Destroy() to release references to and destroy its child
web shells. This fixes it so we don't leak all of the web shells for
frameset documents
1998-11-22 03:11:26 +00:00
jfrancis%netscape.com
c94c4f2d6e shared lib conversion, phase 1 1998-11-21 08:29:45 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
pnunn%netscape.com
f57a8ac72d png is an interal format... -pnunn 1998-11-20 23:33:46 +00:00
kipp%netscape.com
20f8806632 Removed some noise 1998-11-19 17:23:27 +00:00
troy%netscape.com
f4d0572d25 Removed spaces around '::' 1998-11-18 16:20:39 +00:00
rods%netscape.com
0c1b5e43a0 Added a check for a NULL nsIDeviceContextSpec. This happens when the user "cancels"
out of the print dialog.
1998-11-16 22:25:57 +00:00
michaelp%netscape.com
892909532f changes to support printing. 1998-11-14 01:58:34 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
rickg%netscape.com
2f234d74a2 allow view-source on XML 1998-11-13 04:36:46 +00:00
vidur%netscape.com
2ecd262ffe Added XML display support. Creation of XML document for text/xml and application/xml 1998-11-11 22:07:03 +00:00
rickg%netscape.com
d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
rods%netscape.com
7d1aadab97 Commented out the 3D border hint for the WebShell window. 1998-11-11 20:17:09 +00:00
rickg%netscape.com
c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
rpotts%netscape.com
6d0f1e2822 Pass the view command as the default for the webshell to the document loader... 1998-11-11 10:58:14 +00:00
rpotts%netscape.com
aebd3bda2a do not allow the stream listener to be freed during a call to OnDataAvailable... It is possible, that OnStopBinding() wil lbe called while the listener is processing the data (ie. the URL load is interrupted). If this happens, do not free the listener until the OnDataAvailable() call has finished... 1998-11-10 07:06:02 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
joki%netscape.com
6a33c7f0db Adding focus passing method to nsIWebShellContainer 1998-11-06 01:30:07 +00:00
rpotts%netscape.com
4c7b5f52a5 fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called... 1998-11-05 05:39:16 +00:00
rods%netscape.com
ca3be3b243 Made change for GetBounds to GetClientBounds conversion 1998-11-04 21:41:26 +00:00
rpotts%netscape.com
b7b0e8a47f Added a skidmark when a content viewer cannot be found for a given content-type... 1998-11-04 08:49:05 +00:00
rpotts%netscape.com
f53ca9fbd3 Moved the clipboard methods from nsIWebShell into a new interface called nsIClipboardCommands... 1998-11-04 08:48:22 +00:00
michaelp%netscape.com
dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
rpotts%netscape.com
d791267127 Removed the implementation of the nsIDocumentLoadInfo interface. This is an obsolete interface. 1998-11-03 10:09:42 +00:00
rpotts%netscape.com
68fe50faeb Added support of the nsInetsupport interface. The implementation simply calls out through the observer (if it supports nsInetSupport) 1998-11-03 08:03:22 +00:00
rpotts%netscape.com
715c11690a Removed the implementation of nsINetSupport... 1998-11-03 08:02:33 +00:00
rods%netscape.com
87ab8f4f4a Added an extra parameter to the Init to tell it whether it should have a sunken border 1998-11-02 22:19:08 +00:00
rods%netscape.com
0fb31f1113 Added FindNext 1998-11-02 19:11:43 +00:00
rpotts%netscape.com
a63c71ca52 Release the stream observer when stopping a document load. This will break the circular reference between the webshell and the docloader... 1998-10-30 07:10:10 +00:00
troy%netscape.com
e44e25e95c Removed some #if 0 code that's no longer needed 1998-10-30 04:01:39 +00:00
michaelp%netscape.com
fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
troy%netscape.com
44abe875c4 Changed BODY to be wrapped in a scroll frame 1998-10-29 23:37:56 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp%netscape.com
15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
vidur%netscape.com
94f6316cfc Added GC method to script context 1998-10-26 23:22:59 +00:00
karnaze%netscape.com
e1ceeac414 bug 1136 1998-10-26 18:37:04 +00:00
kipp%netscape.com
bf3ef5d794 Port to new DrawString API 1998-10-26 17:12:48 +00:00
rods%netscape.com
f6c56f3956 Added selection APIs 1998-10-23 20:47:57 +00:00
rpotts%netscape.com
05058348f9 Fixed build bustage... 1998-10-21 23:33:52 +00:00
rpotts%netscape.com
2b5dd1db41 Move the call to stop before firing the BeginLoadURL notification... This will keep the BeginLoad/EndLoad notifications paired correctly... 1998-10-19 20:41:50 +00:00
rpotts%netscape.com
c594ed5fe7 Call nsINetService::InterruptStream() when stopping a URL... 1998-10-16 22:30:57 +00:00
kipp%netscape.com
763a9cbc30 Implement CreateDocumentViewerUsing method 1998-10-15 23:22:44 +00:00
rpotts%netscape.com
1e5af1e943 Added null tests after getting the plugin instance... 1998-10-14 23:57:12 +00:00
valeski%netscape.com
e3c8021eca changed type BOOL to PRBool to get rid of warnings 1998-10-14 23:10:41 +00:00
rpotts%netscape.com
c5bd83361e Only fire the OnConnectionsComplete(...) notification once per document... 1998-10-10 05:54:58 +00:00
rpotts%netscape.com
36c40aaad7 Removed assert that was not threadsafe... 1998-10-10 05:00:17 +00:00
rpotts%netscape.com
88a00fc77e Added support for the loading of background URLs... 1998-10-10 04:33:29 +00:00
rpotts%netscape.com
8d8b7aa3ce renamed docloader LoadURL to LoadDocument... 1998-10-09 05:50:29 +00:00
rpotts%netscape.com
4077575285 Wired up notifications of URLs loaded via OpenStream out to the StreamObserver... 1998-10-09 05:49:34 +00:00
rpotts%netscape.com
54850b3897 Fixed RefCounting bug where following links would decrement the WebShell ref count :-( 1998-10-07 12:15:48 +00:00
troy%netscape.com
c0d10e1fec Fixed circular ref counting problem that was keeping throbber from being
freed
1998-10-07 00:38:57 +00:00
troy%netscape.com
ce220b9056 Changed throbber and web shell to not aggregate in the widget 1998-10-06 22:33:13 +00:00
pierre%netscape.com
87764930d1 fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions 1998-10-06 03:00:28 +00:00
joki%netscape.com
29182f432e Don't look for new webshell during link clicks if no target specified 1998-10-02 22:56:52 +00:00
rpotts%netscape.com
a26a8496c9 Added GetBrowserWindow() method and passed OnStatus and OnProgress messages out through the nsIBrowserWindow interface... 1998-10-02 18:44:56 +00:00
michaelp%netscape.com
db12868a7e modified for new fontmetrics/renderingcontext.
fixed memory leak.
1998-10-02 01:12:24 +00:00
rpotts%netscape.com
aba40ac4a7 Pass in a null nsIURLGroup to the image group... 1998-10-01 21:53:52 +00:00
rpotts%netscape.com
98bab44460 Fire the EndLoadURL(...) notification after all of the URLs have been loaded by the doc loader... 1998-10-01 21:49:50 +00:00
rpotts%netscape.com
ede9c6a479 The document loader now supports nsIURLGroup interface. 1998-10-01 21:48:12 +00:00
michaelp%netscape.com
db8e6bac64 we now defer plugin enumeration until we need to load one for real. 1998-09-30 18:59:03 +00:00
rods%netscape.com
807dac7936 Added the nsIToolbarItem interface and an additional init member to the interface and class 1998-09-29 00:12:09 +00:00
michaelp%netscape.com
9c75a12568 changes for new nsiplugininstanceowner. 1998-09-27 22:46:41 +00:00
rpotts%netscape.com
5df3b33a64 Reworked the way that refresh URLs are handled... 1998-09-25 22:25:21 +00:00
mcafee%netscape.com
441239c07e Rhapsody doesn't like to link with -m 1998-09-19 08:48:00 +00:00
rpotts%netscape.com
7bd9994d24 Made the nsISupports and nsIRefreshURL interfaces threadsafe... 1998-09-19 07:06:07 +00:00
joki%netscape.com
c4af68389c Adding targetting of any named window 1998-09-18 00:35:55 +00:00
troy%netscape.com
fda3dbd970 Changed some AddRef/Release calls overto use XP-COM macros 1998-09-17 21:27:22 +00:00
vidur%netscape.com
4e3024a5f9 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
valeski%netscape.com
bab22077b8 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
valeski%netscape.com
de3f9dfd38 M webshell/public/nsIDocumentLoader.h
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.


M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.


M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).

2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.


M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.


M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.
1998-09-16 00:40:20 +00:00
joki%netscape.com
357c55b191 More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
michaelp%netscape.com
9f83e611ff jumping through links now works in full screen plugins. 1998-09-15 20:21:10 +00:00
michaelp%netscape.com
14c7cc9f84 fixes for new plugin world. 1998-09-15 03:46:05 +00:00
kipp%netscape.com
b2f664e496 Fixed log module name 1998-09-15 00:18:10 +00:00
kipp%netscape.com
2b7ceeff3b Use traceable ctor design pattern 1998-09-15 00:17:53 +00:00
kipp%netscape.com
1387803d92 Use NS_ADDREF macros to enable refcnt tracing 1998-09-12 19:30:49 +00:00
pierre%netscape.com
000bfe4efc fix crash when GetFontMetrics() returns nil, which should never happen of course 1998-09-11 10:45:26 +00:00
kipp%netscape.com
29976662a8 Make full-screen plugins deactivate better 1998-09-11 04:43:27 +00:00
kipp%netscape.com
5c00612946 Support (in a shaky way) some various and sundry mime types for plugins 1998-09-09 23:51:43 +00:00
kipp%netscape.com
e52194b756 Added new source 1998-09-09 23:51:19 +00:00
kipp%netscape.com
e9d8bbfee8 new 1998-09-09 23:50:46 +00:00
joki%netscape.com
2e0dcce305 Remove duplicate functionality of nsIBrowserWindow and nsIWebShellContainer. 1998-09-09 01:19:11 +00:00
kipp%netscape.com
ace6a93d02 Flush font cache before destroying device context to break circular links (ick) 1998-09-08 22:38:48 +00:00
peterl%netscape.com
d61df5bb70 reversed doc style sheet ordering in the style set 1998-09-02 02:13:37 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
michaelp%netscape.com
0d2b243a17 changes for new viewobserver stuff. 1998-08-28 03:09:22 +00:00
troy%netscape.com
0d39ae026f Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
michaelp%netscape.com
dbd23b1190 killed viewmanager SetRootWindow() call. 1998-08-26 21:24:19 +00:00
spider%netscape.com
696ea5561a Updates to invalidate throbber after last image has completed loading 1998-08-25 14:45:24 +00:00
rpotts%netscape.com
a557f93aaf Fixed a crash when Destroy(...) was called without first calling Init(...) 1998-08-21 06:21:52 +00:00
joki%netscape.com
fb2cc8def3 Okay, another guess at this bustage. 1998-08-21 06:13:03 +00:00
joki%netscape.com
898c934c1f Why can't all those little slashes just get along. 1998-08-21 05:12:27 +00:00
vidur%netscape.com
ed5a03320a Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory. 1998-08-20 22:28:52 +00:00
rpotts%netscape.com
ef4f2ef393 moving changes in 1.36.2.1 onto the tip... 1998-08-20 06:17:47 +00:00
troy%netscape.com
ea509ef709 Changed web shell widget to NOT clip children 1998-08-19 23:13:00 +00:00
valeski%netscape.com
9c4143b645 webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.
1998-08-19 23:01:52 +00:00
michaelp%netscape.com
58241d2492 added support for opening new windows with _blank url targets. 1998-08-19 21:00:51 +00:00
valeski%netscape.com
0a20396f56 webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).
1998-08-18 23:25:17 +00:00
rods%netscape.com
795b18e02d Add SetFocus so keyboard navigation works. 1998-08-17 16:43:07 +00:00
scullin%netscape.com
39b83242e3 Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
valeski%netscape.com
94bddddfc2 webshell/src/nsDocLoader.cpp -
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.

webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.
1998-08-13 20:08:19 +00:00
vidur%netscape.com
51fe5f427d Implemented Reload() on nsIWebShell 1998-08-13 04:49:16 +00:00
vidur%netscape.com
90f219c74e Added modifyHistory option to LoadURL. 1998-08-13 04:36:42 +00:00
michaelp%netscape.com
891419af3d with -np plugins will no longer be initialized due to frames. 1998-08-12 22:06:00 +00:00
kmcclusk%netscape.com
cdbadaf7fb Added unix support for PR_ProcessPendingEvents. 1998-08-12 19:54:39 +00:00
joki%netscape.com
edb8b34146 Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
joki%netscape.com
cfd01bf968 Additional fixes to allow child webshells in framesets to be properly released. 1998-08-10 01:36:02 +00:00
joki%netscape.com
7aa37b7bb4 Fix possible addref on null pointer 1998-08-10 01:30:29 +00:00
karnaze%netscape.com
2638dac692 added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it. 1998-08-10 01:01:27 +00:00
valeski%netscape.com
3b621e7bb0 moved http:// assumption code into nsWebShell.cpp from nsBrowserWindow.cpp 1998-08-09 21:22:18 +00:00
troy%netscape.com
c2d779ef60 Now deletes the images and releases the reference to the image group 1998-08-09 16:42:06 +00:00
joki%netscape.com
b45f46d744 Partial fix for frame based and general memory leaks of webshells and prescontexts 1998-08-09 07:43:22 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
joki%netscape.com
9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
pierre%netscape.com
eb16b86a54 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
michaelp%netscape.com
1175321b05 changes for plugins. 1998-08-05 04:23:21 +00:00
kipp%netscape.com
f3c99bef88 Use flexible library naming 1998-08-05 01:40:20 +00:00
troy%netscape.com
7e130c7c36 API changes to image group 1998-08-03 04:55:21 +00:00
michaelp%netscape.com
59141b0744 tiny change to see if the unix build will come back to life. 1998-08-01 22:19:05 +00:00
rpotts%netscape.com
6cde3ae7da Added support (on WIN32 only) for the raptorweb.dll to be a COM component... 1998-08-01 06:46:38 +00:00
rpotts%netscape.com
92f005308f Added check to see if DocLoader exists before dereferencing the pointer... 1998-08-01 06:45:43 +00:00
michaelp%netscape.com
f51ff39ac4 turned on plugins. 1998-08-01 05:47:34 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
peterl%netscape.com
cdf487bf43 connected prefs 1998-07-31 06:02:06 +00:00
kipp%netscape.com
a9c5ff5a3f Make gamma 1.0 1998-07-30 16:07:18 +00:00
kipp%netscape.com
9485365e34 Removed ForceRefresh call 1998-07-30 16:07:04 +00:00
pierre%netscape.com
c803d6b8ea fixing Windows build bustage: moved NS_IMPL_IDS 1998-07-29 22:33:29 +00:00
pierre%netscape.com
c9c3bc4193 fixing Mac build: moved NS_IMPL_IDS 1998-07-29 21:06:19 +00:00
rpotts%netscape.com
df17a64406 Added a Destroy() method which is called when the WebShell container is going away... 1998-07-29 10:49:01 +00:00
kipp%netscape.com
ec0320c95f Release font metrics when done 1998-07-29 04:06:37 +00:00
michaelp%netscape.com
39dfdb5ee8 fixed build bustage. 1998-07-28 00:00:35 +00:00
michaelp%netscape.com
c9901356f0 hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
kostello%netscape.com
a6b7df24ba Implemented DoCopy to put HTML on the pasteboard
Added Dialog for DoDebugSave
1998-07-27 18:17:07 +00:00
kipp%netscape.com
9858710c0d Some hackery for image documents 1998-07-27 18:05:34 +00:00
karnaze%netscape.com
9c030a8f5c more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +00:00
troy%netscape.com
7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
joki%netscape.com
0b8640b954 Fix for unitialized var and missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:54 +00:00
rpotts%netscape.com
87b4f3728e Get rid of those unix warnings... 1998-07-24 21:03:33 +00:00
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts%netscape.com
84622e4d43 Removed an incorrect comment... 1998-07-24 05:33:29 +00:00
joki%netscape.com
838c34585d Adding GetScriptGlobalObject function to nsIScriptContextOwner interface 1998-07-24 05:07:51 +00:00
michaelp%netscape.com
8834ed6d15 cleaning and plugin preparation. 1998-07-23 20:36:06 +00:00
rpotts%netscape.com
01af9d76c0 Fixed uninitialized variable... 1998-07-23 04:25:20 +00:00
rpotts%netscape.com
d6f7d066b2 Added GetDocumentLoader(...) and support for creating nested document loaders if the webshell is nested itself... 1998-07-23 04:24:36 +00:00
kipp%netscape.com
8b5de63b88 Init mStatus 1998-07-22 23:41:36 +00:00
kipp%netscape.com
c06f064322 Implement GetURL 1998-07-22 23:40:54 +00:00
rpotts%netscape.com
6d4f155462 nsIWebShell now supports a single observer for all document loads...The DocLoader now stops any pending binds when a new document is requested... 1998-07-22 11:24:50 +00:00
rpotts%netscape.com
2b6fbde302 First pass at nested document loaders... 1998-07-22 11:23:32 +00:00
scullin%netscape.com
a1d957f419 Propagate alerts, confirms and prompts up to browser window. 1998-07-22 00:26:23 +00:00
kipp%netscape.com
cc9e6f290f Support aggregation (sort of) 1998-07-21 16:44:45 +00:00
kipp%netscape.com
297b3bbfcf Enable scripts 1998-07-21 16:44:22 +00:00
kipp%netscape.com
1791dee949 Implement IScriptContextOwner API 1998-07-21 04:46:55 +00:00
kipp%netscape.com
5cd3e18940 Added code (currently disabled) to setup the script context appropriately 1998-07-21 04:46:35 +00:00
kipp%netscape.com
b02d51daac Moved nsBrowserWindow out 1998-07-20 16:18:42 +00:00
kipp%netscape.com
348a17626d Added a reminder comment 1998-07-19 04:07:59 +00:00
kipp%netscape.com
71c38143ed Implement 1998-07-19 04:07:44 +00:00
kipp%netscape.com
9589402168 Implement new title API's; normalized factory code 1998-07-19 01:18:40 +00:00
kipp%netscape.com
dcf41358c0 Normalized factory code 1998-07-19 01:18:15 +00:00
kipp%netscape.com
c60f37ac06 Added new files 1998-07-19 01:17:50 +00:00
kipp%netscape.com
34d7ab8c5c new 1998-07-19 01:13:06 +00:00
kipp%netscape.com
8fff2e7e95 Updated build list 1998-07-18 21:50:41 +00:00
kipp%netscape.com
5dde352cb1 Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance 1998-07-18 21:50:29 +00:00
kipp%netscape.com
7e1c925f18 obsoleted 1998-07-18 21:49:35 +00:00
kipp%netscape.com
3ba64da13d new 1998-07-18 21:43:02 +00:00
kipp%netscape.com
59dab3b15c Removed debug dump methods 1998-07-17 17:55:00 +00:00
kipp%netscape.com
3deb49c15f Init unintialized variable 1998-07-17 17:54:46 +00:00
rpotts%netscape.com
589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
rpotts%netscape.com
e084a5bf89 Fix for view reference counting... A reference to the scrolling view was not being release. This prevented Scrolling views from being destroyed. 1998-07-16 00:14:03 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp
0f1ef97de2 Put prlog.h back in again 1998-07-14 01:45:01 +00:00
kipp
e880bb1b2f Removed bogus include 1998-07-14 00:57:16 +00:00
kipp
6bb6180e06 work around build bug 1998-07-13 21:37:26 +00:00
kipp
c83cf9197d Fixed tracing macro bug 1998-07-13 21:32:26 +00:00
kipp
04a5642268 Removed dead code; moved some printf's into nspr logging 1998-07-13 19:52:37 +00:00
rickg
8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +00:00
vidur
d3edec7cb8 Moved ScriptContextOwner-ship from WebWidget to the DocObserver 1998-07-08 23:46:01 +00:00
kipp
e73dd51e0c Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
rpotts
377d7f35f9 Added error checking to the document creation. IF a document cannot be found, the network load will fail and the old document will not be deleted... 1998-07-03 06:16:02 +00:00
rpotts
696bcf3e07 Changed PR_ASSERT to NS_ASSERTION... 1998-07-01 12:25:49 +00:00
rpotts
065f2ed232 Changed to use the Document Loader instead of LoadURL(...) 1998-07-01 11:31:24 +00:00
rpotts
faebd53c4d Fixed up Post data to avoid leaks... 1998-07-01 11:30:35 +00:00
rpotts
cb8f2e082c Added nsDocLoader.cpp... 1998-07-01 11:29:20 +00:00
peterl
e6f85cfca6 fixed dumping style contexts 1998-06-26 05:52:40 +00:00
vidur
79b16a3083 Added the nsIScriptContextOwner.h to aid in SCRIPT tag evaluation 1998-06-25 22:25:39 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
vidur
c0e592da07 Separated scripting global object responsibilities from the WebWidget. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:49 +00:00
karnaze
b9a228a2b2 more <iframe> support 1998-06-16 21:32:54 +00:00
karnaze
0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
joki
ba397d6ed5 Adding api to get DOM document interface through web widget. 1998-06-07 07:32:17 +00:00
spider
02ffe92ebc Link with Math library since .so needs it 1998-06-05 21:28:50 +00:00