uid502
e9d6a45b46
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com
09e0229647
Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@147083 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 05:59:44 +00:00
dbaron%dbaron.org
2f071d5ceb
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146845 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:18:52 +00:00
scott%scott-macgregor.org
d46792a502
Bug #216753 --> Message compose should not automatically convert HTML attributes to CSS styles.
...
Fix this by setting a flag in editor to not use CSS styles for the background image.
Then back out my fixes in mailnews to work around the inline style editor was giving us.
With this change, mail compose now handles background images again and they are preserved when you save as draft
or save as template.
r=neil
sr=bienvenu
a=glazman for the editor change
a=asa for 1.5 final
git-svn-id: svn://10.0.0.236/trunk@146578 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-05 17:49:36 +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%comcast.net
a39795413f
remove redundant code and unused variables, cleanup (r=glazman, sr=tor, a=asa, bug=216054)
...
git-svn-id: svn://10.0.0.236/trunk@146533 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:56:21 +00:00
brade%comcast.net
ff0dcd8c0b
add helper methods for dealing with pixels; reduce string usage; code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
...
git-svn-id: svn://10.0.0.236/trunk@146532 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:54:36 +00:00
brade%comcast.net
db8b0f00fb
fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
...
git-svn-id: svn://10.0.0.236/trunk@146531 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:49:22 +00:00
scott%scott-macgregor.org
d7cdc065d5
Note: the editor portion of this change is to a routine only used by mailnews.
...
Make mail news handle inline background url styles which is how editor now sets background urls instead of using the obsolete background attribute on the body:
Bug #116867 --> convert background images from file urls to inline cid urls and attach the image as an inline part.This allows thunderbird and mozilla mail to support background images again.
Bug #170504 --> Compose from template/draft containing "Inline Styles" and a background image loses the background image drops the
inline style.
r=bienvenu
sr=sspitzer
a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@146154 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 05:18:05 +00:00
jfrancis%netscape.com
3b7ccf8142
fix for bugs 192507 and 181677. r=brade; sr=kin;
...
git-svn-id: svn://10.0.0.236/trunk@145417 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 07:09:42 +00:00
timeless%mozdev.org
8d49b8332d
Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
...
r=glazou sr=bz
git-svn-id: svn://10.0.0.236/trunk@145329 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 14:48:44 +00:00
bzbarsky%mit.edu
9e4941c980
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
brade%netscape.com
d200f43fee
more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683
...
git-svn-id: svn://10.0.0.236/trunk@145274 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 20:31:08 +00:00
brade%netscape.com
b1c35c5841
fix tinderbox bustage
...
git-svn-id: svn://10.0.0.236/trunk@145271 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 14:27: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
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com
e07c163859
Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
brade%netscape.com
7809c706c3
reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
...
git-svn-id: svn://10.0.0.236/trunk@144967 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 08:51:54 +00:00
brade%netscape.com
c7798d7fd7
fix includes; r=kaie, sr=tor, bug=180316
...
git-svn-id: svn://10.0.0.236/trunk@144959 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 19:03:34 +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
bf908b72c7
code cleanup (remove some NS_LITERAL_STRINGs in favor of existing ut
...
ility methods); r=cmanske, sr=tor, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144931 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-17 23:44:13 +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
jaggernaut%netscape.com
36ab3d76a9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu
5a36af3d0a
Backing out part of patch for bug 211128, since it regressed all sorts of
...
XBL-ish stuff. r=stuff-is-broken sr=jag for the backout.
git-svn-id: svn://10.0.0.236/trunk@144814 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu
c8ff7820a4
Make XBL anonymous content get its base URI from the XBL document (the binding
...
URI) instead of from the document of the bound element. This way relative URIs
in a binding are always relative to the binding. Bug 211128, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144753 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:06:26 +00:00
brade%netscape.com
e1a6b807f7
remove unused local variable; fixes warning; no bug, no reviewers
...
git-svn-id: svn://10.0.0.236/trunk@144596 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 22:12:04 +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
kin%netscape.com
68896debfc
Fix for bug 211378 (Unable to paste into editor widgets with middle mouse button)
...
Modified MouseUp() and MouseClick() so that they call thru to the base class versions. This regression was caused by the fix for bug 137092.
r=brade@netscape.com sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@144566 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 17:38:13 +00:00
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
brade%netscape.com
3c2fed7e4a
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
...
git-svn-id: svn://10.0.0.236/trunk@144215 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 14:19:40 +00:00
kin%netscape.com
752b792e95
jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
...
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
- Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.
r=brade@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144154 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 19:21:59 +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
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +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
stephend%netscape.com
2f3cf9eef5
fixing typo - s/cahced/cache
...
git-svn-id: svn://10.0.0.236/trunk@143895 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:04:50 +00:00
jfrancis%netscape.com
a25a16aae6
bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@143891 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:42:24 +00:00
glazman%netscape.com
9519e8311f
Was impossible to outdent a subset of an indented block in CSS mode
...
b=194963, r=kaie, sr=kin
git-svn-id: svn://10.0.0.236/trunk@143791 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 09:35:46 +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
glazman%netscape.com
95747f691f
error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@143673 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 12:39:35 +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
peterv%netscape.com
e0bfba43db
Fix HP-UX bustage from jfrancis checkin.
...
git-svn-id: svn://10.0.0.236/trunk@143633 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 11:20:00 +00:00
glazman%netscape.com
223409d642
CSS indentation was not dropping non-editable nodes; b=203723, r=kaie, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@143630 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 07:43:07 +00:00
jfrancis%netscape.com
d02d21d990
improvement to 140357 fix: reducing bloat of previous patch, extending functionality to css-mode editting, and improving TypeInState to recognize redundant selection change notifications.
...
fix for 208317: css-mode editing left empty spans around, which could cause disapearing carets
r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@143596 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 19:33:01 +00:00
kaie%netscape.com
cde4df8d96
b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
...
r=jfrancis sr=kin
git-svn-id: svn://10.0.0.236/trunk@143583 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 12:02:49 +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
596c8b1e49
remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
...
git-svn-id: svn://10.0.0.236/trunk@143517 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 18:53:11 +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