Commit Graph

1907 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
e0dae80908 #188071
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow
2003-06-18 20:47:40 +00:00
dbaron%dbaron.org
146a7a98ed OOM check. r+sr=bzbarsky b=188803 2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
fe7914e2c9 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky 2003-06-18 01:59:57 +00:00
dbaron%dbaron.org
fb04d1df25 Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz 2003-06-17 18:01:51 +00:00
alecf%flett.org
b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
4b4e411eac Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst 2003-06-17 16:22:51 +00:00
aaronl%netscape.com
fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
dbaron%dbaron.org
39d390d27f Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
e49f24690b CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
r+sr=dbaron
2003-06-14 20:44:26 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
c0d2e93d73 Bug 209133
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)

r=timeless sr=jst
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org
73cdfadc6a Fix silly mistake. b=209091 r+sr=bzbarsky 2003-06-12 00:03:32 +00:00
alecf%flett.org
2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
4919c99863 Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky 2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
439819ce83 Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky 2003-06-10 22:08:40 +00:00
dbaron%dbaron.org
f8f9bcc4be Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron 2003-06-08 19:52:22 +00:00
dbaron%dbaron.org
57174ecf3a Fix bustage on compilers with broken for loop scoping. b=125246 2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
91c1698053 VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246 2003-06-07 23:29:05 +00:00
dbaron%dbaron.org
0a143da53b Put more information on the CSS properties in nsCSSPropList.h.
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification.  Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246  r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
bmlk%gmx.de
7baca1626f anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron 2003-05-31 09:16:23 +00:00
bryner%netscape.com
5090c7bf22 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2003-05-29 22:39:05 +00:00
bzbarsky%mit.edu
2d8c24058a Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de
8dc2f15ba0 patch by tenthumbs@cybernex.net r+sr=bz bug 206864
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00
roc+%cs.cmu.edu
f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
bzbarsky%mit.edu
d8f4088d90 Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r+sr=bzbarsky, a=asa
2003-05-21 02:06:01 +00:00
bzbarsky%mit.edu
74f7ffbdb3 Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu
b84cf009ec Make font-size:larger and font-size:smaller smarter about interpolating and
extrapolating font sizes.  Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r=bzbarsky, r+sr=dbaron, a=asa
2003-05-17 16:11:51 +00:00
dbaron%dbaron.org
75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
5cee333241 Fix regression that text zoom was broken on text fields on Windows. b=205534 r+sr=roc a=asa 2003-05-14 22:37:57 +00:00
bzbarsky%mit.edu
e7e97a4c97 Minor tweak to never match in an error case we better not be hitting anyway.
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
varga%netscape.com
7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
neil%parkwaycc.co.uk
8664402ee6 Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa 2003-05-01 10:42:33 +00:00
bzbarsky%mit.edu
8565cf3ef4 Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa
2003-04-29 18:45:51 +00:00
dbaron%dbaron.org
1d027cdecd Remove extraneous |inline| to fix bustage. 2003-04-15 04:19:27 +00:00
dbaron%dbaron.org
743dbe34c1 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681 2003-04-15 03:07:34 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
52c518fcd8 Remove lines that do nothing except leak. r+sr=bzbarsky 2003-04-10 23:26:36 +00:00
mkaply%us.ibm.com
7f01690eb2 No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs
2003-04-10 19:01:47 +00:00
roc+%cs.cmu.edu
3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
bzbarsky%mit.edu
8219f428d6 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv 2003-04-04 23:57:06 +00:00
alecf%netscape.com
c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
alecf%netscape.com
8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
f7cd8fcae5 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf%netscape.com
3cb283cc78 just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
8055eacac8 s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
1aff4d7ac8 Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
4a3702559a Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00