Commit Graph

2363 Commits

Author SHA1 Message Date
jwalden@mit.edu
6aaac3b438 Fix up three uses of NS_STATIC_CAST which can't be automatically converted to static_cast<> due to a deficiency in the fixup script. 2007-07-02 16:46:19 -07:00
peterv@propagandism.org
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
kaie@kuix.de
46a7394eca Bug 107491, Follow up checkin, one more place where nssFailure needs to be renamed
r=benjamin
2007-06-27 11:25:12 -07:00
kaie@kuix.de
ef7c98eca8 Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike
2007-06-20 07:10:30 -07:00
kherron@fmailbox.com
4f3b4ab01c Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
bzbarsky@mit.edu
ac7d66789b Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
sdwilsh@shawnwilsher.com
772f0fdbf4 Bug 382383 - nsDocShell::LoadURI discards LOAD_FLAGS_FIRST_LOAD. r=bzbarsky, sr=cbiesinger 2007-06-10 16:28:27 -07:00
mats.palmgren@bredband.net
039f630bca Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky 2007-05-17 20:49:14 -07:00
bzbarsky@mit.edu
7e3d62ddea Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu
b2bf331b94 Don't make embedding of a content viewer in a child frame force a layout flushon the parent. The child doesn't really care that much about up-to-date layoutinfo at this point; if its size changes it will deal. Bug 379485, r+sr=jst 2007-05-02 13:34:41 -07:00
bzbarsky@mit.edu
bb11c49afb Be a little more careul with inheriting principals. Bug 304690, r=dveditz,sr=jst 2007-04-26 21:01:17 -07:00
timeless@mozdev.org
19fe340b2b Bug 378692 warning C4099: 'OnLinkClickEvent' : type name first seen using 'struct' now seen using 'class'r=bz sr=bz 2007-04-24 20:13:57 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
sayrer@gmail.com
b80cfd9871 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
mats.palmgren@bredband.net
7f372116ec Fix compile errors and warnings with -DDEBUG_DOCSHELL_FOCUS. b=373985 r+sr=jst 2007-03-24 03:51:44 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
tor%cs.brown.edu
eaeda066b9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
cbiesinger%web.de
df34976698 bug 371299 add a way to query if meta refreshes are pending for a docshell
r+sr=bz
2007-02-22 22:11:30 +00:00
kaie%kuix.de
5af3e3656c Bug 107491, improve SSL error messages
Patch v9 - docshell and netwerk portions
Second and final checkin of this patch, enabling the new SSL error page
r/sr=biesi
2007-02-18 04:24:05 +00:00
bzbarsky%mit.edu
ef25ce1f54 Decouple the execution of javascript: URIs from the question of whether they
have known subject principals.  Make it possible for callers to control
execution on a per-channel basis.  Bug 369244, r=jst, sr=brendan
2007-02-16 01:01:39 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
bzbarsky%mit.edu
34caf9e676 Bail out of loads if were going away. Bug 369126, r+sr=jst 2007-02-09 04:40:56 +00:00
mozilla.mano%sent.com
6040afd6ff Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz. 2007-02-08 13:15:50 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
297a5ddfea Use the right URI when restoring a page from history. Bug 360511, r=jst, sr=sicking 2007-01-17 18:55:35 +00:00
gavin%gavinsharp.com
80f53874cc Bug 364903: Error page 'Try Again' button doesn't dim once pressed, r=neil, sr=bzbarksy 2007-01-04 18:53:28 +00:00
jwatt%jwatt.org
bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
neil%parkwaycc.co.uk
1a9e664592 Bug 363725 Make about:logo work in (some) toolkit apps r+sr=darin 2006-12-18 10:51:10 +00:00
gavin%gavinsharp.com
b0de55cc73 Bug 212852: Browser assumes ftp protocol for URL's beginning with 'ftp' and written without protocol in address field, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=biesi, sr=darin 2006-12-16 14:32:19 +00:00
cvshook%sicking.cc
d74c15a5d6 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings and on redirects. r/sr=jst 2006-11-29 03:08:49 +00:00
cvshook%sicking.cc
b07fe2dcf6 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings. r/sr=jst 2006-11-28 20:47:10 +00:00
bzbarsky%mit.edu
8a1b6c5e34 Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking
2006-11-22 18:27:54 +00:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
bzbarsky%mit.edu
725237b351 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky
2006-11-07 03:28:50 +00:00
cvshook%sicking.cc
f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
bzbarsky%mit.edu
9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
bzbarsky%mit.edu
180dcbfe19 Nuke SameOrSubdomainOfTarget. Bug 327109, r=dveditz, sr=jst 2006-10-08 15:54:28 +00:00
gavin%gavinsharp.com
fe051ef99b Bug 351777: domain fixup/guessing broken, r=biesi, sr=bzbarsky 2006-09-24 02:45:23 +00:00
cbiesinger%web.de
e3d051eb8b Bug 351874 Move nsAboutRedirector out of necko
r=darin
2006-09-15 22:17:26 +00:00
bzbarsky%mit.edu
6a98c20603 Just store the flags, not various booleans. Bug 342914, r=biesi, sr=darin 2006-09-15 09:52:08 +00:00
bzbarsky%mit.edu
cdde1bcdfe Allow about: modules to just set a flag to force script execution to be allowed
for particular about: URIs, instead of hardcoding checks in the security
manager.  Bug 341313, r=darin, sr=jst
2006-09-15 09:52:06 +00:00
bzbarsky%mit.edu
fa84d90b52 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin
2006-09-15 09:52:05 +00:00
gerv%gerv.net
c8fd94f182 Bug 322000: update about:licence to fulfil all our obligations with regard to notifications, copyright statements and so on. Patch by gerv; r=mconnor, mscott. 2006-09-15 09:52:04 +00:00
timeless%mozdev.org
cf8f55f540 Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin
2006-09-15 09:52:03 +00:00
dbaron%dbaron.org
868a47a721 Improve consistency of conversion from about URI to about module. b=306261 r=darin sr=bzbarsky 2006-09-15 09:52:02 +00:00
bsmedberg%covad.net
7f1f35c037 Bug 292624 - XUL error pages should not have chrome privileges, r=darin sr=dveditz a=asa 2006-09-15 09:52:01 +00:00
bzbarsky%mit.edu
a16c2dc585 Add about:license and about:licence and make about: link to them. Bug 256945,
r=gerv, sr=darin
2006-09-15 09:52:00 +00:00
neil%parkwaycc.co.uk
35853062ba Bug 269827 Redirected about channel has wrong original URI r+sr=darin 2006-09-15 09:51:59 +00:00
ben%bengoodger.com
e004e024df 243387 - about:plugins broken by download size reduction changes. Move about:plugins page to global package to remove dependency on defunct "communicator" package. r=mconnor 2006-09-15 09:51:58 +00:00
darin%meer.net
ee6b104394 fixes bug 245110 "Crash [@ nsAboutRedirector::NewChannel]" r=biesi 2006-09-15 09:51:57 +00:00
gerv%gerv.net
bc18475075 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-09-15 09:51:56 +00:00
dbaron%dbaron.org
85ccaa2444 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-09-15 09:51:55 +00:00
dougt%netscape.com
26993f9aab 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-09-15 09:51:52 +00:00
caillon%returnzero.com
5655b0e966 about:about
Bug 56061
r=bryner@brianryner.com
sr=darin@meer.net
2006-09-15 09:51:51 +00:00
seawood%netscape.com
188182f9ce Add about:buildconfig
Bug #140034 r=bbaetz sr=darin
2006-09-15 09:51:50 +00:00
kairo%kairo.at
d106a223c2 Bug 56863 - make about:plugins localizable, r=biesi, sr=bz 2006-09-15 09:51:49 +00:00
timeless%mozdev.org
2d92353fd4 Bug 52104 about:logo is missing
patch by bugzilla@gemal.dk r=timeless sr=darin
2006-09-15 09:51:48 +00:00
cbiesinger%web.de
2600c208b8 184075 r=darin sr=bz nsAboutRedirector should not use literal number 2006-09-15 09:51:47 +00:00
kairo%kairo.at
9b81f04b30 bug 131477 - Improve design of about:plugins page - this makes about:plugins themeable, plugins.html moved from global to communicator, r=beppe, sr=hewitt 2006-09-15 09:51:46 +00:00
caillon%returnzero.com
7f9d715f0a Bug 155752 - Use the XML parser for XHTML about: services
Patch contributed by Alexey Chernyak <alexey@ihug.com.au>
r=timeless, sr=jst, a=asa
2006-09-15 09:51:45 +00:00
dbaron%fas.harvard.edu
6576211f3f Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2006-09-15 09:51:44 +00:00
cbiesinger%web.de
8124655759 bug 127252 patch partially by mstoltz r=bbaetz/me sr=darin a=asa
make about:config work again
2006-09-15 09:51:43 +00:00
darin%netscape.com
89825d4e4f fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2006-09-15 09:51:42 +00:00
cbiesinger%web.de
2e6aa22327 bug 127252 r=gagan sr=darin a=asa
about:config should use redirector
2006-09-15 09:51:41 +00:00
gerv%gerv.net
83c65749f4 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2006-09-15 09:51:40 +00:00
jaggernaut%netscape.com
fe7f1e7fba Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2006-09-15 09:51:39 +00:00
mstoltz%netscape.com
3b12aaf522 Bug 88087 - giving about: pages loaded from chrome a principal other than
system, to prevent security attacks against these pages. r=bbaetz, sr=waterson
2006-09-15 09:51:38 +00:00
beard%netscape.com
8f79d4b9aa Fix for Mac bustage. r=gagan 2006-09-15 09:51:37 +00:00
gagan%netscape.com
75864ccea7 Not part of the build yet. New files for bug 68086. Implemented a generic fat-free version for cases of about: that redirect to another URL. This will obsolete nsAboutCredits.*, mzAboutMozilla.*, and nsAboutPlugins.* 2006-09-15 09:51:36 +00:00
bzbarsky%mit.edu
ed1c8df85f try/catch around the loadURI call, since it can throw. Bug 310828, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=bzbarsky, a=schrep for 1.8 branch 2006-09-09 04:58:35 +00:00
martijn.martijn%gmail.com
72138f14ca Backing out the patch for bug 287707, since it is causing smoketest blocker bug 351057 2006-09-01 19:51:05 +00:00
gavin%gavinsharp.com
a30618405a Bug 349419: add nsIDocShellLoadInfo type for fixup, to silence an assertion that occurs any time a URI is fixed up, r=biesi, sr=bzbarsky 2006-09-01 15:58:18 +00:00
martijn.martijn%gmail.com
c998727ebd Bug 287707 - After page had designmode on, there are still several issues, r=daniel, sr=peterv 2006-09-01 09:32:57 +00:00
bzbarsky%mit.edu
23d7c72d67 Retarget key events to the parent presshell if we have no root content. Bug
303260, r=mats, sr=roc
2006-08-28 02:04:16 +00:00
cbiesinger%web.de
8c59aae763 Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at
http://wiki.mozilla.org/Necko:nsIAuthPrompt2
r=darin
2006-08-26 21:42:54 +00:00
bzbarsky%mit.edu
412f72b084 Use a better way of detecting a newly-opened window. Bug 346404, r=biesi, sr=jst 2006-08-23 04:10:05 +00:00
enndeakin%sympatico.ca
51b0babe5e Bug 341524, DOM storage should follow cookie prefs 2006-08-19 01:21:58 +00:00
bzbarsky%mit.edu
e9379f3679 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
jwalden%mit.edu
833f88d123 Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz 2006-08-11 18:36:32 +00:00
bryner%brianryner.com
4766f20875 Comment clarification from bug 347426, r+sr=bzbarsky 2006-08-06 18:50:17 +00:00
marria%gmail.com
18980be0d7 Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. r=cbiesinger, sr=bzbarsky 2006-08-06 18:17:29 +00:00
marria%gmail.com
5defba927b Bug 344808 (Canceling a [download whose link tries to open a new window] causes current tab to close, when browser.link.open_newwindow is 1) This fix does not mark the window returned by Open as new, if it is the same as the original window. r=cbiesinger,sr=darin 2006-08-03 06:22:49 +00:00
marria%gmail.com
b5b0c2a855 Bug 346586 (Non-PRBool values passed as PRBool in bug 241972) 2006-08-02 03:05:17 +00:00
bzbarsky%mit.edu
2d2f802923 Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner 2006-07-31 04:04:16 +00:00
aaronleventhal%moonset.net
664ced1b24 Bug 340841. Infinite loop with some plugins when screen reader is runnng -- empty tabs keep opening. r=biesi, sr=jst 2006-07-27 16:54:55 +00:00
gavin%gavinsharp.com
350e03f0a3 Bug 323798: Keyword URL Needs to be localized, r=axel, sr=bzbarsky 2006-07-26 01:19:42 +00:00
bzbarsky%mit.edu
4c1ff8d750 Flush out layout when someone asks how big we are. Bug 344861, r+sr=jst 2006-07-21 00:46:17 +00:00
sharparrow1%yahoo.com
341097b456 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
gavin%gavinsharp.com
07fd113dd7 Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=biesi, sr=darin 2006-07-08 21:25:08 +00:00
marria%gmail.com
4776db2c47 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin 2006-07-04 20:48:33 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
beng%bengoodger.com
5a25ac8b43 336903 - feeds should not run with chrome privileges. Expose a currentDocumentChannel attribute on nsIDocShell to look at the channel of the currently loaded page (so that we can find out its actual real URI, etc vs. what webNavigation thinks it is (originalURI). r=bz sr=darin 2006-06-27 19:54:47 +00:00
bryner%brianryner.com
1230d880ae Clear the old child docshells when SetDOMDocument is called, so that they don't get persisted in session history before they're GC'd. Also, update SHEntry to hold strong references to the child docshells. Bug 319551, r=sicking sr=bzbarsky 2006-06-26 18:48:52 +00:00
bryner%brianryner.com
88450714a3 Clear cached content viewes in response to the memory-pressure notification (bug 306862) r=marria 2006-06-23 18:09:24 +00:00
bzbarsky%mit.edu
9a60679a4c Save the principal in the session history entry so that reloading a data: URL
will do the right thing.  Also, change CheckLoadURI to allow null
principals to load things that anyone can load (e.g. http:// URIs).  Bug
337260, r=dveditz, sr=jst
2006-06-19 21:08:45 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
brettw%gmail.com
a1da3222e2 Bug 245597 (for (pkasting@google.com) r=darin sr=bz Keyword search should be activated for anything that isn't parseable as a URI 2006-06-15 21:15:28 +00:00
mhammond%skippinet.com.au
0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
timeless%mozdev.org
a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
darin%meer.net
979f82c981 fixes bug 326155 "Adds support for restricting pings to same origin and limiting pings to no more than one per anchor" r=biesi sr=bzbarsky 2006-06-02 04:28:48 +00:00
bzbarsky%mit.edu
5c970102ff Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
Olli.Pettay%helsinki.fi
68d82c8fad Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner 2006-05-24 20:31:59 +00:00
jst%mozilla.jstenback.com
ed47496c33 Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst. 2006-05-19 05:57:36 +00:00
bzbarsky%mit.edu
e80a83a9fd Remove the keyword: protocol handler. Expose the functionality on nsIURIFixup
instead.  Bug 337339 and bug 264830, r=biesi, sr=darin
2006-05-16 03:02:28 +00:00
jag%tty.nl
6a12f2f513 Undo these changes now that we have a better fix for 2.95.2 2006-05-15 20:33:53 +00:00
jag%tty.nl
fa22f2cfb4 Attempt to fix btek bustage, or at least get some more information. 2006-05-15 10:28:26 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
3ae541c6c6 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst
2006-05-04 15:21:50 +00:00
roc+%cs.cmu.edu
55aa76077e Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin 2006-05-03 21:53:08 +00:00
bzbarsky%mit.edu
722b5218b2 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
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
0d74057281 Don't do URI fixup if NS_NewURI throws some random error. Bug 335193, r=biesi, sr+branch181=darin 2006-04-25 01:53:06 +00:00
timeless%mozdev.org
afd0c3050f Bug 334189 nsSHistory::PrintHistory should use a string class
r=jag sr=jag
2006-04-17 08:37:23 +00:00
timeless%mozdev.org
e54c2dab0e Bug 334189 nsSHistory::PrintHistory should use a string class
reindenting file
r=jag sr=jag
2006-04-17 07:50:02 +00:00
cvshook%sicking.cc
7a388e48eb Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron 2006-04-13 04:07:12 +00:00
bzbarsky%mit.edu
d696d24e9e Prevent loads starting after docshell destruction. Bug 332901, r=biesi, sr=darin 2006-04-11 22:37:59 +00:00
bzbarsky%mit.edu
7be9e53164 Don't do third-party keyword lookup if the string we started with looked like a
URI (had a scheme, eg).  Bug 263213, r=biesi, sr=darin
2006-04-11 22:33:19 +00:00
martijn.martijn%gmail.com
e75f7f31b2 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky 2006-04-05 23:57:30 +00:00
roc+%cs.cmu.edu
aa92a80b72 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 2006-04-03 23:17:51 +00:00
sharparrow1%yahoo.com
131c4f1ab0 Bug 244055. Forgot to update IID. 2006-04-03 01:16:24 +00:00
sharparrow1%yahoo.com
dc0d45c95e Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
046f910e72 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst 2006-03-24 19:38:17 +00:00
bryner%brianryner.com
7a96206e10 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. 2006-03-22 18:36:36 +00:00
benjamin%smedbergs.us
094c06b97d Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
cbiesinger%web.de
f075dc72a5 bug 330727 add BeOS to XP_UNIX ifdef to allow entering local paths in the
urlbar directly
r=sergei_d sr=darin
2006-03-17 16:42:42 +00:00
darin%meer.net
160c228151 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us
ac2cdadfb2 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
cbiesinger%web.de
055af5662f bug 324985 Allow components to register in a category to get told about all page
loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz
2006-03-03 21:06:53 +00:00
bryner%brianryner.com
4bc4e83098 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky 2006-03-03 20:18:07 +00:00
bzbarsky%mit.edu
24944d8a8c Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
to nsIGlobalHistory3.  Bug 328928, r=brettw and smfr, sr=darin
2006-03-03 03:34:48 +00:00
bzbarsky%mit.edu
8f1452f41d Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin 2006-02-23 05:30:25 +00:00
bzbarsky%mit.edu
1a344388ca Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
mrbkap%gmail.com
37fb43f55b Only warn in debug builds, and don't assert on user defined actions. bug 153783, r+sr=jst 2006-02-22 02:28:04 +00:00
bzbarsky%mit.edu
34149c2f29 Document the channel owner stuff better. Bug 327070, r=biesi, sr=darin 2006-02-20 18:59:07 +00:00
cbiesinger%web.de
74892f0996 Bug 302115 "Try again" on XUL error page loads wrong thing after going back
r=bryner sr=bz
2006-02-19 17:33:31 +00:00
benjamin%smedbergs.us
57839c8110 Bug 78087 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-02-14 15:57:04 +00:00
bzbarsky%mit.edu
0974549363 Fix bug 327073. r+sr=jst 2006-02-14 02:03:14 +00:00
gavin%gavinsharp.com
b55069bd54 Bug 326891: content encoding error page incorrectly uses the generic error page title/text, r+sr=bzbarsky 2006-02-12 20:23:59 +00:00
bryner%brianryner.com
edbb77ee17 Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst. 2006-02-11 05:52:33 +00:00
bryner%brianryner.com
8270be210c Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky. 2006-02-11 00:17:36 +00:00
bzbarsky%mit.edu
fc0b0f2bea 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
2006-02-07 20:46:39 +00:00
darin%meer.net
c66a07be05 fixes bug 290090 "Meta refresh should pass VALIDATE_ALWAYS instead of LOAD_BYPASS_CACHE" r=biesi sr=bzbarsky 2006-02-07 15:45:36 +00:00
brettw%gmail.com
c5706cf9ef Bug 326107 r=darin, sr=bzbarsky, branch-1.8.1=darin:
Send referrer to GlobalHistory even when it isn't being sent over the network
2006-02-07 02:02:56 +00:00
brettw%gmail.com
4c3ace6b8b Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history. 2006-02-06 20:52:18 +00:00
gavin%gavinsharp.com
d6e8dffdab Bug 324285 followup: remove all mentions of NS_SHISTORYLISTENER_CONTRACTID, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky 2006-02-05 16:45:52 +00:00
gavin%gavinsharp.com
5bf04cfda3 Bug 324285: Improve nsISHistoryListener.idl documentation, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=bzbarsky, sr=darin 2006-02-04 19:58:48 +00:00
darin%meer.net
bf4998de17 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 2006-02-03 21:28:11 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
bryner%brianryner.com
e437fdb07e If a session history listener changes the current index, make sure we update the insertion point in the list to match. Bug 320742, patch by waymost+firefox@gmail.com, r+sr=me. 2006-01-27 20:34:43 +00:00
bzbarsky%mit.edu
f5b0e7ca81 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst
2006-01-27 01:04:48 +00:00
mrbkap%gmail.com
9f6aab3aff bug 322773: The prompt service asserts if there our window doesn't have a document. r+sr=bzbarsky 2006-01-18 23:06:06 +00:00
bryner%brianryner.com
328bf9d2f4 Make sure to save the layout state when navigating to a cached presentation, in case the content viewer for the previous page is not saved or is later evicted. Bug 321671, r=biesi. 2006-01-13 19:27:54 +00:00
darin%meer.net
387edde4eb fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky 2006-01-11 01:50:15 +00:00
dbaron%dbaron.org
ee4cdca7c2 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin 2006-01-06 06:51:45 +00:00
bryner%brianryner.com
fecdd39740 Drop evicted content viewers from their SHEntry before calling Destroy, so that state-saving can locate the PresShell. Bug 321778, r=bzbarsky. 2006-01-05 21:01:24 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
df1599b4eb Bug 320488 crash [@ nsSHistory::EvictWindowContentViewer]
patch by marria@gmail.com r=biesi sr=darin
2005-12-25 04:04:36 +00:00
neil%parkwaycc.co.uk
0d29adadea Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst 2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
darin%meer.net
f5dd096659 fixing build bustage (nsIDataChannel no longer exists) 2005-11-12 18:40:00 +00:00
bryner%brianryner.com
29eee87435 Make sure we capture all necessary state off the SHEntry before clearing its presentation (bug 312117). r=sicking, sr=bzbarsky. 2005-11-09 01:57:01 +00:00
bryner%brianryner.com
f9c219472d Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky. 2005-11-06 19:23:03 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bryner%brianryner.com
55b66e80dc Make sure we notify the content viewer when a subframe load completes so that we call OnPageShow -- this fixes link coloring when navigating back to frameset/iframe pages with fastback. Bug 307178, r+sr=bzbarsky. 2005-11-01 18:35:47 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
98f7c9d9bf Make docshell visibility checking check with the tree owner so that embedding
gets a chance to claim docshells as invisible (eg in Camino's tab
implementation).  Bug 306245, patch by jst, r=sfraser, sr=bzbarsky
2005-10-19 02:59:30 +00:00
bzbarsky%mit.edu
59d03bcd84 Fix leak when closing window that has live refresh timers. Bug 312769,
r=darin, sr=bryner
2005-10-18 01:48:22 +00:00
cvshook%sicking.cc
7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
mconnor%steelgryphon.com
6afc00e8f4 bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa 2005-10-04 03:50:05 +00:00
jruderman%hmc.edu
34f40c0fa0 Backing out my fix for bug 301471 (XUL error pages should have 'Try Again' button focused) because it caused a regression, bug 310774 (Unable to select most menu items using keyboard when error page is shown). a=asa for backout. 2005-10-03 19:32:48 +00:00
bryner%brianryner.com
4661df8775 Remove historyMaxTotalViewers from nsISHistoryInternal, and just use a static getter on nsSHistory instead. Bug 310597, r=marria@gmail.com, sr=darin. 2005-10-01 20:38:47 +00:00
bryner%brianryner.com
8d94bd5c6f Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net 2005-09-29 20:24:27 +00:00
aaronleventhal%moonset.net
67ee0e846e Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil 2005-09-29 13:16:46 +00:00
bryner%brianryner.com
6ba0ca043f 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. 2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu
b070e13b41 Update some GetScriptGlobalObject() callers to the right signature. Bug
303084, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-09-23 14:50:43 +00:00
cbiesinger%web.de
35afe54802 observe the "browser.xul.error_pages.enabled" pref so that it takes effect
immediately
bug 282050 patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=biesi sr=jst
2005-09-22 20:38:56 +00:00
bzbarsky%mit.edu
eabb28c936 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
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
5abb3b2c19 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin
2005-09-16 15:51:14 +00:00
bryner%brianryner.com
53d768e870 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner%brianryner.com
6fa0bb4be2 Reverting this change, it had no effect on Tp. 2005-09-14 07:18:17 +00:00
bryner%brianryner.com
2676977d7d Commenting out call to EvictGlobalContentViewers to test perf impact. Bug 292965. 2005-09-14 06:12:00 +00:00
bryner%brianryner.com
d67792fcc9 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. 2005-09-14 03:38:40 +00:00
cbiesinger%web.de
0e228a617d bug 300800 make CreateAboutBlankContentViewer store the current viewer in
shistory
r=bryner sr=bz
2005-09-01 12:12:04 +00:00
bzbarsky%mit.edu
f82d146879 Fix crash bug 306580. r+sr=bryner 2005-09-01 04:04:10 +00:00
bzbarsky%mit.edu
ff7e54e813 Make sure to null out the weak parent ptr in session history entries as
needed.  Bug 305181, r=bryner, sr=jst
2005-09-01 02:40:12 +00:00
bryner%brianryner.com
a475440a84 Abort restoring the presentation if firing pagehide/unload stopped the load. Bug 305995, r+sr=bzbarsky. 2005-08-31 22:01:46 +00:00
bryner%brianryner.com
d60bb1dbb7 Walk the list of SHEntry children looking for the target id if it's not at the expected index, and don't crash if there isn't one. Bug 305531, r+sr=bzbarsky. 2005-08-30 20:56:49 +00:00
bryner%brianryner.com
5efc7980f6 Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky. 2005-08-25 21:21:07 +00:00
bryner%brianryner.com
6383a6ee5b Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst. 2005-08-25 07:06:59 +00:00
mconnor%steelgryphon.com
c9bb7d894d bug 229737 - add favicon to XUL error pages, r=biesi, sr=neil 2005-08-25 05:10:19 +00:00
roc+%cs.cmu.edu
329c6cc865 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
bryner%brianryner.com
e5ed382220 If we created a transient about:blank content viewer, make sure we're locating the root view sibling for that viewer and not the viewer it's replacing. Bug 300533, r=cbiesinger. 2005-08-24 17:27:41 +00:00
smfr%smfr.org
8330cce37f 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 2005-08-23 23:48:47 +00:00
roc+%cs.cmu.edu
4ac70976f2 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron 2005-08-23 22:26:10 +00:00
mrbkap%gmail.com
f6f8514c0c bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst 2005-08-23 00:24:57 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
gavin%gavinsharp.com
1b5094dc43 Bug 302729 attachment 192114, netError.dtd entities can't be formatted prettily, r=cbiesinger, sr=darin 2005-08-22 03:16:29 +00:00
mats.palmgren%bredband.net
83952914cf Fix crash when going back on pages with (I)FRAMEs. b=304639 r+sr=bryner 2005-08-21 12:43:42 +00:00
jruderman%hmc.edu
18479a3e21 bug 301471 - error pages should have 'Try Again' button focused. r=biesi sr=bz 2005-08-21 05:17:26 +00:00
bryner%brianryner.com
e5c9b5c90e Disable caching of documents when doing a subframe navigation, to help with site compatibility problems. Bug 304860, r=bzbarsky. 2005-08-19 20:58:17 +00:00
bsmedberg%covad.net
9619c3563e Update LOCAL_INCLUDES to new srcdir location of shistory (docshell/shistory, not xpfe/components/shistory), from bug 305090 2005-08-18 18:07:04 +00:00
bsmedberg%covad.net
b56d8a99d9 Bug 305090 - build shistory from docshell instead of xpfe/components (see also bug 230363 where the cvsmoves were actually performed) r+sr=bz 2005-08-18 16:35:41 +00:00
bryner%brianryner.com
8554eb2a6a fix case on #include 2005-08-18 11:17:05 +00:00
bryner%brianryner.com
7492c614f4 Invalidate cached presentation if the DOM is mutated (bug 292962). Patch by sicking, r+sr=me, a=chofmann. 2005-08-18 11:17:04 +00:00
bryner%brianryner.com
ac3d7d9f8e Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-08-18 11:17:03 +00:00
timeless%mozdev.org
add5acbbc1 Bug 292973 Lonely forward-decl of nsISecureBrowserUIState
r=bz sr=bz a=brendan
2005-08-18 11:17:02 +00:00
bryner%brianryner.com
9ce3952605 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-08-18 11:17:01 +00:00
bryner%brianryner.com
6b94f1804c 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. 2005-08-18 11:17:00 +00:00
timeless%mozdev.org
dc145eb043 Bug 121730 Add number of entries actually removed from sHistory when using PurgeHistory()
r=bz sr=bz
2005-08-18 11:16:59 +00:00
bsmedberg%covad.net
7892b7d614 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2005-08-18 11:16:58 +00:00
bzbarsky%mit.edu
d043a3ce48 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin
2005-08-18 11:16:57 +00:00
bzbarsky%mit.edu
e117f7c124 Make sure to copy the cache key when cloning. Bug 263653, r+sr=darin 2005-08-18 11:16:56 +00:00
darin%meer.net
8b73005309 fixes bug 262183 "FFTrunk and Trunk crash [@ nsSHEntry::GetChildAt]" r=biesi sr=bzbarsky 2005-08-18 11:16:55 +00:00
darin%meer.net
41f3b5f8a9 fixes bug 260314 "UMR in nsSHEntry::SetLayoutHistoryState + cleanup" r=biesi sr=bzbarsky 2005-08-18 11:16:54 +00:00
gerv%gerv.net
49d60be6a9 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-18 11:16:53 +00:00
hpradhan%hotpop.com
055a32ce6a bug 229392 : minor cleanup in session history r=alecf sr=bz 2005-08-18 11:16:52 +00:00
bzbarsky%mit.edu
5c860a09e1 Make sure we don't end up with a too-negative mIndex. Bug 218639, r=timeless, sr=jag 2005-08-18 11:16:51 +00:00
jaggernaut%netscape.com
54bee235ab Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2005-08-18 11:16:50 +00:00
peterv%propagandism.org
8416c3a3d3 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2005-08-18 11:16:49 +00:00
darin%meer.net
65a4ba1a9a fixes bug 252023 "'no-store' header directives from server or web script ignored by browser during non-SSL transactions" r+sr=bzbarsky 2005-08-18 11:16:48 +00:00
gerv%gerv.net
007abd140d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-18 11:16:47 +00:00
timeless%mozdev.org
38ca98d438 Bug 206166 Unused variable `PRInt32 cnt' in nsSHistory::CompareFrames
r=radha sr=rbs
2005-08-18 11:16:46 +00:00
seawood%netscape.com
277bd6e669 Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2005-08-18 11:16:45 +00:00
dougt%netscape.com
b607052d35 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2005-08-18 11:16:44 +00:00
bzbarsky%mit.edu
b69a739453 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2005-08-18 11:16:43 +00:00
hpradhan%hotpop.com
2a54071991 bug 197827 : fix a leak by making nsSHEntry use nsCOMArray. r=radha sr=alecf 2005-08-18 11:16:42 +00:00
jaggernaut%netscape.com
405cc280c8 Bug 126826: back/forward buttons stop working because of invalid value for sessionhistory.max_entries in prefs.js. r=jrgm, sr=bryner, a=asa 2005-08-18 11:16:41 +00:00
locka%iol.ie
11f0cd2e2b Better explain nsIWebNavigation "document" attribute, fix spelling of "referringURI" attribute. b=192322 r=danm@netscape.com sr=bzbarsky@mit.edu a=asa@mozilla.org 2005-08-18 11:16:40 +00:00
dbaron%dbaron.org
ac982a9e9f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2005-08-18 11:16:39 +00:00
dougt%netscape.com
14f2cb2b10 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2005-08-18 11:16:38 +00:00
radha%netscape.com
3892d56d4a Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT. 2005-08-18 11:16:37 +00:00
rpotts%netscape.com
8f0201019d bug #40867 (r=bzarsky@mit.edu, sr=jst@netscape.com, a=asa@mozilla.org) Add new caching API to allow view-source to load from the cache and not the network. 2005-08-18 11:16:36 +00:00
darin%netscape.com
48f0a35de6 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2005-08-18 11:16:35 +00:00
morse%netscape.com
8408b32f61 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2005-08-18 11:16:34 +00:00
radha%netscape.com
24d1394c9b Fix for bug # 105299. Loop through all the subframes to make sure all url
changes are reloaded when going back and forward. r=adamlock. sr=alecf a=shaver
2005-08-18 11:16:33 +00:00
gerv%gerv.net
a282274059 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2005-08-18 11:16:32 +00:00
blakeross%telocity.com
0a265d89e1 112282 - navigate back/fwd stops working in some cases. This is just a safety patch. r=radha sr=hewitt 2005-08-18 11:16:31 +00:00
radha%netscape.com
80ea01e0db Fix for bug 90224. Send nsISHistoryListener notifications for Reload. r=mcafee, sr=rpotts. 2005-08-18 11:16:30 +00:00
rpotts%netscape.com
31e1bb9bad bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2005-08-18 11:16:29 +00:00
dbaron%fas.harvard.edu
f0ab15a4cc Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2005-08-18 11:16:28 +00:00
seawood%netscape.com
10df219948 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2005-08-18 11:16:27 +00:00
radha%netscape.com
a8d1cb48f2 Fix for bug # 103050. Wrong index value passed for OnHistoryGotoIndex(). r=chak sr=alecf 2005-08-18 11:16:26 +00:00
timeless%mac.com
ae949de423 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2005-08-18 11:16:25 +00:00
radha%netscape.com
137a7e65b3 Fix for bug # 108041. Session history misbehaves when _top is replaced after a series of subframe navigations. r=adamlock sr=rpotts. 2005-08-18 11:16:24 +00:00
radha%netscape.com
24bdc7dacf Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts 2005-08-18 11:16:23 +00:00
radha%netscape.com
87b3440aec Fix for bug # 100993. Freeze nsIHistoryEntry.idl and nsISHistory.idl according to the
embedding freezing guidelines. r=chak sr=alec
2005-08-18 11:16:22 +00:00
dougt%netscape.com
c0a4020754 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2005-08-18 11:16:21 +00:00
gerv%gerv.net
4e40151875 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-08-18 11:16:20 +00:00
rjesup%wgate.com
b20dd2c69a Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2005-08-18 11:16:19 +00:00
jaggernaut%netscape.com
73ae417040 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 2005-08-18 11:16:18 +00:00
radha%netscape.com
647839eab5 Fix for bugs 87143 - Problems with setting nsSHistory::SetmaxLength()
92664 - nsISHistoryListener::OnHistoryGotoIndex() doesn't fire all the time.
r=mcafee, sr=alec
2005-08-18 11:16:17 +00:00
sfraser%netscape.com
e5d23cfe97 Fix bug 115171 -- shrink session history entries by replacing PRBool with PRPackedBool. r=dp, sr=waterson 2005-08-18 11:16:16 +00:00
radha%netscape.com
2877286a8b Fix for bus 92824. Update index in session History only after onStartLoad notifications come for the page. r=adamlaock sr=rpotts 2005-08-18 11:16:15 +00:00
radha%netscape.com
1d42bc7a79 Fix for bug 79063 r=rpotts sr=darin 2005-08-18 11:16:14 +00:00
rjesup%wgate.com
3862ed192c Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2005-08-18 11:16:13 +00:00
radha%netscape.com
e3b2a6ae54 Fix for topEmbed bug 93027 r=pollmann sr=darin 2005-08-18 11:16:12 +00:00
jst%netscape.com
20960f7b98 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2005-08-18 11:16:11 +00:00
locka%iol.ie
da62cef8a6 Fix for http referrer not being sent when session history urls are loaded from the network. b=61426 sr=rpotts@netscape.com 2005-08-18 11:16:10 +00:00
radha%netscape.com
1713b1c055 Fix for bug # 55055. Save CacheKey in SH for postdata results r=adamlock sr=rpotts 2005-08-18 11:16:09 +00:00
radha%netscape.com
a76a0f7dc1 Fix for bug # 71756. New SH interfaces. r=rpotts, valeski 2005-08-18 11:16:08 +00:00
radha%netscape.com
38459ef2cf Fix for bug 84519 r=adamlock sr=rpotts a=asa. history.go(toofar) gives problems to back/forward buttons 2005-08-18 11:16:07 +00:00
shanjian%netscape.com
d16dfd0074 #92473 Overwrite character set does not work inside Text and Textarea.
r = radha, sr=blizzard
2005-08-18 11:16:06 +00:00
rpotts%netscape.com
6f89998eb1 bug #94205. Adding flags to nsIWebNavigation::Stop(). 2005-08-18 11:16:05 +00:00
radha%netscape.com
12fef53a7c Fix for bugs 84556 and 82803 r=valeski sr=rpotts 2005-08-18 11:16:04 +00:00
scc%mozilla.org
f58c59e953 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2005-08-18 11:16:03 +00:00
radha%netscape.com
3e2860b6d5 Fix for bug # 76472 Assertion in GetChildAt() r=valeski sr=rpotts 2005-08-18 11:16:02 +00:00
radha%netscape.com
c542ad0c1b Fixes related to bug # 71756 r=rpotts, valeski 2005-08-18 11:16:01 +00:00
radha%netscape.com
3bd7850942 Changes related to history listener interface 65608 r=valeski sr=rpotts 2005-08-18 11:16:00 +00:00
radha%netscape.com
76ee3f22fc Fix for Session History growth bug 62651 r=law and several other people, sr=waterson
Put a limit on number entries session History will hold for each browser window/embedding
window
2005-08-18 11:15:59 +00:00
radha%netscape.com
d3ca985c09 More fixes for bug # 46828. r=pollmann sr=rpotts 2005-08-18 11:15:58 +00:00
pollmann%netscape.com
ddace8e939 Bug 52670: Grow session history frame list if needed when frames load out of order. r=radha@netscape.com, sr=rpotts@netscape.com 2005-08-18 11:15:57 +00:00
radha%netscape.com
c27f132bd2 Fix for bug # 58216 r/sr=rpotts 2005-08-18 11:15:56 +00:00
warren%netscape.com
031be859cd Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2005-08-18 11:15:55 +00:00
warren%netscape.com
4b329258b0 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2005-08-18 11:15:54 +00:00
radha%netscape.com
98085dac6a Fix for bug # 55055 r=adamlock sr=rpotts 2005-08-18 11:15:53 +00:00
radha%netscape.com
a19a8fd1ac Fix for bug # 55145. r=pollmann a=rpotts 2005-08-18 11:15:52 +00:00
locka%iol.ie
a549ceb105 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2005-08-18 11:15:51 +00:00
rayw%netscape.com
2a9e1d9648 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2005-08-18 11:15:50 +00:00
law%netscape.com
f21cc4c0cb Bug 22174; add title to SH entries for file:/ftp: directory URLs; r=radha@netscape.com 2005-08-18 11:15:49 +00:00
rpotts%netscape.com
9a4ba5d2fa Fixed a leak where child SHEntry were not being released when the parent SHEntry was deleted. 2005-08-18 11:15:48 +00:00
valeski%netscape.com
30970ae1b0 46775. consolodating xpfe components into a root module to reduce system overhead bloat. built on win, linux, mac. precheckin tests on windows. general testing on mac and linux. 2005-08-18 11:15:47 +00:00
locka%iol.ie
9070c6e74f Impl of GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2005-08-18 11:15:46 +00:00
locka%iol.ie
72ece65e9b API changes for embedding. b=46847, r=dougt, a=valeski 2005-08-18 11:15:45 +00:00
radha%netscape.com
0c5fa11ac7 fix for bug # 43335. checking in patch on behalf of deo@logos-m.ru r=radha 2005-08-18 11:15:44 +00:00
radha%netscape.com
c5f9933557 fix for 45770 r=nisheeth. 2005-08-18 11:15:43 +00:00
warren%netscape.com
e38166db2c Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf 2005-08-18 11:15:42 +00:00
radha%netscape.com
c12a6db701 fix for dogfood+ bug 44558. r=rpotts. 2005-08-18 11:15:41 +00:00
rpotts%netscape.com
c2a451f8fa 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). 2005-08-18 11:15:40 +00:00
radha%netscape.com
2d9f46f7c5 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2005-08-18 11:15:39 +00:00
radha%netscape.com
450fa8dcb0 Fix for bug # 51564 r=valeski 2005-08-18 11:15:38 +00:00
radha%netscape.com
d848a4410c More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2005-08-18 11:15:37 +00:00
radha%netscape.com
ba9ba06c26 New methods in nsIwebNavigation 2005-08-18 11:15:36 +00:00
jdunn%netscape.com
86cdf24fba adding newline for HPUX 2005-08-18 11:15:35 +00:00
radha%netscape.com
8671c89058 Initial checin for feature bug 36547. r=self(module owner) No code in this checkin is currently used by
any parts of the build.
2005-08-18 11:15:34 +00:00
tbogard%aol.net
6c129ab6e3 Changed the concept of the transaction parent/ child to be previous and next. This flows better with actual relationship they hold in session history terms. The prev and next are also now not just readonly to allow properly setting up the list while avoiding nasty casts to implementation objects. Removed a bunch of dead code. Changed the module object to use generic factories and removed the hand created NS_New* functions. Changed over to interface maps in some places. The nsSHEntry obect no longer has the concept of children. There is no need since frame state will be stored in the layout history state object. This means nsSHEntry no longer implements the nsISHContainer interface. 2005-08-18 11:15:33 +00:00
radha%netscape.com
e09822e492 Fix for bug # 99624 r=chak sr=alecf.. freeze nsISHistorylistener as per new freezing guidelines 2005-08-18 11:15:32 +00:00
tbogard%aol.net
d26480c271 Changed nsSHEntry to be more XPCOM friendly.. Uses nsCOMPtr, the new interface map etc. 2005-08-18 11:15:31 +00:00
tbogard%aol.net
4e9295e8a1 Changed the nsISHEntry interface to deal with layoutStateHistory in terms of a types nsILayoutHistoryState rather than just an nsISupports. Also changed the implementation to hold on to it with an nsCOMPtr rather than a raw pointer. 2005-08-18 11:15:30 +00:00
tbogard%aol.net
c14ed893fc nsISHEntry's attribute uri became URI to become more consistent with other places it exists. 2005-08-18 11:15:29 +00:00
tbogard%aol.net
354439751f Added the concept of a replaceable entry. This is an entry which when a new item is added will get overwritten rather than adding the entry to the end of the list. 2005-08-18 11:15:28 +00:00
radha%netscape.com
659c8aad92 Initial checkin for history listener interface bug 65608 r=valeski sr=rpotts 2005-08-18 11:15:27 +00:00
cls%seawood.org
1c324bd972 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2005-08-18 11:15:26 +00:00
radha%netscape.com
11cfc6d94c Fix build warnings 2005-08-18 11:15:25 +00:00
seawood%netscape.com
a495612b4c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2005-08-18 11:15:24 +00:00
jaggernaut%netscape.com
de7df2d625 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2005-08-18 11:15:23 +00:00
jaggernaut%netscape.com
e0f90e0235 Bug 73353: clean up the REQUIRES lines in Makefiles. 2005-08-18 11:15:22 +00:00
waterson%netscape.com
9e615e806a Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2005-08-18 11:15:21 +00:00
cls%seawood.org
ea71483401 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2005-08-18 11:15:20 +00:00
pp%ludusdesign.com
f0ad9480e4 Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2005-08-18 11:15:19 +00:00
law%netscape.com
e551ee137f Tweaks to new shist per bug 18804; r=travis@netscape.com 2005-08-18 11:15:18 +00:00
disttsc%bart.nl
fe0f3292c0 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2005-08-18 11:15:17 +00:00
dougt%netscape.com
6db3221ce8 Landing nsIFile. 2005-08-18 11:15:16 +00:00
law%netscape.com
38c4cdee51 Fix for Mac build bustage; comment out some debugging code 2005-08-18 11:15:15 +00:00
law%netscape.com
97f4c8838f Stuff for bug #18804; tweaks for new web shell; r=radha@netscape.com 2005-08-18 11:15:14 +00:00
disttsc%bart.nl
c9cdf52c4b Clean up REQUIRES lines. r=cls 2005-08-18 11:15:13 +00:00
disttsc%bart.nl
ba87406edb Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2005-08-18 11:15:12 +00:00
cls%seawood.org
d265009c0c Add pref to REQUIRES to fix senna bustage 2005-08-18 11:15:11 +00:00
cls%seawood.org
bb1ce10e3e Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2005-08-18 11:15:10 +00:00
cls%seawood.org
ccbf7ea6e1 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2005-08-18 11:15:09 +00:00
radha%netscape.com
661db907cb Initial checkin for nsSHistory.cpp/.h. corresponding makefile changes.
interface changes to nsSHTransaction.
2005-08-18 11:15:08 +00:00
radha%netscape.com
b7c61b55b2 Initial checkin for new SH interfaces 2005-08-18 11:15:06 +00:00
radha%netscape.com
8638c8ecda Changes to interface. Adding nsISHistory.idl to makefiles. r=dp, bug=18804 2005-08-18 11:15:05 +00:00
radha%netscape.com
3019629fb9 Initial checkin for tre new session history component. r=dp. bug=18804 2005-08-18 11:14:57 +00:00
neil%parkwaycc.co.uk
2585bbcd72 Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc 2005-08-16 08:12:15 +00:00
roc+%cs.cmu.edu
7501dbbfad Bug 78510. Undoing backout; still no change. 2005-08-16 01:03:45 +00:00
roc+%cs.cmu.edu
85d3e0a8ee Bug 78510. Retry backing out of link-visited notifications, to see how Tp is affected. r+sr=bz 2005-08-15 22:39:29 +00:00
mrbkap%gmail.com
2b7c7bca7a bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
cbiesinger%web.de
26a83fee9a bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
59fbced3fe bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
darin%meer.net
48e5464417 fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg 2005-08-11 20:14:00 +00:00
roc+%cs.cmu.edu
70552e689c Bug 78510. bryner's checkin fixed the Firefox problems so I'm undoing my previous partial-backout. 2005-08-11 05:06:22 +00:00
roc+%cs.cmu.edu
3914dd73e7 Bug 78510. Try backing out the nsDocShell changes to see if the Tp changes still happen when visited notifications don't fire. 2005-08-10 23:23:53 +00:00
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
aaronleventhal%moonset.net
b8ff615ee1 Fix whitespace nit from biesi on last checkin 2005-08-10 01:47:11 +00:00
aaronleventhal%moonset.net
8b21f5d760 Bug 303841. When screen reader running, prefer external viewer applications over full page plugins because they are more accessible. r=biesi, sr=jst, a=cbeard 2005-08-10 01:45:31 +00:00
cbiesinger%web.de
b8db03642d save the presentation even if the next load is an error page
Bug 299547 r=bryner sr=darin a=brendan+shaver
2005-08-09 12:31:36 +00:00
smfr%smfr.org
62c89ae49e Clean up backout of the nsDocShell part of the patches in bug 302958 (which, luckily, was not required to fix the bug); calling EnsureContentViewer() from GetPresContext() caused performance regressions. r/sr=bryner, going on a= for previous patch. 2005-08-07 22:49:51 +00:00
smfr%smfr.org
dcc4448ecb Test backout of nsDocShell EnsureContentViewer() changes from bug 302962, to see impact on performance. 2005-08-07 15:49:15 +00:00
smfr%smfr.org
cb4ed7c2b3 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.
2005-08-06 20:28:42 +00:00
bryner%brianryner.com
c4f7b55714 Fixing VC6 bustage - initialize with a ctor 2005-08-03 22:48:42 +00:00
bryner%brianryner.com
3064c2307e When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg 2005-08-03 22:32:10 +00:00
bryner%brianryner.com
214faae62f When restoring a presentation, move everything except adding the request to the loadgroup into the async plevent callback. This fixes the problem with restoring window properties when history.back() is used (with untrusted JS on the stack). Bug 301516, r=darin, a=asa 2005-08-02 18:35:07 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
cbiesinger%web.de
d62314530b bug 280190 Make netError.xhtml look better. Also makes it themable.
patch by Henrik Skupin <hskupin@gmail.com> a=bsmedberg/mconnor

Core part: r=biesi sr=peterv
Toolkit part: r=mconnor
SeaMonkey part: r=neil sr=darin
2005-07-28 18:00:28 +00:00
cbiesinger%web.de
3dfde76838 Bug 286811 don't add ("xul") error pages to global history
r=bz sr=darin a=bsmedberg
2005-07-27 12:38:38 +00:00
cbiesinger%web.de
c603c0ce9c Bug 300863 Send onLocationChange even if we have no failed channel
r=bz sr=darin a=bsmedberg
2005-07-27 12:34:25 +00:00
bryner%brianryner.com
83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
bzbarsky%mit.edu
978cc44c42 Make setting document.location to itself not create a new history entry. Bug
300805, r=biesi, sr=darin, a=bsmedberg
2005-07-22 18:19:35 +00:00
bryner%brianryner.com
5ae7d73475 Fix stuck focus ring when restoring a presentation by making sure to save the focus before we clear the focused content state. Bug 298077, r+sr=dbaron, a=brendan. 2005-07-19 18:02:55 +00:00
bryner%brianryner.com
c322d827aa Allow caching of the document when the load type is LOAD_STOP_CONTENT or LOAD_STOP_CONTENT_AND_REPLACE. Bug 292948, r+sr=darin, a=brendan. 2005-07-19 17:20:05 +00:00
mozilla.mano%sent.com
bf547497d9 Bug 299480 - neterror.xhtml startup document isn't RTL in RTL locales. r+a=bsmedberg, sr+bzbarksky 2005-07-14 22:52:11 +00:00
bsmedberg%covad.net
c70e951ba6 Bug 292624 - XUL error pages should not have chrome privileges, r=darin sr=dveditz a=asa 2005-07-14 17:46:55 +00:00
bryner%brianryner.com
0e7ee4a645 Fix stuck designMode when using fastback by making sure the DOM window still contains the old document when the STATE_START notification is sent. Bug 300411, r+sr=darin, a=asa. 2005-07-14 16:24:32 +00:00
bzbarsky%mit.edu
290c7c8457 nsIViewManager::InsertChild does things a little oddly if the sibling is null.
Work around that by twiddling the aAfter parameter appropriately.  Bug 300538,
r=bryner, sr=roc, a=asa
2005-07-13 19:27:07 +00:00
neil%parkwaycc.co.uk
b16e6c35e2 Disable error pages in composer (webpage editor) b=300022 r=biesi sr=darin a=asa 2005-07-09 00:14:48 +00:00
cbiesinger%web.de
850147669c Bug 299008 set mOSHE at the right time, and don't clear mLSHE when loading the
error page
r=jst sr=bz a=bsmedberg
2005-07-07 11:51:19 +00:00
dveditz%cruzio.com
644b82f3f6 bug 298255: prevent browser screwiness caused by lazy extension authors loading their chrome extension in a content window instead of adding the -chrome commandline option. r=mconnor, sr=jst, a=chofmann 2005-07-07 09:45:47 +00:00
bzbarsky%mit.edu
b1f8fe7021 Fix history navigation through anchors when the anchor loads were done by
changing window.location.  Bug 297122, r=biesi, sr=jst, a=bsmedberg
2005-07-03 16:11:06 +00:00
bryner%brianryner.com
d99a80f804 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
bryner%brianryner.com
8d8409682a Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg 2005-06-30 20:58:33 +00:00
bryner%brianryner.com
b52310b682 Fix fastback to not leave the documents-loading counter unbalanced, which would lead to not using the performance-favoring event loop hint after the first fastback. Bug 298794, r+sr=darin, a=chase. 2005-06-28 02:51:04 +00:00
bryner%brianryner.com
cadc444e92 Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa. 2005-06-24 21:08:10 +00:00
bryner%brianryner.com
f3f76cdc26 Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa. 2005-06-24 20:53:43 +00:00
bryner%brianryner.com
2536b6f6a1 For fastback, dispatch the title change notification after we've updated our history entry in the docshell, so that we don't set the title on the wrong history entry. Bug 296745, r+sr=darin, a=asa. 2005-06-20 22:06:30 +00:00
roc+%cs.cmu.edu
3876d7f8c7 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
bryner%brianryner.com
f4c0d8ef73 Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan. 2005-06-03 22:17:06 +00:00
bryner%brianryner.com
72c6c61b72 When restoring a presentation via fast-back, where we aren't going to save the existing presentation, defer destruction on a PLEvent to avoid hangs when reentering plugin code (bug 294231). r+sr=jst, a=chofmann. 2005-06-02 00:57:54 +00:00
cbiesinger%web.de
19d0f90398 295279 pass the origin charset of the URI to the error page, esp. for use by
embeddors
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bz a=shaver
2005-06-01 19:19:01 +00:00
jag%tty.nl
40b035a5a3 Attempt to fix btek bustage 2005-05-18 09:54:04 +00:00
bryner%brianryner.com
87f0855b0e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner%brianryner.com
71f3834f98 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00
dveditz%cruzio.com
7b49950fef bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa
2005-05-13 23:08:09 +00:00
bzbarsky%mit.edu
c8c41508c3 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan
2005-05-08 21:44:16 +00:00
bryner%brianryner.com
ed538371bf Don't crash when we've restored a presentation with a frame that has never loaded a document. Bug 292923, r+sr=bzbarsky, a=brendan. 2005-05-06 18:18:08 +00:00
bryner%brianryner.com
aed69207f0 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. 2005-05-04 20:22:32 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
roc+%cs.cmu.edu
84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
cbiesinger%web.de
2c8feb7c53 291876 fall back to Alert() instead of an error page when we have no nsIURI object
r=bz sr=darin a=asa
2005-04-27 11:53:27 +00:00
darin%meer.net
c7c0859ea1 fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa 2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
209f868abf 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
2005-04-20 04:41:48 +00:00
darin%meer.net
9791154211 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bzbarsky%mit.edu
46d70f86fc Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
roc+%cs.cmu.edu
fb05d807b2 Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
bzbarsky%mit.edu
3ef5bbde03 Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst
2005-04-03 16:51:01 +00:00
bzbarsky%mit.edu
4cbcd59987 Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky
2005-03-30 04:22:00 +00:00
jshin%mailaps.org
098662ef65 bug 283992 : keyword search for exactly one word with non-ASCII characters doesn't work (r=darin, sr=bz) 2005-03-16 13:33:27 +00:00
neil%parkwaycc.co.uk
6b8f8074bd Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr 2005-03-11 11:12:15 +00:00
jst%mozilla.jstenback.com
09a59b3a29 Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net 2005-03-09 14:31:02 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
dougt%meer.net
819705a770 Need to link to gfx when building on WinCE. r=dougt 2005-03-07 18:23:48 +00:00
bzbarsky%mit.edu
8efc76dc9a Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin
2005-02-27 18:33:27 +00:00
jst%mozilla.jstenback.com
822de539b8 Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net 2005-02-23 23:31:37 +00:00
jst%mozilla.jstenback.com
d5804ef8f6 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky%mit.edu
d029903af6 Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
jshin%mailaps.org
44c2409acd bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky) 2005-02-22 18:25:12 +00:00
bzbarsky%mit.edu
3da18aa1d2 Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst
2005-02-21 16:39:01 +00:00
gandalf%firefox.pl
dcdddc53d6 Bug 279768: Move locales from ./docshell and ./intl to ./dom/locales ; r=bsmedberg 2005-02-20 18:10:15 +00:00
bzbarsky%mit.edu
cc4a5f9b86 Use GetAsSupports instead of STATIC_CAST. Bug 282644 followup, r=biesi 2005-02-20 17:18:22 +00:00
bzbarsky%mit.edu
28d1b7868f Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
darin%meer.net
c195959d6b documentation cleanup for bug 99625 2005-02-19 09:12:26 +00:00
bzbarsky%mit.edu
777e651006 Followup patch to bug 273785 -- don't trust the plugin service; it lies about
whether it really found new plugins.  r+sr=jst
2005-02-19 03:56:57 +00:00
bzbarsky%mit.edu
acdd0d0b50 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu
8399287dcb Remove utterly unused member. No bug, r=biesi, sr=lxr search 2005-02-18 18:49:11 +00:00
bzbarsky%mit.edu
34b03e8a02 Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
cbiesinger%web.de
d0e111d772 Bug 237244 use location.reload for "Try Again" on error pages instead of
assigning to location.href
r+sr=bz
2005-02-18 17:53:45 +00:00
danm-moz%comcast.net
0925c4ec99 unnamed windows can't be a named target. bug 278143 r=bzbarsky 2005-02-08 23:16:52 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
silver%warwickcompsoc.co.uk
f7638f82bd Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)
2005-02-02 19:42:21 +00:00
bzbarsky%mit.edu
bd9d2b5403 Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst
2005-01-31 22:49:42 +00:00
bzbarsky%mit.edu
7f9e2bbb9a Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
2005-01-31 20:46:24 +00:00
cbiesinger%web.de
57d7cad17b 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
2005-01-31 11:26:31 +00:00
bzbarsky%mit.edu
45c40e1d84 Session history traversals from URI with anchor to same URI without anchor
should scroll.  Bug 280215, r=biesi, sr=darin
2005-01-30 20:53:42 +00:00
cst%andrew.cmu.edu
a7e181d92b Bug 62402 Do not fixup IP address literals [was: IPv6 IPs]
r=biesi sr=darin
2005-01-29 00:38:11 +00:00
bzbarsky%mit.edu
7241d7be6d When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst
2005-01-21 16:58:45 +00:00
bzbarsky%mit.edu
9cf134eb94 Add a webnavigation flag to allow callers to stop content, not just stop
network activity.  Make nsLocation use this so it doesn't stop content
unnecessarily.  Bug 277224, r=darin, sr=jst
2005-01-20 16:57:04 +00:00
bzbarsky%mit.edu
1d87c3297f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
bzbarsky%mit.edu
220748d802 If we run into a null child SHEntry while cloning, just clone it as null into
the new tree instead of bailing out on the clone altogether.  Bug 275890,
r=biesi, sr=darin
2005-01-12 02:49:24 +00:00
jst%mozilla.jstenback.com
21799339e6 Fixing bug 277564. Make sure to update the lock icon state correctly when dealing with wyciwyg: URLs. r=bugmail@sicking.cc, dveditz@cruzio.com, darin@meer.net, sr=brendan@mozilla.org, a=asa@mozilla.org 2005-01-12 00:00:53 +00:00
jst%mozilla.jstenback.com
265b0ff136 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 2005-01-11 19:36:40 +00:00
dveditz%cruzio.com
74bfd1dd41 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary) 2005-01-05 06:04:46 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
bzbarsky%mit.edu
5e9b7fd80c Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.
2004-12-08 18:02:40 +00:00
bzbarsky%mit.edu
55ab8dd119 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
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
dfe254a7b1 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin
2004-12-08 17:02:56 +00:00
danm-moz%comcast.net
626ddff8ea single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv 2004-12-07 16:09:08 +00:00
danm-moz%comcast.net
bd1155b88d single window mode aviary branch merge. bug 172962 r=jst,peterv 2004-12-07 16:08:57 +00:00
cbiesinger%web.de
54e4962198 Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin

no tp affect - checking in again
2004-12-04 22:38:54 +00:00
cbiesinger%web.de
1ced84d884 backing out Bug 261608 to see whether it fixes the Tp regression 2004-12-04 20:32:08 +00:00
cbiesinger%web.de
8ace54dc3d Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin
2004-12-04 17:47:14 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
scott%scott-macgregor.org
f088f54df3 Bug #267665, Bug #260836 --> TB0.9 does not do proxy authentication for RSS feeds
RSS feeds which require HTTP authentication are rejected as invalid

Re-work the docshell auth prompt logic to disable prompts for any url running in chrome unless the chrome window
explicitly sets allowAuth on its docshell.

r=darin
sr=jst
2004-11-24 17:45:44 +00:00
darin%meer.net
350d084828 fixes bug 270345 "nsIDocShellTreeItem's parent and treeOwner attributes are not scriptable" r=biesi sr=bzbarsky 2004-11-24 04:56:49 +00:00
timeless%mozdev.org
8cdbad2127 Bug 250476 lowercase GetChildSHEntry and AddChildSHEntry in nsIDocShellHistory
r=jst sr=jst
2004-11-23 19:19:29 +00:00
darin%meer.net
1b7fe5d860 fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz 2004-11-12 03:24:24 +00:00
jst%mozilla.jstenback.com
0d96026257 Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() (prefs is a service). This caused a crash on the aviary branch after 172962 landed. Also remove unnecessary null check now that we know mPrefs can't be null. r=dbaron@mozilla.org, sr=brendan@mozilla.org 2004-11-10 22:07:17 +00:00