421 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
6a5cd09de5 Correct tooltip coords in nsWebBrowser when frames are involved. Bug 171229,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@180528 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 23:08:48 +00:00
dougt%meer.net
ab8d20953c This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@180345 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 02:25:37 +00:00
smfr%smfr.org
981725806b Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz
git-svn-id: svn://10.0.0.236/trunk@178751 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:48:47 +00:00
cbiesinger%web.de
939e32a7e1 bug 297388 make nsIWebBrowserStream implement ReadSegments correctly (by just
forwarding to the underlying pipe)
r=caillon sr=darin


git-svn-id: svn://10.0.0.236/trunk@177706 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 16:32:00 +00:00
smfr%smfr.org
3638d5ef12 Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.


git-svn-id: svn://10.0.0.236/trunk@177273 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 20:28:42 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
pedemont%us.ibm.com
c9f6e9439e Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172951 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 16:30:03 +00:00
cbiesinger%web.de
74b67a13ed Bug 289650 nsIWebBrowserPersist should inherit from nsICancelable
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@171924 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 12:37:36 +00:00
bzbarsky%mit.edu
2cc3f9400e Make oncontextmenu default-prevention work in embedding. Bug 230281, patch by
jst, r=adamlock, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@170395 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 21:55:10 +00:00
bzbarsky%mit.edu
ea3bca56c5 Add nsEmbedCID and move the webbrowser contractid to it. Bug 258039, r=darin
git-svn-id: svn://10.0.0.236/trunk@170246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-06 20:53:33 +00:00
bzbarsky%mit.edu
baca2afa60 Fix nsWindowWatcher::FindItemWithName to pass in the right requestor; expose it
on nsPIWindowWatcher and use it from nsDocShellTreeOwner.  Bug 282296, r=danm,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@170137 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 17:26:34 +00:00
bzbarsky%mit.edu
7a84efbcc5 Make documentation a little more explicit about the ownership model. Bug
283108, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169636 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 06:14:44 +00:00
pedemont%us.ibm.com
20b65d2019 Bug 256911 - Implement weakref support for SetWebBrowserChrome. r=darin, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@168822 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 23:32:32 +00:00
bzbarsky%mit.edu
17555c9ab9 Fix up FindItemWithName so it does the walk across windows (more) correctly.
Bug 278916, r=danm, sr=jst


git-svn-id: svn://10.0.0.236/trunk@168787 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 04:28:07 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
04cec0c106 Fix comments on cancel() method. Bug 252011, patch by Daniel Kraft
<domob@daniel-kraft.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168067 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 17:01:51 +00:00
jst%mozilla.jstenback.com
a15240a6ab Fixing bug 103638 (and bug 273699). Targets with same name in different windows open in the wrong window. Patch by bzbarsky@mit.edu and myself, r=danm.moz@gmail.com, bzbarsky@mit.edu, sr=dveditz@cruzio.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167537 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 19:36:40 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
cbiesinger%web.de
4c1b30ccfa 265333 freeze nsIWebBrowserStream. r=marco sr=darin
also a bit of cleanup in EmbedStream.cpp


git-svn-id: svn://10.0.0.236/trunk@166752 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 17:28:36 +00:00
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
bzbarsky%mit.edu
90a640bdff Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
cbiesinger%web.de
979b2f68a9 265333 change nsIWebBrowserStream in preparation of freezing:
- make it take nsIURI as base URI, for IDN support and correct charset handling
- use an octet array instead of string for binary data
- use ACString for the mime type
- improve documentation

r=marco sr=darin


git-svn-id: svn://10.0.0.236/trunk@165326 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 22:47:50 +00:00
pedemont%us.ibm.com
581c7bc870 Bug 265253 - RemoveWebBrowserListener incorrectly passes nsIWeakRef. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@164363 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 15:47:54 +00:00
cbiesinger%web.de
311fcae317 265333 NS_NewInputStreamChannel should not overwrite a content charset set from
the content type with an empty string r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@164357 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 13:15:25 +00:00
bryner%brianryner.com
ad594b364d Fix gtk2 embedding crash from bug 121264. r+sr+a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@162754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-24 19:56:44 +00:00
cbiesinger%web.de
0d61e8567f Bug 228603 nsIWebBrowserPersist should have a saveChannel method
r=adamlock sr=darin


git-svn-id: svn://10.0.0.236/trunk@161841 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 14:42:23 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
50d5ce0bc2 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
gerv%gerv.net
bd6418893d Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@159356 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 18:48:35 +00:00
timeless%mozdev.org
a9b21cd04c Bug 158038 minor comment changes in nsIWebBrowserPrint (print and printPreview)
patch by rods r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@159319 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 05:44:45 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bsmedberg%covad.net
1173d808a5 Parts of bug 205425 - turn the embedding widget into a GRE client - patch by marco@gnome.org r=me sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@157100 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-29 17:43:59 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
mvl%exedo.nl
c0b2e4667b Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
chanial%noos.fr
bd3c5573e9 Bug 235187: nsContextMenuInfo shouldn't use low-level API and remove presContext FindFrameBackground.
r=ccarlen, sr=bz
(file not used by the xul apps)


git-svn-id: svn://10.0.0.236/trunk@153350 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 02:00:23 +00:00
bzbarsky%mit.edu
6160f76c82 Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@152988 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:39:09 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
bsmedberg%covad.net
d436ad454d Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes.
git-svn-id: svn://10.0.0.236/trunk@152632 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:10:04 +00:00
jst%mozilla.jstenback.com
6db4801e85 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@152568 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 23:45:47 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00