Commit Graph

32 Commits

Author SHA1 Message Date
Ms2ger
04e2e98c5e Bug 828975 - Cleanup nsHTMLCSSUtils::ElementsSameStyle a bit; r=ehsan 2013-01-11 09:43:01 +01:00
Ehsan Akhgari
b5e6628199 Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Ehsan Akhgari
8c296bbcd4 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
3f9e983ef3 Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-07-08 12:50:31 +03:00
Aryeh Gregor
7a72ed38f8 Bug 768756 part 1 - Use enum in nsHTMLCSSUtils for computed/specified style; r=ehsan 2012-07-06 14:50:07 +03:00
Ed Morley
ab974a862e Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage 2012-07-15 11:42:31 +01:00
Aryeh Gregor
ad632e6bc8 Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-07-08 12:50:31 +03:00
Aryeh Gregor
bc3c05c246 Bug 768756 part 1 - Use enum in nsHTMLCSSUtils for computed/specified style; r=ehsan 2012-07-06 14:50:07 +03:00
Aryeh Gregor
eb15649aa5 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
358c88c0cb Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
Aryeh Gregor
0366e557db Bug 757371 part 3 - Reuse existing style elements more aggressively; r=ehsan 2012-05-29 10:12:51 +03:00
Aryeh Gregor
045e52b132 Bug 757371 part 1 - Clean up nsHTMLEditRules::ReapplyCachedStyles; r=ehsan 2012-05-22 13:15:09 +03:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor
51d3c28a67 Bug 480647 part 6 - Handle CSS in execCommand("fontSize"); r=ehsan 2012-04-24 13:57:49 +03:00
Ms2ger
f54d391b08 Bug 724270 - Part b: Use nsINode in GenerateCSSDeclarationsFromHTMLStyle / GetCSSEquivalentToHTMLInlineStyleSet and callers; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger
18f112a4be Bug 724270 - Part a: Add an nsINode overload of GetCSSInlinePropertyBase; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger
475fcb9de7 Bug 724269 - Add nsHTMLCSSUtils::IsCSSEditableProperty(nsIContent*); r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger
7ab6e1f800 Bug 724268 - Simplify nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger
41192c3c93 Bug 724266 - Add dom::Element* nsHTMLCSSUtils::GetElementContainerOrSelf(nsINode* aNode); r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger
b0989a6827 Bug 722416 - Outparamdel nsHTMLCSSUtils::GetElementContainerOrSelf; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
b5bb334d50 Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
22afc57540 Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan 2011-12-03 22:50:17 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Masayuki Nakano
db1e5b26fa Bug 664437 editor should use mozilla::Preferences r=ehsan 2011-06-17 09:59:29 +09:00
Ms2ger
f828b0aa18 Bug 656996 - Remove NS_NewHTMLCSSUtils; r=ehsan 2011-05-15 12:07:30 +02:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Arpad Borsos
35b892b3aa Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00