Commit Graph

731 Commits

Author SHA1 Message Date
jfrancis%netscape.com
00ac1086f3 fixing 136165: crash after deleting styled text. r=cmanske sr=dveditz 2002-05-23 22:05:35 +00:00
jfrancis%netscape.com
a82c157716 fix for 144787: multiple breaks inserted on return. r=fm;sr=kin 2002-05-17 02:44:55 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
2cfab56b94 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade 2002-05-14 00:35:57 +00:00
jfrancis%netscape.com
890f83aea5 fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm 2002-05-14 00:05:37 +00:00
pinkerton%netscape.com
7d3dc95242 don't register image/jpeg, it only gets in the way of other things we do
support. r=brade/sr=alecf. bug# 69566
2002-05-01 22:02:54 +00:00
kin%netscape.com
43eb4cf116 Fix for bug 125345 (Font attributes disappear when you double click editor window)
Modified TypeInState::NotifySelectionChanged() to work around
bogus selection changed notifications (bug 140303). We now
call reset when the collapsed selection changes position, or
becomes uncollapsed.

  mozilla/editor/libeditor/html/TypeInState.cpp
  mozilla/editor/libeditor/html/TypeInState.h

r=jfrancis@netscape.com  sr=attinasi@netscape.com
2002-04-30 20:59:43 +00:00
alecf%netscape.com
9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
glazman%netscape.com
a6527a5a7e weird crasher in |nsHTMLCSSUtils::GetElementContainerOrSelf|
b=138003, r=jfrancis, sr=kin
2002-04-29 10:13:23 +00:00
jaggernaut%netscape.com
7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com
bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
bienvenu%netscape.com
bbe508afd4 make this file build (at least on windows) after nsIFileOutputStream changes r/sr = jkeiser 2002-04-18 23:14:30 +00:00
akkana%netscape.com
fdc4ae63df 134439: Make plaintext compose wrap to window width instead of output
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs.  Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.
2002-04-16 23:11:33 +00:00
jfrancis%netscape.com
27fcb61356 fix for bug 100855: paragraph fromat feedback from editor inaccurate. r=brade; sr=kin 2002-04-14 05:57:14 +00:00
jfrancis%netscape.com
2d573cc064 fix for 135337, 132837, 136504, and a side issue from 84485. The deal here is that the editor is smarter about figuring out what dom nodes appear empty to the user (properly accounting for invisible whitespace and invisible br nodes). r=glazman; sr=kin 2002-04-14 02:37:23 +00:00
jfrancis%netscape.com
98f0f3ed8b fixing 136944: crash typing in editor. r=fm sr=kin 2002-04-13 23:54:59 +00:00
glazman%netscape.com
58271688b3 Allow Composer's users to remove named anchors w/o having to use Source View; b=80742; r=brade, r=jfrancis, sr=kin, a=asa 2002-04-11 13:33:30 +00:00
jfrancis%netscape.com
3232e07c19 fixes for bugs: 90759: spaces not working in IME editting 132133: deleting last char on line can place caret incorrectly 132837: inline style and making new list items dont play nice 103867: nsSelectionState logic error r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful 2002-04-06 19:07:47 +00:00
akkana%netscape.com
36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
0ba01241e6 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:08:20 +00:00
jfrancis%netscape.com
ecd36c2bed fix for 82813: tweaking editor whitespace handling to behave better when deleting in PRE
r=brade; sr=kin; a=asa
2002-03-22 04:10:25 +00:00
jfrancis%netscape.com
bc42d93bc0 fix for Bug 131757: deleting styled content in block can cause blank line insertion
r=glazman; sr=kin; a=asa
2002-03-22 00:03:10 +00:00
jfrancis%netscape.com
0703b12dd8 fix for Bug 113320: outdenting inside tables hosed.
r=glazman; sr=kin; a=asa
2002-03-21 23:44:23 +00:00
jfrancis%netscape.com
23aa8bbd40 fix for Bug 114112: indenting across separate table cells hosed.
r=glazman; sr=kin; a=asa
2002-03-21 23:40:50 +00:00
jfrancis%netscape.com
973ba7f6fa fix for 102612: making new blocks (lists, etc) in editor can get confused if nested inline styles are present.
r=glazman; sr=kin; a=asa
2002-03-21 23:24:21 +00:00
jfrancis%netscape.com
6f16f7249b fix for 82813: tweaking editor whitespace handling to behave better when deleting in PRE
r=brade; sr=kin; a=asa
2002-03-21 23:20:57 +00:00
cmanske%netscape.com
f4962c5548 Fixed busted double-click word selection in Composer, b=131739, sr=scc, a=asa 2002-03-21 02:47:52 +00:00
kin%netscape.com
7ad75bc29d Fix for bug 131820: Hitting return in an inline style doesn't advance
caret to next line

