Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com ec16552a3a use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
brade%netscape.com 6bedaabb65 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
brade%netscape.com 9371323b42 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
glazman%netscape.com f73fa81318 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
2003-06-17 08:45:54 +00:00
caillon%returnzero.com 2df173e9c8 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
2003-06-13 20:10:01 +00:00
brade%netscape.com 97e32dcb83 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
jfrancis%netscape.com f3491fa767 bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin 2003-06-02 22:21:06 +00:00
timeless%mozdev.org f494b74da9 Bug 204076 Remove unused variable `PRBool sameNode' from nsHTMLEditorStyle.cpp:524
r=brade sr=tor
2003-05-23 21:55:17 +00:00
timeless%mozdev.org dad022fd58 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu 270d3909ca 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.
2003-05-23 21:34:47 +00:00
alecf%netscape.com f364fe0cc0 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.
2003-04-17 05:42:33 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
glazman%netscape.com eb42c1bab7 Coalesce similar inline nodes in Composer's CSS mode; b=179055, r=jfrancis, sr=peterv 2002-11-25 13:41:26 +00:00
bzbarsky%mit.edu fe11056d5d Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
glazman%netscape.com 111e73ee7b inline styles were not merged after a SetInlineProperty() call; b=178667, r=jfrancis, sr=kin 2002-11-08 08:54:42 +00:00
glazman%netscape.com e03e047dcf 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
2002-09-17 12:04:59 +00:00
glazman%netscape.com ccbe3b90f8 in some cases, it was impossible to unbold selection in CSS mode, b=167510, r=brade, sr=bzbarsky 2002-09-11 09:25:47 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
glazman%netscape.com bb7379df23 nsHTMLEditor::GetInlinePropertyBase() was not detecting when the selection ends before first char of a text node; b=128401, r=brade, sr=kin 2002-06-18 09:20:07 +00:00
jfrancis%netscape.com a110c74903 bug 146164: removing style can remove too much. r=glazman, sr=kin 2002-06-12 14:04:47 +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
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
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
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
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
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
glazman%netscape.com 5e1af47673 Text Color well reverts to black when typing; b=112966, r/sr=kin 2002-01-25 09:53:58 +00:00
glazman%netscape.com 1684a4ed1c backing out my fix for bug 119447 due to major side effect described in bug 120377; a=asa 2002-01-18 10:17:12 +00:00
glazman%netscape.com 61dc732b6f [CSS] Composer should be able to unbold/unitalicize invalid markup; b=119447, r=jfrancis, sr=kin 2002-01-15 14:44:00 +00:00
brade%netscape.com aeee1c5e44 literal string cleanup (bug 26384); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115); remove unused statics (bug 117927) 2002-01-14 20:30:11 +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
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jdunn%netscape.com 92518c1c27 fixing AIX tinderbox
re-checking this in.  New fix that jag and I worked out (ok HE did!)
r=jaggernaut@netscape.com
2001-12-08 13:09:19 +00:00
jdunn%netscape.com 2001144c90 backing out previous checking. it is busting one of the linuxes.. 2001-12-08 11:51:27 +00:00
jdunn%netscape.com 4321756b3f 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.
2001-12-08 11:19:52 +00:00
brade%netscape.com 3508890dd3 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
jfrancis%netscape.com 9949f0e109 fix for 106274: toolbar colorpicker feedback broken when selection is collapsed 2001-11-29 10:08:25 +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
alecf%netscape.com bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
jfrancis%netscape.com 1df4659ef1 fixes bug 98573: style feedback incorrect after a <br>; r=fm; sr=kin 2001-09-24 03:40:23 +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
glazman%netscape.com f100555f4d fix forFont element not removed in Composer; b=97083; r=brade,jfrancis; sr=kin; a=dbaron 2001-08-28 01:55:22 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
kin%netscape.com ff5cb98d51 Fix for bug #93147: NotReached Assertions when selecting text widget in a table
Modified nsHTMLEditor::GetInlinePropertyBase() to bail out of iterator
loop if current node is the body.

r=brade@netscape.com  sr=sfraser@netscape.com
2001-08-02 20:31:09 +00:00
mjudge%netscape.com d5b4c5e196 76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares. 2001-04-18 06:17:05 +00:00