1049 Commits

Author SHA1 Message Date
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
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
cvshook%sicking.cc
9b518d687c Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@186682 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 22:55:54 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
peterv%propagandism.org
12aa736c96 Fix for bug 299343 (Can't copy and paste into the beginning of a line). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@186416 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 15:05:41 +00:00
neil%parkwaycc.co.uk
d37c9c2d6e 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
git-svn-id: svn://10.0.0.236/trunk@185431 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 11:01:37 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
b6ab5f2399 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
git-svn-id: svn://10.0.0.236/trunk@185291 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-26 22:10:03 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
mkaply%us.ibm.com
af3d389643 #243270
r/sr=mkaply, a=mtschrep (OS/2 only)
Patch from Rich Walsh - allow dragging from HTML editor windows


git-svn-id: svn://10.0.0.236/trunk@184350 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 16:20:38 +00:00
bzbarsky%mit.edu
dfe3e9b0bc 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


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu
ebc997bcf6 More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:28:51 +00:00