Commit Graph
842 Commits
Author SHA1 Message Date
Masayuki Nakano a209ef2689 Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug 2014-03-08 10:20:07 +09:00
Masayuki Nakano 1f45487404 Bug 974318 part.2 TextComposition should store TextRangeArray at editor handling text event and nsEditor should refer it r=smaug+ehsan 2014-03-04 22:48:26 +09:00
Reuben Morais 16c1e76108 Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen 2014-02-27 20:04:46 -03:00
Masayuki Nakano ecff14ec4a Bug 960866 part.6 mozilla::TextComposition should holds a weak reference to composition handling editor during composition r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano 10a0c05003 Bug 960866 part.5 nsEditor shouldn't allow composition and text events created by chrome JS r=smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano 6adda25e41 Bug 960866 part.4 Remove nsEditor::mIMEBufferLength r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano ab605b19ca Bug 960866 part.3 Remove nsEditor::mIsIMEComposing r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano 57a1d1e5fc Bug 960866 part.2 Remove nsEditor::mInIMEMode r=ehsan 2014-02-12 22:02:55 +09:00
Masayuki Nakano 46c9a40444 Bug 960866 part.1 nsEditor should store a pointer of TextComposition while composition r=ehsan 2014-02-12 22:02:55 +09:00
Ehsan Akhgari 1b0ca0d264 Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc 2014-01-17 10:31:18 -05:00
Ehsan Akhgari 3adcf5021c Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc 2014-01-17 10:31:03 -05:00
Ed Morley 7485b943a9 Backed out changeset e9d82d8ad687 (bug 675579) for crashes on a CLOSED TREE 2014-01-17 15:07:23 +00:00
Ed Morley 76096646a7 Backed out changeset 54ddff6ebfa5 (bug 675579) 2014-01-17 15:07:01 +00:00
Ehsan Akhgari e9765f6f69 Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc 2014-01-17 08:51:43 -05:00
Ehsan Akhgari 84e445d96e Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc 2014-01-17 08:51:20 -05:00
Ehsan Akhgari 68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari 3dfc543079 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari e57e49cddb Bug 936913 - Part 1: Remove the unused editor noisy debug output code; r=roc 2013-11-12 08:55:43 -05:00
Masayuki Nakano 18b3e92af1 Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug 2013-10-18 15:10:24 +09:00
Masayuki Nakano 5fb6570056 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Masayuki Nakano 36c92a3fec Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano c23797df63 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano 5256146045 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano c97e23707c Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc 2013-09-24 19:04:14 +09:00
Mike Hommey 0dc9c0ef85 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Ms2ger 446cc27ede Bug 896283 - Part c: Use nsINode in nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:08 +02:00
Ms2ger ef298e4d4e Bug 896283 - Part b: Reindent nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:04 +02:00
Ms2ger f1c9c23c6e Bug 896283 - Part a: Remove a useless argument from nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:01 +02:00
Ms2ger 8749ce19ff Bug 890833 - Cleanup nsEditor::MoveNode; r=ehsan 2013-07-10 12:03:38 +02:00
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