1061 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
fee226ad16 Bug 336160 – Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@228039 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 08:22:47 +00:00
peterv%propagandism.org
22d4ae38a0 Fix for bug 372544 ([Midas] Tab spacing is inconsistent). Patch by Mathieu Fenniak (mfenniak-moz@mathieu.fenniak.net), r/sr=me.
git-svn-id: svn://10.0.0.236/trunk@226946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 13:00:53 +00:00
Olli.Pettay%helsinki.fi
30ac6877b1 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226456 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 08:50:37 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
cbiesinger%web.de
d23681e4b8 Bug 375878 remove users of Recycle()
patch by taras glek r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@222663 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 22:44:22 +00:00
dbaron%dbaron.org
e81955cfa2 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
benjamin%smedbergs.us
52320bee57 Bug 347664 - move editor from a standalone component to be part of gklayout, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220876 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 20:07:06 +00:00
uriber%gmail.com
6dd6923266 Fix typo from bug 348854, causing backspace to sometimes delete the wrong character. bug=369959 r=brettw sr=bryner
git-svn-id: svn://10.0.0.236/trunk@220479 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 15:47:58 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi
b4141f77ed Bug 358415, Crash [@ nsHTMLCSSUtils::GetCSSInlinePropertyBase] when inputing title of new blog entry on blogger.com before page is entirely loaded up, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218432 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 17:04:16 +00:00
bzbarsky%mit.edu
8c351facb0 Implement the proposed Web Apps 1.0 API for changing the selected style sheet
set, querying the available sets, etc.  Bug 200930, r=sicking, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +00:00
martijn.martijn%gmail.com
2bdb1ce8b1 Bug 363960 – Crash when clicking on the image inside a designMode-enabled IFRAME [@ nsHTMLEditor::SetShadowPosition], r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218171 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 22:44:29 +00:00
mats.palmgren%bredband.net
77dba5b664 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215416 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 00:48:56 +00:00
cvshook%sicking.cc
bbe30fbc89 Bug 359121: Fix regression in editor from previous range checkins. nSDetach wasn't the same as Detach after all. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214573 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 02:14:57 +00:00
daniel%glazman.org
cf28151017 changing 'paragraph mode' discards attributes; b=358368, r/sr=neil@httl.net
git-svn-id: svn://10.0.0.236/trunk@214409 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-30 14:55:04 +00:00
cvshook%sicking.cc
09384ee7f3 bug 358073: Kill useless/redundant functions on nsIDOMNSRange. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214136 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 21:53:03 +00:00
scott%scott-macgregor.org
7727a1e2f3 Bug #356327 --> Pasted windows clipboard images don't show up in the compose
window. Close the file stream before we insert the image into the document.
r=glazman


git-svn-id: svn://10.0.0.236/trunk@213748 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 15:05:00 +00:00
scott%scott-macgregor.org
c3c9f5d708 Bug #223909 --> add editor support for pasting images from the clipboard into an HTML editor instance.
r/moa=glazman


git-svn-id: svn://10.0.0.236/trunk@213513 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 20:30:06 +00:00
daniel%glazman.org
14e8c3744e Merging two paragraphs using delete or backspace left an unwanted BR element; b=322207; r=neil@httml.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@210009 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 08:27:04 +00:00
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
bugzilla%arlen.demon.co.uk
e27bbbf53f Bug 132257 Inserting a link to a [network][image] file into a message inserts the physical file!
p=me/ducarroz r=daniel/neil sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@209382 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 22:09:52 +00:00
martijn.martijn%gmail.com
5be8dd598d Backing out the patch for bug 287707, since it is causing smoketest blocker bug 351057
git-svn-id: svn://10.0.0.236/trunk@209016 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 19:51:05 +00:00
martijn.martijn%gmail.com
799e7c3b2b Bug 287707 - After page had designmode on, there are still several issues, r=daniel, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@208981 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 09:32:57 +00:00
wr%rosenauer.org
bca5e6cf27 Bug 349726 - fixed crash in nsHTMLCSSUtils::GetDefaultViewCSS, r=timeless, sr=neil
git-svn-id: svn://10.0.0.236/trunk@208284 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 05:09:35 +00:00
gavin%gavinsharp.com
9a06c1ccd4 Bug 348854: Fix merge error from checkin for bug 345587, patch by Ryan VanderMeulen <ryanvm@gmail.com>, r=brettw, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@208069 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-21 23:33:28 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
brettw%gmail.com
2ee9ada619 Bug 345587 r=bryner sr=sicking Spellchecker hangs when replacing word
git-svn-id: svn://10.0.0.236/trunk@206793 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 00:22:52 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
mats.palmgren%bredband.net
52e67f6769 Fix crash when destroying an editor that was never Init()'ed. b=325386 r=timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@200169 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-17 00:17:26 +00:00
Olli.Pettay%helsinki.fi
237dd6302f Bug 338129, r=glazman, sr=neil
git-svn-id: svn://10.0.0.236/trunk@199956 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 07:31:01 +00:00
roc+%cs.cmu.edu
29cf24ae1d Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199937 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:20:19 +00:00
timeless%mozdev.org
24550285b9 Bug 334298 GetCSSFloatValue uses f uninitialized in a case that doesn't happen
r=glazou sr=neil


git-svn-id: svn://10.0.0.236/trunk@196116 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:53:37 +00:00
timeless%mozdev.org
b45f12f200 Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen
r=neil sr=neil


git-svn-id: svn://10.0.0.236/trunk@196115 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:46:55 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
a5c20ee1b3 Be paranoid about the given indices and never return a null DOM from the paste (in success conditions). bug 335609, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195482 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 00:20:27 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
mrbkap%gmail.com
a3f03c22c8 Fix the relationship between nsHTMLEditor::CreateDOMFragmentFromPaste and nsHTMLEditor::InsertHTMLWithContexet to avoid duplicate calculations. bug 333063, r=neil sr=jst
git-svn-id: svn://10.0.0.236/trunk@195382 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 20:13:46 +00:00
mrbkap%gmail.com
0e40b92d36 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@194040 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:49:02 +00:00
uriber%gmail.com
3c5f9d9672 Bug 331846: Can't indent/outdent RTL blocks in Composer and Design Mode. r=timeless sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194012 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:37:44 +00:00
mrbkap%gmail.com
f8aa93ef4c Allow pasting single cells from excel into an HTML editor. bug 228920, r=neil sr=jst
git-svn-id: svn://10.0.0.236/trunk@193757 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 22:48:55 +00:00
neil%parkwaycc.co.uk
4aceae762e Fix issues rebuilding <body> attributes from source b=331894 r=glazou sr=mscott
git-svn-id: svn://10.0.0.236/trunk@193130 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 16:36:40 +00:00
martijn.martijn%gmail.com
f2ad16c18f Bug 309599 - crash in nsIHTMLEditor::insertHTML, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192896 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 01:52:07 +00:00
uriber%gmail.com
60d1fa7f53 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192841 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:20:29 +00:00
bzbarsky%mit.edu
fed75ccda3 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192316 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 17:12:41 +00:00
bzbarsky%mit.edu
ff5b8af1e4 Don't walk off the root element when looking for backgrounds. Bug 328331, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@191133 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 04:54:10 +00:00
bzbarsky%mit.edu
f3768bfe85 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189804 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 22:05:33 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00