Commit Graph
638 Commits
Author SHA1 Message Date
Ehsan Akhgari ac34b1add8 Bug 641466 - Correct the array bounds checking so that the last surrogate pair in a textbox can be deleted correctly; r=roc 2011-03-16 15:34:29 -04:00
Ehsan Akhgari a9b128f213 Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari 3f5f64ca28 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 6f2d027d9a Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
Ehsan Akhgari 2b27a85003 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 383c16214c Bug 407127 - Part 3: Get the selection controller for HTML editors from the presshell, instead of holding on to a presshell reference masked as a selection controller; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari 14a98eb7b7 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 66819365ab 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 9972c0a5ec Bug 636465 - Reset the spellchecking override status when detaching an editor object from the content node; r,a=roc 2011-03-01 15:04:42 -08:00
Neil Rashbrook 5038f67095 Bug 635420 - Clicking on content within Normal tab of Composer and stops switching to other tabs; r=ehsan a=bsmedberg 2011-02-28 13:04:05 -08:00
Kyle Huey f1d325ec27 Bug 636107 - Part 2: Maintain better hygiene by not passing uninitialized pointer values around; r=ehsan a=blocking-final+ 2011-02-23 07:20:58 -05:00
Ehsan Akhgari 6aaa632f0a Bug 636074 - Part 1: Forget the transaction pointer when creating transaction objects in order to pass it to the caller instead of swapping it with random values; r=roc a=blocking-final+ 2011-02-23 14:22:07 -08:00
Kyle Huey f06111c08a Bug 633709: Convert bogus assert into a warning. r+a=ehsan 2011-02-19 17:49:23 -05:00
Kyle Huey e58f21066c Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
Ehsan Akhgari 042e7a3deb Bug 336091 - Initialize the out parameters of nsEditor::GetStartNodeAndOffset correctly; r,a=roc 2011-02-09 14:07:56 -05:00
Ehsan Akhgari c2ac391fe4 Bug 629172 - Fix the regression in switching the text input direction using Cmd/Ctrl+Shift+X; r=roc a=blocking-final+ 2011-01-27 00:26:33 -05:00
Ehsan Akhgari 86afbb17ba Bug 623193 - Fennec crash [@ nsEditor::InsertTextIntoTextNodeImpl ]; r,a=roc 2011-01-09 20:14:58 -05:00
Ehsan Akhgari 37ef164f9c Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+ 2010-12-07 01:30:05 -05:00
Ehsan Akhgari 13072b9475 Bug 611798 - Do not pretent that we need the presshell to exist in order to turn off update view batching when the editor operations finish, because we don't; r=bzbarsky a=blocking-final+
This patch should fix all of the possible cases where a browser window stops painting when the presshell dies in the middle of an editor operation.
2010-12-10 17:14:26 -05:00
Michael Wu 277ec7e061 Bug 581596 - Add new SetInputMode api, r=roc,masayuki sr=roc a=blocking-fennec 2010-11-22 22:48:03 -08:00
Ehsan Akhgari 1d832dd300 Bug 611182 - Part 2: Correct the definition of EndOfDocument for the HTML editor in order to fix some tests which have been relying on the bogus node existing in non-empty editable documents; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:55 -05:00
Ehsan Akhgari 666cd09db0 Bug 551704 - Part 1: Don't initialize the selection needlessly if the editable area is not focused; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ms2ger 2981e8cffd Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
Ehsan Akhgari 030c218ea2 Bug 542317 - Caret missing when an iframe is put into design mode when it already has focus; r=roc a=blocking-final+ 2010-10-29 12:30:52 -04:00
Ehsan Akhgari 1af88ce310 Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+ 2010-10-21 16:56:20 -04:00
Ehsan Akhgari bbc96fce94 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 4bcd9c82b9 Bug 602948 - ASSERTION: null node passed to nsHTMLEditUtils::IsMozBR and nsEditor::Tag when entering text in input controls focused by code or tabbing into them; r,a=roc 2010-10-11 12:35:40 -04:00
Mats Palmgren 91f8e068a9 Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
Ehsan Akhgari 91468c9c11 Bug 586662 - Part 2: Always scroll asynchronously after a keypress to make sure that we don't reframe too soon; r=roc a=blocking-betaN+ 2010-09-21 20:40:44 -04:00
Ehsan Akhgari 98fa800db4 Bug 586662 - Part 1: back out bug 393723 to fix some assertions, and add a test case for the fix in that bug; r=roc a=blocking-betaN+ 2010-09-21 18:49:25 -04:00
Brad Lassey cc7fac1162 Bug 580388 - Keep nsTextStateManager observers during frame reconstruction; r=masayuki a=blocking-fennec 2010-09-23 23:34:28 -04:00
Ehsan Akhgari f0e24f28bc Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc 2010-08-13 18:58:26 -04:00
Ehsan Akhgari b07dfb5b16 Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc 2010-08-13 18:58:24 -04:00
Ehsan Akhgari f76fcf37ff Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron 2010-07-21 16:08:52 -04:00
Ehsan Akhgari a6a3556fb3 Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron 2010-07-19 16:47:52 -04:00
Ehsan Akhgari f56f2db161 Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Ehsan Akhgari aca42f4ba3 Back out bug 592592, bug 588999, bug 591706 and bug 592586 because of test failures 2010-09-07 19:23:29 -04:00
Ehsan Akhgari 91ada97558 Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Ehsan Akhgari 0aac46c65b 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 03a3a84573 Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc 2010-08-13 18:58:26 -04:00
Ehsan Akhgari 09e224b306 Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc 2010-08-13 18:58:24 -04:00
Ehsan Akhgari edaf8ec0a0 Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron 2010-07-21 16:08:52 -04:00
Ehsan Akhgari c95a3c9f68 Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron 2010-07-19 16:47:52 -04:00
Ehsan Akhgari 0bc3f8d3c0 Bug 589577 - valgrind - Conditional jump or move depends on uninitialised value(s) at (nsEditor::SetFlags(unsigned int)|nsEditor::CanEnableSpellCheck()) at startup and dom mochitest; r,a=roc 2010-08-22 20:35:37 -04:00
Masayuki Nakano 147f639389 Bug 581576 hung up or too slow when press Enter key on Gmail editor which has a lot of misspelled words r=ehsan, a2.0=dbaron 2010-08-19 20:27:04 +09:00
Ehsan Akhgari 78665f73f9 Bug 580151 - Part 2: Make sure that we decrement the counter even if creating a selection state or saving it fails; r=roc 2010-07-20 09:18:54 -04:00
Olli Pettay 8a001762d4 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Masayuki Nakano ac7aa77066 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Masayuki Nakano 9df45b454a backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano 2ce875d5db Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00