Commit Graph

816 Commits

Author SHA1 Message Date
Jared Wein
3a800a6051 Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Jignesh Kakadiya
132bb9f668 Bug 716215 - nsHTMLEditor::IsEmptyNodeImpl checks if the parent is a form widget instead of the child. r=Ms2ger; sr=ehsan 2012-01-11 09:23:09 +01:00
Ms2ger
0b7161afcb Bug 716207 - Part b: Cleanup nsTextEditRules::RemoveRedundantTrailingBR; r=ehsan 2012-01-11 09:23:07 +01:00
Ms2ger
d4997dd3a0 Bug 716207 - Part a: Cleanup nsTextEditRules::DidUndo; r=ehsan 2012-01-11 09:23:07 +01:00
Ms2ger
1dac0d44c1 Bug 715110 - Don't use getPreventDefault in editor; r=ehsan 2012-01-11 09:23:07 +01:00
Ms2ger
2e0c12b87c Bug 716630 - Kill editor's warnings; r=ehsan 2012-01-11 09:22:16 +01:00
Ehsan Akhgari
9253a2d3b5 Bug 716456 - Make sure to pass a correct ancestor to GetPreviousContent; r=bzbarsky 2012-01-10 15:35:04 -05:00
David Zbarsky
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
David Zbarsky
27f2baf8e1 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Ehsan Akhgari
14f7de1cd3 Bug 716593 - test_bug596001.html calls SimpleTest.finish needlessly; r=roc 2012-01-09 17:07:17 -05:00
Marco Bonardo
7b580a337d Merge last green PGO from mozilla-inbound to mozilla-central 2012-01-06 13:22:51 +01:00
Neil Rashbrook
b0a7bafbb1 Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc 2012-01-05 21:33:41 +00:00
Graeme McCutcheon
3a9d858e22 Bug 471319 - Don't make incorrect assumptions about the bogus node after undo/redo. r=ehsan 2012-01-04 15:15:09 +00:00
Ms2ger
0045cb51cf Bug 714258 - Remove unused variable rv in nsEditorController::RegisterEditorCommands; r=ehsan 2012-01-02 19:05:19 +01:00
Masayuki Nakano
fd8c7e75e6 Bug 711903 part.2 Fix new test failure r=ehsan 2011-12-31 23:04:37 +09:00
Masayuki Nakano
b5a505bab8 Bug 713502 Fire input event even during composition r=smaug+ehsan 2011-12-31 23:04:37 +09:00
Ed Morley
54f757ba39 Merge mozilla-central to mozilla-inbound 2011-12-31 13:10:25 +00:00
Olli Pettay
6e50a9611b Bug 714250 - Optimize nsTransactionManager traversing, r=ehsan, mccr8
--HG--
extra : rebase_source : ee6fbf5481e9f3602ee8afe032963f662ae3fd03
2011-12-30 19:16:10 +02:00
Neil Rashbrook
02c6a3f7d4 Bug 692153 Make Copy and Select All always work even when contenteditable areas are present r=ehsan 2011-12-30 17:42:04 +00:00
Ehsan Akhgari
e4da1ec539 Bug 613517 - Remove support for making links relative when pasting/dropping HTML data over an editable area; r=roc 2011-12-30 13:04:02 -05:00
Phil Ringnalda
30796bb59b Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Neil Rashbrook
5d0063889c Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Masayuki Nakano
e925b75494 Bug 698949 Editor should refuse untrusted keypress event r=smaug 2011-12-21 21:11:36 +09:00
Jeff Walden
98dd456fc1 Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Masayuki Nakano
d82ad83346 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Atul Aggarwal
e646b2c94c Bug 703239 - Fixing build warnings in editor/, r=ehsan 2011-12-22 23:46:56 +05:30
Phil Ringnalda
3f8c5b26b0 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange
34f17128b7 Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc 2011-12-23 22:52:23 -05:00
Markus Stange
4ef3f032b5 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange
8d38301cdf Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc 2011-12-23 22:52:21 -05:00
Ms2ger
4538ce66ac Bug 709523 - Part h: Remove unused variable in nsHTMLEditor::GetBodyElement; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger
693d1581f3 Bug 709523 - Part g: Remove nsHTMLEditRules::{Will,Did}DeleteRange; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger
776db17a69 Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger
baaa328b07 Bug 709523 - Part e: Remove some overloads of TypeInState::{SetProp,ClearProp}; r=ehsan a=edmorley 2011-12-11 21:03:46 +01:00
Ms2ger
04edf4386e Bug 709523 - Part d: Remove nsHTMLEditor::IsRootTag; r=ehsan a=edmorley 2011-12-11 21:00:28 +01:00
Ms2ger
8c6b69c5ee Bug 709523 - Part c: Remove EditAggregateTxn::{GetCount,GetTxnAt,SetName}; r=ehsan a=edmorley 2011-12-11 21:00:27 +01:00
Ms2ger
e647b3eb40 Bug 709523 - Part b: Remove nsDOMIterator::ForEach; r=ehsan a=edmorley 2011-12-11 21:00:25 +01:00
Ms2ger
4671ebdb7a Bug 709523 - Part a: Remove nsDOMSubtreeIterator::Init; r=ehsan a=edmorley 2011-12-11 21:00:23 +01:00
Jan Bambach
2cd6ae449b Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao 2011-12-08 10:21:32 +01:00
Masayuki Nakano
5aaeb19ce0 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Ms2ger
ae2f0c6a74 Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger
3ca7221ed9 Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan 2011-12-03 22:50:17 +01:00
Fabien Cazenave
67ba2ac03b Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01:00
Masayuki Nakano
145d565bb0 Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan 2011-11-30 11:57:41 +09:00
Boris Zbarsky
b327466b66 Bug 635618 part 5. Pass an optional argument to GetPriorNode and GetNextNode to limit the search. r=ehsan 2011-11-28 07:54:32 -05:00
Boris Zbarsky
934bc3d8e0 Bug 635618 part 4. Switch GetNextNode and GetPriorNode to working with nsINode. r=ehsan 2011-11-28 07:54:14 -05:00
Boris Zbarsky
a4cebc0963 Bug 635618 part 3. Switch GetPriorNodeImpl and GetNextNodeImpl to working with nsINode. r=ehsan 2011-11-28 07:54:03 -05:00
Boris Zbarsky
100a69dffc Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan 2011-11-28 07:53:29 -05:00
Boris Zbarsky
4d317e516c Bug 635618 part 1. Only get computed style in IsElementVisible if we end up in a situation where we're waiting on lazy frame construction. r=ehsan 2011-11-28 07:53:15 -05:00