2389 Commits

Author SHA1 Message Date
rods%netscape.com
205fc102cc added menu items to turn on/off GFX scrollbars
added menu items to save and "Goto" to two urls, this helps a lot with testing.
b=27712


git-svn-id: svn://10.0.0.236/trunk@62932 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:19:56 +00:00
tbogard%aol.net
89761089a8 This should fix mac. Close is now Destroy().
git-svn-id: svn://10.0.0.236/trunk@62927 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:53:00 +00:00
tbogard%aol.net
a73a45cc60 Removed nsIBrowserWindow.h from the export list.
git-svn-id: svn://10.0.0.236/trunk@62914 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:48 +00:00
tbogard%aol.net
ce6fc842a9 Changed nsIBrowserWindow references to reference nsBrowserWindow. nsBrowserWindow is no longer a component. More implementation to get nsBrowserWindow and nsWebBrowserChrome implementations geared towards the embedding code. made nsBrowserWindow implement nsIBaseWindow.
git-svn-id: svn://10.0.0.236/trunk@62911 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:08:43 +00:00
tbogard%aol.net
dc99b75e70 Removing un-needed include of nsIBrowserWindow.h
git-svn-id: svn://10.0.0.236/trunk@62909 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:05:10 +00:00
tbogard%aol.net
e8a57cf95e Removing un-needed forward declare of nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@62908 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:04:07 +00:00
tbogard%aol.net
e3901dac35 Removed unused parameter.
git-svn-id: svn://10.0.0.236/trunk@62903 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 08:53:46 +00:00
tbogard%aol.net
391789552a Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API.
git-svn-id: svn://10.0.0.236/trunk@62897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:06:07 +00:00
tbogard%aol.net
1e84df08e2 L"" is not legal on all compilers to pass to a PRUnichar*. So instead need a temporary nsAutoString.
git-svn-id: svn://10.0.0.236/trunk@62879 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:41:02 +00:00
tbogard%aol.net
ae2697ef17 When bringing up the View Source window, set the title and set the mode on the docShell.
git-svn-id: svn://10.0.0.236/trunk@62852 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:39:46 +00:00
tbogard%aol.net
d04edcaa2e Tweaked a comment to not mention nsIBrowserWindow which is going away.
git-svn-id: svn://10.0.0.236/trunk@62843 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:58:45 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
sspitzer%netscape.com
f310a2c535 fix build bustage. now on to send email to travis to get him to take a look.
git-svn-id: svn://10.0.0.236/trunk@62693 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:35:58 +00:00
tbogard%aol.net
4ce8b7d4f8 Removed include of "windows.h". I'm sure at one point it was needed, but it should not need to be as webShell is XP code.
git-svn-id: svn://10.0.0.236/trunk@62690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:34:30 +00:00
tbogard%aol.net
0d4c0d0f32 Added overides for the Session History navigation in docShell. Removed some old ones that were recently removed from nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@62653 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 12:02:06 +00:00
tbogard%aol.net
08c48cc383 Removed Back(), Forward(), CanBack(), and CanForward(). People wanting to do these things can use the nsIWebNavigation interface.
git-svn-id: svn://10.0.0.236/trunk@62652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 12:00:33 +00:00
tbogard%aol.net
0c4814af0b Back() and Forward() have been changed to use the nsIWebNavigation interfaces instead of the old nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@62651 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:59:55 +00:00
norris%netscape.com
a6df9af80c Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@62622 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:20:25 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
norris%netscape.com
732190b52e Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis


