28 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
01eedd14d9 Bug 333659. Relanding nsFont changes --- new BaseEquals API, shouldn't affect current code. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@218482 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:16:22 +00:00
roc+%cs.cmu.edu
4f42d74394 Backing out text landing.
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14 Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
cbiesinger%web.de
7a478624e2 bug 341954 remove a few AssignWithConversion callers, and clean up
nsDeviceContextGTK::CreateRenderingContext a bit
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@200514 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 16:35:03 +00:00
dbaron%dbaron.org
e901e41ba4 Clean up string usage in nsFont::EnumerateFamilies and nsCSSStyleSheet.cpp's ValueIncludes, although not all the other places to which this pattern was copied. b=235755 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159401 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 19:03:13 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +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
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
f17add08d3 Add an interim workaround for xft font match priority problems to fix the problem where changing the serif generic font in preferences changes the UI font as well. This adds an extra bit to the nsFont struct for system fonts that we can use as an indicator to not add a generic fallback. Bug 228518, r=blizzard, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@153028 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 19:36:53 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
dbaron%fas.harvard.edu
e8f31961d7 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +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
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
rbs%maths.uq.edu.au
a1d30b60c4 bug 99010 - font changes. r=shanjian@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103960 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:29:17 +00:00
gerv%gerv.net
1336d4c729 License changes, take 2. Bug 98089. mozilla/gfx/.
git-svn-id: svn://10.0.0.236/trunk@103770 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:16:04 +00:00
rjesup%wgate.com
66b1bc3856 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.


git-svn-id: svn://10.0.0.236/trunk@103624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 15:26:39 +00:00
rjesup%wgate.com
faf5fdf631 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103611 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 07:35:04 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
scc%netscape.com
76e6a9d0ca making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:27:43 +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
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
peterl%netscape.com
85fa9ac827 Added '-moz-fixed' generic font name.
This is an extension to indicate the user's fixed font choice


git-svn-id: svn://10.0.0.236/trunk@36298 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:14:51 +00:00
rickg%netscape.com
7b9dcc2a7d sync with new nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:55:35 +00:00
troy%netscape.com
3c90d2a780 Added some "const" to code that was retrieving a pointer to the internal
buffer managed by nsString


git-svn-id: svn://10.0.0.236/trunk@20678 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:56:15 +00:00
peterl%netscape.com
09bc113e28 fixed bug in font family enumeration
git-svn-id: svn://10.0.0.236/trunk@15332 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:22:04 +00:00
peterl%netscape.com
dda3150013 changed nsFont to contain face lists in name
git-svn-id: svn://10.0.0.236/trunk@7510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:12:34 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00