darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
a9f78ae2f9
nsRangeUtil should be a service. Make use of it for ComparePoints() as well.
...
Bug 262833 and bug 262832, r=glazou, sr=jst
git-svn-id: svn://10.0.0.236/trunk@163494 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 03:30:42 +00:00
bzbarsky%mit.edu
c6733ef5e7
Make createContextualFragment work for XML. Bug 133827, patch by
...
steve.swanson@mackichan.com , r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
dbaron%dbaron.org
85ad756fdf
Slightly better fix for crashes. b=96108 r=neil sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@162785 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-25 06:22:48 +00:00
mats.palmgren%bredband.net
6060caa0c2
Use SafeObjectAt() when array is potentially empty. b=260771 b=261120 r=bzbarsky sr=dbaron a=asa
...
git-svn-id: svn://10.0.0.236/trunk@162756 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-24 20:23:16 +00:00
dbaron%dbaron.org
a4ca9058c6
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
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
neil%parkwaycc.co.uk
e844261cbb
Bug 255914 Fix editor not to try to create elements with empty tag names r=brade sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@161252 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 17:03:33 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
neil%parkwaycc.co.uk
7f0a5f976a
Bug 251686 Old body not deleted when switching out of HTML source mode r=glazou sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@159570 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 09:57:49 +00:00
pkw%us.ibm.com
835dff0998
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
git-svn-id: svn://10.0.0.236/trunk@159536 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 15:53:35 +00:00
neil%parkwaycc.co.uk
b0c26e7e67
Make RebuildDocumentFromSource smarter to fix regression caused by previous patch to bug 192557 r=brade sr=mscott a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@158878 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 22:34:20 +00:00
mkaply%us.ibm.com
84e8d39c71
#206716
...
r=mkaply, sr=kin
Patch from glazou - don't use the lowercased CSS value if the value is case sensitive
git-svn-id: svn://10.0.0.236/trunk@158542 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-28 12:43:49 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
louie.zhao%sun.com
46a42fdc0f
bug 243809 M17rc2 mozilla crash at [@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons]
...
r = daniel
sr= jst
git-svn-id: svn://10.0.0.236/trunk@156822 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 02:55:40 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
af7c69e56c
Relanding, since backing out did not fix orange. Bug 232691.
...
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19
Backing out to attempt to fix Mac orange. Bug 232691
...
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684
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
git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
jst%mozilla.jstenback.com
b91a41077c
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
bryner%brianryner.com
b65ef5dbc6
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.
...
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +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
daniel%glazman.org
8f5feb6663
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
...
git-svn-id: svn://10.0.0.236/trunk@154645 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 13:55:59 +00:00
sicking%bigfoot.com
611753ba16
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
brade%comcast.net
50abfe299f
fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@153530 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:47:49 +00:00
scott%scott-macgregor.org
3c6716cbeb
supplimental fix for bug #228879
...
git-svn-id: svn://10.0.0.236/trunk@153433 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 17:34:22 +00:00
scott%scott-macgregor.org
637845aac8
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
git-svn-id: svn://10.0.0.236/trunk@153428 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 16:03:56 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
daniel%glazman.org
1c59909ce3
fixes annoying assertion in the editor: b=217906, r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@152414 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 14:34:54 +00:00
jst%mozilla.jstenback.com
aa4e1c9058
Fixing debug build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@152093 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 21:09:49 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
daniel%glazman.org
dfe8508bf4
Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152015 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
7082e58c32
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151746 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 13:31:07 +00:00
bryner%brianryner.com
70bf134ff4
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.
...
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
f76a4dbc8a
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151500 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:52:21 +00:00
bzbarsky%mit.edu
86fee95b4d
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
git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
daniel%glazman.org
48e1f594fe
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
...
git-svn-id: svn://10.0.0.236/trunk@151095 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 20:52:07 +00:00
bryner%brianryner.com
468d3e2e8d
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.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
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.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
peter%propagandism.org
e6ae01a399
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com
0bb2275d67
Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@148367 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 23:01:30 +00:00
bryner%brianryner.com
eeddf02bde
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.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
mozeditor%floppymoose.com
1167bdd011
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
...
git-svn-id: svn://10.0.0.236/trunk@147816 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:08:59 +00:00
mozeditor%floppymoose.com
2ceca184d2
removing bogus comments
...
git-svn-id: svn://10.0.0.236/trunk@147815 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu
62c2420626
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
ef67a47aab
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.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00