Prevent AdjustSelection() from adding a MozBR when
the root node is empty so that EditAfterInner()
can add the BogusBR node.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=scc@mozilla.org
2002-03-20 01:45:55 +00:00
glazman%netscape.com
a388b13fb6 Memory leak fixed in nsHTMLCSSUtils::GetDefaultViewCSS()
b=130904, r=peterv, sr=kin, a=asa
2002-03-18 10:40:58 +00:00
cmanske%netscape.com
d5612a514e Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa 2002-03-17 20:39:16 +00:00
dbaron%fas.harvard.edu
0b816e3591 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver 2002-03-16 15:34:43 +00:00
glazman%netscape.com
72b1c305b0 It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
akkana%netscape.com
d7cbebbdc8 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
jfrancis%netscape.com
d147b2a0e7 one word fix for smoketest blocker 130103 2002-03-12 04:05:46 +00:00
ducarroz%netscape.com
14204ed73f Fix for bug 127077. If the body tag contains a background image, it must be considered as an embedded element. R=jfrancis, SR=bienvenu, A=asa 2002-03-11 14:54:59 +00:00
glazman%netscape.com
ba2410c1c7 Styles were not preserved in Composer when creating a new list item, hitting twice the Return Key
The inline styles (B I U ..) hierarchy of elements had to be recreated in the new list item.

b=46474; r=jfrancis; sr=kin; a=asa
2002-03-11 13:11:48 +00:00
jfrancis%netscape.com
0f7cfff93f fixes bugs 127869, 127939, and 128793: various bug with list pasting; sr=kin; r=glazman; a=asa [trunk] 2002-03-11 09:30:51 +00:00
ftang%netscape.com
17c4bdc982 fix bug 90583. r=mjudge/jfrancis sr=kin a=asa
fix chinese ime candidate window position problem.
 we need the nsAutoPlaceHolderBatch destroctor called before hitting
 GetCaretCoordinates so the states in Frame system sync with content
 therefore, we put the nsAutoPlaceHolderBatch into a inner block
  {
2002-03-07 14:34:35 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
jfrancis%netscape.com
63333b5253 fixes blocker 126558; r=brade,jrancis, sr=alecf, a=rods;
thanks to kin for cleaning up my "replace all" accident
2002-02-21 20:50:35 +00:00
alecf%netscape.com
66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
jfrancis%netscape.com
c56239e860 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin
2002-02-19 12:02:09 +00:00
jfrancis%netscape.com
f9413bd619 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin
2002-02-19 11:52:50 +00:00
glazman%netscape.com
6f35ac34ae alignment problems + removal of useless DIVs when realigning the selection; b=102547, r=jfrancis,sr=kin 2002-02-18 10:49:15 +00:00
glazman%netscape.com
afe567a59f bad test of collapsed selection, had side effect on setting background color; b=121903, r=jfrancis, r=brade, sr=kin 2002-02-18 10:06:07 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
kin%netscape.com
ad29387c80 Fix for bug 124209 (Deleting selection in plain text reply compose causes hang)
and bug 124375 (composer / editor hang when delete blank lines)

Allow start/end points to be set to empty text nodes to prevent
infinite loop.

r=glazman@netscape.com  sr=sfraser@netscape.com,shaver@mozilla.org
2002-02-08 15:20:19 +00:00
jfrancis%netscape.com
33d43dfb71 duh 2002-02-07 04:44:21 +00:00
jfrancis%netscape.com
d5f3c6a9c2 fixes:
* 113691 : Composer freezes when removing multiple ol or ul tags.
    * 113290 : Freezes when deleting some formatted text.
    * 112144 : Attempt to reply to mail freezes entire Mozilla.
    * 103685 : Caret disappears after deleting a blockquote w/ paragraph style.
    * 121282 : Pressing enter causes caret to jump from end of <p> to the<h1>.
    * 117418 : rewrote some code in nsWSRunObject.cpp: fixed warnings in GetWSNodes().
    * 114911 : can't join two lists using delete key.
    * 120000 : Indent list inside table causes table to split.
r=fm;sr=kin
2002-02-07 03:56:20 +00:00