Commit Graph

155 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00