572 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
245bc528b8 History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151015 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 04:18:08 +00:00
peter%propagandism.org
7f400f66de Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@150686 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 16:48:40 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bryner%brianryner.com
eeddf02bde 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.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
24bc13c2c1 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@147540 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 22:11:47 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
timeless%mozdev.org
029e5074be Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan


git-svn-id: svn://10.0.0.236/trunk@146551 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-04 02:23:20 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
bryner%brianryner.com
b8b3823b10 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa.
git-svn-id: svn://10.0.0.236/trunk@145903 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 06:43:48 +00:00
hyatt%mozilla.org
b141ded24f Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben
git-svn-id: svn://10.0.0.236/trunk@145544 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 18:33:24 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
caillon%returnzero.com
cd46cbbaad 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)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
e07c163859 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
caillon%returnzero.com
68b48a504e Bug 213595 - Check for OOM. r=bzbarsky@mit.edu sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@145134 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 02:43:32 +00:00
bzbarsky%mit.edu
60797ca867 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


git-svn-id: svn://10.0.0.236/trunk@144574 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 19:17:54 +00:00
bzbarsky%mit.edu
289b361614 Make URI fixup work with UTF8 strings, mostly... Bug 211181, r=adamlock, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144369 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 00:39:51 +00:00
timeless%mozdev.org
00d6fdabfc Bug 58613 "last page visited" cannot handle framed pages properly
patch by ian@arlen.demon.co.uk r=timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144042 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-22 17:46:13 +00:00
locka%iol.ie
541b9e993e 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
git-svn-id: svn://10.0.0.236/trunk@143993 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 18:12:02 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
alecf%flett.org
71e5d724e5 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


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com
fd04e5bb85 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
jst%netscape.com
36426af778 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
git-svn-id: svn://10.0.0.236/trunk@143011 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 00:48:35 +00:00
locka%iol.ie
ca19d857f9 Check for invalid combination of load flags. b=87353 r=radha@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142912 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-26 12:14:17 +00:00
danm%netscape.com
a212aacef0 revert rev 1.524 because of regression bug 199471. code=radha r=me
git-svn-id: svn://10.0.0.236/trunk@142833 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:47:47 +00:00
danm%netscape.com
bf7a22089b partially revert rev 1.530 because of regression bug 201108. this will also be on the 1.4 branch. code=radha r=darin,me
git-svn-id: svn://10.0.0.236/trunk@142829 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:42:23 +00:00
jst%netscape.com
262beabfdd 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
git-svn-id: svn://10.0.0.236/trunk@142481 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 01:23:26 +00:00
brade%netscape.com
22482f15e0 whitespace change for adamlock r=cmanske; sr=sfraser; a=asa bug 203365
git-svn-id: svn://10.0.0.236/trunk@142274 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 18:27:47 +00:00
sspitzer%netscape.com
b6388d7f3d fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141834 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 23:29:17 +00:00
peterlubczynski%netscape.com
fa1fbae9a6 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 00:21:12 +00:00
jst%netscape.com
b8eb00005f Fixing bug 199489. Crash when changing iframe visibility from within the iframe. r=adamlock@netscape.com, sr=heikki@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@141401 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 18:55:10 +00:00
sfraser%netscape.com
7cbce31d05 Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me.
git-svn-id: svn://10.0.0.236/trunk@141351 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 02:03:44 +00:00
brade%netscape.com
55bed17b37 fix windows bustage sr=kin
git-svn-id: svn://10.0.0.236/trunk@141318 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 15:37:16 +00:00
brade%netscape.com
21819e4d8c fix return type for EnsureTransferableDataHook
git-svn-id: svn://10.0.0.236/trunk@141317 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 15:22:52 +00:00
brade%netscape.com
228c73e38c docshell changes for drag/drop/copy/paste hooks (bug 197121) r=adamlock, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@141302 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 13:16:05 +00:00
locka%iol.ie
11bcd3a503 Don't stop at space chars when reading URL from meta refresh. b=191207 r=alecf@netscape.com sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@140697 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:16:53 +00:00
locka%iol.ie
58c56a0322 Ignore meta refresh values that supply negative numbers. b=149543 r=alecf@netscape.com sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@140690 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 11:45:53 +00:00
radha%netscape.com
f9ddb4fbbb Fix for bug # 180598. link within a page created by a POST, then RELOAD, POST data is lost. r=adamlock sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140408 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 20:51:31 +00:00
nisheeth%netscape.com
4199ed2c73 Fix for bug 197127. r=alecf, sr=heikki. Mark clicked JS urls as hidden in global history. Don't let clicked data urls enter global history.
git-svn-id: svn://10.0.0.236/trunk@140292 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 23:13:10 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
radha%netscape.com
e418f80882 Fix for bug # 166736. clicking on view image while page is loading causes the back button to notgo to the last page, but the page before last. r=adamlock sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@139394 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 19:58:23 +00:00
roc+%cs.cmu.edu
071d5592f4 Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
locka%iol.ie
812b7b5fbd Skip whitespace in middle of meta refresh string. b=196346 r=radha@netscape.com sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139288 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 21:15:01 +00:00
nisheeth%netscape.com
c0c490d1c1 Fix for bug 161531. r=mstoltz@netscape.com, sr=jst@netscape.com. Fix coded up by Steve Morse. Don't add javascript: and data: link clicks to global history.
git-svn-id: svn://10.0.0.236/trunk@139085 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 08:02:31 +00:00
radha%netscape.com
3e60babb83 Fix for bug #162128. Find a usable base uri for urls loaded through javascript.
r=jst sr=darin.


git-svn-id: svn://10.0.0.236/trunk@138981 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 22:23:47 +00:00
radha%netscape.com
41efac5a08 Patch to bug # 179633. Return the proper result from ScrollIfAnchor() to the
caller to take care of traversals to invalid targets in a page. r=adamlock, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@138978 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:41:02 +00:00
radha%netscape.com
9ad867a793 Fix for bug # 148794. Check if the load is to a iframe and if so, do not add
it to session history.


git-svn-id: svn://10.0.0.236/trunk@138976 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:37:20 +00:00
cbiesinger%web.de
18a3503232 195477 r=jst sr=bzbarsky bustage fix of this morning not ideal
git-svn-id: svn://10.0.0.236/trunk@138756 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 12:59:01 +00:00