Commit Graph

985 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
d99901e245 When creating a frame after a page has loaded and loading a new document into
it, don't try to treat it as a subframe history traversal, since there is no
original history entry involved so the cloning operation fails.  Just append
the session history entry for the newly loaded frame to the history entry for
the page as we would have if the load were done during pageload.  Bug 237717,
r=adamlock, sr=darin
2004-04-13 01:42:40 +00:00
bryner@brianryner.com
f485f95ee8 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky@mit.edu
faa94b5bcd Make sure to init mValidateOrigin in the constructor. Bug 234030, patch by
Malcolm Rowe <malcolm-bmo@farside.org.uk>, r=peterv, sr=bzbarsky
2004-02-24 19:23:20 +00:00
cbiesinger@web.de
900835b62d Bug 234030 this makes docshell use the correct default value for prefs if they don't exist
r=peterv sr=bzbarsky a=chofman
2004-02-12 18:49:15 +00:00
bzbarsky@mit.edu
95e1cf2137 Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +00:00
jst@mozilla.jstenback.com
5680860700 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bsmedberg@covad.net
9bace4bf49 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. 2004-02-11 02:10:04 +00:00
jst@mozilla.jstenback.com
0c5e542fe7 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner@brianryner.com
eb840c3941 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
jst@mozilla.jstenback.com
c493462a99 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
jst@mozilla.jstenback.com
601ac76297 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jst@mozilla.jstenback.com
505e3d5ba8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bzbarsky@mit.edu
b5d1d6fff8 Change logic for detecting whether two loads with the same URI (up to anchor)
are actually different to be smarter about dealing with postdata (both loads
may have postdata and may be the same or different depending on what that post
data is).  Bug 227554, r=adamlock, sr=darin
2004-01-08 04:23:22 +00:00
bzbarsky@mit.edu
ad5f7693c0 History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin
2004-01-08 04:18:08 +00:00
peter@propagandism.org
3f9a8c352d Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
bryner@brianryner.com
640685cbe9 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
bryner@brianryner.com
1f9609e30b deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon@returnzero.com
36e47e1b16 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky@mit.edu
26f96b1143 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2003-10-03 22:11:47 +00:00
uid502
91e7029c77 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless@mozdev.org
c03ef26ae3 Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
caillon@returnzero.com
cb97361fb3 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
bryner@brianryner.com
27c32b7e7e Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa. 2003-08-12 06:43:48 +00:00
hyatt@mozilla.org
be08ae2a4b Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben 2003-08-04 18:33:24 +00:00
jaggernaut@netscape.com
ee1d5a8446 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon@returnzero.com
3c2c01c6d0 Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut@netscape.com
45be713aac Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
caillon@returnzero.com
b4198e1948 Bug 213595 - Check for OOM. r=bzbarsky@mit.edu sr=darin@meer.net 2003-07-24 02:43:32 +00:00
bzbarsky@mit.edu
6f0551e5c6 Make it possible to go back to a url even if it included an anchor that was not
found.  Bug 205213, r=jag, sr=dbaron
2003-07-08 19:17:54 +00:00
bzbarsky@mit.edu
6b10230ed4 Make URI fixup work with UTF8 strings, mostly... Bug 211181, r=adamlock, sr=darin 2003-07-02 00:39:51 +00:00
timeless@mozdev.org
11114b5346 Bug 58613 "last page visited" cannot handle framed pages properly
patch by ian@arlen.demon.co.uk r=timeless sr=alecf
2003-06-22 17:46:13 +00:00
locka@iol.ie
f4223fa674 On behalf of zack-weg@gmx.de. Add pointer check to prevent crash on js links. b=173308 r=adamlock@netscape.com sr=alecf@netscape.com 2003-06-20 18:12:02 +00:00
dbaron@dbaron.org
384f320c3a DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
alecf@flett.org
aa24a7bb8e fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon@returnzero.com
c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
jaggernaut@netscape.com
0a22e59792 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
jst@netscape.com
2270c22c50 Fixing bug 205474. Making window.open() (and other ways to target things into existing windows) not reuse already closed windows. r=caillon@aillon.org, sr=bzbarsky@mit.edu 2003-05-29 00:48:35 +00:00
locka@iol.ie
7f8a84d1e3 Check for invalid combination of load flags. b=87353 r=radha@netscape.com sr=blizzard@mozilla.org 2003-05-26 12:14:17 +00:00
danm@netscape.com
c4a66f71fd revert rev 1.524 because of regression bug 199471. code=radha r=me 2003-05-23 21:47:47 +00:00
danm@netscape.com
747455b40b partially revert rev 1.530 because of regression bug 201108. this will also be on the 1.4 branch. code=radha r=darin,me 2003-05-23 21:42:23 +00:00
jst@netscape.com
a7a4148f1e Fixing bug 130265. Don't stop current network activity when loading javascript: URL's unless the URL results in data to parse. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-15 01:23:26 +00:00
brade@netscape.com
d89babc7ec whitespace change for adamlock r=cmanske; sr=sfraser; a=asa bug 203365 2003-05-09 18:27:47 +00:00
sspitzer@netscape.com
5306e80f39 fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer
2003-04-25 23:29:17 +00:00
peterlubczynski@netscape.com
9efc141558 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa 2003-04-25 00:21:12 +00:00
jst@netscape.com
6c940db601 Fixing bug 199489. Crash when changing iframe visibility from within the iframe. r=adamlock@netscape.com, sr=heikki@netscape.com. 2003-04-18 18:55:10 +00:00
sfraser@netscape.com
6bbb43bd88 Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me. 2003-04-18 02:03:44 +00:00
brade@netscape.com
7db211366f fix windows bustage sr=kin 2003-04-17 15:37:16 +00:00
brade@netscape.com
4b868920dc fix return type for EnsureTransferableDataHook 2003-04-17 15:22:52 +00:00
brade@netscape.com
ff364901c7 docshell changes for drag/drop/copy/paste hooks (bug 197121) r=adamlock, sr=smfr 2003-04-17 13:16:05 +00:00
locka@iol.ie
99ac6891e1 Don't stop at space chars when reading URL from meta refresh. b=191207 r=alecf@netscape.com sr=bzbarsky@mit.edu 2003-04-04 15:16:53 +00:00