Граф коммитов

6275 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 8a75ec0c9b 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
2000-03-14 04:03:33 +00:00
joki%netscape.com 91f1550db4 Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur 2000-03-14 03:18:43 +00:00
akkana%netscape.com 4751911331 Bug 20207, extra lines in textarea (r=buster) 2000-03-14 03:01:56 +00:00
buster%netscape.com abab9db3f2 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg
2000-03-13 02:40:18 +00:00
buster%netscape.com 3bbe2390b5 bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg
2000-03-13 02:38:06 +00:00
rickg%netscape.com 194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com 5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com 69f36f72eb more WIP to remove nsStr references 2000-03-12 10:07:57 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
troy%netscape.com 3b124abc37 b=5588. Changed it so we lazily reparent the child frames on the overflow list
when it's our initial reflow
2000-03-12 03:14:11 +00:00
troy%netscape.com 1bc0e305c9 b=5588. Added new function ReparentFrameViewList() that is much faster
then ReparentFrameView() when you have a list of child frames
2000-03-12 03:09:36 +00:00
troy%netscape.com 6464eafc57 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
2000-03-12 03:00:51 +00:00
valeski%netscape.com 8bb7a9728f 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 2000-03-12 01:11:41 +00:00
troy%netscape.com c038391890 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
2000-03-11 16:59:16 +00:00
troy%netscape.com dfd7864b4c b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
necessary to PR_ABS macro
2000-03-11 16:50:52 +00:00
troy%netscape.com ea24db7d11 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
2000-03-11 16:46:21 +00:00
hyatt%netscape.com 6ead515970 Improving XBL support. 2000-03-11 10:38:36 +00:00
norris%netscape.com 060e388a6b 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
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
norris%netscape.com 9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net 9398e6b4f3 GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells. 2000-03-11 01:30:04 +00:00
tbogard%aol.net ac58a34a75 Converted to hold on to a docShell instead of a webShell. Interaction with this object that previously was a webShell now is a docShell. 2000-03-11 01:29:15 +00:00
tbogard%aol.net 56238e8905 Converted to hold on to a docShell instead of a webShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Removed the ifdef for NEW_WEBSHELL_INTERFACES as we are definitely not going back now. 2000-03-11 01:28:46 +00:00
tbogard%aol.net 7b6b143608 Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface. 2000-03-11 00:41:57 +00:00
tbogard%aol.net bf5156a460 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
tbogard%aol.net 4edb593950 Converted a number of places to use the docShell APIs instead of the webShell ones. 2000-03-11 00:37:07 +00:00
tbogard%aol.net bf3db61d02 Converted a number of places to talk in terms of the docShell APIs instead of the webShell ones. 2000-03-11 00:35:36 +00:00
tbogard%aol.net 9f6deed611 Get the contentViewer through the docShell APIs instead of the webShell ones. 2000-03-11 00:34:54 +00:00
jevering%netscape.com f0398a8427 this is valeski in jevering's tree. a=jevering. r=ltabb (nice!), r=vidur. forcing cache bypass for inline JS url loads. this is a workaround, not a final fix 2000-03-10 06:25:13 +00:00
rods%netscape.com 13e98e285d combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar
2000-03-10 04:46:16 +00:00
jst%netscape.com 4c01b9bde8 Checking in fix for PDT+ bug 17489, now the HTML content sink correctly notifies the document about new content that apper after style/link tags that appear in the document content and not in the document head. r=vidur@netscape.com, a=jevering@netscape.com 2000-03-10 02:00:42 +00:00
buster%netscape.com d8df80eb99 bug 28553
r=troy
a=rickg
2000-03-10 01:10:44 +00:00
pollmann%netscape.com 796c8b1ff9 Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg 2000-03-09 23:30:57 +00:00
joki%netscape.com b822db9d33 Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu 2000-03-09 15:31:44 +00:00
karnaze%netscape.com 331f183d88 new regression test not affecting the build. 2000-03-09 08:51:40 +00:00
karnaze%netscape.com 8b9dac0046 PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg 2000-03-09 08:45:26 +00:00
pollmann%netscape.com 5622a49a33 Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg 2000-03-09 05:54:58 +00:00
pierre%netscape.com 7674bfdbfa 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar. 2000-03-09 04:37:01 +00:00
evaughan%netscape.com bfe3296fa7 Fix for bug# 30548
-r hyatt, -a jar
2000-03-09 01:37:23 +00:00
buster%netscape.com edcec89810 fixed PDT+ bug 30738
r=troy, vidur
a=rickg
2000-03-08 05:33:15 +00:00
norris%netscape.com c35e39f713 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com
2000-03-07 21:08:46 +00:00
rods%netscape.com ef269b8196 nsITextContent needed to be included not forwarded. 2000-03-07 16:45:21 +00:00
rods%netscape.com c6496e7cb6 changes to select becuase the new display area is a block and text frame instead
of a button
fixes bugs 29544, 28835
a=jar
2000-03-07 15:56:14 +00:00
rods%netscape.com 92ca580100 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
vidur%netscape.com 72a38d6e40 Temporary fix for bug 26926. Added state to nsPresShell to deal with the case where the ContentViewer (and ViewManager) went away before it. The ownership model should be sorted out post beta1. r=troy, a=jar 2000-03-07 00:28:33 +00:00
buster%netscape.com a60914c722 fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
r=rods, brade
a=jar
2000-03-06 04:08:05 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
cata%netscape.com 639f9aae98 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
evaughan%netscape.com 2300c3e8c5 Fix for bug #29900
-r hyatt -a jar
2000-03-04 01:50:58 +00:00
karnaze%netscape.com d60593aad0 new regression test not affecting the build. 2000-03-04 01:29:54 +00:00
karnaze%netscape.com 61559aa5d3 PDT+ bug 28933 - check for null pointer. r=attinasi, a=rickg 2000-03-04 01:05:18 +00:00
valeski%netscape.com 942c0cbea5 r=gagan. 29870. We weren't handling a malformed http-equiv refresh header. 2000-03-04 00:32:30 +00:00
buster%netscape.com 8076fee6b0 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
buster%netscape.com 28ac469ac6 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar
2000-03-03 23:15:29 +00:00
rods%netscape.com 566edd34e3 Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com 7db8508373 backing out earlier checkin 2000-03-03 07:14:57 +00:00
rods%netscape.com f5033e5feb added include instead of the class decl.
r=waterson
2000-03-03 05:06:03 +00:00
rods%netscape.com cf53860ce3 add call to combobox for setting the frame constructor
b=28593, r=evaughan a=jar
2000-03-03 04:30:32 +00:00
rods%netscape.com 3aecf61eed modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
rods%netscape.com 702462fbfe changes for the new combobox
b=28593, r=self, a=jar
2000-03-03 04:24:53 +00:00
cata%netscape.com eaf963e925 activating charset override. bug #7886, r=ftang, a=bobj 2000-03-03 02:20:53 +00:00
rods%netscape.com 4325e0f2df idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods%netscape.com 8e122d212d Turned off the optimization that wasn't really working well anyway,
will turn it back on in M15 after reworking it
b 28593 a=jar r=self
2000-03-03 00:42:29 +00:00
rods%netscape.com bd41b08f63 added new atom for the combobox
b 28593, r=kmcclusk,buster a=jar
2000-03-03 00:22:30 +00:00
rods%netscape.com 575fc9a670 Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster
2000-03-03 00:21:10 +00:00
akkana%netscape.com 03b765f70e 27827: disable the ender event listener for right clicks as had
previously been done for middle clicks.  This is a band-aid;
 we need to dig in and rewrite this code to pass events correctly.
 r=buster, a=jar
