Commit Graph

305 Commits

Author SHA1 Message Date
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pollmann@netscape.com
50c8a31d13 Bug 43410: Correct z-index ordering of iframes. Passing in initdata that tells the widget it needs to clip sibling and child widgets prevents overlapping iframes from painting on top of one another. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com 2001-07-18 08:23:57 +00:00
dbaron@fas.harvard.edu
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut@netscape.com
baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
joki@netscape.com
9e19aada5c Fix 83810, have frame unregister its window from the presShell when the window is destroyed. sr:jst, r:pollmann, a:dbaron 2001-06-20 06:20:26 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
jst@netscape.com
fcac48fadc Cheking in change that shuts down annoying warnings from addreffing and releasing nsFrameFrame (which is not refcounted). r=pavlov@netscape.com 2001-05-19 07:29:25 +00:00
jst@netscape.com
63f2cfdc3c Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 00:17:01 +00:00
evaughan@netscape.com
2b93d3f3e9 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
evaughan@netscape.com
c32a797cb6 Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
jst@netscape.com
f1391a5b83 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. 2001-05-08 17:42:36 +00:00
rods@netscape.com
12c76ffe3f This is a temporary fix until 75739 is fixed, this keeps the brorders from being
drawn over by the InnerFrame.
Bug 75737 r=pollmann sr=attinasi
2001-04-13 11:34:31 +00:00
pollmann@netscape.com
ecbb31dee4 Bug 70450: Make frame.noResize scriptable, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-12 08:16:54 +00:00
disttsc@bart.nl
2835f7b390 Hook up browser UI after skin switch. bug=68662, r=ben, sr=alecf, a=asa 2001-03-16 22:40:15 +00:00
rods@netscape.com
5172ab6e59 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
disttsc@bart.nl
82d8a439a8 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
rods@netscape.com
e57f7d4be9 Printing of selected frameset frames and Iframes
Bug 66783 r=dcone sr=buster,attinasi
2001-02-06 23:03:17 +00:00
pollmann@netscape.com
b3f89175f7 Bug 8065: Prevent crashing on infinitely recursive framesets, r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 00:52:36 +00:00
jst@netscape.com
8334271474 Fixing bug 58753. Making document.referrer work for documents in [i]frames and window.open()'ed windows. r=mstoltz@netscape.com and pollmann@netscape.com, sr=vidur@netscape.com 2001-02-03 01:17:00 +00:00
dcone@netscape.com
0cd9c80264 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
dbaron@fas.harvard.edu
618fd5b917 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mstoltz@netscape.com
a538cf5586 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
pollmann@netscape.com
85744978da Bug 16346: Implement overflow:hidden support from frames and iframes. Fix by peterlubczynski, r=pollmann, sr=buster 2000-10-07 05:37:27 +00:00
danm@netscape.com
e8c94ac364 fix horrible url loading regression introduced by previous revision. r=hyatt. bugs 44437,55275 2000-10-05 23:30:56 +00:00
hyatt@netscape.com
05fbd49da3 Fix for 44437. r,a=waterson 2000-10-02 23:23:55 +00:00
locka@iol.ie
80f0da679b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jst@netscape.com
488c0b3a17 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
jst@netscape.com
fbf5154153 Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com 2000-09-08 06:56:15 +00:00
mstoltz@netscape.com
69b74db083 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
attinasi@netscape.com
9b2d31b294 Fix for leak: have to release the style context after initializing the frame... 2000-08-23 01:22:26 +00:00
attinasi@netscape.com
5971abb2a9 Resolving style context for the htmlInnerFrame instead of using the parent frame's context. Also added some basic error checking... b=49739 r=buster@netscape.com 2000-08-23 00:12:30 +00:00
scc@mozilla.org
65b345cbfe fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
pollmann@netscape.com
62155f60b0 Bug 35986: document==NULL for FRAMEs created without SRC; r=kmcclusk 2000-08-03 22:23:48 +00:00
hyatt@netscape.com
b514465fec fix assert for dogfood bug#37854, r=danm 2000-05-18 21:08:27 +00:00
pollmann@netscape.com
3c27fe0a4b Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd 2000-05-16 21:59:23 +00:00
dbaron@fas.harvard.edu
9d2ae01f67 Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
pollmann@netscape.com
9db312c35f Bug 27383: Pass referer when loading iframe's document to allow javascript: urls - combine load methods, r=nisheeth
Bug 23014: Percent width on iframes allowed, r=karnaze (does not include percent height fixes)
2000-05-12 00:57:28 +00:00
rods@netscape.com
d129721280 Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
scc@netscape.com
dce90dfaff making string conversions explicit 2000-04-15 21:18:29 +00:00
tbogard@aol.net
feaf2e1938 Use the docShell APIs to do the Load rather than nsIWebShell methods. 2000-04-01 00:26:21 +00:00
warren@netscape.com
a2fb078809 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
norris@netscape.com
86377d2759 Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)
2000-03-21 04:12:56 +00:00
norris@netscape.com
9f3ccec0f4 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
pierre@netscape.com
ee71ad262f Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
norris@netscape.com
c859ab5652 Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
tbogard@aol.net
69ff50e56d Changed nsHTMLFrameInnerFrame to hold on to a subShell that is an nsIBaseWindow instead of a webShell. This paves the way for holding different types of objects. Also gets rid of that stupid nsIWebShell interface. :) When creating the docShell use the new docShell interfaces rather than the old webShell ones. 2000-03-11 00:41:04 +00:00
buster@netscape.com
b3995368d0 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
this part of the fix is temporary, but sufficient for beta.  it calls the pres shell to do the initial association.
after beta, this will be done by the frame construction code.
r=travis
a=jar
2000-03-03 23:16:43 +00:00