6200 Commits

Author SHA1 Message Date
attinasi%netscape.com
71ee99d1fa Fixed a problem where loading an image into second browser window was not updating the dimensions. Also added temporary code to put the image type in the title, even though the image type is not really accurate yet. b=24478 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63177 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:58:12 +00:00
rods%netscape.com
f4df672a66 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
attinasi%netscape.com
9519b13665 Removed NavQuirk where FONT tags were ignored if an element was explicitly sized, since we couldn't know if it was explicitly sized by an *implicit* style rule or by another FONT tag. b=25810 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:54:36 +00:00
pierre%netscape.com
cfc46042f9 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided.
git-svn-id: svn://10.0.0.236/trunk@63156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 11:44:00 +00:00
karnaze%netscape.com
b4e649d32b new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@63126 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:56:12 +00:00
karnaze%netscape.com
cf5fcc4348 bug 30273 - removing the last remaining cell in a row caused the cell map to remove the row during an incremental reflow. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@63123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:21:43 +00:00
dbaron%fas.harvard.edu
a915f864a2 Fix a leak of a device context. r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63114 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:58 +00:00
dbaron%fas.harvard.edu
d017095281 1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@63109 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:14:57 +00:00
rods%netscape.com
65ce3a5b21 added #include for nsIContent.h to fix bustage
git-svn-id: svn://10.0.0.236/trunk@63056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 16:45:01 +00:00
rods%netscape.com
b47bf11900 minor change so extended keyboard select works correctly
r=dcone


git-svn-id: svn://10.0.0.236/trunk@63055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:56:26 +00:00
rods%netscape.com
1b47027ebe factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463


git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2 turning off debug #defines
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
rods%netscape.com
30ed3f06f4 removed ifdef's and replaceed them with if/then/else for GFX Lists and Dropdowns,
now they can be turned on with a boolean instead. This will help with debugging later
r=dcone, b=18895


git-svn-id: svn://10.0.0.236/trunk@63052 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:45:29 +00:00
troy%netscape.com
00091b65e3 b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
rods%netscape.com
777c1be6e2 preparing it for prime-time, in the build, but not being used.
b=18895, r=dcone


git-svn-id: svn://10.0.0.236/trunk@63046 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:08:54 +00:00
dveditz%netscape.com
51ca5d7259 fixing VC5 build (bug 31868)
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
karnaze%netscape.com
f325f1e22d fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63005 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:50:25 +00:00
troy%netscape.com
a0f2ac4e06 b=21903. Fixes a crash when absolutely positioning a form element. The
problem was no space manager was getting created for the form's frame


git-svn-id: svn://10.0.0.236/trunk@63004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:38:08 +00:00
hyatt%netscape.com
a19b6cd72b Landing new progressmeter.
git-svn-id: svn://10.0.0.236/trunk@62993 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:16:43 +00:00
blizzard%redhat.com
38572a5d11 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
karnaze%netscape.com
8b1782c955 new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@62982 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:11:44 +00:00
karnaze%netscape.com
effb882b96 PDT+ bug 30559 - incorrect inclusion of table margin when placing row group. r=buster, a=rickg.
git-svn-id: svn://10.0.0.236/trunk@62934 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:42:25 +00:00
rods%netscape.com
3c4ce75563 now passing back maxElementSize correctly
b=30015


git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
rods%netscape.com
dcaa76aa21 preparing for GFX listboxes and dropdowns. This ifdefs the creation code so I
can turn them on and off.
b=18895


git-svn-id: svn://10.0.0.236/trunk@62928 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 12:03:21 +00:00
hyatt%netscape.com
b5f669c6b3 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button.
git-svn-id: svn://10.0.0.236/trunk@62912 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:46 +00:00
pierre%netscape.com
ed6f7b2bac #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face.
git-svn-id: svn://10.0.0.236/trunk@62901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:30:29 +00:00
troy%netscape.com
d7b97b6876 b=24125. For INPUT elements we use value of NAME attribute as fallback
for alternate text


git-svn-id: svn://10.0.0.236/trunk@62874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:30:00 +00:00
troy%netscape.com
c6677cbff9 b=29893. Pollmann had added code to keep us from crashing. I made sure
that the correct tiling behavior happened in the case where the viewport
isn't scrollable


git-svn-id: svn://10.0.0.236/trunk@62861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:55:42 +00:00
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
joki%netscape.com
04b8c32143 Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur
git-svn-id: svn://10.0.0.236/trunk@62825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:43 +00:00
akkana%netscape.com
402752ab10 Bug 20207, extra lines in textarea (r=buster)
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
buster%netscape.com
881ea59787 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62752 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:40:18 +00:00
buster%netscape.com
8b339b4ead bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
rickg%netscape.com
4fdc8bcb58 removed calls to deprecated nsString methods
git-svn-id: svn://10.0.0.236/trunk@62717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:06:57 +00:00
rickg%netscape.com
9ababa1a41 more WIP to remove nsStr references
git-svn-id: svn://10.0.0.236/trunk@62712 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:07:57 +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
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
valeski%netscape.com
802411e84d r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem
git-svn-id: svn://10.0.0.236/trunk@62674 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:11:41 +00:00
troy%netscape.com
820330faa6 r=troy@netscape.com Patch from pnunn@netscape.com that eliminates asserts
in the xpcom ref counting macros that the class should have threadsafe
addref/release functions but doesn't


git-svn-id: svn://10.0.0.236/trunk@62656 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:59:16 +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
troy%netscape.com
dff2ddcd9b b=28526. Added rule for TD so that the first child has a zero top margin.
This is the same rule we have for the BODY element


git-svn-id: svn://10.0.0.236/trunk@62654 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:46:21 +00:00
hyatt%netscape.com
66a75b2282 Improving XBL support.
git-svn-id: svn://10.0.0.236/trunk@62642 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:38:36 +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
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
norris%netscape.com
732190b52e Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis


git-svn-id: svn://10.0.0.236/trunk@62618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:57:39 +00:00
tbogard%aol.net
dab65a7998 GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00
tbogard%aol.net
e3f824bae5 Converted to hold on to a docShell instead of a webShell. Interaction with this object that previously was a webShell now is a docShell.
git-svn-id: svn://10.0.0.236/trunk@62607 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:29:15 +00:00