671 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
roc+%cs.cmu.edu
e9fd34c810 Bug 331522. By default, do not allow keyword searches when navigating to URLs; modify browser UI code to enable keyword searches only on selected URL input mechanisms (e.g., typed into the URL bar). r+sr=darin,r=mconnor
git-svn-id: svn://10.0.0.236/trunk@193458 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:17:51 +00:00
bzbarsky%mit.edu
e446371b8e Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing.  Bug 323810, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189344 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 20:46:39 +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
darin%meer.net
cea1dc23ec fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 01:50:15 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +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
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bzbarsky%mit.edu
b19fc8d9eb Fix leak when closing window that has live refresh timers. Bug 312769,
r=darin, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@182434 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:48:22 +00:00
bryner%brianryner.com
ae6e7085e4 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180875 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu
69fdd9201c Show a useful error message if a page claims to be compressed and isn't. Bug
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180424 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
6e99396530 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@180400 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:51:14 +00:00
bryner%brianryner.com
a63c759946 Backing out 292965 until Tp regression is understood.
git-svn-id: svn://10.0.0.236/trunk@180182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 07:28:05 +00:00
bryner%brianryner.com
ffbf79b866 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180171 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 03:38:40 +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
bryner%brianryner.com
dc7a8d1985 When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177082 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:32:10 +00:00
darin%meer.net
76ed9d7ac3 fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@172760 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
fea41970b2 Reposting when expired from cache should make sure to use the right history
entry; otherwise docshell is confused about which page it currently has
loaded.  Bug 289301, r=biesi, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@172476 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 04:41:48 +00:00
darin%meer.net
d57073c4b3 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171761 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:33:28 +00:00
jshin%mailaps.org
942b3b86e1 bug 283992 : keyword search for exactly one word with non-ASCII characters doesn't work (r=darin, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@170775 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 13:33:27 +00:00
bzbarsky%mit.edu
72a6885a89 Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:02:02 +00:00
cbiesinger%web.de
f69f427f1a 157004 don't fire onLocationChange for error pages, and don't change the
docshell's currentURI either. be sure to add the failed URL to session history.

r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@168541 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 11:26:31 +00:00
cst%andrew.cmu.edu
616bcafe79 Bug 62402 Do not fixup IP address literals [was: IPv6 IPs]
r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@168483 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 00:38:11 +00:00
dveditz%cruzio.com
8b9d168c56 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary)
git-svn-id: svn://10.0.0.236/trunk@167292 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 06:04:46 +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
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
dveditz%cruzio.com
afe1e85825 bug 263546: move external protocol warning down a level, r=jsr,sr=darin
git-svn-id: svn://10.0.0.236/trunk@164343 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 07:46:01 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
bzbarsky%mit.edu
4876ea1f40 Don't throw from location.reload() if it's a POST page and the user cancels the
reload.  Bug 249405, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@160333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:35:39 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +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
jst%mozilla.jstenback.com
472233cafb Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@158368 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 17:42:31 +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
jst%mozilla.jstenback.com
1f25d963d2 Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@157903 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 08:28:52 +00:00
jst%mozilla.jstenback.com
79d1747c7a Fixing bug 243213. Don't waste time looking up the nsIURIFixup service for every docshell, and move some members around to make things align up and pack better on some 64-bit platforms. r=bzbarsky@mit.edu, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@156213 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 00:12:09 +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
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
cbiesinger%web.de
34df912ac0 bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154988 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:06: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
bzbarsky%mit.edu
527b02fbe9 Don't error out if keyword.enabled is just not set. Bug 229083, patch by
Patrick McCormick <patrick@meer.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152206 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 06:18:41 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
cbiesinger%web.de
de45f8452d Bug 232373
nsWebShell::LoadDocument unused, remove it
r=adamlock sr=darin


git-svn-id: svn://10.0.0.236/trunk@151981 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 22:08:27 +00:00
cbiesinger%web.de
e972f168f6 184433 Internet Keywords triggered by "connection refused" errors. fix it to
only trigger if the hostname is unknown.
patch by Jerry Talkington <jtalkington@users.sourceforge.net> r=adamlock
sr=darin


git-svn-id: svn://10.0.0.236/trunk@151975 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:32:00 +00:00
bzbarsky%mit.edu
4d0cf5fe48 Don't do URI fixup on IP address literals. Bug 62402, patch by Lorenzo Colitti
<lorenzo@colitti.com>, r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151968 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 19:56:55 +00:00
dbaron%dbaron.org
9280bd4140 Make WEBSHELL printfs use clearer notation and add DOMWINDOW printfs, which will actually show some leaks. b=231384 r=bryner sr=brendan
git-svn-id: svn://10.0.0.236/trunk@151655 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 21:13:39 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
peter%propagandism.org
8ec81ee110 Fix for bug 229668 (Hang after typing keywords into address bar for "I'm feeling lucky" google search). Patch by jtalkington@users.sourceforge.net, r=jshin, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@150846 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-03 16:28:45 +00:00
peter%propagandism.org
7f400f66de Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@150686 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 16:48:40 +00:00
darin%meer.net
a34389b0de fixes bug 226071 "xremote: openURL doesn't work well when multiple apps with different capabilities are present" r=bz,blizzard sr=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@149593 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 00:09:50 +00:00