2000-03-02 19:31:03 +00:00
jst%citec.fi 882da396f0 Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann 2000-03-02 15:06:05 +00:00
cls%seawood.org 192e307283 Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
hyatt%netscape.com a84f152eec Fixing a merge conflict. Fallout from same checkin. r=travis,a=jar 2000-03-02 10:47:58 +00:00
hyatt%netscape.com d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
tbogard%aol.net 4eec4fb506 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 2000-03-02 07:13:02 +00:00
karnaze%netscape.com 44f5bd2cc0 new regression test not affecting the build. 2000-03-02 06:21:38 +00:00
karnaze%netscape.com fb8782b61f PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg 2000-03-02 06:09:37 +00:00
evaughan%netscape.com cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
av%netscape.com 0271ec9277 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg 2000-03-02 01:57:14 +00:00
sfraser%netscape.com ee824cdaa3 Fix for 29521 -- i18n issues saving text area state, and 29827 problems with linebreaks going back to a forms page. r=ftang,akkana, a=jar 2000-03-02 01:16:29 +00:00
hyatt%netscape.com da7d9353d6 Fix for 28856. r=karnaze,troy a=jar 2000-03-01 02:35:14 +00:00
hyatt%netscape.com 6a63509ce6 Adding a tree regression test for bug#28856. Not part of build. 2000-03-01 02:32:06 +00:00
valeski%netscape.com d81595ec75 26336. a=jar, r=norris,pollman. We now allow uri creation failure to pass through to the webshell so we can throw error dialogs if need be. This allows 'https not supported' dialogs to be thrown from form submissions when https isn't installed 2000-02-29 20:36:52 +00:00
dcone%netscape.com 8b77b5d71c fixed directory calls for printer regression testing. r=karnaze a=rickg 2000-02-29 14:44:56 +00:00
karnaze%netscape.com 5c219495a7 new regression test not affecting the build. 2000-02-29 13:22:46 +00:00
karnaze%netscape.com 5ce5b346e3 PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg 2000-02-29 13:17:33 +00:00
pollmann%netscape.com 982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
pollmann%netscape.com 54c57adf37 Bug 28670: Move scroll methods from webshell to docshell and XUL scrollbar removal from XULDocument to here r=travis a=rickg 2000-02-29 06:51:04 +00:00
rods%netscape.com 7ca7d07fe5 Makes it so select tag are monolithic, this means the sink doesn't get flushed
until the end tag of a select. This helps performance a great deal. If it gets flushed
inbetween then the remaining options are added one at a time using the AddOption
and this is a lot less effecient.
b 28593, r=vidur
2000-02-28 21:38:30 +00:00
dcone%netscape.com af573c449c Added a animation test graphic. r=karnaze a=rickg 2000-02-28 21:36:15 +00:00
rods%netscape.com 113deee43f when the value attr is set the hint needs to be reflow.
b 28593, r=buster
2000-02-28 21:35:51 +00:00
dcone%netscape.com 7cefd394fd fixed images. r=leaf a=rickg 2000-02-28 21:35:14 +00:00
rods%netscape.com 0e37b361bd turned off the flushing of reflows when an option item is removed
b 28593, r=vidur,troy
2000-02-28 21:33:41 +00:00
dcone%netscape.com dee894bccd Added some tests to the image printer regression test bed. r=karnaze a=rickg 2000-02-28 14:31:29 +00:00
dcone%netscape.com e68701c14a Update printer regression tests. r=karnaze a=rickg 2000-02-28 14:27:50 +00:00
dcone%netscape.com 8c87f968ad Update images and test files for printer regression testing. r=karnaze a=rickg 2000-02-28 14:27:01 +00:00
dcone%netscape.com 996f875a17 Added regression tests for printing. r=karnaze a=rickg 2000-02-28 14:26:02 +00:00
karnaze%netscape.com 90533efa40 new regression test not affecting the build. 2000-02-27 22:37:49 +00:00
karnaze%netscape.com f9cba72cb7 PDT+ bug 27124 - correctly handle child frames that are not row groups. r=troy, a=rickg 2000-02-27 22:36:42 +00:00
saari%netscape.com 515c3ce686 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
av%netscape.com 035f4468fc Fix for 27486, r=rickg, a=rickg 2000-02-26 00:14:16 +00:00
erik%netscape.com 281e53e9b1 bug 18136; new table of font sizes for HTML sizes 1-7, based on testing
Nav4's fixed width fonts; r=pierre; a=rickg
2000-02-25 23:02:46 +00:00
hyatt%netscape.com 5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
evaughan%netscape.com 9853879e89 Fixes for bugs: 28460, 27573, 27242, 24721
-r waterson -a jar
2000-02-25 04:18:34 +00:00
erik%netscape.com 28f23d520d bug 18136; added new font size table, but currently #if'ed out; r=pierre;
a=rickg
2000-02-25 04:00:53 +00:00
av%netscape.com 12bfe22dc4 Fixing 27486, r=beard 2000-02-25 01:02:53 +00:00
karnaze%netscape.com b206251cd3 new regression tests not affecting the build. 2000-02-24 16:00:35 +00:00
pierre%netscape.com 6875bf641b Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
tbogard%aol.net 5395fed60e Commented out the call to webShell::Remove focus as it is no longer needed and the function is going away. Work for 13374. r=rods, saari 2000-02-24 01:47:40 +00:00
pollmann%netscape.com 2ed06994e0 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
pollmann%netscape.com 9a177eff73 Bug 28691/16999: Removing obsoleted code. r=harishd a=rickg 2000-02-23 21:36:29 +00:00
pollmann%netscape.com be7e4d3f51 Bug 28691: As penance, I'll fix these leaks too. r=harishd a=rickg 2000-02-23 21:32:23 +00:00
pollmann%netscape.com 90d9b37641 Bug 28691: Fix existing leak that my fix for bug 16999 hilighted. r=harishd a=rickg 2000-02-23 21:24:07 +00:00
pollmann%netscape.com f90e4ddbe8 Bug 28691/16999: Re-enable style for button labels r=harishd a=rickg 2000-02-23 21:00:42 +00:00
pollmann%netscape.com 92452b751f Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg 2000-02-23 20:58:42 +00:00
pollmann%netscape.com 7c2cefefe9 Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg 2000-02-23 20:56:39 +00:00
troy%netscape.com 2cab23cc6c b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated
2000-02-23 15:45:43 +00:00
saari%netscape.com c255519e95 Fix for 12051. Two one line fixes to make focus memory work with text input fields and text areas. r=hyatt a=jar 2000-02-23 08:10:36 +00:00
buster%netscape.com 6ad008c507 fixed bug 25510 and 28084
r=troy
a=jar
2000-02-22 22:06:19 +00:00
buster%netscape.com f3317d4cfe added an assertion that will catch regressions associated with bug 25510
r=troy
a=jar
2000-02-22 22:05:04 +00:00
dbaron%fas.harvard.edu 1e222cfa0f Fix bug 28544: stop leaking webshells when user enters URL in the URL bar. r=karnaze@netscape.com a=rickg@netscape.com 2000-02-22 04:06:16 +00:00
karnaze%netscape.com 00ea02e6b9 fix cvs merge error in regression data, not affecting the build 2000-02-21 23:46:48 +00:00
karnaze%netscape.com 3189a5b549 new regression tests not affecting the build. 2000-02-21 22:37:01 +00:00
pollmann%netscape.com 4b87697a5e Bug 16999: Fix solaris nsCOMPtr complaints. 2000-02-21 06:26:55 +00:00
pollmann%netscape.com 1a014f1120 Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg 2000-02-21 05:55:25 +00:00
dbaron%fas.harvard.edu 8438b1f02d Bug 28555: fix large leak of StyleContextImpl's. r=karnaze@netscape.com a=jar@netscape.com 2000-02-20 15:18:04 +00:00
dbaron%fas.harvard.edu 2fc933f4a5 Refix bug 5821, which I broke with a mistake in my earlier change. r=buster@netscape.com a=rickg@netscape.com 2000-02-19 03:42:30 +00:00
pollmann%netscape.com d4d5eb5bcd Bug 14827: Removing code that wrongly set scrolling to auto for every document r=harishd a=rickg 2000-02-19 02:34:20 +00:00
pollmann%netscape.com 1d66570c0c Bug 14827: Adding a comment, removing unused code r=harishd a=rickg 2000-02-19 02:32:38 +00:00
pollmann%netscape.com 69925f7a63 Bug 16999: Adding properties file to Linux build. r=rods,waqar a=rickg 2000-02-19 02:01:58 +00:00
pollmann%netscape.com 3356cbea97 Bug 16999: Adding properties file to Win32 build. r=rods,waqar a=rickg 2000-02-19 01:57:28 +00:00
pollmann%netscape.com e51d4d1125 Bug 16999: Adding localizable default labels for submit, reset, and file browse buttons. r=rods a=rickg 2000-02-19 01:48:07 +00:00
akkana%netscape.com 03e5ecde89 23336: Fix double middle-mouse paste problem. This is a temporary fix,
making the smallest possible change so as not to rock the beta1 boat.
I'll look at more sweeping fixes later.  r=saari,a=leaf
2000-02-18 00:57:46 +00:00
jdunn%netscape.com 080142580c 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
2000-02-17 23:19:18 +00:00
troy%netscape.com 96857ad3ab b=27056 a=jar@netscape.com r=troy@netscape.com Change made by Vidur.
Avoid notifications in the middle of a table row
2000-02-16 23:43:59 +00:00
evaughan%netscape.com c7ba739a87 Box performance fix.
-r jevering
2000-02-16 23:00:52 +00:00
joki%netscape.com c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
attinasi%netscape.com 3a072761b8 Made external stylesheets load synchronously, always. Controlled by a define in case we want to re-enable asynch external stylesheets later. r=pierre,troy b=17309 2000-02-16 06:50:39 +00:00
rods%netscape.com 0d70f918f6 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com 1a371ab14b removing unused varible to remove warning
r=self
2000-02-16 05:17:59 +00:00
buster%netscape.com 4539431ae8 bug 24411
r=troy
changed the frame constructor call for <form> to pass 0 as the flags arg.
2000-02-16 05:09:57 +00:00
buster%netscape.com 72482e5f58 bug 27927
r=troy
2000-02-16 04:11:37 +00:00
attinasi%netscape.com 91f9e59318 ReResolveStyleContext now checks for the case where a background image is no longer used, in which case it stops the load for the frame. r=buster,pierre b=27042 2000-02-16 02:49:01 +00:00
vidur%netscape.com f2e50f5059 Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann 2000-02-16 02:25:07 +00:00
karnaze%netscape.com 46d05dbae2 new regression test not affecting the build. 2000-02-16 01:53:20 +00:00
av%netscape.com 31d1739ac9 Added check for null pointer to avoid possible crashes, could be reason for 27558 2000-02-16 01:49:42 +00:00
sfraser%netscape.com e161e86e05 Fix command updating for GFX text widgets. for bug 18395. r=pinkerton 2000-02-16 01:41:59 +00:00
sfraser%netscape.com a4e6c94818 Call the new Init() method on nsIEditorController for bug 18395. r=pinkerton 2000-02-16 01:41:17 +00:00
pierre%netscape.com 731ac166e2 Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content. 2000-02-16 01:09:36 +00:00
karnaze%netscape.com c75793821e bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
buster%netscape.com a536a762d8 bug 22853
absolute containing block was not checking frame bit, so sometimes contained block would not get an initial reflow
2000-02-16 01:05:38 +00:00
buster%netscape.com 5665393ec2 continuing work on bug 25510
r=troy
2000-02-16 00:50:06 +00:00
karnaze%netscape.com ece80cce7e new regression tests not affecting the build 2000-02-16 00:36:29 +00:00
rods%netscape.com e0e813fecd radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com 2ab7d2fccc setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498
2000-02-15 22:45:26 +00:00
nisheeth%netscape.com fa0d00d0b4 r=harishd. Fix for bug 27507. Removed a bogus assert. 2000-02-15 22:03:05 +00:00
pollmann%netscape.com eefd0eb663 Bug 27327: Input::SetAttribute('value') now updates content model, r=buster 2000-02-15 21:56:04 +00:00
karnaze%netscape.com 0f3c55f1ad new regression test not affecting the build. 2000-02-15 17:56:09 +00:00
rods%netscape.com e1b0cf791c added method
b 21945 r=pollmann
2000-02-15 15:57:13 +00:00
rods%netscape.com a79f8b1378 Border left and right was being added to an unconstrained size
b 21945 r=troy
2000-02-15 15:10:23 +00:00
rods%netscape.com 0eee3592f9 They now cache their state properly in the PresState
b 27063 r=kmmclusk
2000-02-15 15:05:56 +00:00
rods%netscape.com 1acec82129 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
hyatt%netscape.com 6359374cc8 Converting trees to XBL. Boosts tree scrolling performance. 2000-02-15 09:28:28 +00:00
ftang%netscape.com 189f468495 fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block. 2000-02-15 09:15:18 +00:00
pinkerton%netscape.com 15c85ef5ee removed obsolete (and ifdef'd out) d&d test code. r=saari. 2000-02-15 07:13:21 +00:00
karnaze%netscape.com 4d0d9e29d4 new regression test not affecting the build. 2000-02-15 07:05:08 +00:00
buster%netscape.com ced395f9e9 backed out a mistake (wrong disk in the removable drive at home), put in the real file
sorry if anybody caught this
2000-02-15 06:51:45 +00:00
buster%netscape.com 073eb6c32c no bug number
little fix r=travis checking to make sure docshell size doesn't go negative
2000-02-15 06:37:16 +00:00
dbaron%fas.harvard.edu e0c71d1e53 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
2000-02-15 04:26:44 +00:00
dveditz%netscape.com 84688e0640 Attempting to fix nsCOMPtr .get() related bustage on Linux 2000-02-15 02:55:23 +00:00
beard%netscape.com b5072ce22c fixes nsIAtom leaks, bug # 25761, r=waterson 2000-02-15 01:17:18 +00:00
av%netscape.com 45b74a09a8 Fixing 17278, r=vidur 2000-02-15 01:16:04 +00:00
karnaze%netscape.com 68eea83664 new regression tests, not affecting the build 2000-02-14 07:20:38 +00:00
karnaze%netscape.com 30bfa7bc94 new regression tests not affecting the build. 2000-02-14 06:06:34 +00:00
karnaze%netscape.com e7fcf79431 bug 27652, fix loss of border on <table border>, r=mcafee 2000-02-14 06:06:03 +00:00
buster%netscape.com 12d278523d enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods

checked in some debug-only metrics code that's been sitting in my tree for a few weeks
r=rods

bug 24950
the frame was creating additional initial reflows for itself indirectly and unnecessarily in some cases
r=hyatt (though he hasn't had time for a thorough review of this yet, so I'm going out on a limb a bit
by checking it in prematurely.  But I'm very confident, I've done tons of testing, and I'll still insist
on a thorough code review of this change.)
2000-02-14 02:07:50 +00:00
buster%netscape.com 86108be131 enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods
2000-02-14 02:03:36 +00:00
buster%netscape.com 66696f0a23 bug 26840 r=mjudge 2000-02-14 01:54:20 +00:00
buster%netscape.com 9c7df3bb31 bug 25510 r=troy
bug 26289 for roc+moz@cs.cmu.edu, r=buster
2000-02-14 01:52:22 +00:00
evaughan%netscape.com 5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
karnaze%netscape.com 01d876749a new regression tests, not affecting the build. 2000-02-13 22:53:01 +00:00
troy%netscape.com e548878b47 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
2000-02-13 17:55:18 +00:00
hyatt%netscape.com dca01601be Making inner tree cell a box frame. Seems to fix about 10 bugs. :) 2000-02-13 09:28:51 +00:00
hyatt%netscape.com a9b8708a2c Moving previous 9701 fix out of frame constructor and into presshell. r=troy 2000-02-13 06:07:38 +00:00
attinasi%netscape.com 57628f4c8c Image title is now set after load is completed so the dimensions will be valid.r=pnunn b=27365 2000-02-12 18:09:40 +00:00
rods%netscape.com bde09e7c9b Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms.... 2000-02-12 17:49:11 +00:00
rods%netscape.com 72ea52428d same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr 2000-02-12 17:01:35 +00:00
rods%netscape.com 4afe837157 now remembers single selects correctly, have not implemented it for mulitple
selects yet, but this check in get mail work, multiple is needed for bugzilla
b=21945, r=pollmann
2000-02-12 16:26:24 +00:00
rods%netscape.com efb50a3f08 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann
2000-02-12 16:24:19 +00:00
rods%netscape.com 0835a549dd now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
hyatt%netscape.com 34add8f294 Fix for PDT+ bug #9701. Also fixes the crasher holding the tree closed. r=saari 2000-02-12 03:10:01 +00:00
karnaze%netscape.com 49f3412344 bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy 2000-02-12 01:55:40 +00:00
karnaze%netscape.com 2e709d5d79 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
nisheeth%netscape.com 6ab6755e46 r=hyatt. Partial fix for PDT+ bug 13537. Session history captures frame state now. 2000-02-11 22:54:37 +00:00
pavlov%netscape.com f067a78d67 fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar 2000-02-11 22:26:36 +00:00
harishd%netscape.com d6aeb5f954 21008 - Handling NOTAGS in HEAD.
r=vidur - For changes in content sink.
2000-02-11 22:07:12 +00:00
troy%netscape.com 26a77156ec b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now
2000-02-11 15:31:41 +00:00
rods%netscape.com 8c302fac72 minor changes to html.css to remove some bad padding value for mulitple selects
b 27236 r=dcone
2000-02-11 15:18:02 +00:00
dcone%netscape.com 7be45e19d1 Added printer regression test file. r=karnaze 2000-02-11 14:41:05 +00:00
dcone%netscape.com 5e27541a5c Added printer regression test files and directories 2000-02-11 14:40:32 +00:00
dcone%netscape.com ce7566f342 Printer regression test files. r=karnaze 2000-02-11 14:38:57 +00:00
rickg%netscape.com 75be200f2d fixed bug24346; r=harishd 2000-02-11 12:10:40 +00:00
nisheeth%netscape.com 99f85886b8 r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases. 2000-02-11 07:11:43 +00:00
troy%netscape.com d6fafd305f r=karnaze@netscape.com Performance improvement for tables. During the initial
reflow we skip the pass2 reflow if it's an unconstrained reflow
2000-02-11 03:55:33 +00:00
vidur%netscape.com d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
attinasi%netscape.com 4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com d29d823f98 Updated the code to use the nsIScrollableFrame interface instead of assuming the FirstChild is the scrolled-frame. r=evaughan 2000-02-11 01:23:36 +00:00
attinasi%netscape.com 1ddf942ed0 PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-11 01:23:04 +00:00
attinasi%netscape.com 0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
attinasi%netscape.com a15ba0edf1 Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406 2000-02-11 01:21:05 +00:00
pollmann%netscape.com 04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
pollmann%netscape.com fa1dd2cd6c Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
tbogard%aol.net 152712e118 Removed unused include. 2000-02-11 01:16:30 +00:00
nhotta%netscape.com ff36f4f489 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
troy%netscape.com f15ca67f0e b=26282 r=vidur@netscape.com Now when using the alternate content for an
image that can't be rendered we ignore everything after one of: ; # ?
2000-02-11 01:00:17 +00:00
hyatt%netscape.com c9071b6195 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
evaughan%netscape.com c1c4f7681f 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com 88e4dcfccf turning off Gfx scrollbars for listboxes
b 27253 r=evaughan
2000-02-10 21:13:44 +00:00
attinasi%netscape.com 22e7312184 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com b57e81919a PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-10 19:22:00 +00:00
mjudge%netscape.com 90364fa4e5 fix for memory leak bug 24332 2000-02-10 07:55:34 +00:00
mjudge%netscape.com b3444d6801 fix for bug 18528. fixing tabs controls in selection guessing. 2000-02-10 07:48:17 +00:00
nisheeth%netscape.com f719f7a927 r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor. 2000-02-10 07:27:43 +00:00
tbogard%aol.net 4c46df4275 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 2000-02-10 07:04:09 +00:00
mjudge%netscape.com 5201749c56 this was preliminary checkin for later feature. removing offensive line of code for linux. adding back the way it was. I will continue to add this content however but it will be released when not used by nsCOMPtr 2000-02-10 05:20:55 +00:00
mjudge%netscape.com b32999a1de 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. 2000-02-10 04:35:51 +00:00
mcafee%netscape.com ddcdb8463c Adding nsGfxListControlFrame.cpp for Unix, should fix zero bloat stats. a=don 2000-02-10 01:12:22 +00:00
rods%netscape.com fab88c6406 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
evaughan%netscape.com b361107ebe 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
2000-02-09 22:02:40 +00:00
rods%netscape.com e3bab71834 forgot to remove unneeded files 2000-02-09 20:49:23 +00:00
rods%netscape.com 6b41252eea ifdef'ing out some new functionality for radio buttons in standard mode
a=leaf r=self
2000-02-09 20:19:19 +00:00
rods%netscape.com 1539b1b9c3 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
karnaze%netscape.com e3fcee92f5 new regression test not affecting the build. 2000-02-09 18:17:31 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
karnaze%netscape.com 2474de4e75 bug 18770, no percent calcs on unconstrained width, better allocation to cols. 2000-02-09 14:22:00 +00:00
jst%citec.fi 48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
karnaze%netscape.com 45dbbfffbe new regression test not affecting the build. 2000-02-09 03:30:37 +00:00
tbogard%aol.net 840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
rods%netscape.com aa15488556 fixes memory leak.
b 26795 r=beard
2000-02-08 13:17:50 +00:00
dp%netscape.com 859cc763b0 Fixing leak of observers when notification of OnSubmit(). This fixes
walletservice from being leaked. r=pollmann
2000-02-08 05:31:08 +00:00
jdunn%netscape.com 56fe6f9966 changing false to PR_FALSE... since false isn't defined on all platforms 2000-02-08 03:30:53 +00:00
vidur%netscape.com 7b323ad68c Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com 0970222b53 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
buster%netscape.com 2b193cb97b bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
troy%netscape.com a1ed8d02de b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
line dirty even if it also marks the preceding line dirty
2000-02-07 15:36:08 +00:00
rbs%maths.uq.edu.au b45922c8b1 [#ifdef MATHML]. Hook for the <maction> tag 2000-02-07 08:55:51 +00:00
alecf%netscape.com 299cc6fa08 don't leak an atom (forgot NS_OK)
r=hyatt
2000-02-07 08:02:22 +00:00
jfrancis%netscape.com 28fd752530 fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis 2000-02-07 02:48:36 +00:00
valeski%netscape.com 917d1539e7 26219. r=rhp. Form submission file extension to MIME type mapping was broken. The means that we weren't reporting the correct MIME type of files that were being uploaded 2000-02-05 18:37:51 +00:00
pavlov%netscape.com f3d78aee1d aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin 2000-02-04 23:14:38 +00:00
valeski%netscape.com 384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
waterson%netscape.com 0624ff054a Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
sdagley%netscape.com 64569b5154 Fix #22428 where attachments didn't work on Mac as the length of the form data wasn't being computed properly. In nsFormFrame::ProcessAsMultipart now uses an nsILocalFile to get file size rather than PR_GetFileInfo as the path to the file is in native format and PR_GetFileInfo doesn't handle native Mac paths. r=saari 2000-02-04 05:55:54 +00:00