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

5200 Коммитов

Автор SHA1 Сообщение Дата
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
Ehsan Akhgari bb57d7226c Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc 2010-05-27 21:18:48 -04:00
Ehsan Akhgari 0a7cc40b9a 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 714921c7a8 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 234c5e7fcb Bug 564151 nsHTMLEditor::HasFocus() failed if <HTML> is editable r=smaug 2010-05-28 12:02:59 +09:00
Masayuki Nakano 849f525487 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 ad77a5314e 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 5312a1b79d Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
r=glazou
2010-05-24 14:20:59 +02:00
Michael Kohler 8550fb091a 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 c9c8c3c5b3 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Ehsan Akhgari ffc7ca6166 Back out changeset 0d2f650b8581 because of crashtest failure 2010-05-21 15:27:24 -04:00
Ehsan Akhgari e2a5227542 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc 2010-05-21 14:15:21 -04:00
Ehsan Akhgari db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
David Bienvenu bdd5097a41 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 ef96f55ca1 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
Mitchell Field 0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
timeless@mozdev.org 5b25e3de6f Bug 563616 warning: unused variable item in TypeInState::RemovePropFromSetList
r=neil
2010-05-13 10:33:26 -07:00
Craig Topper bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Ehsan Akhgari 9f113e937d Make the build step for browserscope tests silent (no bug) 2010-05-06 18:10:03 -04:00
Craig Topper b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Boris Zbarsky 8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
L. David Baron c4eb38acd9 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 ef99600a41 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 889fcc7adc Removed unused member variable and code. (Bug 564074) r=ehsan 2010-05-05 18:20:43 -07:00
L. David Baron 8452c45716 Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron c1f3739480 Add additional debugging code for bug 563980. 2010-05-05 15:02:31 -07:00
Masayuki Nakano ebc9405576 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 5d052b35df 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 0ff844ef61 Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky 9c2ad4b2aa 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 9d0ac534a7 Bug 260911 - fix 'hierarchy' misspellings. r=timeless
--HG--
extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
2010-04-29 21:01:11 +02:00
Makoto Kato fc06e8e63b Bug 561955 - nsICiter.idl has unnecessary #ifndef. r=neil 2010-04-28 13:58:29 +09:00
Mounir Lamouri 9961147316 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Steffen Wilberg 352f57cb25 Bug 514412: about:blank should derefence to an empty stream. r=bzbarsky 2010-04-27 23:20:55 +02:00
Masayuki Nakano acb56f8ab0 Bug 558970 nsEditorEventListener should store its owner as nsEditor rather than nsIEditor r=smaug 2010-04-19 21:20:42 +09:00
Masayuki Nakano 44bdccd814 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 cfa97b3d01 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
Phil Ringnalda 205acfa077 Correct spelling of independant in a CLOSED TREE 2010-04-15 21:02:56 -07:00
Ehsan Akhgari 8928faf5db 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 18d931eb33 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 47df5e4164 Merge backout of the debugging code added for bug 557689 2010-04-12 01:08:36 -04:00
Ehsan Akhgari f79262d995 Backed out changeset b501122477cc because I figured out the problem 2010-04-12 01:08:03 -04:00
Masayuki Nakano 0d33112480 Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Ehsan Akhgari ac89b8c9e4 Try to gather some debug information for bug 557689
--HG--
extra : rebase_source : c7f77e94f3697acbf94175f232633a83086aba98
2010-04-11 22:27:45 -04:00
Ehsan Akhgari 347a6506d3 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 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper 25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Masayuki Nakano e38734397e Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc 2010-04-10 18:24:35 +09:00
Craig Topper 8c43ed2a2a Bug 557690: Fix uninitialized return value in nsEditor::QueryComposition. r=roc 2010-04-08 12:26:27 -07:00
Ehsan Akhgari c51a6481a1 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 64a3144e62 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 ed45115151 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ] (crashtest); r=peterv
--HG--
extra : rebase_source : 8621c95f05431946dd8bff43f6d703b53185917d
2010-04-06 14:35:25 -04:00
Jesse Ruderman 724ecf37b9 Add dumps to crashtest in the hope of shedding light on orange bug 471185 2010-03-31 17:00:04 -07:00
Craig Topper c82a6bc194 Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey 5278cfe428 Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper 61dba9a452 Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Craig Topper fd9001c409 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
liucougar@gmail.com cb757fbca3 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Makoto Kato 88e83ac172 Bug 553548 - nsEditor::GetWrapWidth() is unused. r=Olli.Pettay 2010-03-23 12:51:58 +09:00
Neil Deakin 3ea1a5bd7d Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Ehsan Akhgari 6c876dd00b Bug 484890 - Use a weak pointer for docshell in editing session; r=sicking
--HG--
extra : rebase_source : 4ac0aec249fb9e79d68356b28d0abbb6b65a021f
2010-03-18 12:12:37 -04:00
Mats Palmgren 063d307492 Bug 541013. r=peterv 2010-03-15 19:30:01 +01:00
Justin Wood 527c629d8a 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 21e79119b6 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 e5f8b2f7e8 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Serge Gautherie 8168d78122 Bug 369034 - TestTXMgr has error and leaks object; (Dv1) Fix and reorder printf()s.
r=peterv.
2010-03-10 21:03:23 +01:00
Ehsan Akhgari aed6cf75a1 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 c24e5442a9 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 bd77ea9088 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 1c0b55c010 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 6ce13b76a5 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 25206cf68d 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 16e717b3e7 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 0d9aa6d876 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Ehsan Akhgari 4a51e776e5 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 e0d4fbd3b8 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari c5b97c5208 Bug 499844; r=peterv
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo 28f86eafba Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
Masayuki Nakano f15453492d Bug 544168 - nsIEditorIMESupport::endComposition shouldn't be scriptable. r+sr=smaug 2010-02-06 19:16:31 +01:00
Ehsan Akhgari 1e119e5cfc 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 019fb76261 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 9b4a120675 Bug 539585: Fix "warning: format '%p' expects type 'void*'" in editor directory. r=neil 2010-01-17 15:11:04 -08:00
Masayuki Nakano 57f0951668 Bug 537828 crash [@ nsAString_internal::Assign(nsAString_internal const&)] r=Olli 2010-01-13 11:35:50 +09:00
Jesse Ruderman 56ac1fe1ee Add crashtests 2010-01-10 19:50:41 -08:00
Tom Dyas 0f154b629d 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 b3e5cdbc41 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 8917c60dff 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 c29d6d178f Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli 2009-12-30 17:17:44 +09:00
Oleg Romashin e402049922 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 a864e44fa8 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 404076172d Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli 2009-12-17 13:46:30 +09:00
Brad Lassey e66219b553 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 0595320f20 bug 530367 - passwords from password manager flash in clear text r=neil 2009-11-25 12:41:23 -05:00
Brad Lassey 8a9047a307 bug 527182 - crash entering login info on twitter, missing QI impl r=timeless 2009-11-18 13:45:26 -05:00
Masayuki Nakano fbd9249755 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Doug Turner 57d7d53ab8 Bug 527182 - Crash when entering info on twitter. r=blassey 2009-11-07 19:01:29 -08:00
Brad Lassey 53dbbd3e6b bug 514212 - Typed letters in password fields become asterisks immediately r=neil 2009-11-02 10:37:25 -05:00
Simon Montagu 18fba09d22 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
Ehsan Akhgari ccf6247cb3 Bug 569504 - Fix the spell checker leaking windows and documents; r=roc 2010-06-02 14:33:47 -04:00
Neil Rashbrook b786126784 Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst 2009-09-22 00:05:26 +01:00
Phil Ringnalda 79c0a4ced9 Bug 499071 - nsIEditorStyleSheets.idl's comments have a tenuous grasp on the concept of truth, r=neil, sr=bz 2009-08-30 09:29:18 -07:00