Граф коммитов

5200 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 216a0f0f67 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 4575d0e493 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 c91a568174 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 49b28a59ba 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 5b02abf39b 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 49fd141571 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 b7337bb3f4 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 f53c657061 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 5a50bd2718 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 06546aad23 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Chris Coulson 0274a7bfd8 Bug 594513 - Should be able to localize "spellchecker.dictionary" preference; r,a=roc 2010-09-08 17:33:07 -04:00
Ehsan Akhgari 97ae025e91 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 8aad63cc4e 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 2047265f9f 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 c6263bc52c 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 06807f1e53 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 08258ac624 Merge backout a=me 2010-09-02 19:59:48 -04:00
Ehsan Akhgari d84bc18024 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 6b504676d7 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 09f276ccbb 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 074274faef 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 bb65502039 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 3a2d80139f 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 06dfe9b126 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 57f8ffa5cb 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 29d308b3ae 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 ebd843aa1e 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 c2ade13b05 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 f4fa8fbaff 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 f26d133589 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 f1e60976b6 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 968148df51 Bug 582138 - Crash [@ nsHTMLEditor::GetElementOrigin] with mixed HTML and MathML table; r,a=roc 2010-08-25 20:20:32 -04:00
Joel Maher 8015553874 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 a12743eaeb 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 3a56ed1279 Bug 582553 - Part 2: Fix nsSelectionState::IsCollapsed as well; r,a=roc 2010-08-05 22:13:07 -04:00
Ehsan Akhgari c3c89c0ab8 Bug 582553 - nsSelectionState::IsEqual ignores error return from CompareBoundaryPoints; r,a=roc 2010-08-05 22:13:07 -04:00
Jonas Sicking 32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher e3359fd310 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 b00453d727 Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Masayuki Nakano 2b9260af53 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 6e2c8bd88e 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 9235009ad6 Fix some editor tests to actually change something instead of throwing. 2010-08-13 14:31:48 +12:00
Ehsan Akhgari 9f2adea5a4 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 471bd52840 Bug 581576 backout due to test_contextmenu failure 2010-08-11 20:52:36 +09:00
Masayuki Nakano 674565afd9 Bug 581576 fix a nit of previous check-in, r+a=pending 2010-08-11 18:19:34 +09:00
Masayuki Nakano 28997f6ec8 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 ee8098277d Backed out changeset 0aa4ad290221 2010-08-10 21:14:51 -07:00
Ehsan Akhgari 588533b9fe 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
Ehsan Akhgari 99818abd39 Bug 583493 - nsTransactionItem log spew is making working with tinderbox impossible; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : fed350a4e4f89036bf32361d17a2fb284d91fb2e
2010-08-05 22:13:07 -04:00
Boris Zbarsky fd79cc535c 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 04bf955322 Bug 580151 - Part 3: crashtest; r=roc
--HG--
extra : rebase_source : 7b0f6b55c8977d3a3b2b1ef61e5a727f2959badc
2010-07-20 09:21:44 -04:00
Ehsan Akhgari f66ad6384c 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 7b1c513be6 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
Robert Sayre ac68406e1e Bug 583493 - nsTransactionItem log spew is making working with tinderbox impossible. 2010-07-31 10:58:35 -07:00
L. David Baron 7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Antti Jarvelin aa960d1247 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 31c8318893 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 70ea3959c5 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 6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Mark Banner 99ca723104 Bug 579303 Fix docshells to respect SetAllowJavascript properly. r=ehsan,smag,a=bsmedberg 2010-07-23 07:40:19 +01:00
Masayuki Nakano 1773ea498d 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 e75f1ffb27 backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano a6e67f7876 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper 4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky e3b2e5a289 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Zack Weinberg 2f4426c2f1 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 7b9a212475 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 a68bc2f8bf 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 4f7cbe2bd4 Bug 289384 - Part 2: Fix an assertion; r=roc 2010-07-11 19:54:28 -04:00
Ehsan Akhgari 28c6c438ba 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
Tyler Downer 291c36be13 Bug 473466 - Remove editor docs; r=ehsan 2010-07-13 21:58:48 -04:00
Daniel Holbert 8a5815ebfb Bug 577609: Remove duplicate 'EDirection' typedef from nsIEditor.idl. r=ehsan 2010-07-13 11:50:18 -07:00
Ehsan Akhgari 599142a072 Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Ehsan Akhgari 14ee2c56e6 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 c0351272c1 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 ba2d2c2bde 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 921c7faf01 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 4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga 8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Timothy Nikkel 1259443af7 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Jesse Ruderman 3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Benjamin Smedberg e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Masayuki Nakano 59216e9a06 Bug 564412 Remove non-scriptable internal methods from nsIEditorIMESupport r=ehsan, sr=smaug 2010-06-30 13:05:12 +09:00
Ehsan Akhgari 31ffd7b6db 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
Benjamin Smedberg 822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ehsan Akhgari 0df9d481ab Bug 572642 - Part 2: tests; r=roc 2010-06-23 14:40:08 -04:00
Ehsan Akhgari 41f7cf6284 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 96299b3d2f 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) 11aa72f2d4 Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Masayuki Nakano 5223ceee7f Bug 569988 adding test r=ehsan 2010-06-23 15:15:21 +09:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Ehsan Akhgari 3e874ca35e Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay
--HG--
extra : rebase_source : 7d01d90f59e60b63e64b96bb655937fe0d0c879a
2010-06-04 17:03:50 -04:00
Dão Gottwald 0978149cf3 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga c81affe35c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ehsan Akhgari f9c93e65d8 Merge backout of changeset d1cbe16de6bf 2010-06-28 15:29:45 -04:00
Ehsan Akhgari c06468921a Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Ehsan Akhgari 64b13b0d85 Bug 574558 - Part 4: test case; r=roc 2010-06-28 14:04:37 -04:00
Ehsan Akhgari 5ae8a4993e 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 741c672888 Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay 2010-06-04 17:03:50 -04:00
Daniel Holbert df6047a742 Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert d8b54a3161 Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Masayuki Nakano dd6cdab247 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 cb6351e8e1 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 020e814d67 Bug 545775 part.6 makes caret visible r=ehsan 2010-06-19 19:39:39 +09:00
L. David Baron 4eeac25ba9 Back out one of the changes in bebdf3413522 (bug 572618) because it's causing huge numbers of console warnings. 2010-06-18 16:29:16 -07:00
Ehsan Akhgari a98243d830 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 9f32e5a757 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 af303aaed5 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 f2cdabf2ec 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 dcde5ea552 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
Ehsan Akhgari ba1882b15e Bug 569559 - Intermittent failure in editor/composer/src/crashtests/removing-editable-xslt.html | assertion count 0 is less than expected 1 assertions; r=dbaron 2010-06-18 12:57:36 -04:00
Jesse Ruderman 73e0f6b5f2 Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Masayuki Nakano b51e1f6c6a Bug 545775 part.5 Text editor in ASUS Forum doesn't work r=ehsan 2010-06-17 14:32:05 +09:00
Masayuki Nakano 30296477a8 Bug 545775 part.4 Move mutation observer to nsHTMLEditor r=ehsan 2010-06-17 14:31:15 +09:00
Masayuki Nakano 75d9430f62 Bug 545775 part.3 Move selection initializer into nsEditor r=ehsan 2010-06-17 14:30:42 +09:00
Masayuki Nakano a892488fcd Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan 2010-06-17 14:30:10 +09:00
Masayuki Nakano 2b07a70fbc Bug 545775 part.1 Separate GetRootElement() r=ehsan 2010-06-17 14:29:40 +09:00
Masayuki Nakano 8a36d564a5 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 bb1dfe2f3e Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri 3765af9b82 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 48c1ee09b0 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 43489359da 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 040e4e59d1 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 2186dda269 Bug 572598 - Part 3: Improve error checking in nsEditor::GetStartNodeAndOffset; r=roc 2010-06-18 17:01:08 -04:00
Ehsan Akhgari f9048ca529 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 2505962a3f 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 1142c863e4 Bug 573377 - Sort nsEditPropertyAtomList.h; r=ehsan 2010-06-21 11:00:43 -04:00
Ehsan Akhgari d35623d3e5 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 7d94e7d9e2 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 e3499cdeb7 Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc 2010-06-10 22:46:51 -04:00
Ehsan Akhgari 11c5dd5c2b 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 4381d3ba7e Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -04:00
Masayuki Nakano 2ed7d1345b Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc 2010-06-10 10:16:58 +09:00
Mats Palmgren 510e0882a1 Accept 0-1 assertions on gtk2 for this test. 2010-06-10 00:57:37 +02:00
Jesse Ruderman aedb18a96b Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Jonas Sicking 7b1e51be23 Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Ehsan Akhgari 08c3c2fb3f Bug 570350 - Crash [@ nsTextServicesDocument::NodeHasOffsetEntry(nsTArray<OffsetEntry*>*, nsIDOMNode*, int*, int*) ] when enabling/disabling the spell checker; r=roc
--HG--
extra : rebase_source : 8e8815dc92f936545305345b7fcf20eba4f4c6db
2010-06-08 00:20:23 -04:00
Ehsan Akhgari 39534c1d71 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 d7b005e021 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 6139ffb2b9 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 17a2d9a929 Merge backout of changeset 634e1f2cf46c 2010-06-03 21:28:24 -04:00
Ehsan Akhgari b6c7f202ba Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others) 2010-06-03 21:28:03 -04:00
Ehsan Akhgari f533ff907d Merge backout of changeset ae1773250d39 2010-06-03 21:27:23 -04:00
Ehsan Akhgari 998ff10f90 Backed out changeset ae1773250d39 2010-06-03 21:26:59 -04:00
Masayuki Nakano 4766cac975 Bug 564669 disables test_texteditor_keyevent_handling.html on linux 2010-06-02 17:05:34 +09:00
Masayuki Nakano fe3d0e12b0 Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc 2010-06-02 16:24:56 +09:00
Ehsan Akhgari fad624a55c Bug 484181 - spellcheck broken in contenteditable DIV with preceding empty DIV within a DIV; r=roc 2010-05-31 17:40:17 -04:00