Commit Graph

344 Commits

Author SHA1 Message Date
dougt@netscape.com
a70fce6f87 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
dbaron@fas.harvard.edu
dbe136f19b Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
rods@netscape.com
5c725ca01e removing GfxListControlFrame support code
Bug 62960, r=kmcclusk sr=hyatt
2001-01-10 14:44:42 +00:00
locka@iol.ie
80f0da679b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
dougt@netscape.com
69c6964d59 + 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
2000-09-14 22:56:56 +00:00
mjudge@netscape.com
ab294f3f8f small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
mcafee@netscape.com
3ed8044cb3 Removing unnecessary include, goes with solaris patch I just checked in (htmlparser) 2000-08-31 22:09:52 +00:00
dbaron@fas.harvard.edu
ef442631b7 Attempt to fix AIX bustage by adding get(). AIX started thinking this call to nsIWidget::Create was ambiguous when the first parameter was made an nsCOMPtr (couldn't decide whether it was the Create() taking a void* or an nsIWidget*). r=kin 2000-08-31 13:40:17 +00:00
beard@netscape.com
45046450a0 fixing crasher, reference counting problems. r=ccarlen 2000-08-31 02:26:44 +00:00
locka@iol.ie
eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
scc@mozilla.org
cd2e18c562 fixing code that relied on implicit string construction 2000-08-20 00:45:05 +00:00
warren@netscape.com
6f80157f22 Added a cast to make gcc happy. 2000-07-25 06:31:20 +00:00
warren@netscape.com
dc6e48adee Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
morse@netscape.com
ad3b9dfa5b bug 44146, improperly parented modal dialogs, r=danm 2000-07-12 02:29:53 +00:00
warren@netscape.com
0036ab32f0 Bug 41390. js prompt() contains remember this value checkbox. r=morse 2000-06-17 01:57:36 +00:00
warren@netscape.com
aa7dcf3133 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
mkaply@us.ibm.com
3d18fc566b # 34082
r= alecf
OS/2 bring up continues - VisualAge PR_CALLBACKs and #ifdefs
2000-05-02 23:16:41 +00:00
rods@netscape.com
047cbcc1d9 added the menus and code to dump reflow stats when they are turned on. 2000-04-28 23:38:19 +00:00
mjudge@netscape.com
f1f7c193b9 small change to the way you get selection 2000-04-28 06:22:07 +00:00
scc@netscape.com
a022ee22a2 making string conversions explicit 2000-04-27 21:24:29 +00:00
anthonyd@netscape.com
2abd11ee91 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
scc@netscape.com
cdb72918cf making string conversions explicit 2000-04-18 10:22:00 +00:00
tbogard@aol.net
f1a7799306 Fixed viewer to implement SizeBrowserTo and on notification of a location change make sure not to try poking data into a field that isn't there (the location one). CLEANUP_WIDGET now checks to see if the widget is in existence before destroying it. Bug #34433 2000-04-12 09:25:46 +00:00
tbogard@aol.net
0db1be2bd9 Added handling for the webProgress status changes. 2000-04-04 02:46:17 +00:00
attinasi@netscape.com
5818fabee1 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
tbogard@aol.net
4c8c5c3ad0 nsWebBrowserChrome is now a nsIWebProgressListener. The location bar is now updated in response to nsIWebProgressListener instead of nsIWebShellContainer::BegineLoadURL. 2000-03-30 02:28:59 +00:00
tbogard@aol.net
cf615f367d nsIBrowserWindow::GoTo no longer takes the command parameter. Converted calls to nsIWebShell for loading an URL to use nsIWebNavigation interface instead. 2000-03-29 10:27:08 +00:00
scc@netscape.com
1c9deee7ca small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
rods@netscape.com
6f50a06d1e added a menu item for turning on GfxListboxes and GfxComboboxes and the the setting prefs
r=dcone b=18895
2000-03-24 15:52:21 +00:00
rods@netscape.com
43d0e18590 add a clean up macro for releasing viewer widgets and then checking there refcnts
r=dcone b=32448
2000-03-22 15:26:50 +00:00
rods@netscape.com
3f39f179e0 Added releases and asserts for cleaning up viewer when it shutsdown.
b=32448 r=kmcclusk
2000-03-21 21:56:59 +00:00
karnaze@netscape.com
2e5bcc3452 bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods. 2000-03-20 23:39:22 +00:00
jdunn@netscape.com
521295b22a fixing build bustage on HP. Complaining of char * being deprecated.
r= rods@netscape.com
2000-03-15 01:19:43 +00:00
jst@netscape.com
f94b8aff00 Fixing build bustage. 2000-03-14 16:24:34 +00:00
rods@netscape.com
701580d918 I hate doing this, but a minor change to make the depend builds go green 2000-03-14 15:51:27 +00:00
rods@netscape.com
63fb897c81 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
2000-03-14 14:19:56 +00:00
tbogard@aol.net
143581a69f 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. 2000-03-14 11:08:43 +00:00
rickg@netscape.com
f893513a91 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard@aol.net
d4d2c9ef61 Back() and Forward() have been changed to use the nsIWebNavigation interfaces instead of the old nsIWebShell. 2000-03-11 11:59:55 +00:00
tbogard@aol.net
de8025ff09 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. 2000-03-11 01:31:28 +00:00
warren@netscape.com
28142b6709 Fixing nsBrowserWindow to not assert in thread safety check. Needed NS_INIT_REFCNT 2000-03-06 09:10:47 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
tbogard@aol.net
1c7bf629cf 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 2000-03-02 07:13:02 +00:00
pollmann@netscape.com
5537b5cf03 Bug 28670: Remove unneeded scrollparam to webshell::Init r=travis a=rickg 2000-02-29 06:51:39 +00:00
dbaron@fas.harvard.edu
6810c5c492 Add event target debugging to the viewer menu for Linux (includes the XP part of the changes).
r=joki
2000-02-15 04:33:43 +00:00
rods@netscape.com
339af3deaa cleaning up viewer to use local versions widget files and support
bug 17027, carpool a=leaf, r=kmcclusk
2000-02-09 19:28:24 +00:00
rods@netscape.com
bc1db5aa6e adding widget viewer based widget library to build
widgets are no created from NS_New mthods instead of from the factory
r kmcclusk, b =17027
2000-02-04 15:58:35 +00:00
tbogard@aol.net
0411a8c6d0 Hooked up nsWebBrowserChrome into nsBrowserWindow. These changes enable viewer to properly set itself up as the docShell tree owner. r=buster. 2000-02-02 02:51:36 +00:00
rods@netscape.com
e19d9e0ed2 removimg the menu item that enables you to switch to native widgets
b=bugzilla is down, but i do have a bug number) r=kmcclusk
2000-02-01 22:52:42 +00:00