Commit graph

156 commits

Author SHA1 Message Date
rods%netscape.com
497fb1e25e Change nsIWebBrowserPrint.h interface to use nsIPrintSettings
Also added minimal PageSetup dialog with support for Printing BGColors, BGIMages, and Scaling
Bug 108345 r=dcone,chak sr=attinasi
2001-11-26 12:51:39 +00:00
locka%iol.ie
f96023455f Move webbrowserpersist code to components/ directory. b=106554 r=brade@netscape.com sr=sfraser@netscape.com 2001-11-01 14:39:26 +00:00
dbaron%fas.harvard.edu
02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bryner%netscape.com
03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
locka%iol.ie
49c4cc4076 New NameEquals method on nsIDocShellTreeItem to reduce unnecessary strdup'ing as FindChildWithName walks through its children looking for a matching item. b=102576 r=radha@netscape.com sr=rpotts@netscape.com 2001-10-20 11:42:35 +00:00
dbaron%fas.harvard.edu
30b6e6587c Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson 2001-10-02 03:10:56 +00:00
radha%netscape.com
5fbf348c28 Fix for tree bustage related to bug # 100993. Include nsISHistoryListener. 2001-10-01 21:07:26 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
waterson%netscape.com
890a95b3f7 Back out chak until he can figure out how to build w/o necessarily requiring PSM. 2001-09-26 22:56:24 +00:00
chak%netscape.com
f45d5eacca Fix for #94974 - Provide an interface for embeddors to access security info
r=rpotts,thayes
sr=rpotts
2001-09-26 19:52:20 +00:00
locka%iol.ie
08732ab94e The all new web browser persist object plus changes to the assorted embedding samples to use it. b=77909 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-09-23 21:03:03 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dcone%netscape.com
e708936fcd b=95339 Check the aPrintOptions for null. Fixes embedding silent. r=rods sr=attinasi 2001-08-16 13:58:38 +00:00
rpotts%netscape.com
33bbd6972c bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone%netscape.com
53e04688af Added code to use silent printing. b=76456 r=dcone sr=attinasi 2001-07-09 14:40:37 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
bryner%uiuc.edu
89a8648447 Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
blizzard%redhat.com
9fcc01a00a Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa 2001-06-14 17:42:16 +00:00
chak%netscape.com
00b4cf5fdc Fix for 81796 - Enable SecureBrowserUI for embedding apps
r=ccarlen, sr=blizzard, a=dbaron
2001-06-02 00:35:39 +00:00
valeski%netscape.com
4200555309 r=adamlock. missing break statement 2001-05-21 23:20:18 +00:00
valeski%netscape.com
7f26ff6952 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
locka%iol.ie
ad2fe90ea5 Enabled window clipping to prevent flicker while painting child windows. b=81986 r=chak@netscape.com sr=blizzard@mozilla.org 2001-05-21 22:40:31 +00:00
ccarlen%netscape.com
2dcd262cff Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts 2001-05-19 18:31:20 +00:00
valeski%netscape.com
f9a681041f r=saari, sr=blizzard 64349. adding GetFocusedElement to nsWebBrowser.cpp. patch submitted by DebugWeyers@yahoo.com. 2001-05-11 14:19:39 +00:00
locka%iol.ie
cadbd61379 Fix for painting problems in embedding apps when window is moved offscreen and back on. b=78412 r=ccarlen@netscape.com sr=blizzard@mozilla.org 2001-05-07 13:49:59 +00:00
ccarlen%netscape.com
de1e7c79af Bug 72230 (fixing side affect of its fix) WebBrowser window was painting black as background on Mac. r=adamlock, sr=blizzard. 2001-05-04 14:46:16 +00:00
blizzard%redhat.com
b4dd5eb12c Fix bug #76617. Some embedding apps can't get input focus. r=ccarlen,bryner sr=tor 2001-05-03 12:04:56 +00:00
sfraser%netscape.com
44cbfd57f8 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00
dr%netscape.com
eec73874cf fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
harishd%netscape.com
d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
hyatt%netscape.com
889b41d696 See previous checkin comments. Focus issues, same bugs, etc. r=saari, sr=brendan 2001-04-18 01:42:27 +00:00
locka%iol.ie
aff30576dd Fix for context menus not working in new windows opened from links with a _new target. b=76327, r=valeski@netscape.com, sr=rpotts@netscape.com 2001-04-17 23:04:13 +00:00
danm%netscape.com
e6b69cc664 hooking up windowwatcher active window. bug 44809,76011 r=chak,hyatt,saari 2001-04-16 20:34:33 +00:00
danm%netscape.com
abc592f040 i think this'll fix speedracer, burning these past two hours 2001-04-13 06:38:33 +00:00
blizzard%redhat.com
feb6033515 Fix bug #72230. Make sure to redraw the background of the window before any document is loaded in embedding. r=valeski,sr=waterson 2001-04-13 03:52:45 +00:00
valeski%netscape.com
e75e48ff71 sr=shaver. r=valeski. checking this in for blizz to get it out of the way. 74801. need to be GI'instead of QI 2001-04-09 13:31:50 +00:00
locka%iol.ie
7a230e1edb Fixed some refcounting problems. URLs for linked files are now made relative to the main document path. BASE tag is removed if present. Anchors are made absolute. Added support for BACKGROUND attribute on BODY tag. b=73690, r=rpotts@netscape.com, sr=blizzard@mozilla.org 2001-04-07 10:23:25 +00:00
valeski%netscape.com
c61a9cfbc4 r=ccarlen, sr=blizzard. 74801. removing dead nsIURIContentListener layer in the webBrowser. we now pass directly down into the docshell 2001-04-05 23:20:49 +00:00
chak%netscape.com
a80aabe1e6 Calling Activate()/Deactivate() from inside of HandleEvent() as suggested by blizzard
This is a part of:
Fix for #71014 - arrow keys don't work inside text areas in mfcEmbed.
r=saari, sr=blizzard
2001-04-01 18:02:39 +00:00
chak%netscape.com
031eb19fe7 Fix for #71014 - arrow keys don't work inside text areas in mfcEmbed.
r=saari, sr=blizzard
2001-04-01 17:51:12 +00:00
rods%netscape.com
651e011522 This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi
2001-03-27 12:04:30 +00:00
radha%netscape.com
b6e43c85cd Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
mstoltz%netscape.com
519500116e Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
locka%iol.ie
1361efc464 Added a missing break statement to embedding API. b=68934 2001-02-20 13:34:22 +00:00
danm%netscape.com
a1fe80fa07 fix destruction order crash. no bug #. r=hyatt,pinkerton 2001-02-17 02:37:06 +00:00
valeski%netscape.com
9297191086 sr=scc. 68187. making weak reference implementation on the browser listener part requirement explicit. API change. 2001-02-14 03:12:33 +00:00
ccarlen%netscape.com
203cad2e8b This was supposed to go in with the rest for bug 46869 but didn't. 2001-02-07 06:03:35 +00:00
danm%netscape.com
04d05f766a hooking up window watcher. bug 65229 r=scc,valeski 2001-02-07 05:03:09 +00:00
radha%netscape.com
bf7f2b2d35 Test code for history listener r=valeski sr=rpotts 2001-02-07 00:33:11 +00:00
dbaron%fas.harvard.edu
550314e09f Fix incorrect usage of |nsCOMPtr<T>::operator&| was used in place of |getter_AddRefs| since the former will soon become |private| to prevent things like this. r=disttsc@bart.nl b=59414 2001-02-04 19:37:36 +00:00
mkaply%us.ibm.com
f753ac86c5 OS/2 TB breakage - need PR_CALLBACK 2001-02-01 00:57:56 +00:00
valeski%netscape.com
7d3acb0d42 r=ccarlen, sr=rpotts. 65925. adding support for listener queueing in the webbrowser, and weak reference support to webprogress listeners. 2001-01-31 21:03:40 +00:00
saari%netscape.com
f595ea74e2 checking in stub implementation of nsIWebBrowserFocus interface for embedding. r=pavlov, sr=valeski 2001-01-31 00:34:28 +00:00
valeski%netscape.com
9c22d42c42 mass confusion. We indeed need this registration. 2001-01-19 08:14:38 +00:00
valeski%netscape.com
38d0b2430d r=syd. reverting to dead browserlistener implementation (basically a backout of my previous checkin until progress listener registration can be resolved. 2001-01-19 07:17:20 +00:00
valeski%netscape.com
af6822b10a r=ccarlen, sr=rpotts. 46848. Reworking listener registration interface. collection type listeners should be registered here. removing nsIWebProgress implementation from nsWebBrowser adfter determining GetDOMWindow() wasn't being used. 2001-01-19 06:00:23 +00:00
locka%iol.ie
e6b3edb8cc More bug fixes for file persistence. Fixed a memory leak, added support for INPUT & BASE tags. Fixed a duff assertion. b=46574, sr=blizzard 2000-12-21 13:44:35 +00:00
rpotts%netscape.com
359b761343 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress. 2000-12-14 23:26:35 +00:00
locka%iol.ie
4775af025f New persistence object and helper classes. b=46574, sr=blizzard@mozilla.org 2000-11-30 00:43:42 +00:00
blizzard%redhat.com
c2ca51ebbd Fix bug #59194. This should restore focus to the right window when Mozilla is given focus when embedded in another application. r=saari,adamlock,valeski sr=hyatt 2000-11-17 19:57:16 +00:00
locka%iol.ie
b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
rayw%netscape.com
0257791053 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
valeski%netscape.com
88476a5310 50920. r=vidur. hanging an nsIDOMWindow off of nsIWebBrowser 2000-09-01 21:10:23 +00:00
locka%iol.ie
253d1caaed Impl of GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:41 +00:00
locka%iol.ie
c686f2cde0 Added nsIWebBrowserSetup to query interface table. b=46847, a=valeski 2000-08-26 13:56:50 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
locka%iol.ie
8dc8cb2777 Fixed some incorrect embedding issues. b=48270 a=valeski 2000-08-16 08:50:00 +00:00
rpotts%netscape.com
32cbe86ba8 Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets). 2000-07-05 23:10:29 +00:00
dougt%netscape.com
8cc0076ed5 44113, 44190, 44191.
r/a=valeski@netscape.com

