Commit Graph
57 Commits
Author SHA1 Message Date
Ehsan Akhgari 92719c116c Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel 2012-09-17 22:58:51 -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 360ca4ef29 Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan 2012-08-12 21:28:26 +03:00
Aryeh Gregor 01462d7631 Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan 2012-08-01 15:22:07 +03:00
Aryeh Gregor 6b3ee254ff Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor d51d9c61e9 Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-07-08 12:50:31 +03:00
Ed Morley 9978d5b7f2 Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage 2012-07-15 11:42:31 +01:00
Aryeh Gregor a907953b53 Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-07-08 12:50:31 +03:00
Aryeh Gregor 318c755d1f Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
David Zbarsky 9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ryan VanderMeulen 4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Aryeh Gregor 463121ea8c Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan 2012-06-08 17:20:55 +03:00
Aryeh Gregor 2057d2bff4 Bug 762430 - Fix uninitialized nsresult in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor 2eb22e0397 Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan 2012-05-22 12:37:17 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger b6ba10c457 Bug 752209 - Use nsINode::GetChildCount() in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan 2012-05-18 10:29:39 +02:00
Aryeh Gregor 7fd0a44e4e Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
Ms2ger ea76eedc44 Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 553391cf46 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Ehsan Akhgari 478ad1a412 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
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Jonas Sicking 89733c1da1 Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug 2011-06-27 16:34:54 -07:00
Jonas Sicking 423de3eccb Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking 9e55f5c437 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Ed Morley 2aaebf1ec9 Bug 665359 - Remove unused variable res from nsHTMLEditor::AddPositioningOffset; r=ehsan
DONTBUILD
2011-06-20 14:53:51 -04:00
Masayuki Nakano 354cc7faf5 Bug 664437 editor should use mozilla::Preferences r=ehsan 2011-06-17 09:59:29 +09:00
Ms2ger 6e37e0981c Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan 2011-05-22 14:43:13 +02:00
Sebastian Kromp 6132418058 Bug 633750 - deCOM nsIHTMLEditRules and move methods to nsHTMLEditRules. r=ehsan 2011-05-07 10:04:56 +02:00
Ms2ger f8b7a22dfd Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari 66819365ab Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari 1ce2975c77 Bug 289384 - Part 2: Fix an assertion; r=roc 2010-07-11 19:54:28 -04:00
Ehsan Akhgari ea32707944 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 f32700d4f7 Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Ehsan Akhgari d4ce369fca 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
5f7142868a Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
r=glazou
2010-05-24 14:20:59 +02:00
L. David Baron 14d15ea3e2 Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan 2010-05-05 18:20:43 -07:00
L. David Baron 1bf0778b3d Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron bebafb621c Add additional debugging code for bug 563980. 2010-05-05 15:02:31 -07:00
Masayuki Nakano 352495f292 Bug 545602 Unify the event listeners for editor r=smaug 2010-03-06 13:01:28 +09:00
Jae-Seong Lee-Russo eceaa14e22 Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
278718a41f Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons 2008-04-13 13:22:31 -07:00
b80b7d72ad Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [[email protected] (Mathieu Fenniak) / [email protected] (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
151135384e Bug 336160 - Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv 2007-06-14 01:22:47 -07:00
70e37b2ff0 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
0f958609c2 backout Bug 363089 2007-05-11 06:34:05 -07:00
833e8c64f1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
[email protected] 3026c9a3ad Bug 338129, r=glazman, sr=neil 2006-06-15 07:31:01 +00:00
[email protected] 8e384a11b0 More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<[email protected]>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00