232 Commits

Author SHA1 Message Date
bugzilla%arlen.demon.co.uk
12622e6f55 Bug 264102 Chrome should use document.title instead of window.title - editor fixes (without EdColorPicker.js changes as these will be fixed in the patch to bug 260217)
p=me r=daniel sr=neil.parkwaycc.co.uk


git-svn-id: svn://10.0.0.236/trunk@164314 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 00:39:27 +00:00
jst%mozilla.jstenback.com
556bb4875f One more followup change to the fix for bug 69070. Make sure to set the appType on the root docshell in editor.js.
git-svn-id: svn://10.0.0.236/trunk@163713 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 04:54:38 +00:00
jst%mozilla.jstenback.com
d56483a286 Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@163691 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:16:58 +00:00
neil%parkwaycc.co.uk
c3503e4bc6 Bug 257572 <head> content not cleared from recycled compose window r=glazou sr=mscott
git-svn-id: svn://10.0.0.236/trunk@161656 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 12:18:16 +00:00
sspitzer%mozilla.org
ddea88f8f7 fix for bug #249882
after forward as inline with body style, the next new message gets the body style (cached compose)

r=neil, sr=bienvenu, a=sspitzer for 1.8a2


git-svn-id: svn://10.0.0.236/trunk@159168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 04:27:31 +00:00
timeless%mozdev.org
7078d213aa Bug 240947 use content instead of _content
r=neil sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@158446 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-24 23:44:05 +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
bzbarsky%mit.edu
1c7a6361be Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.


git-svn-id: svn://10.0.0.236/trunk@154950 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:14:39 +00:00
dbaron%dbaron.org
5e3c423778 Fix leak by calling removeObserver for observer implemented in JS so it doesn't stay around until the pref service shuts down. b=231384 r=daniel@glazman.org sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151656 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 21:15:44 +00:00
timeless%mozdev.org
8d115da9a1 Bug 228527 JS Warnings in editor
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@150589 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 04:04:33 +00:00
bzbarsky%mit.edu
d43d8c0e1e Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.


git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00
neil%parkwaycc.co.uk
95c996be80 Bug 206279 Recent files list should not truncate end of file name r=brade sr=bz
git-svn-id: svn://10.0.0.236/trunk@146851 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 21:15:55 +00:00
axel%pike.org
221a970723 bug 210107, dont double blank lines when switching from normal to html, patch by burpmaster@truffala.net, r=brade, sr=tor
git-svn-id: svn://10.0.0.236/trunk@145656 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 09:57:02 +00:00
neil%parkwaycc.co.uk
a08fd8e49b Bug 209823 Composer should use titletips in Preview mode r=glazman sr=alecf
git-svn-id: svn://10.0.0.236/trunk@143987 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 09:11:40 +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
neil%parkwaycc.co.uk
dd054d6a73 Bug 69329 Use plain text editor for HTML source (also implements find in HTML source) r=brade sr=alecf
git-svn-id: svn://10.0.0.236/trunk@143674 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 12:55:17 +00:00
brade%netscape.com
962cc7e759 don't handle empty string from pref as valid background image; r=timeless, sr=jag; bug 207501
git-svn-id: svn://10.0.0.236/trunk@143099 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 13:36:48 +00:00
timeless%mozdev.org
34eebcae2d Bug 206470 editing text files shouldn't have HTML features
r=brade sr=jag