nsDocShellTreeOwner not handling chrome/content correctly.
Asserts when no toplevel window set.
Need to start chrome up from NS_InitEmbedding()
Test App changes.
2000-07-04 21:53:27 +00:00
radha%netscape.com
c5dd8a6d2c More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha%netscape.com
359b620c41 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
radha%netscape.com
66e13fed21 Dummy implementation for 2 new methods in nsIWebNavigation. fix burning tree. 2000-06-21 07:28:45 +00:00
rpotts%netscape.com
44dfb4b825 Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
tbogard%aol.net
60994d2347 Changed tab spacing to say 3 to be accurate. 2000-04-11 23:49:08 +00:00
blizzard%redhat.com
2b5d867757 use C++ mode for C++ files for emacs users 2000-04-02 21:19:56 +00:00
tbogard%aol.net
76bc88c235 Implemented the nsWBURIContentListener class and hooked it up to the build. It now sets itself as the parentURIListener for the internal docShell. Doing this makes the webBrowser control now the preferred handler for most webBrowser type loads. This fixes the problem where people who were embedding with this would always get a new window. Added a method to nsIWebBrowser to allow setting a parent URI Listener. Split the destruction of the webBrowser object into an InternalDestroy method. This fixes the odd construct where the destructor was calling Destroy and then having to clean up the Init structure that the Destroy method created. 2000-04-02 21:01:18 +00:00
tbogard%aol.net
32d9a7b5d0 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor. 2000-03-28 09:40:14 +00:00
tbogard%aol.net
70be3f48e8 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer. 2000-03-28 07:40:10 +00:00
tbogard%aol.net
f5e337633e Removed the cookie from AddWebBrowserListener and RemoveWebBrowserListener because frankly that parameter was dumb. :) Updated the implementation of nsIWebProgressListener to reflect changes in the API (removal of the cookie there too). Removed the UpdateListeners function as that will no longer be needed. 2000-03-26 04:52:16 +00:00
tbogard%aol.net
e1c5c39fd6 Use the generic factory to create the actual objects for the nsWebBrowserSetup and nsWebBrowser classes. Got rid of the unneeded ::Create methods on those classes. 2000-03-14 07:20:17 +00:00
tbogard%aol.net
d2b9d12fc5 webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well. 2000-03-14 07:05:08 +00:00
tbogard%aol.net
b476940bd0 Got much of the implementation done to actually get this object working. We now instantiate a webshell and pass along most needed calls. This gets the webBrowser object setup to start being used to basic stuff. 2000-03-11 01:12:46 +00:00
pollmann%netscape.com
982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net
03d2eba8b7 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering 2000-02-24 03:51:35 +00:00
tbogard%aol.net
8f0f8dae30 Moving the needed interfaces over to the header file where they are needed. This will fix the wensleydale bustage. 2000-02-14 09:39:21 +00:00
tbogard%aol.net
4fdb2e2b06 Organized includes. Put in a check to ensure that QI to nsIWebNavigation succeeded. r=hyatt 2000-02-14 08:53:45 +00:00
alecf%netscape.com
41957dcdc4 fix build bustage
travis needs to look at this and make sure it's right
2000-02-14 07:49:05 +00:00
tbogard%aol.net
f010244f8b Stubbed out methods that were missing from nsIBaseWindow implementation. r=hyatt 2000-02-01 00:14:12 +00:00
tbogard%aol.net
d66ec61663 Renamed nsIWebBrowserApp with nsIWebBrowserChrome. Added some additional methods and more fully specified the ones that were there. Changed the interfaces to forward declare referenced interfaces rather than including them all. Added topLevelWindow to nsIWebBrowser. Provided implementation for these changes. 1999-11-18 09:17:07 +00:00
tbogard%aol.net
ecd2b5338e Replaced references to nsIGenericWindow to use nsIBaseWindow. Removed the NS_IMPL_ISUPPORTSX in favor of the map approach. 1999-11-17 09:00:05 +00:00
tbogard%aol.net
099399be59 Removed the call to CanHandleContentType as this need to be re-worked now that there is only going to be one DocShell for all content types. 1999-11-12 07:29:45 +00:00
tbogard%aol.net
57ff5f396d Changed nsComponentManager::CreateInstance calls to use the new nsCOMPtr do_CreateInstance(). 1999-11-10 06:54:39 +00:00
tbogard%aol.net
b9a3038667 Implemented new interface method GetCurrentURI. 1999-11-07 10:06:38 +00:00
tbogard%aol.net
2352e8731c Implemented so pretty straight forward pass through methods. 1999-11-05 09:07:57 +00:00
tbogard%aol.net
17a8cf6b06 **Not hooked up to build** Implemented Repaint. Changed document to be a readonly attribute. Added a SetDocument that takes a contentType. Implemented this. Changed all the idl methods to be lower-case. 1999-11-02 01:04:25 +00:00
tbogard%aol.net
b936c722ec Changed some m_* to m*. 1999-11-01 19:57:15 +00:00
tbogard%aol.net
71c2abe1fd Changed NS_ENSURE to be NS_ENSURE_TRUE. 1999-11-01 07:45:38 +00:00
tbogard%aol.net
c4acf56faf Removed zoom now that it has been moved out of the nsIGenericWindow interface. 1999-10-30 00:53:41 +00:00