Commit Graph

10362 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b25ea4d45d Fix misleading indentation. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78239 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:34:35 +00:00
dbaron%fas.harvard.edu
58582b97ac Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu
e52da02292 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
dbaron%fas.harvard.edu
dd86f988cd Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78227 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:15:18 +00:00
sean%beatnik.com
f17a1ac850 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan
git-svn-id: svn://10.0.0.236/trunk@78192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:40:07 +00:00
hyatt%netscape.com
84c3b8b2b2 fix for 51410 - xbl syntax change, r=danm
git-svn-id: svn://10.0.0.236/trunk@78183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 22:52:57 +00:00
buster%netscape.com
be5d5e02df bug 40596 (input type=text form controls with width:auto are not rendering correctly in table cells)
r=rods


git-svn-id: svn://10.0.0.236/trunk@78169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:22:55 +00:00
ftang%netscape.com
f4932134bc fix bug 50849. thanks kin@netscape.com for the patch. r=ftang
git-svn-id: svn://10.0.0.236/trunk@78167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:19:23 +00:00
edburns%acm.org
f4ed6ebe07 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
hyatt%netscape.com
1bf77ab185 Fix arrow keys in input fields. r=danm
git-svn-id: svn://10.0.0.236/trunk@78151 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:57:53 +00:00
karnaze%netscape.com
d017b9758e fix regression tests to work around latest bugs. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@78140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:58:59 +00:00
karnaze%netscape.com
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
rods%netscape.com
72efd65ccb Changed resizing code to use ave char width for calculating the width of a text field in strict/standard mode
I had to put in an ifdef _WIN32 because no other platform implements the call in nsIFontMetrics
I will have to address this ifdef in the next release (Bug 50998), which means I will probably implement
GetAveCharWidth for all platforms that don't have a native call
Bug 44656  r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:43:13 +00:00
rods%netscape.com
64c96b1f0f fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:37:16 +00:00
hyatt%netscape.com
637c5c6075 loadBindingdoc, r=ben
git-svn-id: svn://10.0.0.236/trunk@78134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:29:01 +00:00
hyatt%netscape.com
01727dee46 Fix double selection problem in trees. r=ben
git-svn-id: svn://10.0.0.236/trunk@78129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:09:14 +00:00
dbaron%fas.harvard.edu
ea1cb20f01 Fix build warning by renaming variable. r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@78120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:08:41 +00:00
dbaron%fas.harvard.edu
71c441c81a Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
c7f877db2d Don't apply top margin to a block containing only floaters. Let it collapse through instead. b=44419
Only do the quirky fix for bug 37657 for tables, not all blocks.  b=43086
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:44:48 +00:00
dbaron%fas.harvard.edu
9875e26897 Fix potential leak on failure. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@78108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:41:07 +00:00
BlakeR1234%aol.com
a15922e7ae Fix 38417, patch by dean_tessman@hotmail.com r=me a=brendan
git-svn-id: svn://10.0.0.236/trunk@78105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:19:36 +00:00
Peter.VanderBeken%pandora.be
cbec54eb6e Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@78100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 05:55:00 +00:00
scc%mozilla.org
cbf038b4a9 need to make concatenation arguments homogenous in some cases
git-svn-id: svn://10.0.0.236/trunk@78095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:33:24 +00:00
dbaron%fas.harvard.edu
df9af9fe4d Back out hacks to fix earlier string bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@78093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:50:52 +00:00
av%netscape.com
b20d79675e Fixing #44993, added style visibility check to the object frame, r=buster
git-svn-id: svn://10.0.0.236/trunk@78078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:54:26 +00:00
dbaron%fas.harvard.edu
b5dc0a34ad Continuing to work on speedracer/pravda bustage.
git-svn-id: svn://10.0.0.236/trunk@78076 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:45:57 +00:00
dbaron%fas.harvard.edu
fff49bce7c Another attempt to fix speedracer/pravda bustage. They sometimes think nsPromiseConcatenation doesn't exist. I'll ask scc to look at this later.
git-svn-id: svn://10.0.0.236/trunk@78074 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:00:27 +00:00
dbaron%fas.harvard.edu
ac61acbaae Attempt to get old gcc and old FreeBSD compilers working again. Will ask scc to look for a better fix later.
git-svn-id: svn://10.0.0.236/trunk@78072 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 13:40:31 +00:00
hyatt%netscape.com
686f83f2e4 Fix crash on theme application. r=ben
git-svn-id: svn://10.0.0.236/trunk@78067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 06:22:21 +00:00
hyatt%netscape.com
87dc8c8777 Fix crash on skin switching. r=ben
git-svn-id: svn://10.0.0.236/trunk@78066 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 06:00:09 +00:00
hyatt%netscape.com
2da06741d9 Fixed bad regression in XBL. r=ben
git-svn-id: svn://10.0.0.236/trunk@78062 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 05:35:36 +00:00
dbaron%fas.harvard.edu
3d0898d9e0 Fixing code in MathML that relied on implicit string conversion. r=scc (verbally)
git-svn-id: svn://10.0.0.236/trunk@78042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:56:19 +00:00
Peter.VanderBeken%pandora.be
1a6674f227 Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:35:19 +00:00
Peter.VanderBeken%pandora.be
cb5360f078 Fix XSLT hooks (Preparation for bug #42228). Remove GetAttributeValueAt (Fixes bug #47454). Clean up code. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:34:07 +00:00
Peter.VanderBeken%pandora.be
a1f273f649 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:32:28 +00:00
saari%netscape.com
12c408de5d Undoing what appears to be a complete brain fart of mine from a while ago. I was releasing focus information before its time.
git-svn-id: svn://10.0.0.236/trunk@78014 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:49:39 +00:00
beard%netscape.com
cc501e8819 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc
git-svn-id: svn://10.0.0.236/trunk@78012 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:21:57 +00:00
saari%netscape.com
676b71298c fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:59:44 +00:00
hyatt%netscape.com
75999ece9c Eliminating warning for non-compliant XBL event handlers.
git-svn-id: svn://10.0.0.236/trunk@77980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:40:28 +00:00
hyatt%netscape.com
9578a87198 Eliminating warning for non-compliant XBL event handlers.
git-svn-id: svn://10.0.0.236/trunk@77979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:39:06 +00:00
hyatt%netscape.com
78269dcd4b General cleanup in XBL.
git-svn-id: svn://10.0.0.236/trunk@77974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:46:42 +00:00
hyatt%netscape.com
cb58255006 rename arg to parameter, r=brendan
git-svn-id: svn://10.0.0.236/trunk@77970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:35:44 +00:00
hyatt%netscape.com
b3f4ce0d91 rename arg to parameter, r=brendan
git-svn-id: svn://10.0.0.236/trunk@77969 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:20:36 +00:00
hyatt%netscape.com
0bf556e934 added files: mozilla/layout/xbl/src/nsXBLPrototypeHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@77966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:11:32 +00:00
hyatt%netscape.com
663f7c0ce7 Improve typing speed. r=ben
git-svn-id: svn://10.0.0.236/trunk@77965 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:09:47 +00:00
jst%netscape.com
a7a929d7dd Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77955 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:23:35 +00:00
hyatt%netscape.com
b623326d27 More XBL event speed improvements. r=ben
git-svn-id: svn://10.0.0.236/trunk@77929 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:43:34 +00:00
pinkerton%netscape.com
9f1c6eb810 remove unused xul frames, nsTitledButton and nsToolbarItem
git-svn-id: svn://10.0.0.236/trunk@77926 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:40:34 +00:00
pinkerton%netscape.com
cd93ce4e9e removing unused xul frames, nsTitledButton and nsToolbarItemFrame. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:39:25 +00:00
harishd%netscape.com
4766df6dca 7670 - Enable NOSCRIPT.
r=jst


git-svn-id: svn://10.0.0.236/trunk@77891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:43 +00:00