Граф коммитов

538 Коммитов

Автор SHA1 Сообщение Дата
neil%parkwaycc.co.uk 00c6a7988b Fix issues rebuilding <body> attributes from source b=331894 r=glazou sr=mscott 2006-03-28 16:36:40 +00:00
bzbarsky%mit.edu eba05eced8 Don't walk off the root element when looking for backgrounds. Bug 328331, r+sr=jst 2006-02-24 04:54:10 +00:00
peterv%propagandism.org f669a54d09 Fix for bug 299343 (Can't copy and paste into the beginning of a line). r/sr=jst. 2005-12-22 15:05:41 +00:00
neil%parkwaycc.co.uk 2abff0c576 Bug 294793 Rebuilding a document from source should clear body attributes if the provided source has no body tag, plus we can now make the cached compose window always rebuild the document r=brade sr=dmose 2005-11-30 11:01:37 +00:00
masayuki%d-toybox.com 837c203ca4 Bug 317782 A character is deleted on HTML Editor when running IME reconvertion with non-selected text / Bug 296686 When insert a space with EGBRIDGE(TSM(IME) of Japanese), a next character of caret is deleted / Removing nsHTMLEditor::SetCompositionString and nsHTMLEditor::GetReconversionString, Because bug 66290 has been duplicated these method in nsPlaintextEditor r=timeless, sr=sfraser 2005-11-26 22:10:03 +00:00
timeless%mozdev.org db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu 818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv%propagandism.org 7069fad3ab Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner%brianryner.com a4d5bb719d Fix crash due to orphaned editor anonymous content (bug 297926). r+sr=bzbarsky, a=bsmedberg 2005-07-13 16:45:58 +00:00
peterv%propagandism.org fbc8799da6 Another try to fix btek. 2005-06-16 22:57:46 +00:00
peterv%propagandism.org ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
jst%mozilla.jstenback.com 8d5c773824 Fixing most of bug 287707. Make editor init and teardown do a better job at restoring things to the way they were before editing started. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=brendan@mozilla.org 2005-06-09 22:50:41 +00:00
timeless%mozdev.org 3fc95f8e53 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
2005-06-03 10:26:28 +00:00
bzbarsky%mit.edu 8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
jst%mozilla.jstenback.com 21b9cb088d Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-04-06 02:22:45 +00:00
jst%mozilla.jstenback.com 006a859d7d Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-03-24 19:00:01 +00:00
jst%mozilla.jstenback.com 2e66280fae Fixing bug 92686. Return inserts line break, should insert paragraph break. Patch by daniel@glazman.org, r=brade@comcast.netbrade@comcast.net, sr=jst@mozilla.org 2005-01-12 19:11:48 +00:00
bzbarsky%mit.edu 07bdf724f4 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
dbaron%dbaron.org 96c0e36f4e 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
bryner%brianryner.com 180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com 6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
neil%parkwaycc.co.uk 06cd01a9b0 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
neil%parkwaycc.co.uk 70e4938611 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
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu 62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu abcad1dc39 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 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bryner%brianryner.com 7d1dbeb3a8 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 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
daniel%glazman.org a430943829 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
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com ce1edc1dc9 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 84428dc828 Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
bzbarsky%mit.edu 8093efd14c 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 c000ae86e8 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
bryner%brianryner.com e65d2d2fe5 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 4183787fa9 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
bryner%brianryner.com 605cc06382 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
bzbarsky%mit.edu a972a3e501 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 5037b2a4a2 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 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com de8419d89d Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser 2003-09-20 05:59:44 +00:00
dbaron%dbaron.org 506e1cf947 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 c26ce97cd5 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
scott%scott-macgregor.org 5375ac67e1 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
bzbarsky%mit.edu 5fa37ec6f3 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00