git-svn-id: svn://10.0.0.236/trunk@142986 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 19:53:50 +00:00
brade%netscape.com
ab2e651858 bug 203399; remove needless stylesheet call; r=timeless; sr=jag
git-svn-id: svn://10.0.0.236/trunk@141932 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 13:34:30 +00:00
neil%parkwaycc.co.uk
7865f9dd10 Bug 202338 font dropdown should be disabled unless body has focus r=brade sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141686 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 08:25:34 +00:00
jaggernaut%netscape.com
797cb9f849 Bug 198546: Format -> Font submenu doesn't deal with "unknown" font. r=glazou, r=Neil, sr=bryner, moa=brade.
git-svn-id: svn://10.0.0.236/trunk@141297 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 07:35:55 +00:00
shliang%netscape.com
fa956386c7 bug 107877. default font prefs for msg compose. r=neil, brade, sr=sspitzer, jag.
git-svn-id: svn://10.0.0.236/trunk@141236 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 07:07:10 +00:00
neil%parkwaycc.co.uk
f0130ad5f8 Bug 193712 Text and highlight colours don't translate rgb in css mode r=glazman sr=kin
git-svn-id: svn://10.0.0.236/trunk@140794 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 08:11:21 +00:00
jkeiser%netscape.com
4fda0c90df Fix .originalTarget problems in editor (bug 193689), r=brade@netscape.com, sr=jst@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@140478 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 06:12:51 +00:00
sfraser%netscape.com
2d3415b2be Fix for bug 199320 -- random composer crashes. Remove code that set the editor as a refCon on a controller which was created in JS, because it's unnecessary, and because the JS has no callbacks that allow it to null out the refCon when that editor is destroyed, leading to stale references which crash XPConnect. r=brade, sr=kin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@140456 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-31 19:08:00 +00:00
jaggernaut%netscape.com
e0ab59305a Bug 26288: Allow user to select system fonts in editor UI. r=Neil, sr=sspitzer, moa=brade
git-svn-id: svn://10.0.0.236/trunk@139920 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 08:36:28 +00:00
brade%netscape.com
9f555c4ae6 cleanup various items like omitting needless QI, fixing case to match idl file, adding parens to JS function, fix case of doctype string; r=timeless,Neil, sr=jag; bug 198402
git-svn-id: svn://10.0.0.236/trunk@139850 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 15:37:42 +00:00
neil%parkwaycc.co.uk
ae8409d301 Bug 54802 Add clipboard buttons for Composer r=brade sr=alecf
git-svn-id: svn://10.0.0.236/trunk@139448 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 15:23:53 +00:00
neil%parkwaycc.co.uk
b0148f86e1 Bug 54802 Add clipboard buttons for Composer (backend work) r=brade sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138857 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 12:12:29 +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
brade%netscape.com
7d7c2010f3 force undo commands to be updated (bug 183133); r=sfraser, sr=kin
git-svn-id: svn://10.0.0.236/trunk@136773 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 00:50:47 +00:00
rbs%maths.uq.edu.au
2129932d47 Remiander of bug 169590. Hook a catch-all W3C entity converter and user-prefs for custom levels of entity-zation in the editor's '<HTML> Source' and 'Save As...'
git-svn-id: svn://10.0.0.236/trunk@135372 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:41:25 +00:00
rbs%maths.uq.edu.au
76ce811794 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135264 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:12:10 +00:00
cmanske%netscape.com
e33e939024 Increase performance of 'Recent Pages' menu code. Most of the fix by neil@parkwayccc.co.uk, b=170522, r=akkana, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@134851 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 21:24:09 +00:00
glazman%netscape.com
a422a6442b Table of Contents management in Composer (lives under Insert menu); b=170050, r=cmanske, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134609 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 13:54:41 +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
cmanske%netscape.com
354babbc6d Fixed command disabling/focus setting when loading page into new editor. b=181002, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@134286 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 23:53:50 +00:00
timeless%mozdev.org
cd6fa93874 Bug 147372 Use .hidden and .collapsed instead of [GS]etAttribute
patch by neil@parkwaycc.co.uk r=cmanske sr=alecf


git-svn-id: svn://10.0.0.236/trunk@134109 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:51:56 +00:00
cmanske%netscape.com
337eb43628 Final removal of 'editorShell'. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133913 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:52:47 +00:00
cmanske%netscape.com
a64dcd2981 Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133700 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 22:52:55 +00:00
glazman%netscape.com
49cd5a1fff show tooltip for href (links), src (images) and name (named anchors) in Composer; b=47519, fix by glazman@netscape.com and neil@parkwaycc.co.uk, r=brade, r=glazman for kin's changes, sr=kin
git-svn-id: svn://10.0.0.236/trunk@133391 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 09:14:00 +00:00
glazman%netscape.com
882fa73599 Composer's struct toolbar caused regression in mail composition + UI polish ; b=175276, fix by neil@parkwaycc.co.uk, r=glazman, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@132402 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 12:09:02 +00:00
glazman%netscape.com
40826ba026 Add a tag selector to Composer's status bar. It allows to view the whole hierarchy of the current selection, from the deepest element container up to the body.
Each element in the bar is selectable and a context menu allows to select the element, remove the element preserving its contents, changing the element into another one (regardless of DTD), and open the advanced properties dialog for the element.

When "Change tag" is requested, a textbox appears in the status bar. Changes are discarded if Escape key is pressed, and performed if CR/Enter key is pressed.

b=173319, r=brade, sr=peterv, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/trunk@132070 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 08:07:35 +00:00
glazman%netscape.com
7ff2141452 Composer was inserting charset information (meta element) after the title of the document; b=145952, r=brade, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@131981 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 20:14:40 +00:00
jfrancis%netscape.com
99981179ab 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@131487 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 23:08:34 +00:00
cmanske%netscape.com
68d7f7503c Restored previous Composer window ID, b=173257, fix by neil@parkway.cc.co.uk, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@131457 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:39:05 +00:00
brade%netscape.com
56a18d8107 fix typo (bug 122992) sr=kin
git-svn-id: svn://10.0.0.236/trunk@131425 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 14:01:02 +00:00
cmanske%netscape.com
99ccfbf71f Fixed broken smileys in Mail Composer. b=70031, r=suresh, sr=kin
git-svn-id: svn://10.0.0.236/trunk@131322 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 20:13:09 +00:00
cmanske%netscape.com
6e273b8448 Backed out changes for bugscape bug 20282, will recheckin as a mozilla bug
git-svn-id: svn://10.0.0.236/trunk@131244 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 17:35:36 +00:00
cmanske%netscape.com
e930020996 Fix problems with styles in IM, Chat, and Mail Composers. bugscape=20282, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@131211 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 01:20:10 +00:00