[email protected]
2a1f0cedfe
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
[email protected]
de930a6ef8
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
[email protected]
242c51275c
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
[email protected]
8fc0179c66
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
[email protected]
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
[email protected]
b54c7e05c3
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
[email protected]
b0a6258ead
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
[email protected]
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
[email protected]
6b0210f601
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
[email protected]
a476814222
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
[email protected]
870007c547
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
[email protected]
dc05923955
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<[email protected] >, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
[email protected]
3ab9c6162d
Fixing bug 242734. deCOMtaminate nsITextContent. [email protected]
2004-05-07 20:55:17 +00:00
[email protected]
e93363d19f
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
[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
767c9f4d56
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
[email protected]
4b3323b7b2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
[email protected]
a4ceb4251c
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. [email protected] , [email protected]
2004-01-24 00:46:17 +00:00
[email protected]
60ddf11552
Bug 231368 Remove unused nsIPref includes [email protected] r/sr=dbaron
2004-01-23 13:31:07 +00:00
[email protected]
a64d636f14
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
[email protected]
505e3d5ba8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. [email protected]
2004-01-09 23:54:21 +00:00
[email protected]
a90ec6ff21
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
[email protected]
d47517f6dc
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(). [email protected] , [email protected] .
2003-11-19 01:20:56 +00:00
[email protected]
1f9609e30b
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
[email protected]
9b4a152c55
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
[email protected]
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected] , [email protected] .
2003-09-27 04:18:26 +00:00
uid502
91e7029c77
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
[email protected]
4724e1c395
Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser
2003-09-20 05:59:44 +00:00
[email protected]
ca0e7c5b8c
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
[email protected]
c6b4985a3b
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
[email protected]
a1687fbcb7
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
[email protected]
faebd7a266
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:35:53 +00:00
[email protected]
d8ac92ce76
more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683
2003-07-28 20:31:08 +00:00
[email protected]
d2e83278c0
cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
2003-07-28 13:13:50 +00:00
[email protected]
45be713aac
Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
2003-07-24 04:53:13 +00:00
[email protected]
af6744a675
reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
2003-07-19 08:51:54 +00:00
[email protected]
aea5df6796
editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
2003-07-15 13:47:15 +00:00
[email protected]
dd7e889afb
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
[email protected]
8a384356d5
editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
2003-07-08 20:22:56 +00:00
[email protected]
563c620e45
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
[email protected]
3bddf9c8e8
[email protected] '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.
[email protected] [email protected]
2003-06-25 19:21:59 +00:00
[email protected]
ceebeee92a
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
[email protected]
384f320c3a
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
[email protected]
a0b589bd3c
Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
2003-06-19 14:06:05 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
710900de1c
error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin
2003-06-13 12:39:35 +00:00
[email protected]
cc453f3d54
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
[email protected]
9e0af23fd0
bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin
2003-06-02 22:21:06 +00:00
[email protected]
51f0108322
Bug 199989 Remove gNoisy code from libeditor.
...
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
[email protected]
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to [email protected] (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00