Commit Graph
314 Commits
Author SHA1 Message Date
Boris Zbarsky 879ee9ab35 Bug 848895 part 2. Null-check the pointer to the editor that the edit rules hold. r=ehsan 2013-03-22 23:47:58 -04:00
Boris Zbarsky 9daf7a97c7 Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv 2013-02-28 12:56:41 -05:00
Ryan VanderMeulen 9d1831e75b Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE. 2013-02-28 14:41:30 -05:00
Boris Zbarsky 8172d185a8 Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv 2013-02-28 12:56:41 -05:00
Boris Zbarsky 650f94470f Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky eb23c0b868 Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like 2013-02-26 15:34:25 -05:00
Boris Zbarsky d42046307b Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Ehsan Akhgari 1aad5e5260 Bug 842892 - Block scripts while extending the selection for deletion in order to prevent a crash when changing the type of an input; r=smaug 2013-02-22 18:40:09 -05:00
Ehsan Akhgari 7d93e75606 Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc 2013-01-15 18:44:16 -05:00
Ehsan Akhgari bacd0640d7 Backed out changeset 4c6024d6f725 (bug 830600) because of build failures 2013-01-15 19:29:50 -05:00
Ehsan Akhgari d9cf8413ff Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc 2013-01-15 18:44:16 -05:00
Chris Peterson cc2e15d538 Bug 806142 - Only hide password characters if the text editor is (still) a password editor. r=ehsan 2012-11-06 10:45:58 -08:00
Olli Pettay cb96deed0a Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03:00
Peter Van der Beken 07b09c8eb9 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz. 2012-09-26 16:17:47 +02: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 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +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
Makoto Kato f554a64ea0 Bug 772327 - Password mask timer is too short on Android. r=blassy 2012-07-13 11:26:20 +09:00
Luqman Aden c671b49a3f Bug 770814 - Make nsEditor::GetNodeLocation return already_AddRefed<nsIDOMNode> instead of having it as an out param; r=ehsan 2012-07-08 20:45:12 -04:00
Aryeh Gregor 5db48a8f85 Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan 2012-07-02 15:07:57 +03: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 b3ad97272c Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor e664ee6abd Bug 757771 part 2 - Change various callers to use nsTypedSelection; r=ehsan 2012-06-05 11:10:26 +03:00
Ms2ger 3d7fb1378c Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan 2012-06-06 09:35:47 +02:00
Aryeh Gregor 1a424ce536 Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
Aryeh Gregor 795589b238 Bug 748307 part 3 - Clean up WillDoAction; r=ehsan 2012-05-22 12:37:17 +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
Aryeh Gregor 6a21137769 Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Aryeh Gregor 7fd0a44e4e Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
Ms2ger f75e1d31b9 Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger c54ec51e94 Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor 7a56dec01e Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan 2012-05-01 09:34:52 +03:00
Graeme McCutcheon 6fb4f5a9b8 Bug 740784 - Don't allow old bogus nodes to trail textarea content. r=ehsan a=lsblakk 2012-04-12 21:55:48 +01:00
Ms2ger 606df6e7a8 Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan 2012-03-24 09:19:14 +01:00
Ms2ger 81e85b7f3f Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan 2012-02-01 11:54:22 +01:00
Matthew Schranz 4d803cd2bb Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug 2012-01-25 13:47:50 +01:00
Ms2ger 7764b1598c Bug 716207 - Part b: Cleanup nsTextEditRules::RemoveRedundantTrailingBR; r=ehsan 2012-01-11 09:23:07 +01:00
Ms2ger a6c58ff118 Bug 716207 - Part a: Cleanup nsTextEditRules::DidUndo; r=ehsan 2012-01-11 09:23:07 +01:00
David Zbarsky b5b429da23 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Graeme McCutcheon ce95f4b0db Bug 471319 - Don't make incorrect assumptions about the bogus node after undo/redo. r=ehsan 2012-01-04 15:15:09 +00:00
Fabien Cazenave d2a934b834 Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01: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
Masayuki Nakano cb1d445f5e Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan 2011-09-09 11:27:12 +09:00
Graeme McCutcheon 5564f41ccb Bug 318065 - Don't notify editor observers until bogus node state is reset. r=ehsan 2011-08-16 13:55:23 +01:00