Commit Graph

67 Commits

Author SHA1 Message Date
Aryeh Gregor
18d73c0331 Bug 802995 - Missing null check in nsTextServicesDocument::DeleteSelection; r=ehsan 2012-10-25 14:36:23 +02:00
Ehsan Akhgari
ff1c5bbcf7 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
0fd9123eac 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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
ad3c2e474a Bug 778028 - Build editor/ in parallel; r=khuey 2012-07-26 22:24:27 -04:00
Ehsan Akhgari
8f397072dd Bug 777949 - Make the editor Makefile.in's splendid; r=khuey
--HG--
extra : rebase_source : cc24614034ecaa18260fdc16654d18d2ef844c7f
2012-07-26 21:57:31 -04:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
7005254f4f Bug 763283 part 2 - Use nsINode::AsContent() in editor/; r=ehsan 2012-06-10 15:39:21 +03:00
Ms2ger
5e4ea1d70f Bug 756756 - Cleanup nsTextServicesDocument::GetCollapsedSelection; r=ehsan 2012-06-06 09:36:23 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor
794a3e5f1b Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Ms2ger
e0dcb42930 Bug 751328 - Use nsINode::GetChildCount() in nsTextServicesDocument::CreateDocumentContentRootToNodeOffsetRange; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
6b5d679f68 Bug 750073 - Use nsContentUtils::WordBreaker() in nsTextServicesDocument::FindWordBounds; r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor
b6e35957b0 Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan 2012-04-17 13:18:08 +03:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Daniel Holbert
706eb31699 Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan 2012-02-15 01:18:24 -08:00
David Zbarsky
452eb69c4e Bug 682611 - Part 3: Remove ns(I)RangeUtils; r=smaug 2012-01-28 16:42:14 +01:00
Ms2ger
15ab474eed Bug 717370 - Cleanup range-using and nearby code in editor; r=smaug+ehsan 2012-01-15 09:13:12 +01:00
Ms2ger
2e0c12b87c Bug 716630 - Kill editor's warnings; r=ehsan 2012-01-11 09:22:16 +01:00
David Zbarsky
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
David Zbarsky
27f2baf8e1 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Kyle Huey
1a7cfd5146 Bug 709400: Make all methods on nsIInlineSpellChecker scriptable so that it can be overriden from JS. r=ehsan 2012-01-05 11:26:14 -05:00
Quentin Headen
8db5bf6208 Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan 2011-12-29 16:06:56 -05:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07: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
Jesper Kristensen
90f5bdbe17 Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-13 14:58:54 -04:00
Ed Morley
4923d068c0 Backout a422b9ff0a9e (bug 591780 part 1) for causing 8% Ts regression on multiple platforms; a=khuey 2011-09-06 14:32:26 +01:00
Jesper Kristensen
ffe4248d12 Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-05 18:44:34 -04:00
arno renevier
2485241198 Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Jonas Sicking
509451f5cc Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Ms2ger
1dc17b150a Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
Ehsan Akhgari
c5d807f1c7 Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+ 2010-10-21 16:56:20 -04:00
Ehsan Akhgari
c14756c3a1 Bug 528368 - crash during spell check [@ nsTextServicesDocument::IsBlockNode(nsIContent*)] r=roc a=vlad
--HG--
extra : rebase_source : 4a06a8b23706cba1c0d1614fbf0ee3ea773bea1c
2010-08-25 01:44:19 -04:00
Ehsan Akhgari
24b20624da Bug 572618 - Make debugging the editor easier - Part 4: multiline version of part 1; r=roc 2010-06-17 16:44:35 -04:00
Ehsan Akhgari
efa76e8106 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
Ehsan Akhgari
ed95bc25f5 Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc 2010-06-17 15:27:24 -04:00
Josh Matthews
98ebf9fb31 Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -04:00
Ehsan Akhgari
583eea4860 Bug 570350 - Crash [@ nsTextServicesDocument::NodeHasOffsetEntry(nsTArray<OffsetEntry*>*, nsIDOMNode*, int*, int*) ] when enabling/disabling the spell checker; r=roc
--HG--
extra : rebase_source : 8e8815dc92f936545305345b7fcf20eba4f4c6db
2010-06-08 00:20:23 -04:00
Ehsan Akhgari
42bde816bb Bug 569504 - Fix the spell checker leaking windows and documents; r=roc 2010-06-02 14:33:47 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00