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
brade%comcast.net
50abfe299f
fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@153530 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:47:49 +00:00
brade%netscape.com
7b542e3e34
cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +00:00
glazman%netscape.com
68de2ad1fd
Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
...
r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144144 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 08:50:48 +00:00
glazman%netscape.com
3825cdfefa
Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@143931 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 14:06:05 +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
kaie%netscape.com
c217443fac
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
git-svn-id: svn://10.0.0.236/trunk@143582 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 11:50:36 +00:00
brade%netscape.com
601b8b9d42
add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
...
git-svn-id: svn://10.0.0.236/trunk@143515 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 18:52:31 +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
brade%netscape.com
7863d97a97
api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066
...
git-svn-id: svn://10.0.0.236/trunk@142277 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 18:33:14 +00:00
brade%netscape.com
672b3839a4
editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr
...
git-svn-id: svn://10.0.0.236/trunk@141304 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 13:18:51 +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
kaie%netscape.com
7f3ff56e4b
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
git-svn-id: svn://10.0.0.236/trunk@141196 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 20:53:15 +00:00
brade%netscape.com
7c86a6fce4
add insertion listener; bug 192567 (r=jfrancis, sr=kin)
...
git-svn-id: svn://10.0.0.236/trunk@141181 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 14:07:30 +00:00
bzbarsky%mit.edu
99037d7097
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
git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +00:00
glazman%netscape.com
f981e4719a
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
git-svn-id: svn://10.0.0.236/trunk@140251 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:24:08 +00:00
jfrancis%netscape.com
0965f05259
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
git-svn-id: svn://10.0.0.236/trunk@140108 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 20:45:47 +00:00
glazman%netscape.com
20124c5607
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
git-svn-id: svn://10.0.0.236/trunk@138320 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 09:37:18 +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
cmanske%netscape.com
a4776ceb5a
Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@134507 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 00:35:09 +00:00
jfrancis%netscape.com
8247e85525
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:30:59 +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
397f1dc55c
fix for 164054: Place selection at first visible content on editor doc load
...
r=brade
sr=kin
git-svn-id: svn://10.0.0.236/trunk@131481 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 22:53:55 +00:00
akkana%netscape.com
1cd9257122
161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@131455 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:24:23 +00:00
cmanske%netscape.com
b5d60d857b
Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@131252 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 01:23:18 +00:00
cmanske%netscape.com
7b1780cf51
Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +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
akkana%netscape.com
a2c8efc800
124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@129543 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:47:38 +00:00
cmanske%netscape.com
8198a66a34
Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@129491 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 04:19:30 +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
akkana%netscape.com
ac744a4bf8
132352: Use the parser service for blockness detection. r=brade sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@123066 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:43:49 +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
0c211fb13a
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
git-svn-id: svn://10.0.0.236/trunk@118948 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 02:37:23 +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
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
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
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
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
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
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
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
glazman%netscape.com
2f5b7a3b1a
oops, I erroneously left this code in my big yesterday's check-in and this belongs to another bug (118110); b=77705
...
git-svn-id: svn://10.0.0.236/trunk@111832 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:51:45 +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
cmanske%netscape.com
bd0c9879f3
Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@110351 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:57:32 +00:00
jfrancis%netscape.com
dfd10349d5
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
...
git-svn-id: svn://10.0.0.236/trunk@110125 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 09:24:33 +00:00