1849 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
d641d76b28 Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218554 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:28:33 +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
peterv%propagandism.org
539c6ed3e3 Part of fix for bug 340674 (Clean up some editor transactions code). r=glazman, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@218197 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 14:38:02 +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
Olli.Pettay%helsinki.fi
d8d314d9b0 Bug 365798, IME leaks nsPrivateTextRangeList objects, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217718 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:32:10 +00:00
Olli.Pettay%helsinki.fi
16c1b7501d Bug 176024, possible memleak in IMETextTxn::CollapseTextSelection, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@217694 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 19:39:28 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +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
martijn.martijn%gmail.com
c28db3bd2c Bug 355395 - Misspelled words in text areas cause all following text to disappear during print, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215310 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 06:39:25 +00:00
cvshook%sicking.cc
ff69f339f4 Don't use ranges when getting the value of a textfield since we get the value in the middle of tearing down a document. b=359674 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215023 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 08:43:26 +00:00
mrbkap%gmail.com
10f4e54168 Add an API on the presshell for invalidating the caret if it isn't currently
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +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
caillon%redhat.com
79ced9fea2 Bug 97811.
Add nsILookAndFeel::GetPasswordCharacter() to allow toolkits to specify their platform password character.
Implement this for GTK+ 2 by grabbing the property from GtkEntry.
Make editor ask nsILookAndFeel for the platform password character.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214020 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-23 20:48:05 +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
smontagu%smontagu.org
cc3863cd7b Make word-delete behaviour when there is a selection follow platform conventions. Bug 350564, r=glazman, sr=neil
git-svn-id: svn://10.0.0.236/trunk@213434 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 16:50:50 +00:00
neil%parkwaycc.co.uk
3efbf1903e Editor needs strong references to its editor observers b=278677 r=glazou sr=roc
git-svn-id: svn://10.0.0.236/trunk@213350 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 15:41:26 +00:00
neil%parkwaycc.co.uk
e2368d20a6 Actually pass the correct offset and length when deleting text b=352520 r=glazou,aaronlev sr=roc
git-svn-id: svn://10.0.0.236/trunk@213168 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 13:20:30 +00:00
aaronleventhal%moonset.net
7a886a6ae8 Bug 352520. Backspace when deleting last char from URL bar crashes. Wallpaper fix for now. Patch by smontagu. r=aaronlev, sr=neil.
git-svn-id: svn://10.0.0.236/trunk@212834 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 22:02:20 +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
martijn.martijn%gmail.com
3d79216d64 Bug 332811 - Backspace in readonly input triggers history.back() (part 2), r=mats.palmgren, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@210007 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 08:23:33 +00:00
neil%parkwaycc.co.uk
05dbfc6a18 Fix misplaced ) in debug-only code b=344423 r=aaronlev sr=jag
git-svn-id: svn://10.0.0.236/trunk@209703 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 13:48:13 +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
aaronleventhal%moonset.net
3814b69d7e Bug 344423. Backspace notifications off by 1
git-svn-id: svn://10.0.0.236/trunk@208807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 14:17:05 +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
brettw%gmail.com
6b5a6bf522 Bug 347561 r+sr=bryner Spellchecker crashes when causing destroy notifications to be flushed
git-svn-id: svn://10.0.0.236/trunk@206729 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 18:10:28 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
pamg.bugs%gmail.com
22934e7775 Bug 339434: Crash trying to spellcheck in a closed window. Patch by pkasting@google.com. r=brettw, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203331 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 01:15:57 +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
uriber%gmail.com
635bd815f7 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
masayuki%d-toybox.com
7346dd1fa7 Bug 271815 GTK2 IM over-the-spot doesn't work with Chinese IM because the editor doesn't return correct caret position r=timeless, sr=roc
git-svn-id: svn://10.0.0.236/trunk@200297 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 15:00:58 +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
peterv%propagandism.org
7a73f4805e Fix for bug 340674 (Clean up some editor transactions code - unused code). r=glazman, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@199499 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 12:47:24 +00:00
Olli.Pettay%helsinki.fi
e68ad696a2 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz
git-svn-id: svn://10.0.0.236/trunk@196563 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 19:35:12 +00:00
timeless%mozdev.org
e240332496 Bug 336984 Useless null check of aNewLeftNode in nsEditor::SplitNode
r=neil sr=neil


git-svn-id: svn://10.0.0.236/trunk@196299 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 13:25:30 +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
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00