Commit Graph

92 Commits

Author SHA1 Message Date
jfrancis%netscape.com
0d49c95048 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin 2002-08-29 07:49:31 +00:00
jfrancis%netscape.com
062b1866b3 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
6118727dff bug 83378: plaintext mail reply editong problem in quotes 2002-06-12 14:12:32 +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
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
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
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
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
brade%netscape.com
9939e28989 #ifdef out / remove DEAD_CODE per jfrancis (bug 115115) 2002-01-14 20:31:47 +00:00
glazman%netscape.com
68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
jfrancis%netscape.com
d85a2d203b fix for Bug 92331: at long last moving over to using spans instead of pre's for plaintext mailcites. Due to limited testing the pref for this is left *OFF*. we'll flip it on if everything goes well later. also fixes for: 101342 : Extraneous <br> when <td> content is <textarea> 104499 : when using the decrease indent, caret hops to the end of the previous line r=fm; sr=kin 2001-12-12 06:02:15 +00:00
cmanske%netscape.com
b6728d8c63 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin 2001-12-12 03:57:32 +00:00
jfrancis%netscape.com
6d283d24b3 fixes bug 99523 and cast of hangers on: this patch allows the editor to backspace/forward-delete across block boundaries (other than table elements), rearranging the document content in some sensible way in response. r=fm;sr=kin 2001-12-09 09:24:33 +00:00
jfrancis%netscape.com
fec94c5f02 fixes for --- 45888: center followed by heading 2: text doesn't take on heading 2 102754: Lists with Headings applied do not create new list items when return entered 9835: Indent button behaves differently if <li> contains two <br> r=fm; sr=kin 2001-11-22 19:35:11 +00:00
kin%netscape.com
b5b14245e1 Fix for bug 106383: regression: new composer doc behaves as if empty
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.h
  mozilla/editor/libeditor/html/nsHTMLEditor.h
  mozilla/editor/libeditor/text/nsTextEditRules.h

    - Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
    - Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
    - Changed all references of kOpHTMLLoad to kOpLoadHTML to match
      function name, and added kLoadHTML.

r=jfrancis.netscape.com  sr=sfraser.netscape.com  a=asa@mozilla.org
2001-11-09 15:16:03 +00:00
jfrancis%netscape.com
dfd1b5ae7c fixes following bugs:
77902: toggling from normal to source view and back in composer can leave source in normal view.
101645: big/small tags get seperately wrapped around br nodes
81315: drag and drop doesn't behave same as copy paste
90759: ascii spaces don't behave in IME mode
96328: cant outdent certain indented text
58629: some mail messages cannot be accurately quoted on reply
93088/93477: forward deletion broken
46290: relative font size controls dont play nice with absolute font size
r=various; sr=kin
2001-10-22 06:22:52 +00:00
glazman%netscape.com
1e4dde6d1e Make html alignment in Composer use the align attribute and get rid of a lot of useless divs; b=102135, r=jfrancis, sr=kin 2001-10-09 10:00:33 +00:00
gerv%gerv.net
eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jfrancis%netscape.com
bcab0f9dbc fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
jfrancis%netscape.com
52eaca10e1 fixes:
69320: making new block must put selection in block
74722: pasting into a pre block should not nest pre's
82421: ubercaret after ending list
67847: deletion can put caret incorrectly at start of doc
2001-06-20 02:05:37 +00:00
jfrancis%netscape.com
57f282e844 this checkin includes diff for 61232. was supposed to be in previous checkin. r=sfraser; sr=kin; a=asa 2001-06-18 21:35:07 +00:00
jfrancis%netscape.com
bc37219a9a fixes for:
61232 - Caret comes back to previous line after creating paragraph
54520 - Extra break with list items
54539 - Disappearing numbered list with outdent
60867 - Composer adds extra break when round-tripping empty document through View Source
62347 - Selecting Body Text doesn't work inside other blocks that have embedding breaks
2001-06-18 21:15:43 +00:00
kin%netscape.com
4ca51c2870 Fix for bug #62577 - Sublist content disappears when unlisting.
mozilla/editor/base/nsHTMLEditRules.cpp
      - Moved list handling code in WillRemoveList() into a new recursive
        method RemoveListStructure() which WillRemoveList() now calls.

      - Modified WillOutdent() to call MoveNode() when a sublist is encountered.

      - Made ConvertListType() recursive so that all sublists are coverted.

  mozilla/editor/base/nsHTMLEditRules.cpp

      - Added RemoveListStructure() method.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-06-15 13:57:01 +00:00
jfrancis%netscape.com
661474b8ef fix for 82612: this is just asimple refactoring of a large routine so that we need less mem to do an optimized build.
r=kin; sr=sfraser; a=asa
2001-06-12 23:17:47 +00:00
jfrancis%netscape.com
56ac4a4d19 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for: insert text, insert break, join blocks, split block, delete Yet to be tackled is html copy & paste. r=fm; sr=kin 2001-05-11 12:43:22 +00:00
mjudge%netscape.com
0d5b00ec9a 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
jfrancis%netscape.com
fb60392b41 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00
mjudge%netscape.com
e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
jdunn%netscape.com
7312330f97 Specify that the base class is indeed 'public' since some compilers (AIX)
assumes 'private'.  I ok'd each of these with the appropriate module
owners (see bug)

r= scc@mozilla.org & brendan@mozilla.org + everyone listed in bug
#= 52254
2000-09-13 13:50:30 +00:00
jfrancis%netscape.com
c3fbd24ce0 fixes 40363, 40364: deletion bugs with tables; r=fm 2000-08-28 05:11:49 +00:00
jfrancis%netscape.com
0202119f78 fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
jfrancis%netscape.com
38b49a5376 adding a hidden pref for the editor: editor.liReturnBehavior "no" will disable the default behavior of popping you out of lists if you hit return in an empty list item. 2000-08-17 05:26:32 +00:00
jfrancis%netscape.com
76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
jfrancis%netscape.com
03d288ef63 take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe 2000-07-27 01:03:16 +00:00
jfrancis%netscape.com
e93fa5fecf backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
jfrancis%netscape.com
08769b0013 fixes 41075: forward delete can delete wrong char, 41149: incorrect format feedback when in lists 2000-06-02 06:03:46 +00:00
jfrancis%netscape.com
f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
jfrancis%netscape.com
658fa56fa3 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
b109f8dbd6 fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
jfrancis%netscape.com
26e457e4fd fix for 29320; deletion putting caret in wrong table cell 2000-05-04 23:54:00 +00:00
mjudge%netscape.com
ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
jfrancis%netscape.com
509b944592 partial fix for bug 30763 2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
jfrancis%netscape.com
c207f78168 lots of improvements to block transformations: 1) looks inside inlines for breaks; 2) fixes the "extra break when unlisting" bug 3) changing paragraph style to normal consistently gets breaks 4) any splitting needed occurs when blocks inserted plus a lot of small bug fixes 2000-04-24 11:51:12 +00:00
jfrancis%netscape.com
f15ea6358d cleanup and small bug fixes 2000-03-30 22:57:19 +00:00
jfrancis%netscape.com
af4644e7c8 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
jfrancis%netscape.com
0b23120401 improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:26:47 +00:00