1787 Commits

Author SHA1 Message Date
troy%netscape.com
8f7ef0638a b=24506 r=buster@netscape.com When calculating the width of a block frame
and it's an unconstrained reflow, then make sure to include the right
margin


git-svn-id: svn://10.0.0.236/trunk@62844 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:03:33 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
troy%netscape.com
ec58a955b0 b=5588. Changed it so we lazily reparent the child frames on the overflow list
when it's our initial reflow


git-svn-id: svn://10.0.0.236/trunk@62684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:14:11 +00:00
troy%netscape.com
53dff23713 b=5588. Added new function ReparentFrameViewList() that is much faster
then ReparentFrameView() when you have a list of child frames


git-svn-id: svn://10.0.0.236/trunk@62683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:09:36 +00:00
troy%netscape.com
493ae62594 b=5588. Performance improvement. Avoids walking the child list
twice when inserting frames at the head of the list


git-svn-id: svn://10.0.0.236/trunk@62682 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:07:52 +00:00
troy%netscape.com
d4f29d1b5f Now line boxes are allocated out of the pres shell arena. This reduces the
overhead of memory allocation, and it gets us recycling which speeds up
resize reflows


git-svn-id: svn://10.0.0.236/trunk@62680 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:00:51 +00:00
troy%netscape.com
e36f8a9042 b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
necessary to PR_ABS macro


git-svn-id: svn://10.0.0.236/trunk@62655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:50:52 +00:00
norris%netscape.com
fab29b0e70 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


git-svn-id: svn://10.0.0.236/trunk@62633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 06:32:42 +00:00
tbogard%aol.net
e9dade26fc Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:57 +00:00
tbogard%aol.net
2011f00f70 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.
git-svn-id: svn://10.0.0.236/trunk@62571 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:04 +00:00
joki%netscape.com
d58d23067a Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@62473 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:31:44 +00:00
evaughan%netscape.com
e80da5b242 Fix for bug# 30548
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62430 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:37:23 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
buster%netscape.com
24b2c8d931 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


git-svn-id: svn://10.0.0.236/trunk@62171 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:16:43 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
evaughan%netscape.com
d40b1bea18 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:01:30 +00:00
av%netscape.com
c7a8c50630 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:57:14 +00:00
pollmann%netscape.com
8a83557c05 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:48 +00:00
av%netscape.com
f9f761f6f0 Fix for 27486, r=rickg, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61706 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:14:16 +00:00
evaughan%netscape.com
28b6c97e2a Fixes for bugs: 28460, 27573, 27242, 24721
-r waterson -a jar


git-svn-id: svn://10.0.0.236/trunk@61648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:18:34 +00:00
av%netscape.com
63f56a199e Fixing 27486, r=beard
git-svn-id: svn://10.0.0.236/trunk@61627 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:02:53 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
buster%netscape.com
8876d68b6f fixed bug 25510 and 28084
r=troy
a=jar


git-svn-id: svn://10.0.0.236/trunk@61440 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:06:19 +00:00
buster%netscape.com
3786b45405 added an assertion that will catch regressions associated with bug 25510
r=troy
a=jar


git-svn-id: svn://10.0.0.236/trunk@61439 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:05:04 +00:00
dbaron%fas.harvard.edu
36eb971c4b Refix bug 5821, which I broke with a mistake in my earlier change. r=buster@netscape.com a=rickg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61355 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 03:42:30 +00:00
pollmann%netscape.com
26c8b9b673 Bug 14827: Adding a comment, removing unused code r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61346 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 02:32:38 +00:00
jdunn%netscape.com
659b2712ed Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
buster%netscape.com
bb33a00be3 bug 27927
r=troy


git-svn-id: svn://10.0.0.236/trunk@61045 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:11:37 +00:00
av%netscape.com
9b9daa296e Added check for null pointer to avoid possible crashes, could be reason for 27558
git-svn-id: svn://10.0.0.236/trunk@61012 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:49:42 +00:00
buster%netscape.com
e5d5d194f5 bug 22853
absolute containing block was not checking frame bit, so sometimes contained block would not get an initial reflow


git-svn-id: svn://10.0.0.236/trunk@60991 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:05:38 +00:00
buster%netscape.com
ad34728fe0 continuing work on bug 25510
r=troy


git-svn-id: svn://10.0.0.236/trunk@60983 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:50:06 +00:00
pinkerton%netscape.com
566aef7a31 removed obsolete (and ifdef'd out) d&d test code. r=saari.
git-svn-id: svn://10.0.0.236/trunk@60835 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 07:13:21 +00:00
dbaron%fas.harvard.edu
f1cd9a202b Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster


git-svn-id: svn://10.0.0.236/trunk@60795 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:26:44 +00:00
buster%netscape.com
f8a979601a bug 26840 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@60678 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:54:20 +00:00
buster%netscape.com
daf94d0477 bug 25510 r=troy
bug 26289 for roc+moz@cs.cmu.edu, r=buster


git-svn-id: svn://10.0.0.236/trunk@60677 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:52:22 +00:00
troy%netscape.com
ed97833d64 b=26184 r=karnaze@netscape.com Changed it so that for a percentage width based
floater if the containing block width is unconstrained we use NS_UNCONSTRAINEDSIZE
for the floater's computed width. We were using 0 and this was causing table column
widths to be incorrect


git-svn-id: svn://10.0.0.236/trunk@60650 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:55:18 +00:00
troy%netscape.com
53d97bab09 b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now


git-svn-id: svn://10.0.0.236/trunk@60493 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:31:41 +00:00
nisheeth%netscape.com
740297e197 r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.
git-svn-id: svn://10.0.0.236/trunk@60460 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 07:11:43 +00:00
vidur%netscape.com
f1a9c3f401 Fix for bug 9140. Area elements now have event fired for them. r=joki
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
evaughan%netscape.com
a9aadf75b0 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose


git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
mjudge%netscape.com
9d16b27f7a fix for memory leak bug 24332
git-svn-id: svn://10.0.0.236/trunk@60306 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:55:34 +00:00
mjudge%netscape.com
41735e6bdd fix for bug 18528. fixing tabs controls in selection guessing.
git-svn-id: svn://10.0.0.236/trunk@60305 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:48:17 +00:00
tbogard%aol.net
498b17c6b6 Made sure we set the tree item before adding it to the parent. Then we also must notify the tree owner of the addition of the content shell after it has been added. This the bugs having to do with treeOwner showing up (27087, 2719, 25951). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60298 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:04:09 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
troy%netscape.com
ca27394aa8 b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
line dirty even if it also marks the preceding line dirty


git-svn-id: svn://10.0.0.236/trunk@59993 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 15:36:08 +00:00
dbaron%fas.harvard.edu
22c80ea3f0 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki


git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
troy%netscape.com
05e293d03e r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view


git-svn-id: svn://10.0.0.236/trunk@59586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:51:37 +00:00
ftang%netscape.com
a128731cb0 r=nhotta, fix 24451. Change the IME hightlight code so
it won't draw out the clip boundary. It now draw by different color
instead of different hight.


git-svn-id: svn://10.0.0.236/trunk@59565 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:39:25 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00