bzbarsky%mit.edu
e425259e0d
Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
...
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
bsmedberg%covad.net
81a0de68d5
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
2004-12-15 04:07:01 +00:00
darin%meer.net
96c79cea45
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
c51ca715b4
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
bzbarsky%mit.edu
f53d3d18db
Make createContextualFragment work for XML. Bug 133827, patch by
...
steve.swanson@mackichan.com , r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
dbaron%dbaron.org
f32ea19d1d
Slightly better fix for crashes. b=96108 r=neil sr=bzbarsky a=asa
2004-09-25 06:22:48 +00:00
mats.palmgren%bredband.net
a3bcfff345
Use SafeObjectAt() when array is potentially empty. b=260771 b=261120 r=bzbarsky sr=dbaron a=asa
2004-09-24 20:23:16 +00:00
dbaron%dbaron.org
4c36660044
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
2004-09-10 06:45:59 +00:00
neil%parkwaycc.co.uk
36cc714d20
Bug 255914 Fix editor not to try to create elements with empty tag names r=brade sr=peterv
2004-08-25 17:03:33 +00:00
bryner%brianryner.com
efcc221ee4
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
18fa617572
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
neil%parkwaycc.co.uk
21a01376bf
Bug 251686 Old body not deleted when switching out of HTML source mode r=glazou sr=dmose
2004-07-21 09:57:49 +00:00
pkw%us.ibm.com
5f8cd1a2a3
Bug 243931 - GTK2 build on AIX: Caret misplaced when inserting RTL input into LTR text.
...
Patch contributed by Lina Kemmel <lkemmel@il.ibm.com>.
r=smontagu@smontagu.org , sr=roc@ocallahan.org
2004-07-20 15:53:35 +00:00
neil%parkwaycc.co.uk
336c227ae5
Make RebuildDocumentFromSource smarter to fix regression caused by previous patch to bug 192557 r=brade sr=mscott a=sspitzer
2004-07-07 22:34:20 +00:00
mkaply%us.ibm.com
4182914dad
#206716
...
r=mkaply, sr=kin
Patch from glazou - don't use the lowercased CSS value if the value is case sensitive
2004-06-28 12:43:49 +00:00
roc+%cs.cmu.edu
52092297fe
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
louie.zhao%sun.com
ed51c7e0ea
bug 243809 M17rc2 mozilla crash at [@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons]
...
r = daniel
sr= jst
2004-05-24 02:55:40 +00:00
roc+%cs.cmu.edu
b8ecbc84da
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
f79a6813af
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
62f7fc6ea3
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b733dd59da
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
jst%mozilla.jstenback.com
d247d3f525
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
bryner%brianryner.com
7927c18306
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
2004-04-30 23:55:16 +00:00
gerv%gerv.net
6f486a3c92
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
daniel%glazman.org
f3a6db059e
allow the editor to correctly handle DL/DT/DD, switching from DT to DD when the user presses enter and vcie-versa; b=233261, r=timeless, sr=dbaron, a=tor
2004-04-09 13:55:59 +00:00
sicking%bigfoot.com
1775c22dcc
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
brade%comcast.net
9ec9ee5f4d
fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
2004-03-04 18:47:49 +00:00
scott%scott-macgregor.org
f17303d967
supplimental fix for bug #228879
2004-03-02 17:34:22 +00:00
scott%scott-macgregor.org
7f19665189
landing fix for bug #228879
...
Bogus Text when pasting from open office spread sheet or word processor to Mail Compose
working around bug http://www.openoffice.org/issues/show_bug.cgi?id=25864 in open office
r=jfrancis, sr=mscott
2004-03-02 16:03:56 +00:00
darin%meer.net
8c818ed6c3
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
daniel%glazman.org
cf491c34c8
fixes annoying assertion in the editor: b=217906, r=brade, sr=kin
2004-02-06 14:34:54 +00:00
jst%mozilla.jstenback.com
0f4260f296
Fixing debug build bustage.
2004-01-30 21:09:49 +00:00
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
daniel%glazman.org
eff4dc2930
Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron
2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com
d62aed44c4
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
f97835d45d
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
2004-01-23 13:31:07 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
172440f1a9
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
2004-01-18 14:52:21 +00:00
bzbarsky%mit.edu
75c2b9acde
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
daniel%glazman.org
9611f22db6
Composer's table cell properties' dialog did not allow to reset width and hight and the switch between TD and TH did not work (regression): b=230165, r=timeless, sr=dbaron
2004-01-09 20:52:07 +00:00
bryner%brianryner.com
9c81944cb6
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
peter%propagandism.org
816b00b6cc
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com
b444821722
Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa
2003-10-24 23:01:30 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
mozeditor%floppymoose.com
a767be1764
fix for topcrash 218556: I made the object resize listener hold weak pointer to the editor to fix resize timer firings on stale editors. r=brade; sr=peterv
2003-10-09 22:08:59 +00:00
mozeditor%floppymoose.com
f207a10e67
removing bogus comments
2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu
8801e97e8f
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
uid502
6bed557bd4
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com
fd34e45fa0
Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser
2003-09-20 05:59:44 +00:00
dbaron%dbaron.org
cb01f2577b
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
2003-09-13 19:18:52 +00:00
scott%scott-macgregor.org
01ad844c3b
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
2003-09-05 17:49:36 +00:00
brade%comcast.net
3998f855c6
remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054)
2003-09-03 13:58:00 +00:00
brade%comcast.net
073a5613ee
remove redundant code and unused variables, cleanup (r=glazman, sr=tor, a=asa, bug=216054)
2003-09-03 13:56:21 +00:00
brade%comcast.net
09622112c8
add helper methods for dealing with pixels; reduce string usage; code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
2003-09-03 13:54:36 +00:00
brade%comcast.net
d7cc2379d6
fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
2003-09-03 13:49:22 +00:00
scott%scott-macgregor.org
f9b076e455
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
2003-08-18 05:18:05 +00:00
jfrancis%netscape.com
e2a72c1c4c
fix for bugs 192507 and 181677. r=brade; sr=kin;
2003-07-31 07:09:42 +00:00
timeless%mozdev.org
d2932a7552
Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
...
r=glazou sr=bz
2003-07-29 14:48:44 +00:00
bzbarsky%mit.edu
95256ce645
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:35:53 +00:00
brade%netscape.com
124b8fe78d
more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683
2003-07-28 20:31:08 +00:00
brade%netscape.com
64838ba838
fix tinderbox bustage
2003-07-28 14:27:49 +00:00
brade%netscape.com
7756228f66
cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
2003-07-28 13:13:50 +00:00
jaggernaut%netscape.com
f1efc20ae6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com
ef99140d6d
Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f008bc2bad
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
brade%netscape.com
1333f0d2fc
reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
2003-07-19 08:51:54 +00:00
brade%netscape.com
2b9515c5b8
fix includes; r=kaie, sr=tor, bug=180316
2003-07-18 19:03:34 +00:00
brade%netscape.com
92d49f7efb
use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548
2003-07-18 02:27:19 +00:00
brade%netscape.com
f516c0768a
code cleanup (remove some NS_LITERAL_STRINGs in favor of existing ut
...
ility methods); r=cmanske, sr=tor, bug=209548
2003-07-17 23:44:13 +00:00
brade%netscape.com
898cdcb4b8
editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
2003-07-15 13:47:15 +00:00
jaggernaut%netscape.com
bf82a649b9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu
a33f58cdd0
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.
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu
9fad3e7dfe
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
2003-07-11 23:06:26 +00:00
brade%netscape.com
095064be64
remove unused local variable; fixes warning; no bug, no reviewers
2003-07-08 22:12:04 +00:00
brade%netscape.com
0d360e211d
editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
2003-07-08 20:22:56 +00:00
kin%netscape.com
494e98c23f
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
2003-07-08 17:38:13 +00:00
bzbarsky%mit.edu
25471a836d
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
brade%netscape.com
6cca4ccd3e
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
2003-06-27 14:19:40 +00:00
kin%netscape.com
6c295fc019
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
2003-06-25 19:21:59 +00:00
glazman%netscape.com
9e7ea0ab4e
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
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
glazman%netscape.com
3cb1785e6d
Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
2003-06-19 14:06:05 +00:00
stephend%netscape.com
998dd77226
fixing typo - s/cahced/cache
2003-06-18 23:04:50 +00:00
jfrancis%netscape.com
6e7d099d26
bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin
2003-06-18 22:42:24 +00:00
glazman%netscape.com
aa9050e11d
Was impossible to outdent a subset of an indented block in CSS mode
...
b=194963, r=kaie, sr=kin
2003-06-17 09:35:46 +00:00
glazman%netscape.com
bef7afc6f3
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
ba75de772b
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
glazman%netscape.com
79d9d260c7
error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin
2003-06-13 12:39:35 +00:00
brade%netscape.com
c242ab28d5
remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
2003-06-12 14:51:37 +00:00
peterv%netscape.com
9360cadfed
Fix HP-UX bustage from jfrancis checkin.
2003-06-12 11:20:00 +00:00
glazman%netscape.com
511d25c3f6
CSS indentation was not dropping non-editable nodes; b=203723, r=kaie, sr=peterv
2003-06-12 07:43:07 +00:00
jfrancis%netscape.com
4e3a501c39
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
2003-06-11 19:33:01 +00:00
kaie%netscape.com
b497c6895c
b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
...
r=jfrancis sr=kin
2003-06-11 12:02:49 +00:00
kaie%netscape.com
6678fd2394
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
brade%netscape.com
271780827f
remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
2003-06-10 18:53:11 +00:00