Граф коммитов

804 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 575b423ef1 Bug 861893 - Do not hold on to nsITextServicesDocument unnecessarily in the editor and the spell checker code; r=roc 2013-04-16 00:07:32 -04:00
Andrew McCreight 55f3717625 Bug 852600 - traverse/unlink mStyleSheets in nsHTMLEditor. r=ehsan 2013-04-05 10:03:56 -07:00
matekm e28599d0e9 Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan 2013-04-02 20:13:10 -04:00
Boris Zbarsky cdbe50e3df Bug 848895 part 1. Always hold an on-stack strong reference to mRules when calling into it. r=ehsan 2013-03-22 23:47:57 -04:00
Trevor Saunders 585a307b78 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda 97983b5f15 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders bcb6f556e0 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ms2ger 89fffd12a6 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger 01c2953332 Bug 840024 - Cleanup nsHTMLEditor::RemoveAttributeOrEquivalent some; r=ehsan 2013-03-10 08:58:34 +01:00
Trevor Saunders 5e1d5f264c bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00
Trevor Saunders 83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
David Zbarsky 8c8b086ef9 Fix bustage for Bug 827149 2013-01-12 18:20:57 -05:00
David Zbarsky fd7bd329e5 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Ms2ger 26de886928 Bug 825407 - Get rid of GetElementParent; r=mounir 2013-01-11 09:43:01 +01:00
Ms2ger ec7a3c7d9b Bug 813532 - Part b: Some cleanup for GetNextHTMLNode; r=ehsan 2012-12-22 09:17:05 +01:00
Ms2ger 8112360d29 Bug 813532 - Part a: Some cleanup for GetPriorHTMLNode; r=ehsan 2012-12-22 09:17:05 +01:00
Jeff Walden 120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Olli Pettay 194ec67167 Bug 803853, make sure to not leak mRules, r=ehsan 2012-12-07 01:31:48 +02:00
Ms2ger a4bcef09e7 Bug 812885 - Cleanup nsHTMLEditor::GetElementOrParentByTagName some; r=ehsan 2012-12-02 09:59:41 +01:00
Benoit Jacob 986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Masayuki Nakano 074b802eac Bug 806996 part.5 nsEditor::PostCreate() should call nsIMEStateManager::UpdateIMEState() rather than nsIMEStateManager::OnChangeFocus() when it already has focus r=ehsan 2012-11-09 17:40:39 +09:00
Peter Van der Beken e4c543b77c Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Ehsan Akhgari 561619b7e0 Bug 802884 - Fix a build failure in Visual C++ 2012 because of what seems to be a compiler bug; r=me 2012-10-17 20:07:05 -04:00
David Zbarsky ac35c2991b Bug 801803: Followup to convert 2 more call sites r=me 2012-10-15 17:39:46 -04:00
Ehsan Akhgari 3f5dda291e Bug 796839 - Part 4: Don't pretend that empty text nodes are not editable; r=roc
This is the real fix for this bug.  Previously we mistakenly thought
that if a text node is empty (or has only whitespace content), it is not
editable.  This patch removes that check completely and makes us treat
text nodes the same way that we treat element nodes.
2012-10-03 21:25:00 -04:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari fabdcd910a Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky 2012-08-29 16:43:32 -04:00
Ehsan Akhgari e368dc9c85 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
Kent James 1cd719aa66 Bug 780908 - Fix crash in editor with head after body. r=ehsan 2012-08-17 08:39:52 -07:00
Aryeh Gregor 8bb4aff89c Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Aryeh Gregor 2d1471fe5d Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan 2012-08-12 21:28:26 +03:00
Ed Morley 98aa4a8530 Merge mozilla-central to mozilla-inbound 2012-08-09 12:51:21 +01:00
Ms2ger 3977fd015e Bug 179956 - Remove unsound assertion; r=ehsan 2012-08-09 09:20:06 +02:00
Ms2ger 3eeaed21b6 Bug 461440 - Remove unsound assertion; r=ehsan 2012-08-09 09:20:01 +02:00
Aryeh Gregor a904071047 Bug 778428 - Refcount arrays of nodes in editor/; r=ehsan 2012-08-01 11:17:51 +03:00
Aryeh Gregor d75065b649 Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan 2012-08-01 15:22:07 +03:00
Aryeh Gregor a49c41b03d Bug 291789 part 1 - Make various nsHTMLEditUtils methods take nsINode instead of Element; r=ehsan 2012-07-27 17:03:28 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 688a8caad5 Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan 2012-07-23 13:27:22 +03:00
Aryeh Gregor 4431987355 Bug 772332 part 1 - Make nsWSRunObject's type enum type-safe; r=ehsan 2012-07-13 09:33:43 +03:00
Masayuki Nakano 8191cad1be Bug 751749 part.3 Editor should handle Win key as a modifier key r=ehsan 2012-07-19 10:28:17 +09:00
Aryeh Gregor dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Luqman Aden cecabe4d0b 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 faab82fdb9 Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz 2012-07-05 10:45:08 +03:00
Aryeh Gregor 0f1a142f1f Bug 769967 part 5 - Don't special-case -moz-user-select: all elements for deletion; r=ehsan 2012-07-02 16:25:33 +03:00
Aryeh Gregor c8f2fb5da8 Backed out changeset f49e52ee86f3, insufficient review 2012-07-05 11:51:18 +03:00
Aryeh Gregor df8b2779c0 Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan 2012-07-05 10:45:08 +03:00
Aryeh Gregor b24ebc320a Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan 2012-07-02 15:07:57 +03:00
Aryeh Gregor 334bc2c035 Bug 769967 part 1 - Clean up nsEditor::GetChildOffset; r=ehsan 2012-07-02 14:42:19 +03:00
Aryeh Gregor 2760d35ada Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan 2012-07-01 14:53:45 +03:00