git-svn-id: svn://10.0.0.236/trunk@62618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:57:39 +00:00
tbogard%aol.net
2a69888732 Use the docShell APIs instead of the webshell ones where posssible. Instantiate the webBrowser Object instead of the docShell/webShell one. This starts the path for viewer to start using the embedding object completely rather than directly talking to a docShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62611 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:31:28 +00:00
tbogard%aol.net
08a88d4afc Use the docShell APIs instead of the webShell ones in some places. HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62610 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:32 +00:00
tbogard%aol.net
316fef5094 Removed the HandleUnknownContentType from the interface.
git-svn-id: svn://10.0.0.236/trunk@62595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:19:40 +00:00
tbogard%aol.net
06deacac5c ContentViewer now takes an nsIWidget instead of a native window. Don't pass the scrolling preferences through the intialization as they are always the same and ignored.
git-svn-id: svn://10.0.0.236/trunk@62594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:19:12 +00:00
tbogard%aol.net
b182b69877 Don't override every method in docShell, only those where webShell needs to do different things. Remove dependency on nsIBrowserWindow. WebShell should no longer create the native widget. Removed a number of APIs from nsIWebShell to continue thining it down until it is completely removed. Other general cleanup and removal of dead code. Sizing and positioning is left nearly completely up to docShell. The bounds must be stored locally for now as there is a problem with the sizeToContent when the child has already been reflowed on an unconstrained basis, this will be fixed soon thus allowing the removal of the locally cached bounds. HandleUnknownContentType is no longer part of nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@62587 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:05:08 +00:00
tbogard%aol.net
bc326dd50f Remove Init, SetDocLoaderObserver, GetDocLoaderObserver, SetParent, GetParent, GetChildCount, AddChild, RemoveChild, ChildAt, GetName, SetName, FindChildWithName, SetChromeEventHandler, GetContentViewer, IsBusy, SetDocument, StopBeforeRequestingURL, StopAfterURLAvailable, GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight, SetZoom, GetZoom. These should no longer be used. The docShell APIs should be used intead.
git-svn-id: svn://10.0.0.236/trunk@62586 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:04:28 +00:00
tbogard%aol.net
db656acb74 HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62560 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:22:21 +00:00
tbogard%aol.net
4b4acb4d28 Remove dependency on nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@62559 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:21:27 +00:00
tbogard%aol.net
e3d6685aec Changed function declarations of nsIDocumentLoaderObserver to use the XPIDL macro instead of the inline versions.
git-svn-id: svn://10.0.0.236/trunk@62558 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:21:01 +00:00
tbogard%aol.net
3c0b0cd800 Use the docShell APIs for initializing/ creating the docShell/ webshell object.
git-svn-id: svn://10.0.0.236/trunk@62557 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:20:07 +00:00
tbogard%aol.net
9b5d05c385 nsIDocumentLoaderObserver function declarations now use the XPIDL macro.
git-svn-id: svn://10.0.0.236/trunk@62556 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:19:38 +00:00
tbogard%aol.net
e211a20b92 Now that docShell implements SetZoom and GetZoom, just pass those function calls on to it. This frees us to clear some bloat in webShell's holding on to float mZoom. bug #30625. r=jud, waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@62373 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:00:31 +00:00
gagan%netscape.com
a495a548fb webshell's GetInterface continues with DocShell's GetInterface. r=travis. (reviewed docshell changes too) this allows necko to use the interface requester (webshell) to ask for nsIPrompt and display dialog boxes (for auths, etc)
git-svn-id: svn://10.0.0.236/trunk@62361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:40:49 +00:00
mscott%netscape.com
6fd2ac0301 Bug #21358 --> Make sure we only call the on load handler ONCE per document. This prevents a nasty loop if
the onload handler tries to load an ftp url.
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62295 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 06:02:04 +00:00
warren%netscape.com
ae3358cdc4 Fixing nsBrowserWindow to not assert in thread safety check. Needed NS_INIT_REFCNT
git-svn-id: svn://10.0.0.236/trunk@62260 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 09:10:47 +00:00
bruce%cybersight.com
447b42f657 I think this was my fix for viewer coredumping at exit on Unix.
git-svn-id: svn://10.0.0.236/trunk@62246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 22:30:30 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
cls%seawood.org
3b44e4eeef Force the install phase to build the subdirs first as dependencies are not properly handled.
git-svn-id: svn://10.0.0.236/trunk@62179 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:07:54 +00:00
norris%netscape.com
d9654e0eb0 Fix 29541
r=travis,a=jar


git-svn-id: svn://10.0.0.236/trunk@62166 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:55:40 +00:00
alecf%netscape.com
6f0548e2b9 revive xlib build (not part of default seamonkey build)
git-svn-id: svn://10.0.0.236/trunk@62134 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 08:21:46 +00:00
cls%seawood.org
6573bbb91d Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.


git-svn-id: svn://10.0.0.236/trunk@62056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 13:29:03 +00:00
pavlov%netscape.com
95b32907dc fix travis's "issues"
git-svn-id: svn://10.0.0.236/trunk@62040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:51:35 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
tbogard%aol.net
65c6aaa149 GetPositionAndSize returns the size from the stored bounds rather than relying on the incorrect widget. This should fix the viewer bustage. r=jevering, buster a=jevering.
git-svn-id: svn://10.0.0.236/trunk@62000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 23:46:03 +00:00
tbogard%aol.net
233ebc98e8 Removed call to add items to the GlobalHistory at the beginning of the load. This was causing them to be added twice. Now instead, they are added at when OnLoading is called from the DoContent. r=mscott a=jar
git-svn-id: svn://10.0.0.236/trunk@61958 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 05:25:36 +00:00
tbogard%aol.net
827e7d599b mPrefs were shadowing the ones in docShell. This fixes the bug where prefs weren't being found in presContext because the contentViewer is now being created in docShell which had a different set of prefs. r=beard a=rickg.
git-svn-id: svn://10.0.0.236/trunk@61948 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 03:22:14 +00:00
tbogard%aol.net
9f29a0ed26 WebShell now relies on the docShell for the creation of the content viewer. WebShell also provides and implementation for LoadURI that overrides the docShells so we can later do a ifdef on who should do the load. Before adding to GlobalHistory we call ShouldAddToGlobalHistory. Implemented GetMainWidget. This is work to allow getting new session history/ url loading working and work on master bug 13374. r=mscott a=jevering
git-svn-id: svn://10.0.0.236/trunk@61916 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 22:35:33 +00:00
ftang%netscape.com
d1c8b9487d fix problem I instroduced last night which do not expand "hostname" to "http://hostname"
git-svn-id: svn://10.0.0.236/trunk@61886 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:38:16 +00:00
mkaply%us.ibm.com
ff331fb22c # 25555
r= alecf@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61870 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:45:58 +00:00
ftang%netscape.com
e9aed0a808 fix bug 28171 14155 28784. escape keyword URI before pass to NS_NewURI. Correct the convertToFileURI function.
convert file: uri to be escped with the file system charset before pass to NS_NweURI
r=warren a=bobj


git-svn-id: svn://10.0.0.236/trunk@61854 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 07:07:36 +00:00