Commit Graph
390 Commits
Author SHA1 Message Date
Mats Palmgren b0ffdce348 Bug 635636 - Don't return a value from void function. a=bustage 2011-02-21 21:43:54 +01:00
Mats Palmgren b93f15f7d3 Bug 635636 - Crash [@ nsHTMLEditRules::DocumentModifiedWorker] with navigated-away designMode document; r,a=ehsan 2011-02-21 15:34:16 -05:00
Ehsan Akhgari ea6f82b075 Bug 615015 - "ASSERTION: bad action nesting!"; r,a=roc 2010-12-01 00:24:09 -05:00
Ehsan Akhgari 3e1b6d45cd 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!
2010-11-30 23:21:32 -05:00
Ehsan Akhgari 37a1ffdd84 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 25572b17c3 Bug 611182 - Part 3: Handle dynamic changes to the editable documents and create/remove the bogus node if needed; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:52 -05:00
Ehsan Akhgari f940e69416 Bug 551704 - Part 2: Don't replace newline characters with BR nodes in preformatted editable fields; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ehsan Akhgari 666cd09db0 Bug 551704 - Part 1: Don't initialize the selection needlessly if the editable area is not focused; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ms2ger 2981e8cffd Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
Daniel Glazman 79f35b352d Bug 607584 - CR in a paragraph with an id attribute creates a second paragraph of same id; r=ehsan a=roc 2010-10-29 12:35:27 -04:00
Ehsan Akhgari 660ff7b0b5 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 fbb4b44d2c 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 9dfd68bd35 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
Ehsan Akhgari ebfec6da3d 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 ea32707944 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 f32700d4f7 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 d4ce369fca 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 a2c09efe5b Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc 2010-06-10 22:46:51 -04:00
Ehsan Akhgari 8c2c70f0a8 Bug 484181 - spellcheck broken in contenteditable DIV with preceding empty DIV within a DIV; r=roc 2010-05-31 17:40:17 -04:00
Michael Kohler d904abf3a5 Bug 260911 - fix 'hierarchy' misspellings. r=timeless 2010-04-29 21:01:11 +02:00
Masayuki Nakano db6dea9dfe Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Craig Topper d130af344a Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
d9c91a06e7 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Mats Palmgren 8404e7325d Bug 541013. r=peterv 2010-03-15 19:30:01 +01:00
Justin Wood cb39a4eb27 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 87ee45452f Bug 507936. Join nodes when deleting at end of paragraph. r=peterv 2010-03-15 14:37:23 +13:00
Ehsan Akhgari cbc7a5f2c2 Bug 499844; r=peterv 2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo eceaa14e22 Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
Blake Kaplan abfb7c9012 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
Neil Rashbrook b1ac7415fa Bug 488094 Fix fallout from bug 237964 by not deleting nodes twice r+sr=peterv 2009-06-11 15:29:15 +01:00
Mats Palmgren 01ba0a9a81 Bug 487524. Joining a list to its parent should be a no-op. r+sr=peterv 2009-05-13 21:45:38 +12:00
Robert Sayre 98700e3116 Add the editor to cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:25 -07:00
L. David Baron 2e5ce1adee 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
Olli Pettay a0e39386e7 Bug 424300, r+sr=peterv 2009-05-07 09:31:56 +03:00
Arpad Borsos 62f2db8651 Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Theppitak Karoonboonyanan d2aac54ad8 Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv. 2009-01-27 13:50:32 +01:00
Robert O'Callahan 457b9bd2fb Backed out accidentally committed 192d50641f83 2009-01-26 20:46:56 +13:00
Robert O'Callahan b808449b3a Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows. 2009-01-26 20:44:15 +13:00
Axel Hecht 85bb9c3ee7 Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang. 2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan aa7abe6ede Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv 2009-01-24 22:01:05 +13:00
L. David Baron 151a1807e7 Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac). 2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan 4ede73b3e8 Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv 2009-01-16 13:32:09 -08:00
Boris Zbarsky f3993354cb Bug 467647. Fix editor leak in error conditions. r+sr=peterv 2008-12-28 11:10:49 -08:00
Chris Pearce 38c6c21e59 Bug 432225 - Spell Checker does not always identify misspelled words; r+sr=peterv 2008-11-01 01:30:45 +01:00
Theppitak Karoonboonyanan 1703d4c904 Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Mats Palmgren 56751f7452 Don't insert a <br> when deleting all content in an inline contenteditable element. b=456244 r+sr=peterv 2008-10-11 04:38:47 +02:00
b2337c1c3d Bug 322202 - "[MIDAS] hitting ENTER when focus inside an empty paragraph (containing the "I dont need it" BR tag) results in strange output." [[email protected] (Loune) r+sr=Neil a=blocking1.9+] 2008-01-26 20:17:29 -08:00
cf4914da62 Bug 389933 - "ASSERTION: JoinNode called with node not listed in offset table while editing HTML email in GMail" [[email protected] (Chris Pearce [cpearce]) r=peterv sr=roc a1.9=schrep] 2007-12-19 03:32:20 -08:00
39bee15ef3 Fix PropItem leak by using nsAutoPtr (bug 407074). r+sr=peterv, a=damon 2007-12-11 19:23:34 -08:00
ef70a26de6 Fix AtomImpl leak (bug 407277). r+sr=peterv, a=schrep. 2007-12-11 18:07:35 -08:00