1293 Commits

Author SHA1 Message Date
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
alecf%netscape.com
2b25d38de6 fix for blocker - intialize originalStart
git-svn-id: svn://10.0.0.236/trunk@116872 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 19:52:45 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
glazman%netscape.com
99544af45d Memory leak fixed in nsHTMLCSSUtils::GetDefaultViewCSS()
b=130904, r=peterv, sr=kin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116789 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 10:40:58 +00:00
cmanske%netscape.com
4c87049c94 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
git-svn-id: svn://10.0.0.236/trunk@116754 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 20:39:16 +00:00
dbaron%fas.harvard.edu
a397ea7022 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
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +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
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +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
jfrancis%netscape.com
b521bfd66f one word fix for smoketest blocker 130103
git-svn-id: svn://10.0.0.236/trunk@116367 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 04:05:46 +00:00
ducarroz%netscape.com
7165633ade 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
git-svn-id: svn://10.0.0.236/trunk@116325 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 14:54:59 +00:00
jfrancis%netscape.com
a06d58321d fixes 92124: RightArrow then Backspace causes Caret to go to previous line. r=jfrancis; sr=kin; a=roc+moz; submitted by Shotaro Kamio, skamio@netscape.net
git-svn-id: svn://10.0.0.236/trunk@116324 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 14:28:37 +00:00
glazman%netscape.com
0f31219295 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


git-svn-id: svn://10.0.0.236/trunk@116322 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 13:11:48 +00:00
jfrancis%netscape.com
26e0990680 fixes bugs 127869, 127939, and 128793: various bug with list pasting; sr=kin; r=glazman; a=asa [trunk]
git-svn-id: svn://10.0.0.236/trunk@116321 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 09:30:51 +00:00
ftang%netscape.com
3fc8df7cf5 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
  {


git-svn-id: svn://10.0.0.236/trunk@116055 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 14:34:35 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
jfrancis%netscape.com
4206e67ceb fixes blocker 126558; r=brade,jrancis, sr=alecf, a=rods;
thanks to kin for cleaning up my "replace all" accident


git-svn-id: svn://10.0.0.236/trunk@115166 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 20:50:35 +00:00
alecf%netscape.com
f85a67075e 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


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
brade%netscape.com
a46ca5d7d2 fix to use NS_LITERAL_STRING; bug 26384 r=cmanske sr=kin
git-svn-id: svn://10.0.0.236/trunk@114959 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:14:57 +00:00
jfrancis%netscape.com
b38a95dde6 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


git-svn-id: svn://10.0.0.236/trunk@114926 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 12:02:09 +00:00
jfrancis%netscape.com
31165ba709 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


git-svn-id: svn://10.0.0.236/trunk@114924 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:52:50 +00:00
glazman%netscape.com
bf33b04993 alignment problems + removal of useless DIVs when realigning the selection; b=102547, r=jfrancis,sr=kin
git-svn-id: svn://10.0.0.236/trunk@114790 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:49:15 +00:00
glazman%netscape.com
81a7731014 bad test of collapsed selection, had side effect on setting background color; b=121903, r=jfrancis, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114785 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:06:07 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
kin%netscape.com
0dc3512422 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


git-svn-id: svn://10.0.0.236/trunk@114029 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:20:19 +00:00
jfrancis%netscape.com
15acb56766 duh
git-svn-id: svn://10.0.0.236/trunk@113880 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:44:21 +00:00
jfrancis%netscape.com
d69842f478 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


git-svn-id: svn://10.0.0.236/trunk@113873 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:56:20 +00:00
alecf%netscape.com
8fac3559db dependency update
git-svn-id: svn://10.0.0.236/trunk@113833 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:19:07 +00:00
glazman%netscape.com
f05f35f548 Adding noCSS flag to nsHTMLEditor; b=bugscape11956, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:16:14 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
mkaply%us.ibm.com
1a35befbac HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@113524 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 14:30:00 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
akkana%netscape.com
efa43449be 121046: fix a rewrap hang. r=adu@sparc.spb.su sr=kin
git-svn-id: svn://10.0.0.236/trunk@113443 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:29:16 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
glazman%netscape.com
d5dadcf26c inline styles were not saved because gElement was outside of document's tree; b=91548, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 16:00:12 +00:00
timeless%mac.com
cea26a6b9c Bug 117418 nsWSRunObject.cpp:704: warning: `PRInt32 curStartOffset' might be used uninitialized in this function
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@112989 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:07:10 +00:00
glazman%netscape.com
2a28453859 remove CSSisms from nsEditor; b=121092, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112852 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:16:52 +00:00
glazman%netscape.com
0689972d2f Text Color well reverts to black when typing; b=112966, r/sr=kin
git-svn-id: svn://10.0.0.236/trunk@112850 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 09:53:58 +00:00
glazman%netscape.com
830115b4df composer background image broken source code; b=120662, r=brade, sr=kin, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@112493 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-21 09:30:02 +00:00
glazman%netscape.com
041958bde0 backing out my fix for bug 119447 due to major side effect described in bug 120377; a=asa
git-svn-id: svn://10.0.0.236/trunk@112428 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 10:17:12 +00:00
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
bzbarsky%mit.edu
b87627d071 Bug 104480. "EqualsIgnoreCase(nsAutoString(foo)) is bad and should
die." r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@112291 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:31:25 +00:00
akkana%netscape.com
0f2ad45d57 112139: fix infinite loop in rewrap. r=brade sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112203 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:42 +00:00
cmanske%netscape.com
23ac795aea Link Checker dialog, b=108296, r=akkana, sr=ben
git-svn-id: svn://10.0.0.236/trunk@112175 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 15:35:58 +00:00
glazman%netscape.com
3db2c2bdfb [CSS] Composer should be able to unbold/unitalicize invalid markup; b=119447, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112170 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 14:44:00 +00:00
brade%netscape.com
da3fec2b4b remove DEAD_CODE (bug 115115)
git-svn-id: svn://10.0.0.236/trunk@112094 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:35:08 +00:00
brade%netscape.com
3d5f73b579 remove DEAD_CODE (bug 115115); remove unused static (bug 117927)
git-svn-id: svn://10.0.0.236/trunk@112093 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:34:15 +00:00
brade%netscape.com
8d809ca7b6 #ifdef out / remove DEAD_CODE per jfrancis (bug 115115)
git-svn-id: svn://10.0.0.236/trunk@112091 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:31:47 +00:00