Commit Graph
258 Commits
Author SHA1 Message Date
Ehsan Akhgari bdf0434f77 Bug 611182 - Part 6: Actually allow the bogus node to be deleted from the document, and check if the parent is modifiable when inserting an element to prevent a bogus node being inserted under a contenteditable="false" element; r=bzbarsky a=blocking-beta8+
This fixes a failure in layout/reftests/bugs/579985-1.html, and is tested by it.
2010-11-12 10:38:14 -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
Ms2ger a29f637495 Bug 606717 - Comparison between signed and unsigned integers in nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded; r=ehsan a=bsmedberg 2010-11-04 16:45:39 -04:00
Ehsan Akhgari 848780b3c0 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 f83aff6c8d 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 f4b7bdf0a1 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 1c88813873 Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc 2010-08-27 01:36:09 -04:00
Ehsan Akhgari e9aa83b57c Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc 2010-09-01 18:06:52 -04:00
Ehsan Akhgari 58b84521cd 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 2010-07-19 16:19:27 -04:00
Ehsan Akhgari 9f8a55084a Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron 2010-07-16 17:34:59 -04:00
Ehsan Akhgari d68ae07615 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron 2010-07-11 16:26:26 -04:00
Ehsan Akhgari 0aac46c65b 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 b49c7e6f46 Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc 2010-08-27 01:36:09 -04:00
Ehsan Akhgari 603b573806 Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc 2010-09-01 18:06:52 -04:00
Ehsan Akhgari dd26a87229 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 2010-07-19 16:19:27 -04:00
Ehsan Akhgari 12af96e37b Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron 2010-07-16 17:34:59 -04:00
Ehsan Akhgari 8a989dc7c9 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron 2010-07-11 16:26:26 -04:00
Ehsan Akhgari 08d2f815ec Bug 580151 - Part 1: Move the increment up in case the call to nsIEditor::GetSelection fails and we bail out early; r=roc 2010-07-20 09:04:14 -04:00
Daniel Holbert 8417a9f955 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
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
Josh Matthews d5ca5355ed Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -04:00
Jonas Sicking fb38b1cb38 Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
Masayuki Nakano db6dea9dfe Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Ehsan Akhgari d08ea00350 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 d130af344a Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Ehsan Akhgari 393f0654a5 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 7c44c1adb9 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Ehsan Akhgari 57a7be6e74 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Ehsan Akhgari 49fcc7b1b5 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Ehsan Akhgari 10775f177c Bug 542912 - Refactor the newline handling behavior in nsTextEditRules; r=bzbarsky sr=roc 2010-02-01 13:12:31 -05:00
Oleg Romashin 12ab3db43f b=536560; Freeze and OOM kill happens in gfxPangoFontGroup::CreateGlyphRunsItemizing, on password input field, r=neil 2009-12-26 10:36:11 +02:00
Brad Lassey 3f2d9454e0 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 1237d35630 bug 530367 - passwords from password manager flash in clear text r=neil 2009-11-25 12:41:23 -05:00
Brad Lassey 9d071cf641 bug 527182 - crash entering login info on twitter, missing QI impl r=timeless 2009-11-18 13:45:26 -05:00
Doug Turner a51ebf18c9 Bug 527182 - Crash when entering info on twitter. r=blassey 2009-11-07 19:01:29 -08:00
Brad Lassey 2f209cc7a5 bug 514212 - Typed letters in password fields become asterisks immediately r=neil 2009-11-02 10:37:25 -05: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
Graeme McCutcheon cd2a1dec95 Bug 471722 - Plaintext editor redo handling code looks for incorrect type of bogus node. r+sr=peterv 2009-02-06 22:15:57 +00:00
Theppitak KaroonboonyananTheppitak Karoonboonyanan 7c8c0ef273 Bug 461816 - pressing Ctrl-U in password dialog asserts and then crashes; r+sr=peterv 2008-12-04 14:17:48 +01:00
Ted Mielczarek 18a1301e58 bug 432415 - strip trailing newlines when editor.singleline.pasteNewlines == 2 (Copy pasting a cell from an xls/ods file adds an extra space at the end). r+sr=neil, a=beltzner 2008-11-19 12:12:30 -05: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
72eef819a4 Fix for bug 335856 (Can't easily put caret in this designmode iframe testcase (caret doesn't show up)), also fixes bug 393568 (blocking1.9+) and bug 386872. r/sr=jst. 2007-10-03 05:16:50 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
d03efef838 Fix for bug 382778. r=smaug, sr=sicking. 2007-07-02 07:01:27 -07:00