Commit Graph

85 Commits

Author SHA1 Message Date
Graeme McCutcheon
8ded7124eb Bug 318065 - Don't notify editor observers until bogus node state is reset. r=ehsan 2011-08-16 13:55:23 +01:00
Jonas Sicking
5491caaaf4 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Jonas Sicking
5e5e6bd544 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Masayuki Nakano
db1e5b26fa Bug 664437 editor should use mozilla::Preferences r=ehsan 2011-06-17 09:59:29 +09:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ehsan Akhgari
01360016f7 Bug 634406 - Don't select past the trailing BR node in text fields when performing the SelectAll operation; r=roc 2011-05-25 16:30:14 -04:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Ms2ger
c36c459144 Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan 2011-05-22 14:43:13 +02:00
Ms2ger
48b02e4f5a Bug 657160 - Remove NS_NewTextEditRules; r=ehsan 2011-05-15 12:16:45 +02:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Sebastian Kromp
c90dd3913b Bug 633066: Remove nsICiter and make nsInternetCiter a static class. r=ehsan 2011-03-31 07:32:13 -04:00
Ehsan Akhgari
c06813a2c5 Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc 2011-03-11 00:40:31 -05:00
Ehsan Akhgari
bb48d9cae8 Bug 407127 - Part 4: Avoid using the presshell needlessly because it may not always be available; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari
6ef553932d Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari
586a904360 Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari
3f40511a92 Bug 626411 - Selecting a section of URL, then clicking "Delete" stays at refresh, instead of "go"; r=roc a=blocking-final+
--HG--
extra : rebase_source : 09c7a68d030c819afe7086fe22f2c83620e881eb
2011-01-19 19:25:03 -05:00
Ehsan Akhgari
bde6418f39 Bug 625452 - Make sure all plaintext editor commands generate trusted input events; r=roc a=blocking-final+ 2011-01-15 23:16:45 -05:00
Masayuki Nakano
17924ba129 Bug 613810 - Undo(ctrl+z) does not work continuously after committing IME; r=ehsan a=blocking-final+ 2010-11-24 17:57:32 -05:00
Ehsan Akhgari
22cdd2dc8b Bug 606295 - Don't attempt to remove the edit action listener from nsPlaintextEditor's dtor; r,a=roc 2010-10-22 16:51:06 -04:00
Ehsan Akhgari
bd870e5b18 Bug 602130 - Always start with a clean transaction manager when re-initialing the editor; r=roc a=blocking-final+
--HG--
extra : rebase_source : ec386404eb6853a66406f1b441cc25f3a3417688
2010-10-14 19:53:43 -04:00
Ehsan Akhgari
ced4d3129b Bug 590554 - Part 2: Disable the end offset assertion for password fields; r=roc
--HG--
extra : rebase_source : 29f26dc5de8bd0ba0656a37fdf3b24657a38c581
2010-08-30 16:38:43 -04:00
Ehsan Akhgari
8c8c515368 Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc
--HG--
extra : rebase_source : 7156090a56ed7818db3539dbc8e6f9f7ae86d6e5
2010-08-27 01:36:09 -04:00
Ehsan Akhgari
43c9761626 Bug 240933 - Part 5: Inject linefeed characters instead of BR elements when the user presses Enter; r=roc a=dbaron
--HG--
extra : rebase_source : 6e8e9f098950113fd4739251dfee6b19473c8f08
2010-07-17 19:40:22 -04:00
Ehsan Akhgari
7b654288bf Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Ehsan Akhgari
f46bed132f Bug 590554 - Part 2: Disable the end offset assertion for password fields; r=roc
--HG--
extra : rebase_source : 0e3dce695eafc269f1efdacd57d56d5383be6bd9
2010-08-30 16:38:43 -04:00
Ehsan Akhgari
9367068a32 Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc
--HG--
extra : rebase_source : bc351ffd6cd3a346b57808f338e4367e2c731947
2010-08-27 01:36:09 -04:00
Ehsan Akhgari
f31556a8c3 Bug 240933 - Part 5: Inject linefeed characters instead of BR elements when the user presses Enter; r=roc a=dbaron
--HG--
extra : rebase_source : af405de4d02ba543dffacea04dd026a1dd24c8bf
2010-07-17 19:40:22 -04:00
Daniel Holbert
2e57434ab5 Bug 581166, part 2: Avoid passing null argument to RemoveEditActionListener in ~nsPlainTextEditor, to quiet 2 NS_ENSURE_TRUE warnings at shutdown time. r=ehsan a=bsmedberg 2010-07-26 12:11:09 -07:00
Masayuki Nakano
6a5b71a1ed Bug 564412 Remove non-scriptable internal methods from nsIEditorIMESupport r=ehsan, sr=smaug 2010-06-30 13:05:12 +09:00
Ehsan Akhgari
24b20624da Bug 572618 - Make debugging the editor easier - Part 4: multiline version of part 1; r=roc 2010-06-17 16:44:35 -04:00
Ehsan Akhgari
efa76e8106 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
Ehsan Akhgari
e93945101f Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Ehsan Akhgari
ed95bc25f5 Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc 2010-06-17 15:27:24 -04:00
Masayuki Nakano
ceaf9951b3 Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan 2010-06-17 14:30:10 +09:00
Masayuki Nakano
be11e1c17d Bug 570455 Editor shouldn't do anything when ESC key is pressed because bug 471322 was marked as WONTFIX r=ehsan 2010-06-17 14:25:20 +09:00
Ehsan Akhgari
181e117cff Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc 2010-06-10 22:46:51 -04:00
Masayuki Nakano
9d9e285291 Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc 2010-06-10 10:16:58 +09:00
Ehsan Akhgari
67c7d5d5e2 Bug 332636 - Handle backspace for Unicode plane 1 characters correctly; r=roc
--HG--
extra : rebase_source : a343610b06983d3328f3ddb2e7025193ab275094
2010-06-04 13:28:19 -04:00
Ehsan Akhgari
c0245df31d Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others) 2010-06-03 21:28:03 -04:00
Masayuki Nakano
d075ac396c Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc 2010-06-02 16:24:56 +09:00
Ehsan Akhgari
5a941e7405 Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc 2010-05-27 21:18:48 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Ehsan Akhgari
856ecc5649 Bug 558962 - Memoize nsPlaintextEditor::GetDefaultEditorPrefs to avoid unnecessary calls to the pref service; r=roc 2010-04-13 13:44:17 -04:00
Masayuki Nakano
7d05909d39 Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Masayuki Nakano
2e04f8ba90 Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc 2010-04-10 18:24:35 +09:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00