434 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
cefc8048b1 Improve the context menu flag-setting code. Bug 350614, patch by Dorian
<boissomag@free.fr>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@209535 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 04:28:22 +00:00
bzbarsky%mit.edu
ef34fad28f Get the image URI in a better way that works even for images that didn't load.
Bug 350378, patch by Dorian <boissomag@free.fr>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@208596 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 02:15:56 +00:00
bzbarsky%mit.edu
45b187a5f4 Don't set the dependent bit on windows not being opened at chrome, even if it's
in the features.  Bug 344257, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203021 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:40:43 +00:00
bzbarsky%mit.edu
0fcf49ef4a Call the function we actually want to call. Bug 343149, patch by Mikhail
Zabaluev <mhz@altlinux.org>, r=bsmedberg, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@201247 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 18:08:39 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
5de35807e9 Don't try to enable global history if we were told not to. Bug 334846,
r=bsmedberg, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195754 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 03:47:12 +00:00
timeless%mozdev.org
ec506fb3a3 Bug 329745 Right click causes instant crash if navigation was stopped
patch by boissomag@free.fr r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@193681 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 10:56:57 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
darin%meer.net
4c402841b4 Patch for bug 324642 "Add an API to expose the DOM node that the mouse is over when informing the WebBrowserChrome object to update the status bar." r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188880 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 21:28:11 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
804737c669 Don't throw NS_ERROR_INVALID_ARG if listeners are added before window creation
-- it's a perfectly valid thing to do.  Bug 309232, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@187208 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 22:20:30 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
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