Commit Graph

167 Commits

Author SHA1 Message Date
Ehsan Akhgari
472326895e Bug 551704 - Part 2: Don't replace newline characters with BR nodes in preformatted editable fields; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ms2ger
859896ba2e Bug 606717 - Comparison between signed and unsigned integers in nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded; r=ehsan a=bsmedberg 2010-11-04 16:45:39 -04:00
Ms2ger
1dc17b150a Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04: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
88e3c3e1a4 Bug 604532 - Copying from the location bar doesn't copy the entire URL if some text has been appended to it; r=roc a=blocking-final+ 2010-10-18 13:58:55 -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
e75e09ff61 Bug 603556 - pasting into text that is longer than maxlength of text control fails; r=roc a=blocking-final+ 2010-10-12 18:30:41 -04:00
Ehsan Akhgari
52b16445e6 Bug 597331 - Reframing a textarea sets the caret position to the end of its contents; r=bzbarsky a=blocking-final+ 2010-10-13 01:34:05 -04:00
Ehsan Akhgari
fc135a2458 Bug 600570 - textarea: cut and paste broken, pastes more than cut, leaves selectionEnd with wrong value; r=bzbarsky a=blocking-betaN+ 2010-10-06 18:42:21 -04:00
Ehsan Akhgari
133d6d5182 Bug 597519 - Attempting to add characters to a textarea filled to its maxlength with a trailing newline results in the caret to jump to the previous line; r=roc a=blocking-final+ 2010-09-24 15:10:53 -04:00
Ehsan Akhgari
f4902d68f7 Bug 596001 - Add a test to make sure that tab values are handled correctly in plaintext editable fields; r=roc a=NOPTB 2010-09-23 16:55:40 -04:00
Ehsan Akhgari
dae8839f12 Bug 596506 - Going to end of line using Ctrl-e on Mac positions caret after newline in textareas; r=bzbarsky a=blocking-final+ 2010-09-16 14:40:26 -04:00
Ehsan Akhgari
93d0c6b193 Bug 596333 - Part 2: Make ContainsDOMWordSeparator greedy; r=bz a=blocking-betaN+ 2010-09-16 14:39:28 -04:00
Ehsan Akhgari
851b7dc1b5 Bug 596333 - Automatic spell checking not always functional after bug 240933; r=roc a=blocking-betaN+ 2010-09-16 14:38:46 -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
88f276e98a Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc
--HG--
extra : rebase_source : def2e0da4f32e9e50231b250075c45766bb00819
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
b5f720a55c Bug 240933 - Part 6: Put the selection on the moz BR element if the user presses Enter at the end of a textarea; r=roc a=dbaron
--HG--
extra : rebase_source : 179199c5e641282fdcc382dccbe2d31ad0cbe057
2010-07-19 16:19:27 -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
2a998fd974 Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron
--HG--
extra : rebase_source : 67bddca61bbf4f2d20fd8e105234c3667459aa20
2010-07-16 17:34:59 -04:00
Ehsan Akhgari
4085a00c0c Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : bcaf760ad9d2e939a5d99f21cd8727ef71faea92
2010-07-11 16:26:26 -04:00
Ehsan Akhgari
96488558d9 Bug 592592 - Part 2: Fix test_texteditor_keyevent_handling.html to reflect the desired behavior; r=roc 2010-09-08 17:32:07 -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
ddbe740048 Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc
--HG--
extra : rebase_source : a13c6c277ddb545614eb8c93131112bc793c1348
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
b41230b0ae Bug 240933 - Part 6: Put the selection on the moz BR element if the user presses Enter at the end of a textarea; r=roc a=dbaron
--HG--
extra : rebase_source : d992d0950cd15c24d68f976d6e628eb349de5150
2010-07-19 16:19:27 -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
Ehsan Akhgari
1bb782fa37 Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron
--HG--
extra : rebase_source : cb4457edb5716727801fad0152eff55d3f4d9b09
2010-07-16 17:34:59 -04:00
Ehsan Akhgari
b2d7d2f956 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : 45cbd49946c1577786a5bd141384d92f9daf27c4
2010-07-11 16:26:26 -04:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Ehsan Akhgari
e85adb5a55 Bug 580151 - Part 3: crashtest; r=roc
--HG--
extra : rebase_source : 7b0f6b55c8977d3a3b2b1ef61e5a727f2959badc
2010-07-20 09:21:44 -04:00
Ehsan Akhgari
25f6280420 Bug 580151 - Part 1: Move the increment up in case the call to nsIEditor::GetSelection fails and we bail out early; r=roc
--HG--
extra : rebase_source : 249cf74c6a1700b230d946793819ff6611ebbb99
2010-07-20 09:04:14 -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
Daniel Holbert
3048e2abb0 Bug 581166, part 1: Quiet a spammy NS_ENSURE_TRUE() in nsTextEditRules::WillDeleteSelection that fires on every tab-switch. r=ehsan a=bsmedberg 2010-07-26 12:11:08 -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
Masayuki Nakano
721ceccc5d Bug 569988 adding test r=ehsan 2010-06-23 15:15:21 +09:00
Masayuki Nakano
8dfe5edd59 Bug 572969 [SeaMonkey][OSX] Mochitest-3 test_(htmleditor|texteditor)_keyevent_handling.html has 96 (perma)failures r=ehsan 2010-06-20 13:29:44 +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
Josh Matthews
98ebf9fb31 Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -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