Ehsan Akhgari
490d6cf8b5
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
382846bdfb
Bug 852600 - traverse/unlink mStyleSheets in nsHTMLEditor. r=ehsan
2013-04-05 10:03:56 -07:00
matekm
e7ca3bab1f
Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan
2013-04-02 20:13:10 -04:00
Boris Zbarsky
342f7d2389
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
7692f41b04
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Phil Ringnalda
0b10e72f72
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
66701da22a
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ms2ger
b8e501d12e
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
2013-03-10 09:00:33 +01:00
Ms2ger
3136901362
Bug 840024 - Cleanup nsHTMLEditor::RemoveAttributeOrEquivalent some; r=ehsan
2013-03-10 08:58:34 +01:00
Trevor Saunders
2c07f74e31
bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug
2013-02-07 09:17:47 -05:00
Trevor Saunders
c55a85644c
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
David Zbarsky
839fe521d3
Fix bustage for Bug 827149
2013-01-12 18:20:57 -05:00
David Zbarsky
506bcc0ab0
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Ms2ger
d83d923861
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
Ms2ger
9a339d5274
Bug 813532 - Part b: Some cleanup for GetNextHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Ms2ger
29f56f3549
Bug 813532 - Part a: Some cleanup for GetPriorHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Jeff Walden
8a6657de57
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
21afe18a9b
Bug 803853, make sure to not leak mRules, r=ehsan
2012-12-07 01:31:48 +02:00
Ms2ger
7abd80a483
Bug 812885 - Cleanup nsHTMLEditor::GetElementOrParentByTagName some; r=ehsan
2012-12-02 09:59:41 +01:00
Benoit Jacob
c995bc9e1e
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Masayuki Nakano
a8158917e6
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
82b618706e
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
2012-10-09 14:31:24 +02:00
Ehsan Akhgari
45b60b8227
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
1cd1e4adc3
Bug 801803: Followup to convert 2 more call sites r=me
2012-10-15 17:39:46 -04:00
Ehsan Akhgari
11d2b034c6
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
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e3e016faf9
Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky
2012-08-29 16:43:32 -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
Kent James
9a8bfa5444
Bug 780908 - Fix crash in editor with head after body. r=ehsan
2012-08-17 08:39:52 -07:00
Aryeh Gregor
316904acc6
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Aryeh Gregor
360ca4ef29
Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan
2012-08-12 21:28:26 +03:00
Ed Morley
4444469366
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Ms2ger
762d9ef160
Bug 179956 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:06 +02:00
Ms2ger
aba09e42ba
Bug 461440 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:01 +02:00
Aryeh Gregor
73d6030cac
Bug 778428 - Refcount arrays of nodes in editor/; r=ehsan
2012-08-01 11:17:51 +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
dae484c6fb
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
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
31d0f3562c
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
270c8896f8
Bug 772332 part 1 - Make nsWSRunObject's type enum type-safe; r=ehsan
2012-07-13 09:33:43 +03:00
Masayuki Nakano
145eae9346
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
318c755d1f
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03: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
fc5de28048
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz
2012-07-05 10:45:08 +03:00
Aryeh Gregor
b0f59ed869
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
9264e27d1b
Backed out changeset f49e52ee86f3, insufficient review
2012-07-05 11:51:18 +03:00
Aryeh Gregor
a04e8a0e03
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan
2012-07-05 10:45:08 +03:00
Aryeh Gregor
5db48a8f85
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Aryeh Gregor
a13822e256
Bug 769967 part 1 - Clean up nsEditor::GetChildOffset; r=ehsan
2012-07-02 14:42:19 +03:00
Aryeh Gregor
9c4c1414e2
Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan
2012-07-01 14:53:45 +03:00