neil@parkwaycc.co.uk
00cf32f818
Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep
2008-01-07 02:14:28 -08:00
reed@reedloden.com
d565c84fba
Bug 388980 - "Gmail compose mail (midas), background color doesn't work" [p=cpearce r=peterv sr=roc a1.9=schrep]
2007-11-13 00:10:03 -08:00
jonas@sicking.cc
0e1c530ce2
Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
2007-11-12 17:41:40 -08:00
roc+@cs.cmu.edu
ea2328d52d
Bug 388980. Backing out because it broke tests.
2007-10-02 15:12:20 -07:00
roc+@cs.cmu.edu
76195f165d
Bug 388980. Keep mCSSAware in sync. patch by Chris Pearce, r+sr=peterv
2007-10-02 14:44:21 -07:00
philringnalda@gmail.com
3542eb8afd
Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=glazou, sr=jst, a1.9=dbaron
2007-08-25 22:53:38 -07:00
peterv@propagandism.org
6662efd338
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3
Backing out to fix orange.
2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 15:29:45 -07:00
Olli.Pettay@helsinki.fi
5767c4440b
Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst
2007-05-15 01:50:33 -07:00
Olli.Pettay%helsinki.fi
d82d580d5d
Bug 338129, r=glazman, sr=neil
2006-06-15 07:31:01 +00:00
mrbkap%gmail.com
4f82ca73c0
Fix the relationship between nsHTMLEditor::CreateDOMFragmentFromPaste and nsHTMLEditor::InsertHTMLWithContexet to avoid duplicate calculations. bug 333063, r=neil sr=jst
2006-04-25 20:13:46 +00:00
mrbkap%gmail.com
6038f53eaa
Allow pasting single cells from excel into an HTML editor. bug 228920, r=neil sr=jst
2006-04-06 22:48:55 +00:00
masayuki%d-toybox.com
837c203ca4
Bug 317782 A character is deleted on HTML Editor when running IME reconvertion with non-selected text / Bug 296686 When insert a space with EGBRIDGE(TSM(IME) of Japanese), a next character of caret is deleted / Removing nsHTMLEditor::SetCompositionString and nsHTMLEditor::GetReconversionString, Because bug 66290 has been duplicated these method in nsPlaintextEditor r=timeless, sr=sfraser
2005-11-26 22:10:03 +00:00
bzbarsky%mit.edu
818aafcc15
Improve the CSSLoader API: make it clear which methods return results
...
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded. Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
7069fad3ab
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
2005-09-05 14:18:56 +00:00
peterv%propagandism.org
ea82f1a8a5
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
2005-06-16 13:10:58 +00:00
jst%mozilla.jstenback.com
8d5c773824
Fixing most of bug 287707. Make editor init and teardown do a better job at restoring things to the way they were before editing started. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=brendan@mozilla.org
2005-06-09 22:50:41 +00:00
jst%mozilla.jstenback.com
006a859d7d
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
2005-03-24 19:00:01 +00:00
scott%scott-macgregor.org
39c443dabd
Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
...
and editor hooks to call out to an inline spell checker component.
moa/r=glazman
sr=bienvenu
2005-02-01 21:12:53 +00:00
jst%mozilla.jstenback.com
2e66280fae
Fixing bug 92686. Return inserts line break, should insert paragraph break. Patch by daniel@glazman.org, r=brade@comcast.netbrade@comcast.net, sr=jst@mozilla.org
2005-01-12 19:11:48 +00:00
bzbarsky%mit.edu
07bdf724f4
nsRangeUtil should be a service. Make use of it for ComparePoints() as well.
...
Bug 262833 and bug 262832, r=glazou, sr=jst
2004-10-10 03:30:42 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
brade%comcast.net
6018b87e5f
fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
2004-03-04 18:47:49 +00:00
brade%netscape.com
ee332541d8
cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
2003-07-28 13:13:50 +00:00
glazman%netscape.com
0da80aab17
Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
...
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman%netscape.com
1a9f1eb39f
Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
2003-06-19 14:06:05 +00:00
brade%netscape.com
97e32dcb83
remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
2003-06-12 14:51:37 +00:00
kaie%netscape.com
e0c7f637b2
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
brade%netscape.com
c616a1e4e6
add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
2003-06-10 18:52:31 +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
brade%netscape.com
e417c0926a
api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066
2003-05-09 18:33:14 +00:00
brade%netscape.com
87edb79af7
editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr
2003-04-17 13:18:51 +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
kaie%netscape.com
4c382bfcd4
b=68767 extra blank space added when block level element (hr, table) is inserted at the end of a line, between two lines
...
r=jfrancis sr=kin
2003-04-15 20:53:15 +00:00
brade%netscape.com
97a91a162b
add insertion listener; bug 192567 (r=jfrancis, sr=kin)
2003-04-15 14:07:30 +00:00
bzbarsky%mit.edu
97c2f70759
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
glazman%netscape.com
f720ae0368
meta-fix for image and table resizing bugs in html editor
...
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin
2003-03-25 15:24:08 +00:00
jfrancis%netscape.com
d65a91cf65
fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
...
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
glazman%netscape.com
7d058dbd34
Allow mouse-driven resizing of images and tables in all instances of editor.
...
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.
b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin
2003-02-24 09:37:18 +00:00
bryner%netscape.com
7f0488eb18
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.
2003-01-09 06:49:07 +00:00
jfrancis%netscape.com
18d72537a9
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
2002-12-22 01:51:14 +00:00
cmanske%netscape.com
411cfc84da
Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser
2002-11-27 00:35:09 +00:00
jfrancis%netscape.com
0c756dc3b3
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
2002-11-22 03:30:59 +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
jfrancis%netscape.com
ac9f0f07f5
fix for 164054: Place selection at first visible content on editor doc load
r=brade
sr=kin
2002-10-08 22:53:55 +00:00
akkana%netscape.com
753fba95f6
161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
2002-10-08 20:24:23 +00:00
cmanske%netscape.com
be8799bf71
Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin
2002-10-06 01:23:18 +00:00
cmanske%netscape.com
1010f8aeed
Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
2002-09-18 19:42:38 +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
akkana%netscape.com
7ae5c1cecb
124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf
2002-09-13 19:47:38 +00:00
cmanske%netscape.com
27b8578e83
Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt
2002-09-13 04:19:30 +00:00
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
akkana%netscape.com
6b83a065ab
132352: Use the parser service for blockness detection. r=brade sr=kin
2002-06-11 20:43:49 +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
2d573cc064
fix for 135337, 132837, 136504, and a side issue from
84485. The deal here is that the editor is smarter about figuring out what dom nodes appear empty to the user (properly accounting for invisible whitespace and invisible br nodes). r=glazman; sr=kin
2002-04-14 02:37:23 +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
glazman%netscape.com
72b1c305b0
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
2002-03-15 15:33:29 +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
ba2410c1c7
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
2002-03-11 13:11:48 +00:00
jfrancis%netscape.com
0f7cfff93f
fixes bugs 127869, 127939, and 128793: various bug with list pasting; sr=kin; r=glazman; a=asa [trunk]
2002-03-11 09:30:51 +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
glazman%netscape.com
8846933b69
inline styles were not saved because gElement was outside of document's tree; b=91548, r=brade, sr=kin
2002-01-28 16:00:12 +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
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
9939e28989
#ifdef out / remove DEAD_CODE per jfrancis (bug 115115)
2002-01-14 20:31:47 +00:00
glazman%netscape.com
a1a6b6b2cf
oops, I erroneously left this code in my big yesterday's check-in and this belongs to another bug (118110); b=77705
2002-01-10 14:51:45 +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
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
9949f0e109
fix for 106274: toolbar colorpicker feedback broken when selection is collapsed
2001-11-29 10:08:25 +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
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
akkana%netscape.com
b2618d9ca4
54726: Add link to W3C Validator
...
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin
2001-08-07 21:39: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
jfrancis%netscape.com
fb8d76100d
fix for:
57477: merge pastes list into target list
57989: Pasting list items into list can orphan last list item
66579: copy/paste of list item into another list items causes caret
mostly a refactoring and improvement of nsHTMLEditor::InsertHTMLWithCharsetAndContext()
2001-06-15 22:29:07 +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
jfrancis%netscape.com
edc5638e7c
fixes for bugs:
75618 CR line breaks not recognized when inserting data in a plain
76258 IsEditable() needs to be smarter
72968 browser crashes when doing REDO after doing some cut/paste i
55224 switching from HTML Source mode to Normal causes dataloss
71355 style buttons do not work from 2nd cell onwards inside table
71362 empty tables inside (otherwise) empty list item disappears w
74655 40% of reply time in mailcompose spent converting linefeeds
r=fm; sr=kin
2001-04-17 10:15:05 +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
akkana%netscape.com
097e2cd077
66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis
2001-04-05 23:48:01 +00:00
jfrancis%netscape.com
c4120e0590
renaming variable to match coding guidelines; r=fm; sr=kin
2001-03-09 14:19:14 +00:00
cmanske%netscape.com
5d262a924f
Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser
2001-02-26 22:02:58 +00:00
akkana%netscape.com
57d496adcb
25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
...
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.
2001-02-15 21:51:25 +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
akkana%netscape.com
d53a276b40
33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
2001-01-08 21:01:29 +00:00
jfrancis%netscape.com
a4b7a1f805
fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin
2000-12-06 23:11:21 +00:00
akkana%netscape.com
d20c260cc6
Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
2000-11-17 00:25:31 +00:00
jst%netscape.com
6ea631e28c
Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
...
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).
Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +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
cmanske%netscape.com
0ea8fba700
Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth)
2000-09-05 23:26:48 +00:00
jfrancis%netscape.com
fbac81eb1c
fix for bug 49889; r=fm
2000-08-30 04:33:20 +00:00
cmanske%netscape.com
5ffccc6765
nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin
2000-08-30 02:44:08 +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