Ehsan Akhgari
a3d62c2955
Bug 603292 - PRUint32 countU < 0 is useless in nsHTMLEditor::AddNewStyleSheetToList; r=roc a=bsmedberg
2010-10-12 18:30:41 -04:00
Ehsan Akhgari
c5d807f1c7
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
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
1bd8b7c9e7
Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+
2010-11-24 13:31:52 -05:00
Neil Deakin
2eeca289de
Bug 527749 - Drag events out of order; r=smaug,dao a=blocking-betaN+
2010-12-03 11:19:55 -05:00
Ehsan Akhgari
11b6d633e6
Bug 615015 followup - Adjust the assertion count which now happens in editor/libeditor/html/crashtests/467647-1.html too; a=orange-fix
2010-12-03 11:15:06 -05:00
Ehsan Akhgari
ed92562d68
Bug 615015 - "ASSERTION: bad action nesting!"; r,a=roc
...
--HG--
extra : rebase_source : 3e972a7f5dad81b5cba1b8ee93c16798fdc809c2
2010-12-01 00:24:09 -05:00
Ehsan Akhgari
ef612c0f0a
Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
...
This should prevent crashes, update view count and edit action nesting count mismatches, and more!
--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Ehsan Akhgari
db7da1c428
Bug 643786 - Fix a crash caused by the HTML editor being destroyed when the document modified handler is in progress [@ nsHTMLEditRules::~nsHTMLEditRules]; r=roc
2011-03-23 15:59:06 -04: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
07197cbb7a
Remove a bogus check added in bug 572618; a=me DONTBUILD
2010-11-23 13:09:41 -05:00
Michael Wu
da47d70884
Bug 581596 - Add new SetInputMode api, r=roc,masayuki sr=roc a=blocking-fennec
2010-11-22 22:48:03 -08:00
Jesse Ruderman
3be9494c60
Bug 475132 - add crashtest
2010-12-12 12:54:25 -08:00
Jesse Ruderman
8a7fe7c658
Bug 407079 - add crashtest
2010-12-12 12:54:25 -08:00
Ehsan Akhgari
d7ede6881c
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
Ehsan Akhgari
2337dae8c9
Back out bug 612128 because it regressed Fennec with bug 618357, which blocks Fennec beta3; a=blocking-fennecb3+
2010-12-10 21:20:00 -05:00
Ehsan Akhgari
7b0059c6db
Bug 612128 - Part 4: Use the read-write state to find the selection root of the editor; r=roc a=bz
2010-12-06 14:27:14 -05:00
Ehsan Akhgari
30e6f309f2
Bug 612128 - document.execCommand("inserthtml") may insert HTML inside non-editable parts of a document; r=roc,bz a=bz
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
a3f2856505
Bug 613823 - Don't attach multiple mutation observers to the document in case the HTML editor reinitializes; r=roc a=blocking-final+
2010-12-08 21:44:15 -05:00
Ehsan Akhgari
a09905d6a5
Bug 612447 - Part 3: Prevent the HTML editor from dying while we run a document modified handler from a script runner; r=bzbarsky a=blocking-beta8
2010-11-19 11:02:24 -05:00
Ehsan Akhgari
bf6b8a80c8
Bug 612447 - Part 2: Protect the HTML editor from dying while a mutation event handler is in progress; r=bzbarsky a=blocking-beta8
2010-11-18 16:01:12 -05:00
Ehsan Akhgari
d921d70f6f
Bug 612447 - Don't Recreate an editor object attached to a document in a frame if that frame is restyled; r=bzbarsky a=blocking-beta8+
2010-11-18 16:01:12 -05:00
Justin Dolske
4e13204b40
Bug 613403 - Fix existing tests to work with tab-modal prompt changes. r=ehsan, a=testsonly
2010-11-19 15:15:27 -08:00
Ehsan Akhgari
4d471b8466
Bug 613434 - Rename the browserscope richtext suite in preparation of richtext2 integration; r=roc a=NPOTB
...
--HG--
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/LICENSE => editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README => editor/libeditor/html/tests/browserscope/lib/richtext/README
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README.Mozilla => editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/currentStatus.js => editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/current_revision => editor/libeditor/html/tests/browserscope/lib/richtext/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/editable.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/js/range.js => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/richtext.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/update_from_upstream => editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/test_browserscope.html => editor/libeditor/html/tests/browserscope/test_richtext.html
extra : rebase_source : 04a0818f516856a2868b94481f1d29694db1f0d1
2010-11-19 11:02:22 -05:00
Ehsan Akhgari
de09cc12fc
Bug 611457 - mochitest-chrome: intermittent "test_bug607584.xul | Test timed out."; r=roc a=orange-fix
...
--HG--
extra : rebase_source : afbaabdbb9f7335913acb3d27c4eac900f288469
2010-11-19 11:02:24 -05:00
Ehsan Akhgari
db3a9aabba
Bug 612625 - intermittent orange: test_bug607584.xul continues executing after we've left the page, mostly showing up in test_bug171813.html; r=roc a=test-fix
2010-11-17 18:23:18 -05:00
Daniel Glazman
7aab5ded6b
Bug 605081 - Editor refuses to insert a <keygen> element; r=ehsan a=roc
2010-10-21 17:12:49 -04:00
Mounir Lamouri
66067bcb7b
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Ehsan Akhgari
1acdecd31f
Bug 604332 - Whitelist attribute names beginning with "_" when pasting HTML into an editable field; r,a=roc
2010-10-18 13:59:34 -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
16a0dc9a08
Bug 601881 - video and audio should never play automatically in editor; r,a=bzbarsky
2010-10-06 16:31:09 -04:00
Ehsan Akhgari
543d035d35
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
...
--HG--
extra : rebase_source : 2ab9b687f8cf6afbd464841f1c3cfbc0f38adeaa
2010-10-11 12:35:40 -04:00
Mats Palmgren
d000a22403
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
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
da9574bd29
Bug 410986 - Part 4: Switch the shortcut to Cmd+Option+Shift+V on Mac; r,a=bzbarsky
2010-09-28 20:33:22 -04:00
Ehsan Akhgari
e30f04231f
Bug 410986 - Part 2: unit test; r=roc a=NPOTB
2010-09-21 23:33:44 -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
ecfaa4d477
Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+
2010-09-23 14:44:01 -04:00
Ehsan Akhgari
633627c89f
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
c3cff9b1cb
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
Ehsan Akhgari
b7844b60fc
Bug 599322 - Base href ignored for drag/drop or copy/paste in designMode; r=roc a=blocking-final,1.9.2.11,1.9.1.14
2010-09-24 15:02:21 -04:00
Ehsan Akhgari
4395a51b4e
Bug 596300 - Element Attributes dropped when dragging and dropping in DesignMode/ContentEditable sections; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:28:54 -04:00
Ehsan Akhgari
37297d45dc
Bug 597784 - The inserthtml command should not use a sanitizing fragment content sink; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:21:34 -04:00
Jesse Ruderman
13d5e83e08
Bug 499844 - add crashtest. a=NPOTB
2010-09-24 11:33:54 -07:00
Brad Lassey
ca51e54949
Bug 580388 - Keep nsTextStateManager observers during frame reconstruction; r=masayuki a=blocking-fennec
2010-09-23 23:34:28 -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
855295156d
Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
...
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -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
90ab413a2e
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
578ac0b85f
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 5b6a4d870c1f95da0d2a1233d1648096ae599174
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
9acfb7e3b9
Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron
...
--HG--
extra : rebase_source : dd5c5498ee3cbd115f806ec1e03b3df1d14e4351
2010-07-21 16:08:52 -04:00
Ehsan Akhgari
e555eb826d
Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron
...
--HG--
extra : rebase_source : 9799daa7662dacdf3f4d0f7b8ecdaba2b9005221
2010-07-19 16:47:52 -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
Mounir Lamouri
af7af7ba81
Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc
2010-09-10 07:16:56 +02:00
Ehsan Akhgari
4872a675f7
Bug 592592 - Part 3: Add a test for the back-space behavior to make sure that back-space will not delete multiple consecutive space characters; r=roc
2010-09-08 17:32:09 -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
c4d1fc059a
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
dfd8ce442d
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
48efe58c89
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
918268c41b
Merge backout a=me
2010-09-02 19:59:48 -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
307d3f93d1
Bug 591378 - REFTEST TEST-UNEXPECTED-PASS | file:///home/cltbld/talos-slave/mozilla-central_fedora-debug_test-crashtest/build/reftest/tests/editor/libeditor/html/crashtests/448329-3.html | assertion count 8 is less than expected 16 assertions; r=roc a=NPOTB
...
--HG--
extra : rebase_source : 486646660fa6970a7371a149eec08f5bbaaa569e
2010-08-27 15:03:09 -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
15e706b2f1
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
ed558e9032
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 8e6451d2e1414a61e15a9ffaf94470e02d2d0b72
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
df3c4bb50d
Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron
...
--HG--
extra : rebase_source : 21823fb610b02859893f1461e8adaf38f5d61e94
2010-07-21 16:08:52 -04:00
Ehsan Akhgari
c8ff1013a4
Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron
...
--HG--
extra : rebase_source : 7ca0900e7c97215684b523e249a9b5cef7cbdaac
2010-07-19 16:47:52 -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
Timothy Nikkel
a52c6b7ef2
Bug 588693. Bump assertion count for editor/libeditor/html/crashtests/448329-3.html. r=ehsan
2010-08-27 18:15:08 -05:00
Ehsan Akhgari
8a6a073e4c
Bug 582138 - Crash [@ nsHTMLEditor::GetElementOrigin] with mixed HTML and MathML table; r,a=roc
2010-08-25 20:20:32 -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
Ehsan Akhgari
b76ec71ef4
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
Ehsan Akhgari
7aceb38e18
Bug 582553 - Part 2: Fix nsSelectionState::IsCollapsed as well; r,a=roc
2010-08-05 22:13:07 -04:00
Ehsan Akhgari
b0dd154287
Bug 582553 - nsSelectionState::IsEqual ignores error return from CompareBoundaryPoints; r,a=roc
2010-08-05 22:13:07 -04: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
Ms2ger
a2c049c1fc
Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN
2010-08-20 08:05:05 +02:00
Masayuki Nakano
e4a3280e2e
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
Ginn Chen
fbe18c5eaa
Bug 586225 Make test_htmleditor_keyevent_handling.html recognize Solaris r=masayuki a=testing files only
2010-08-15 20:33:58 +08:00
Boris Zbarsky
45df267748
Fix some editor tests to actually change something instead of throwing.
2010-08-13 14:31:48 +12:00
Ehsan Akhgari
5a36ff1530
Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
...
--HG--
extra : rebase_source : 7085d047498e0509f056c8a33d9189e52aaeb077
2010-08-10 11:52:32 -04:00
Masayuki Nakano
c1ca76229d
Bug 581576 backout due to test_contextmenu failure
2010-08-11 20:52:36 +09:00
Masayuki Nakano
c2f4a8212c
Bug 581576 fix a nit of previous check-in, r+a=pending
2010-08-11 18:19:34 +09:00
Masayuki Nakano
f7d6541127
Bug 581576 hung up or too slow when press Enter key on Gmail editor which has a lot of misspelled words r=ehsan, a=dbaron
2010-08-11 17:50:03 +09:00
Kyle Huey
4108bf2819
Backed out changeset 0aa4ad290221
2010-08-10 21:14:51 -07:00
Ehsan Akhgari
d8ca1c0100
Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
2010-08-10 11:52:32 -04:00
Boris Zbarsky
ddf024831a
Bug 575336 part 2. Make sure editor flushes layout before caret moves and scrolls that depend on layout information. r=roc,ehsan
2010-08-05 14:39:39 -04: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
e63c3fcc03
Bug 580151 - Part 2: Make sure that we decrement the counter even if creating a selection state or saving it fails; r=roc
...
--HG--
extra : rebase_source : 1e3d9fe47c083b8614b8a4c2937578bb1bcbfcfb
2010-07-20 09:18:54 -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
Antti Jarvelin
ce34e772be
Bug 582912 - Extend copy paste support of Fennec Qt port. r=dougt
...
--HG--
extra : rebase_source : cc841f301338cc66b2382a398627a96373c3406a
2010-07-30 12:46:30 -07: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
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Masayuki Nakano
660981e020
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
d7540e477b
backout the previous my check-ins
2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291
Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst
2010-07-22 08:46:52 +09:00
Craig Topper
b9673b8709
Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking
2010-07-21 15:05:17 -07:00
Boris Zbarsky
998b474e42
Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking
2010-07-21 11:33:32 -04:00
Zack Weinberg
76dbdde0f4
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
...
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Ehsan Akhgari
2a450d1c08
Bug 289384 - Part 4: Attempt to collapse the selection to end if deleting it fails; r=roc
2010-07-12 00:23:25 -04:00
Ehsan Akhgari
7081b03117
Bug 289384 - Part 3: SelectAll in HTML editor shouldn't attempt to select input/textareas' contents directly; r=roc
2010-07-12 00:20:20 -04:00
Ehsan Akhgari
3c9cf85286
Bug 289384 - Part 2: Fix an assertion; r=roc
2010-07-11 19:54:28 -04:00
Ehsan Akhgari
0ad20714f9
Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
2010-07-11 17:48:46 -04:00
Ehsan Akhgari
7dcf9d424a
Backout bug 289384 because of crashtest assertion failures
2010-07-11 17:43:27 -04:00
Ehsan Akhgari
5ac6934d5d
Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc
...
--HG--
extra : rebase_source : b045bf78c06d1daab4e61d09a7152f955fae7445
2010-06-29 14:14:54 -04:00
Ehsan Akhgari
e2eb474a10
Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc
...
--HG--
extra : rebase_source : e8a5e10ed3067548366574d64406c33bee3b455e
2009-05-15 13:14:16 +04:30
Ehsan Akhgari
f6d555362e
Bug 572637 - Paste image into Compose window broken with Shredder; r=bzbarsky
...
--HG--
extra : rebase_source : 30d81359c13d31a4693c8140ec6ed2b450759a99
2010-06-25 22:22:12 -04:00
Ehsan Akhgari
d288e15ecd
Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
...
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Saint Wesonga
e7a357dcaf
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Timothy Nikkel
976046bf62
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Jesse Ruderman
14ecbf3e68
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -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
b154e53d5c
Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc
2010-06-28 19:15:27 -04:00
Dão Gottwald
b314909c2e
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Ehsan Akhgari
10408bd2e2
Bug 574558 - Part 4: test case; r=roc
2010-06-28 14:04:37 -04:00
Ehsan Akhgari
e40fd7cc15
Bug 574558 - Part 2: Don't fail if we can't get the selection to adjust it after removing elements; r=roc
2010-06-28 14:04:37 -04:00
Ehsan Akhgari
c24212e707
Bug 572642 - Part 2: tests; r=roc
2010-06-23 14:40:08 -04:00
Ehsan Akhgari
fafab966e3
Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc
2010-06-23 14:40:08 -04:00
Ms2ger
27a3b29543
Implement the figure element. r=jst+timeless+ehsan (Bug 573356)
2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e
Implement the mark element. r=jonas+timeless (Bug 485377)
2010-06-23 10:08:56 -07:00
Masayuki Nakano
721ceccc5d
Bug 569988 adding test r=ehsan
2010-06-23 15:15:21 +09:00
Ehsan Akhgari
3f077eaff5
Bug 572598 - Part 6: Don't try to split a node which can't contain a list when inserting one; r=roc
2010-06-21 11:02:14 -04:00
Ehsan Akhgari
1dbef4b718
Bug 572598 - Part 5: Remove a bogus NS_ENSURE_TRUE check, and add a couple more; r=roc
2010-06-21 11:02:14 -04:00
Ehsan Akhgari
1879d1099a
Bug 572598 - Part 4: Don't attempt to check empty selections, after all, they're empty; r=roc
2010-06-18 17:43:31 -04:00
Ehsan Akhgari
e44b7de5ab
Bug 572598 - Part 3: Improve error checking in nsEditor::GetStartNodeAndOffset; r=roc
2010-06-18 17:01:08 -04:00
Ehsan Akhgari
6caa9db6f3
Bug 572598 - Part 2: Make sure not to exceed the editor's root element when promoting ranges; r=roc
2010-06-18 16:53:16 -04:00
Ehsan Akhgari
83246c59b4
Bug 572598 - Part 1: Don't attempt to inject nodes for type-in state where the container can't accept child nodes; r=roc
2010-06-18 01:37:20 -04:00
Ms2ger
8afa5fcea5
Bug 573377 - Sort nsEditPropertyAtomList.h; r=ehsan
2010-06-21 11:00:43 -04: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
Mounir Lamouri
21c25202c6
Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst
2010-06-19 11:44:43 -07:00
Masayuki Nakano
a69e746d9f
Bug 545775 part.6 makes caret visible r=ehsan
2010-06-19 19:39:39 +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
Ehsan Akhgari
1b72ad3e8b
Bug 558983 - Holding Ctrl-Backspace from the middle of a sentence causes a crash. [@ nsEditor::CreateTxnForDeleteCharacter]; r=roc
2010-06-16 12:33:13 -04:00
Jesse Ruderman
fb054fc73e
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Masayuki Nakano
eddb1d5460
Bug 545775 part.5 Text editor in ASUS Forum doesn't work r=ehsan
2010-06-17 14:32:05 +09:00
Masayuki Nakano
16f55c793b
Bug 545775 part.4 Move mutation observer to nsHTMLEditor r=ehsan
2010-06-17 14:31:15 +09:00
Masayuki Nakano
5f41263aaf
Bug 545775 part.3 Move selection initializer into nsEditor r=ehsan
2010-06-17 14:30:42 +09:00
Masayuki Nakano
ceaf9951b3
Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan
2010-06-17 14:30:10 +09:00
Masayuki Nakano
255dc50f24
Bug 545775 part.1 Separate GetRootElement() r=ehsan
2010-06-17 14:29:40 +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
59ce9793d3
Backed out changeset 2dcce82f9d66 because of mochitest failures
2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de
Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst
2010-06-16 20:33:46 -04:00
Ehsan Akhgari
1d27c39d4a
Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc
2010-04-09 17:06:09 -04:00
Masayuki Nakano
6e00300d75
Bug 550434 Clicking in an empty contenteditable element that has focus causes the caret to disappear (alternative approach) r=roc
2010-06-14 12:11:30 +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
Ehsan Akhgari
78a40d380d
Bug 550434 - Clicking in an empty contenteditable element that has focus causes the caret to disappear; 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
Jonas Sicking
1489785d0c
Bug 570258: Some more atom usage cleanup. r=jst
2010-06-08 16:25:27 -07: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
a441c36681
Bug 567701 - Don't store a view manager pointer in nsEditor; retrieve it lazily; r=roc
...
(transplanted from 752f109a5d1157b0e6d024a5e5ccf484c6437304)
--HG--
extra : transplant_source : u/%10%9A%5D%11W%B0%E6%D0%24%A5%E5%CC%F4%84%C6Cs%04
2010-05-23 22:13:00 -04:00
Ehsan Akhgari
d051ffeaed
Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
...
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)
--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -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
45f365a4d6
Bug 484181 - spellcheck broken in contenteditable DIV with preceding empty DIV within a DIV; r=roc
2010-05-31 17:40:17 -04:00
Ehsan Akhgari
5a941e7405
Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc
2010-05-27 21:18:48 -04:00
Ehsan Akhgari
ae177e1855
Bug 563859 - Intermittent editor/libeditor/base/crashtests/382527-1.html | timed out waiting for reftest-wait to be removed; r=roc
...
--HG--
extra : rebase_source : aa229c01b32ef741e88cc0b338019d1ab4aea1ae
2010-05-27 19:52:14 -04:00
Ehsan Akhgari
2981f65ebd
Bug 563639 - [Debug] crashtest: intermittent "382778-1.html | timed out waiting for ..." probably caused by "targetDocument.body is null"; r=roc
...
--HG--
extra : rebase_source : 1c202e9ea2b44a764cd6e0753e8ba79e5c1542a4
2010-05-27 19:51:59 -04:00
Masayuki Nakano
3a9f248753
Bug 564151 nsHTMLEditor::HasFocus() failed if <HTML> is editable r=smaug
2010-05-28 12:02:59 +09:00
Masayuki Nakano
8b0678d007
Bug 568135 IME composition string is committed unexpectedly on Gmail when editor flag was changed by some commands r=smaug
2010-05-27 11:04:14 +09:00
Ehsan Akhgari
e4c3143ab1
Bug 567213 - selecting editable text and the clicking on an a focusable element does weird things; r=roc
...
--HG--
extra : rebase_source : 8f4d5df18d8eb7884ced10125132e9f8eada19e4
2010-05-22 21:04:10 -04:00
timeless@mozdev.org
6977583968
Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
...
r=glazou
2010-05-24 14:20:59 +02:00
Michael Kohler
5f19df86e0
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
...
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Ehsan Akhgari
f58add9d96
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Ehsan Akhgari
b8d67340db
Back out changeset 0d2f650b8581 because of crashtest failure
2010-05-21 15:27:24 -04:00
Ehsan Akhgari
2ca79e5889
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc
2010-05-21 14:15:21 -04:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
David Bienvenu
45cbd7e1ed
Bug 554806 Html editor deletes lines below return on certain emails composed in outlook 2003. r=roc,sr=dmose
2010-05-18 09:58:38 +01:00
Craig Topper
3e0e604d67
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
2010-05-17 21:00:40 -07:00
timeless@mozdev.org
170a8bf93b
Bug 563616 warning: unused variable item in TypeInState::RemovePropFromSetList
...
r=neil
2010-05-13 10:33:26 -07:00
Craig Topper
d02574b6b4
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
Ehsan Akhgari
f4e4e2ee75
Make the build step for browserscope tests silent (no bug)
2010-05-06 18:10:03 -04:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Boris Zbarsky
e98cd67374
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
L. David Baron
7c61f15cf1
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
L. David Baron
e7c9a5f7f4
Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan
2010-05-05 18:20:43 -07:00
L. David Baron
29772aa9c7
Removed unused member variable and code. (Bug 564074) r=ehsan
2010-05-05 18:20:43 -07:00
L. David Baron
d94024525a
Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49).
2010-05-05 18:20:43 -07:00
L. David Baron
4fa6a83e02
Add additional debugging code for bug 563980.
2010-05-05 15:02:31 -07:00
Masayuki Nakano
6aa99dc4be
Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug
2010-05-05 02:40:39 +09:00
Jonas Sicking
6f9aebb70a
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Boris Zbarsky
a26d92e83d
Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst
2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Michael Kohler
882385621a
Bug 260911 - fix 'hierarchy' misspellings. r=timeless
...
--HG--
extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
2010-04-29 21:01:11 +02:00
Mounir Lamouri
dbdc60fd52
Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst]
2010-04-26 03:42:00 -04:00
Masayuki Nakano
35cd0d8a5e
Bug 558970 nsEditorEventListener should store its owner as nsEditor rather than nsIEditor r=smaug
2010-04-19 21:20:42 +09:00
Masayuki Nakano
a0d8a6eea6
Bug 559754 IME Composition in password field cannot be committed by click (and forceCompositionEnd()) r=smaug
2010-04-19 21:20:30 +09:00
Neil Deakin
645fdae65c
Bug 539476, use the system event group for editor drop listeners, so that the default action can be prevented, r=smaug
2010-04-18 14:27:20 -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
Ehsan Akhgari
12fba145fe
Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel
2010-04-12 02:13:17 -04:00
Ehsan Akhgari
00a641e433
Merge backout of the debugging code added for bug 557689
2010-04-12 01:08:36 -04:00
Ehsan Akhgari
bc902da3d5
Backed out changeset b501122477cc because I figured out the problem
2010-04-12 01:08:03 -04:00
Masayuki Nakano
7d05909d39
Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug
2010-04-12 11:35:18 +09:00
Ehsan Akhgari
bf02b17a63
Try to gather some debug information for bug 557689
...
--HG--
extra : rebase_source : c7f77e94f3697acbf94175f232633a83086aba98
2010-04-11 22:27:45 -04:00
Ehsan Akhgari
05b0ede6fb
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
2010-02-01 23:00:12 -05:00
Craig Topper
771eede254
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Masayuki Nakano
2e04f8ba90
Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc
2010-04-10 18:24:35 +09:00
Craig Topper
ea3edbe56c
Bug 557690: Fix uninitialized return value in nsEditor::QueryComposition. r=roc
2010-04-08 12:26:27 -07:00
Ehsan Akhgari
a7ebcd12b9
Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689
2010-04-06 21:08:58 -04:00
Ehsan Akhgari
0170b6dede
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
1381adb443
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ] (crashtest); r=peterv
...
--HG--
extra : rebase_source : 8621c95f05431946dd8bff43f6d703b53185917d
2010-04-06 14:35:25 -04: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
liucougar@gmail.com
08a58993f1
Bug 507936 - Should join node when deleting at end of paragraph. r=peterv
2010-03-23 09:23:23 +01:00
Makoto Kato
9058c89126
Bug 553548 - nsEditor::GetWrapWidth() is unused. r=Olli.Pettay
2010-03-23 12:51:58 +09:00
Neil Deakin
8f3acb3041
Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil
2010-03-19 14:32:13 -04:00
Mats Palmgren
b4870c9c1d
Bug 541013. r=peterv
2010-03-15 19:30:01 +01:00
Justin Wood
3659e4a8ef
Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it
2010-03-15 01:15:27 -04:00
liucougar
a571e0a828
Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
...
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Mats Palmgren
549893b6d7
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Ehsan Akhgari
6ed1775117
Bug 550569 - Integrate BrowserScope's HTML editor test suite with Mozilla's mochitest framework; r=bzbarsky
...
--HG--
extra : rebase_source : fd9a9c69ff732dc8c1af97d120a044f34c6a70d7
2010-03-08 17:36:42 -05:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Markus Stange
6cd85ba6d1
Bug 434210 - When dropping text in textfields, check the drag session's drag action instead of the event's modifier flags when determining whether to move or copy text. r=smaug
2010-03-08 13:32:53 +01:00
Masayuki Nakano
8a42231835
Bug 545602 Unify the event listeners for editor r=smaug
...
--HG--
rename : editor/libeditor/text/nsEditorEventListeners.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/text/nsEditorEventListeners.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorMouseListener.cpp => editor/libeditor/html/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorMouseListener.h => editor/libeditor/html/nsHTMLEditorEventListener.h
2010-03-06 13:01:28 +09:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Henri Sivonen
1bc27dd8cf
Bug 546256 - Replace bogus </head> tag with </title> in test_bug471722.html. r=peterv.
...
--HG--
extra : rebase_source : 374ecbaed964aae46426cf3b65eb6ead7bcc1d24
2010-02-22 14:17:37 +02:00
Henri Sivonen
8eebbdca2a
Bug 545405 - Replace bogus </head> tag with </title> in test_bug502673.html. r=timeless.
...
--HG--
extra : rebase_source : bae05f3671d99bcac21f52a5452aa6867e6dd0f0
2010-02-22 14:17:31 +02:00
Ehsan Akhgari
50f48242c4
Backed out changeset 70b1ccb14325
2010-02-18 18:52:12 -05:00
Ehsan Akhgari
8b4d5890e9
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
c47d8c7d26
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
...
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari
4c3dd43ac1
Bug 499844; r=peterv
...
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo
aef352eae8
Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv
2010-02-11 09:34:37 +01:00
Ehsan Akhgari
1000016308
Bug 542912 - Refactor the newline handling behavior in nsTextEditRules; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 92fb4649c72293253317cc5eb6fc0f10d8aa6dfb
2010-02-01 13:12:31 -05:00
Masayuki Nakano
798021118b
Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz
2010-01-20 11:22:09 +01:00
Daniel Holbert
40f5cf3a1c
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in editor directory. r=neil
2010-01-17 15:11:04 -08:00
Masayuki Nakano
6aa4de4b64
Bug 537828 crash [@ nsAString_internal::Assign(nsAString_internal const&)] r=Olli
2010-01-13 11:35:50 +09:00
Jesse Ruderman
243c9242a9
Add crashtests
2010-01-10 19:50:41 -08:00
Tom Dyas
8209cf7fbc
Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug
2010-01-10 20:45:45 -05:00
Josh Aas
f9051ae7e3
Backed out changeset bee6729280d8
2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c
Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug
2009-12-30 15:58:33 -05:00
Masayuki Nakano
838c68560a
Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli
2009-12-30 17:17:44 +09:00
Oleg Romashin
0a396e82ab
b=536560; Freeze and OOM kill happens in gfxPangoFontGroup::CreateGlyphRunsItemizing, on password input field, r=neil
2009-12-26 10:36:11 +02:00
Boris Zbarsky
3e7aa47200
Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc
2009-12-24 16:20:06 -05:00
Masayuki Nakano
6066caf76e
Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli
2009-12-17 13:46:30 +09:00
Brad Lassey
c7d187e05b
bug 527674 - number of askterisks doesn't match the number of password charecters when user hits delete r=neil
2009-11-25 12:50:35 -05:00
Brad Lassey
926e622d2a
bug 530367 - passwords from password manager flash in clear text r=neil
2009-11-25 12:41:23 -05:00
Brad Lassey
3a3e6e7566
bug 527182 - crash entering login info on twitter, missing QI impl r=timeless
2009-11-18 13:45:26 -05:00
Masayuki Nakano
ab0f2e9ba1
Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil
2009-11-16 22:13:02 +09:00
Doug Turner
98d855d1a7
Bug 527182 - Crash when entering info on twitter. r=blassey
2009-11-07 19:01:29 -08:00
Brad Lassey
8eae6471c5
bug 514212 - Typed letters in password fields become asterisks immediately r=neil
2009-11-02 10:37:25 -05:00
Simon Montagu
cf11344722
Include bidi continuations when testing whether a frame has any width. Bug 514156, r=peterv
...
* * *
Tests for bug 514156
2009-10-19 01:01:15 -07:00
Neil Rashbrook
f9d476fbd9
Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst
2009-09-22 00:05:26 +01:00
Jesse Ruderman
15e3a448a6
Add crashtests
2009-08-27 19:48:20 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Serge Gautherie
19afaa3c11
Bug 444021 - Remove useless |#include "nsILocale[Service|].h"|; (Av1) Just remove them; r=smontagu
2009-08-06 20:00:41 +02:00
liucougar@gmail.com
cc07460944
Bug 502259. Make delete at end of paragraph work. r=cpearce
2009-08-04 09:46:48 +12:00
arno renevier
ff877139b1
Bug 482481 - Commands doesn't work on contained contentEditable elements; PromoteInlineRange checks that selection is editable; r+sr=peterv
2009-07-26 07:21:04 +02:00
timeless@mozdev.org
9458b76a5d
Bug 504087 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(IMETextTxn) incorrectly used NS_INTERFACE_MAP_END_INHERITING(EditTxn)
...
r=neil
2009-07-22 17:31:02 -05:00
timeless@mozdev.org
711722cebc
Bug 504496 case eCSSEditableProperty_NONE is unreachable in nsHTMLCSSUtils::GetCSSPropertyAtom
...
r=neil
2009-07-22 17:31:01 -05:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Robert O'Callahan
60ca055fc6
Backed out changeset 4c139bbb4895
...
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan
f3245eefd5
Bug 502156. Make editor use nsContentUtils::CreateContextualFragment instead of instantiating a parser directly, when HTML content is pasted/dropped. This removes some code and lets the editor use the HTML5 parser if enabled. r+sr=peterv
2009-07-10 14:07:04 +12:00
Graeme McCutcheon
0e3e141b65
Bug 502673 - Crash @ nsEditor::NotifyDocumentListeners with multiple state listeners, if listener removes itself during notification. r=timeless
2009-07-08 19:38:13 +01:00
Blake Kaplan
7c6f6cb50c
Bug 434766 - Don't try to use the selection if we don't need one. r+sr=peterv
2009-07-01 12:12:04 -07:00
timeless@mozdev.org
fe2e37e90f
Bug 494691 nsSelectionState::DoTraverse warning: unused variable ‘item’ (shadowed by another of the same name)
...
r+sr=neil
2009-06-27 18:42:51 -07:00
Phil Ringnalda
18c0271253
Bug 499437 - nsHTMLEditor::ReplaceStyleSheet fails to replace if both sheets are loaded, r+sr=neil
2009-06-26 22:31:36 -07:00
Olli Pettay
1a534bf2c2
Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
...
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
df6649fbc1
Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking
2009-06-23 12:13:01 +03:00
Arpad Borsos
497b2e227d
Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Jesse Ruderman
d874abb747
Add test for bug 431086, using cpearce's crashtest patch
2009-06-12 18:56:23 -07:00
Arpad Borsos
cd1887abfd
Back out bug 474369, suspected of causing dhtml and tp3 regression
2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
...
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Robert O'Callahan
679ac11f8b
Bug 497274. nsWrapUtils is unused, remove it. r+sr=peterv
...
--HG--
extra : rebase_source : 2229184a5fe9adfba4bdd21b2cc731fb1d649acf
2009-06-12 14:02:36 +12:00
Neil Rashbrook
9579ae09b2
Bug 488094 Fix fallout from bug 237964 by not deleting nodes twice r+sr=peterv
2009-06-11 15:29:15 +01:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Masayuki Nakano
a5daf397fd
Bug 489951 [TSF] Korean TIP's composition string looks like normal text r=VYV03354, sr=roc
2009-05-15 09:45:15 +09:00
Mats Palmgren
ffc3033195
Bug 487524. Joining a list to its parent should be a no-op. r+sr=peterv
...
--HG--
extra : rebase_source : bc62f18f6ef25dcabd5a48caad547be2a209662d
2009-05-13 21:45:38 +12:00
L. David Baron
375aab6e36
Fix gcc bracing warning while I'm here. (Bug 423233)
2009-05-08 21:59:26 -07:00
L. David Baron
a3f6efd2f2
Implement cycle collection for transaction manager and editor transactions. (Bug 488799) r+sr=peterv
2009-05-08 21:59:25 -07:00
Robert Sayre ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0864915da4
Add the editor to cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:25 -07:00
L. David Baron
a55b8a1b0a
Clear the weak back pointers in nsTextEditRules and nsHTMLEditRules when they are no longer valid, to prepare for editor cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:24 -07:00
Ryo Onodera
5e72993bff
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00