bzbarsky%mit.edu
6b2d4870c3
More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
...
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176154 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 21:41:47 +00:00
bryner%brianryner.com
417365e672
Fix crash due to orphaned editor anonymous content (bug 297926). r+sr=bzbarsky, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176000 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:45:58 +00:00
peterv%propagandism.org
294bd7ed16
Another try to fix btek.
...
git-svn-id: svn://10.0.0.236/trunk@174735 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 22:57:46 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
peterv%propagandism.org
1670106ec8
Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174702 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 12:58:13 +00:00
jst%mozilla.jstenback.com
d227fad910
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
...
git-svn-id: svn://10.0.0.236/trunk@174386 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 22:50:41 +00:00
timeless%mozdev.org
464be8ac2e
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174115 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 10:26:28 +00:00
mrbkap%gmail.com
23338fd153
bug 295531: Assert that we will have at least one node to paste. Triggering this assertion probably means the HTML parser is throwing away data. r=brade sr=smfr a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173998 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:39:35 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
jst%mozilla.jstenback.com
466764776f
Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@171770 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:22:45 +00:00
bzbarsky%mit.edu
2ed6c9fac8
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
jst%mozilla.jstenback.com
eaa2cccb13
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@171162 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:00:01 +00:00
mrbkap%gmail.com
250a34789c
bug 286465: Pass a document to ContentRemoved() so that it doesn't assert. r=glazou sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@171043 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 06:20:22 +00:00
scott%scott-macgregor.org
9880b9b613
Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
...
and editor hooks to call out to an inline spell checker component.
moa/r=glazman
sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
bryner%brianryner.com
8ed5dd41fb
Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@168595 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 23:47:26 +00:00
mrbkap%gmail.com
dd20b59fcf
bug 204615: Editor hangs when pasting a list fragment. r=brade sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@167746 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 21:49:16 +00:00
jst%mozilla.jstenback.com
20b5c08b39
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
...
git-svn-id: svn://10.0.0.236/trunk@167608 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:11:48 +00:00
bzbarsky%mit.edu
6cc2aafe00
Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
...
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167258 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 19:31:31 +00:00
bsmedberg%covad.net
3edf9d37c8
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
...
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
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