Aryeh Gregor
e093282ae5
Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan
2013-06-19 16:54:53 -04:00
Masayuki Nakano
f8005aa64c
Bug 396542 nsFocusManager should restore caret browsing mode when an editor loses focus r=ehsan
2013-05-22 12:28:43 +09:00
Masayuki Nakano
f2d1519fc7
Bug 824080 HTML editor shouldn't set selection state as inactive at losing focus but the document has focus r=ehsan
2013-05-18 09:07:46 +09:00
Aryeh Gregor
0feba8cea0
Bug 857617 - Clean up nsEditor::InsertTextImpl; r=ehsan
2013-04-04 15:02:24 +03:00
matekm
e7ca3bab1f
Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan
2013-04-02 20:13:10 -04:00
Ms2ger
b8e501d12e
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
2013-03-10 09:00:33 +01:00
Ehsan Akhgari
1a8dcf87e2
Bug 848644 - Do not flush when determining if a node is preformatted or not; r=bzbarsky
2013-03-07 01:12:41 -05:00
Trevor Saunders
08fdf22a1b
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Olli Pettay
8f731ed4c1
Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde
2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
be0e88e929
Backed out changeset 645cb4fbf390 (bug 842132) for build bustage.
2013-02-18 11:12:16 -05:00
Olli Pettay
063a55504c
Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde
2013-02-18 17:33:49 +02:00
L. David Baron
ca6c366dc6
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
405ff5ffa1
bug 841706 - remove nsSelectionIterator r=smaug
2013-02-15 05:52:57 -05: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
Masayuki Nakano
da41a520b9
Bug 825924 Input events which are dispatched by editor should be trusted always r=smaug+ehsan
2013-01-12 10:49:29 +09:00
David Zbarsky
f1cd485fae
Bug 828169 - Don't use nsIDOMNode in editor transactions r=ehsan
2013-01-09 18:05:08 -05:00
Masatoshi Kimura
d617f6873b
Bug 826983 - Enable FAIL_ON_WARNINGS on MSVC in editor/. r=ehsan
2013-01-07 04:41:46 +09:00
William Chen
e91c84cb44
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Masayuki Nakano
dd4680eca9
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09: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
Ms2ger
db5e61f02d
Bug 812891 - Remove duplicated code from nsEditor::Get{Left,Right}mostChild; r=ehsan
2012-12-02 09:59:45 +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
Daniel Glazman
312ed9c6d7
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08: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
Robert O'Callahan
e0d76efca2
Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
2012-10-29 17:31:26 +13:00
Masayuki Nakano
29ac54f8a6
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Aryeh Gregor
b4a7c3a9d3
Bug 795708 - Use more nsCOMPtr; r=ehsan
2012-10-11 12:26:15 +02: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
Masayuki Nakano
8a080c25bd
Bug 705057 part.3 XP level code shouldn't call nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() directly r=smaug+ehsan
2012-09-26 14:47:51 +09:00
Masayuki Nakano
b6bbe5c1a3
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09: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
Ehsan Akhgari
57ec2ec569
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Koosha Khajeh Moogahi
0fb083278a
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Mark Capella
66b118d802
Bug 785091 - Remove nsIEditorObserver, r=ehsan
2012-09-17 11:14:56 -04:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -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
691ef24b2a
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03: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
b2eb1fdc52
Bug 751554 part 3 - Fix OperationID type errors; r=ehsan
2012-08-01 15:20:59 +03:00
Ms2ger
bd02c3e237
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ed Morley
a246794e16
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
e42f8c031a
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02: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
31d0f3562c
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +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
9a75176a51
Bug 773262 - Re-add SetMaxTransactionCount call incorrectly removed by bug 765595 part 2; r=ehsan
2012-07-15 09:11:47 +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