Nicholas Nethercote
76a685fc9f
Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
...
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.
- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
need their return value checked.
- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
differ only in case, so the callers of that function don't need to do the
same check.
- nsStaticCaseInsensitiveNameTable::Init() never returns false because
moz_xmalloc() is infallible. (Its callers never check the return value
anyway.) So it can be merged into the constructor. And
~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.
- PLDHashTable now has an initializing constructor and destructor, so these can
be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Ehsan Akhgari
bbdec43a44
Bug 938123 - Build layout/style in unified mode; r=roc
2013-11-14 21:42:57 -05:00
Ehsan Akhgari
1089e71462
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
David Zbarsky
1c27c4d045
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
62b700008e
Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky
2007-07-22 10:58:37 -07:00
masayuki@d-toybox.com
a22c0c11e9
Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
2007-03-15 16:16:20 +00:00
dbaron@dbaron.org
bdeea6cda8
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
gerv@gerv.net
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
timeless@mozdev.org
0b9a4eefe2
Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
...
r=bz sr=bz
2003-10-30 01:59:15 +00:00
sfraser@netscape.com
d204e4c941
Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them.
2003-02-26 03:34:15 +00:00
sfraser@netscape.com
99a555f9db
Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
2003-02-26 00:52:07 +00:00
jaggernaut@netscape.com
a1c9cb1d53
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
2001-12-17 07:14:49 +00:00
alecf@netscape.com
d2eb83eb99
first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
2001-11-27 21:13:53 +00:00
gerv@gerv.net
5ba3ff1a0d
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
jband@netscape.com
d24a29a977
Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi
2000-08-22 06:57:32 +00:00
scc@netscape.com
ed324eff8f
string fixes
2000-05-14 23:06:18 +00:00
mjudge@netscape.com
13abfd0646
making string conversions explicit. scc
2000-04-26 01:13:55 +00:00
rickg@netscape.com
0ffb1f43e3
more WIP to remove nsStr references
2000-03-12 10:07:57 +00:00
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kipp@netscape.com
653c104e61
r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues
1999-10-14 23:11:44 +00:00
kipp@netscape.com
a271643b6b
Removed static ctors
1999-10-05 14:51:56 +00:00
peterl@netscape.com
1c4963abec
added experimental CSS3 properties
1999-07-24 19:04:42 +00:00
peterl@netscape.com
c8eeea4075
switch to preprocessor for code generation
1999-07-18 00:32:32 +00:00
kipp@netscape.com
d8f0061fc6
Added some -moz keywords
1999-03-25 03:46:58 +00:00
kipp@netscape.com
590aa47df4
Latest snapshot using linux version of the tools
1999-02-23 19:38:50 +00:00
kipp@netscape.com
93b965c0e9
updated hash generator
1999-02-18 03:29:24 +00:00
peterl@netscape.com
4140adf1c7
added -moz-bg-inset & -moz-bg-outset keywords
1999-02-04 19:18:01 +00:00
peterl@netscape.com
4ed21a1927
added CSS2 keywords
1998-10-26 23:15:35 +00:00
kipp
31bddbec5a
Revised keyword tables
1998-06-15 20:40:27 +00:00
kipp
0bed60b739
new keywords
1998-04-25 19:11:20 +00:00
kipp
4683c6f4c0
moved to pub
1998-04-13 20:24:54 +00:00