Commit Graph

718 Commits

Author SHA1 Message Date
arno renevier
0a36ca716b Bug 497115 - nsHTMLEditor.cpp contains unnecessary includes; r=peterv sr=peterv 2011-03-23 23:23:39 -04:00
Ehsan Akhgari
eaafa97906 Test case for bug 638596; r=roc 2011-03-04 13:44:25 -08:00
Ehsan Akhgari
8d74540d77 Test case for bug 635636; r=roc 2011-02-21 16:58:07 -05:00
Ehsan Akhgari
d98dd1278c Bug 642704 - Part 3: Remove test_set.py because it confuses our mochitest suite runner, and we don't need it to run the BrowserScope RichText2 suite; r=roc 2011-03-19 16:45:29 -04:00
Ehsan Akhgari
11e4fe7769 Bug 642704 - Part 2: Add a test driver to run the BrowserScope RichText2 test suite as a mochitest; r=roc 2011-03-19 16:44:30 -04:00
Ehsan Akhgari
705f18833c Bug 642704 - Part 1: Import the BrowserScope RichText2 test suite files into the tree; r=roc 2011-03-18 18:15:24 -04:00
Ehsan Akhgari
ba2ed13afe Bug 642588 - Clean up the drag & drop caret on the editor correctly when the mouse leaves the editable field; r=roc 2011-03-18 14:57:02 -04:00
Ehsan Akhgari
e4ad8f774b Bug 640321 - Register the mouse event handlers for the editor in the system group; r=roc 2011-03-16 15:34:30 -04:00
Ehsan Akhgari
7a77702d1e 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
b528286d7e 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
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
c504ea4d07 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
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
343b9d2aa6 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
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
Boris Zbarsky
890788b82e Bug 632904. Check IsEditable(), not content states, if we care about editability. r=ehsan,masayuki 2011-03-23 10:45:21 -04:00
Ehsan Akhgari
b50ffe71b6 Bug 611457 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only 2011-03-12 00:07:37 -05:00
Ehsan Akhgari
b8feac7449 Bug 618041 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only 2011-03-12 00:11:01 -05:00
Ehsan Akhgari
3b910cb413 Bug 627624 - Make the crashtest for bug 428844 actually test something; r=roc a=test-only 2011-03-11 23:11:28 -05:00
Ehsan Akhgari
af800fd6a1 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
42274702a1 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
Jesse Ruderman
75fe047e55 Add bug number to comment. a=NPOTB DONTBUILD 2011-02-24 13:43:48 -08:00
Ehsan Akhgari
1989a9bf06 Bug 636074 follow-up: move the assertion count adjustment because a test was added in between 2011-02-23 15:28:33 -08:00
Kyle Huey
d50f7a5a54 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
bcb0f84a06 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
Ehsan Akhgari
c6ae64d9aa Bug 635757 - Adjust the assertion count as a result of bug 633738; r=roc a=test
DONTBUILD this simple assertion annotation adjustment!
2011-02-21 23:53:40 -05:00
Mats Palmgren
7958218e24 Bug 635636 - Don't return a value from void function. a=bustage 2011-02-21 21:43:54 +01:00
Mats Palmgren
b765f11bf5 Bug 635636 - Crash [@ nsHTMLEditRules::DocumentModifiedWorker] with navigated-away designMode document; r,a=ehsan 2011-02-21 15:34:16 -05:00
Ehsan Akhgari
075288f489 Bug 635532 - Don't try to hide the editor anonymous UIs during the cycle collection unlink phase needlessly. r=roc,jst, a=blocker 2011-02-19 21:43:07 -08:00
Kyle Huey
8408dbe11c Bug 633709: Actually commit the test. r+a=ehsan 2011-02-19 18:40:52 -05:00
Kyle Huey
da2a416c73 Bug 633709: Convert bogus assert into a warning. r+a=ehsan
--HG--
extra : rebase_source : 5928d5a4309bd98e0cf4cd3041f36ba64d992706
2011-02-19 17:49:23 -05:00
Kyle Huey
846a72981f Bug 633709: Fix editor's handling of txn objects. r+a=ehsan
--HG--
extra : rebase_source : c44055ca4378a8213e3b60b61b16df8dd9758a88
2011-02-19 17:18:37 -05:00
Kyle Huey
015e84ddd4 Bug 633709: Test.
--HG--
extra : rebase_source : 6bae5d01331df279551577606806fc35d91993a3
2011-02-19 17:04:26 -05:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Peter Van der Beken
d78216fbaf Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst. 2011-02-16 13:07:47 +01:00
Serge Gautherie
c690e45a6f Bug 634626 - test_bug366682 failures because spellchecking is disabled; (Bv1) s/CR+LF/LF/g, Remove ending whitespaces.
r=jmaher (a=test-only).
DONTBUILD
2011-02-17 20:19:35 +01:00
Daniel Holbert
34236c78f0 (no bug) comment typo fix in 2 tests: s/the affect/the effect/ a=comment-only+test-only DONTBUILD 2011-02-15 10:10:40 -08:00
Ehsan Akhgari
4d76d777f1 Back out changeset 0fd8793db7f3 (bug 633738) because of various oranges in different test suites on multiple platforms; a=orange 2011-02-14 18:45:23 -05:00
Peter Van der Beken
b9ca9b2552 Fix for bug 633738. Fix leak due to session history code keeping an editor alive too long. Patch by peterv and bz, r=jst@jstenback.com, a=blocker 2011-02-14 14:26:14 -08:00
Mounir Lamouri
d33f310364 Bug 629845 (2/2) - GetRoot() returning null isn't unexpected. r=ehsan a=blocking-final 2011-02-11 02:01:49 +01:00
Mounir Lamouri
350253af3e Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final 2011-02-11 01:59:37 +01:00
Ehsan Akhgari
9bd0f72c58 Bug 336091 - Initialize the out parameters of nsEditor::GetStartNodeAndOffset correctly; r,a=roc
--HG--
extra : rebase_source : 7ae5b960263f2412c21b0cbcebf6f95a4ddb2e73
2011-02-09 14:07:56 -05:00
Ehsan Akhgari
fa1dcf4c12 Bug 632326 - Synthesize a Paste command instead of calling the internal goDoCommand in the test for bug 520189; r=roc a=test-only 2011-02-08 21:50:51 -05:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Chris Leary
86d81ea3d6 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-31 19:43:36 -08:00
Jonas Sicking
6c6a7cea3e Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
Ehsan Akhgari
561113cc04 Bug 628980 - browserscope richedit tests load http://www.google.com/intl/en_ALL/images/logo.gif over the network; r=roc a=NPOTB 2011-01-27 00:26:33 -05:00
Ehsan Akhgari
b1d2463ed9 Bug 629172 - Fix the regression in switching the text input direction using Cmd/Ctrl+Shift+X; r=roc a=blocking-final+
--HG--
extra : rebase_source : 57471865db00c1efa07bb746df42de8278027b36
2011-01-27 00:26:33 -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