283 Commits

Author SHA1 Message Date
alecf%netscape.com
272139fbdf fix for bug 201982 - r=brade, sr=smfr
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.


git-svn-id: svn://10.0.0.236/trunk@141290 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 05:42:33 +00:00
bzbarsky%mit.edu
ad025b22c0 MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@141084 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 04:30:16 +00:00
kin%netscape.com
a2cc97e02b Fix for bug #195959: Drop causes image in -moz-user-select:all subtree to be duplicated
Prevent nsHTMLEditRules::CreateStyleForInsertText() from trying to split non-container nodes.


r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@140698 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:29:59 +00:00
henry.jia%sun.com
365360b6e3 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin


git-svn-id: svn://10.0.0.236/trunk@140561 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 05:48:09 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
jfrancis%netscape.com
c5753a38cc fixes for:
178304 - deleting only char in text node places caret in previous block
174867 - caret in wrong place after delete-to-end in list
181898 - select into mailcite, type: inserted text is in cite
r=brade; sr=kin


git-svn-id: svn://10.0.0.236/trunk@140106 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 20:22:15 +00:00
jfrancis%netscape.com
c9986861f1 fix for 161969: remove empty mailcites when editting
r=brade; sr=kin


git-svn-id: svn://10.0.0.236/trunk@140104 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 19:51:03 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
cbiesinger%web.de
ab918f2bcc remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@136503 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 11:11:10 +00:00
jst%netscape.com
1b18cf1dd9 Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136338 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:05:52 +00:00
jfrancis%netscape.com
4022311d03 fix for 187662: first return in empty doc does nothing. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@136180 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-11 00:06:29 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
jfrancis%netscape.com
dab8e009ec editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin


git-svn-id: svn://10.0.0.236/trunk@135560 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:51:14 +00:00
glazman%netscape.com
788b006f2d Text alignment feedback erroneous in Composer; b=183887, r=jfrancis, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135496 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 14:10:50 +00:00
caillon%returnzero.com
9641b989dd Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
jfrancis%netscape.com
940908cb67 reland fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134296 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 01:03:08 +00:00
jfrancis%netscape.com
e5288c6ffc 152419: Pressing ENTER after adding styles to text does not move caret to next line.
r=brade
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133992 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 03:11:45 +00:00
jfrancis%netscape.com
490f165cd9 fix for 172147: URL in composition "decoration" continues on next line
r=brade
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133989 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 01:37:29 +00:00
jfrancis%netscape.com
c408834454 fix for 143338: Word wrap of double space incorrect in HTML mailcompose
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133988 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 01:25:30 +00:00
bzbarsky%mit.edu
04bc7e2dbf Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
b3dd2a097b fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133290 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 11:38:08 +00:00
jfrancis%netscape.com
303874b31f fix for 164060: Drop link into list item makes cursor jump to next item; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133288 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 11:26:26 +00:00
jfrancis%netscape.com
9197e52f81 fix for 171243: redo broken
r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@131486 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 23:06:38 +00:00
jfrancis%netscape.com
1d6ddcff82 fix for 169033: deletion should delete nested empty blocks all in one action
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@131483 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 22:59:09 +00:00
jfrancis%netscape.com
fd9e439291 fix for 167585: the case of the disappearing cursor.
r=cmanske; sr=kin


git-svn-id: svn://10.0.0.236/trunk@130997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 13:52:14 +00:00
jfrancis%netscape.com
e09ae3ace1 fix for 170344: block operations failing at certain selection points. r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130446 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:56:23 +00:00
jfrancis%netscape.com
71c1bfb9a7 fix for 168336: block operations crossing breaks incorrectly
r=fm
sr=kin


git-svn-id: svn://10.0.0.236/trunk@130103 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:28:55 +00:00
glazman%netscape.com
2f30b4784e fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 12:04:59 +00:00
jfrancis%netscape.com
4ea028e64a fix for 95654: inserting an <hr> creates a blank line after it
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@129522 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:31:11 +00:00
cmanske%netscape.com
29a9d1c6be Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129502 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 05:31:50 +00:00
jfrancis%netscape.com
dfe90b74d6 fix for 166524: forward delete key changes line order.
r=brade
sr=kin
a=asa


git-svn-id: svn://10.0.0.236/trunk@128943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 04:27:06 +00:00
jfrancis%netscape.com
7c2c2a1ee3 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128696 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 07:36:44 +00:00
jfrancis%netscape.com
09d3e8e707 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128444 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 07:49:31 +00:00
jfrancis%netscape.com
62d2e71794 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127966 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
531d4ce862 fixes for:
159924:  table split up when applying paragraph style to select all
161723: backspace through list item when at beginning of document
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127964 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:11:25 +00:00
jfrancis%netscape.com
86a10335a7 fix for 155629: deletion horked: cant delete br nodes. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@124659 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 01:12:49 +00:00
jfrancis%netscape.com
c54d33f095 updating 83378 work with the correct patch this time
git-svn-id: svn://10.0.0.236/trunk@124363 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 02:52:56 +00:00
akkana%netscape.com
8c220f972c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +00:00
jfrancis%netscape.com
97060bb3df bug 83378: plaintext mail reply editong problem in quotes
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:12:32 +00:00
jfrancis%netscape.com
7051a47928 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade
git-svn-id: svn://10.0.0.236/trunk@121425 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:35:57 +00:00
jfrancis%netscape.com
64b7f510fc 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
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
jfrancis%netscape.com
353f2a4e3c fix for bug 100855: paragraph fromat feedback from editor inaccurate. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@118951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 05:57:14 +00:00
dbaron%fas.harvard.edu
359ad57ca1 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:08:20 +00:00
jfrancis%netscape.com
71aa660d6a fix for Bug 131757: deleting styled content in block can cause blank line insertion
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117123 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:03:10 +00:00
jfrancis%netscape.com
ee2e7588a7 fix for Bug 113320: outdenting inside tables hosed.
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117115 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:44:23 +00:00
jfrancis%netscape.com
f8cdff6d98 fix for Bug 114112: indenting across separate table cells hosed.
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117110 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:40:50 +00:00
jfrancis%netscape.com
574f9e89c1 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


git-svn-id: svn://10.0.0.236/trunk@117101 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:24:21 +00:00
kin%netscape.com
6013bc741c 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


git-svn-id: svn://10.0.0.236/trunk@116938 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:45:55 +00:00
glazman%netscape.com
b231f8945d 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


git-svn-id: svn://10.0.0.236/trunk@116645 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:33:29 +00:00
akkana%netscape.com
1f0b47ba2b 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116581 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:11:14 +00:00