dbaron%dbaron.org
ba07da6cf7
Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161075 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:55:17 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
e372b2e9a3
Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
bryner%brianryner.com
fd49d1a9e1
nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well.
...
git-svn-id: svn://10.0.0.236/trunk@156360 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 17:09:20 +00:00
bryner%brianryner.com
b4bc041626
Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@156319 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 21:20:09 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
7061c8bb4a
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@153728 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
e7a4bc980c
Fix overuse of inlining in nsCSSValue. r=bryner b=224165
...
git-svn-id: svn://10.0.0.236/trunk@150770 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 19:07:53 +00:00
dbaron%dbaron.org
3e6ac46d96
Backing out previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@148539 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
1da0caa6ae
Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@148536 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
ce14bf9e98
Attempt to fix Windows bustage. b=167262
...
git-svn-id: svn://10.0.0.236/trunk@148529 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:34:58 +00:00
dbaron%dbaron.org
1a2977b836
Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148494 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
dbaron%dbaron.org
bf4ec31727
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
git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
dbaron%fas.harvard.edu
b447eec349
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
dougt%netscape.com
1f7520e927
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
heikki%netscape.com
80b36e2891
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
...
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
pierre%netscape.com
b308cf318d
Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618)
...
git-svn-id: svn://10.0.0.236/trunk@71601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 09:36:12 +00:00
pierre%netscape.com
225e6c27b2
Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618.
...
git-svn-id: svn://10.0.0.236/trunk@71590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:50:21 +00:00
waterson%netscape.com
f39433e11c
Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@71406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:54:35 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
peterl%netscape.com
59670cf93c
added != operator
...
git-svn-id: svn://10.0.0.236/trunk@42685 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:18:40 +00:00
peterl%netscape.com
066d1e58de
added char support
...
update to new property and keyword enums and apis
removed warnings
git-svn-id: svn://10.0.0.236/trunk@39951 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:28:43 +00:00
peterl%netscape.com
98f788ca35
added new value types
...
git-svn-id: svn://10.0.0.236/trunk@13508 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:19:59 +00:00
peterl%netscape.com
1aeed8d11e
moved from nsCSSDeclaration
...
git-svn-id: svn://10.0.0.236/trunk@12255 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:29:29 +00:00