67 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19 Backing out to attempt to fix Mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
sicking%bigfoot.com
611753ba16 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
daniel%glazman.org
dfe8508bf4 Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152015 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
bzbarsky%mit.edu
86fee95b4d Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
brade%comcast.net
6d7cde53e2 remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054)
git-svn-id: svn://10.0.0.236/trunk@146534 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:58:00 +00:00
brade%netscape.com
7a5e630789 use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144941 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:27:19 +00:00
brade%netscape.com
f90cd30f83 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144881 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 13:47:15 +00:00
brade%netscape.com
4d8f0dad73 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144579 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:22:56 +00:00
glazman%netscape.com
2b6f3cbea5 Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@143790 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 08:45:54 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
brade%netscape.com
2d1f651343 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
git-svn-id: svn://10.0.0.236/trunk@143639 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 14:51:37 +00:00
jfrancis%netscape.com
bf700200ef bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@143203 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 22:21:06 +00:00
timeless%mozdev.org
3031c88dab Bug 204076 Remove unused variable `PRBool sameNode' from nsHTMLEditorStyle.cpp:524
r=brade sr=tor


git-svn-id: svn://10.0.0.236/trunk@142840 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:55:17 +00:00
timeless%mozdev.org
0e56e202cb Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142832 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
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
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
glazman%netscape.com
0102abbeab Coalesce similar inline nodes in Composer's CSS mode; b=179055, r=jfrancis, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134401 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 13:41:26 +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
glazman%netscape.com
aafb9a3250 inline styles were not merged after a SetInlineProperty() call; b=178667, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@133389 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 08:54:42 +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
glazman%netscape.com
63293fb579 in some cases, it was impossible to unbold selection in CSS mode, b=167510, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@129249 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 09:25:47 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
glazman%netscape.com
0aa2a089cd nsHTMLEditor::GetInlinePropertyBase() was not detecting when the selection ends before first char of a text node; b=128401, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123498 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 09:20:07 +00:00
jfrancis%netscape.com
ec1f2825a3 bug 146164: removing style can remove too much. r=glazman, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123151 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:04:47 +00:00
glazman%netscape.com
bb46744574 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
git-svn-id: svn://10.0.0.236/trunk@118746 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:33:30 +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
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
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
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
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
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
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
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
4a909d9540 literal string cleanup (bug 26384); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115); remove unused statics (bug 117927)
git-svn-id: svn://10.0.0.236/trunk@112089 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:30:11 +00:00
glazman%netscape.com
5124d29644 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@111660 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 13:51:37 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jdunn%netscape.com
3c8514da6a fixing AIX tinderbox
re-checking this in.  New fix that jag and I worked out (ok HE did!)
r=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@110082 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 13:09:19 +00:00
jdunn%netscape.com
cb2910b539 backing out previous checking. it is busting one of the linuxes..
git-svn-id: svn://10.0.0.236/trunk@110081 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 11:51:27 +00:00
jdunn%netscape.com
67971f8904 fixing aix tinderbox bustage: aix can't handle NS_LITERAL_STRINGs in an
object declaration in a "() ? :" conditional.

r=cls@seawood.org
There is no bug for this incident but see 82523 for similar issue.


git-svn-id: svn://10.0.0.236/trunk@110080 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 11:19:52 +00:00
brade%netscape.com
4d6d20f598 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@110009 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:28:47 +00:00
jfrancis%netscape.com
533392f396 fix for 106274: toolbar colorpicker feedback broken when selection is collapsed
git-svn-id: svn://10.0.0.236/trunk@109203 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:08:25 +00:00