Commit Graph

1958 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
d82d580d5d Bug 338129, r=glazman, sr=neil 2006-06-15 07:31:01 +00:00
roc+%cs.cmu.edu
8ac789f331 Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky 2006-06-15 03:20:19 +00:00
peterv%propagandism.org
02314cbe01 Fix for bug 340674 (Clean up some editor transactions code - unused code). r=glazman, sr=sicking. 2006-06-08 12:47:24 +00:00
Olli.Pettay%helsinki.fi
b9c2cdd0a8 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz 2006-05-15 19:35:12 +00:00
timeless%mozdev.org
8f7341d7e8 Bug 336984 Useless null check of aNewLeftNode in nsEditor::SplitNode
r=neil sr=neil
2006-05-11 13:25:30 +00:00
timeless%mozdev.org
e0725bc241 Bug 334298 GetCSSFloatValue uses f uninitialized in a case that doesn't happen
r=glazou sr=neil
2006-05-06 21:53:37 +00:00
timeless%mozdev.org
bb97bc429d Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen
r=neil sr=neil
2006-05-06 21:46:55 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
mrbkap%gmail.com
f03e3f47ba Backing out these changes since they were strictly unnecessary and they cause other problems. 2006-04-27 22:34:07 +00:00
mrbkap%gmail.com
177391dbad Be paranoid about the given indices and never return a null DOM from the paste (in success conditions). bug 335609, r+sr=jst 2006-04-27 00:20:27 +00:00
mrbkap%gmail.com
6c8f801dcc Don't bother hiding the caret anymore. bug 334608, r=brade sr=roc 2006-04-26 19:56:58 +00:00
roc+%cs.cmu.edu
4667a9b409 Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
mrbkap%gmail.com
4f82ca73c0 Fix the relationship between nsHTMLEditor::CreateDOMFragmentFromPaste and nsHTMLEditor::InsertHTMLWithContexet to avoid duplicate calculations. bug 333063, r=neil sr=jst 2006-04-25 20:13:46 +00:00
sharparrow1%yahoo.com
67d4723e36 Bug 334416: Misc view usage cleanups. r+sr=roc. 2006-04-18 06:05:24 +00:00
mrbkap%gmail.com
e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
masayuki%d-toybox.com
6fb048961a Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc 2006-04-11 16:37:58 +00:00
mrbkap%gmail.com
84a85a393c Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst 2006-04-10 20:49:02 +00:00
uriber%gmail.com
4ad7a7f650 Bug 331846: Can't indent/outdent RTL blocks in Composer and Design Mode. r=timeless sr=bzbarsky 2006-04-10 17:37:44 +00:00
mrbkap%gmail.com
6038f53eaa Allow pasting single cells from excel into an HTML editor. bug 228920, r=neil sr=jst 2006-04-06 22:48:55 +00:00
dbaron%dbaron.org
b1335d688b Fix backspace/delete on non-BMP characters for plaintext editor. b=237585 r=smontagu sr=roc 2006-04-04 00:57:55 +00:00
gerv%gerv.net
a54a4e6372 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:10 +00:00
neil%parkwaycc.co.uk
00c6a7988b Fix issues rebuilding <body> attributes from source b=331894 r=glazou sr=mscott 2006-03-28 16:36:40 +00:00
Olli.Pettay%helsinki.fi
ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
martijn.martijn%gmail.com
73959f4bc2 Bug 309599 - crash in nsIHTMLEditor::insertHTML, r=brade, sr=jst 2006-03-24 01:52:07 +00:00
uriber%gmail.com
ba0d30b880 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc 2006-03-23 08:20:29 +00:00
martijn.martijn%gmail.com
821df10a37 Bug 327623 - nsHTMLEditor::SelectElement crashes if passed null argument, patch by Tony Goold, r=timeless, sr=neil 2006-03-16 12:41:57 +00:00
bzbarsky%mit.edu
6e8df6adb8 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
smontagu%smontagu.org
68fd2fbdfe Add a user option to allow delete and backspace to delete immediately even if the character to be deleted is visually distant from the caret location. Bug 328834, r=uriber@gmail.com, sr=roc 2006-03-07 06:03:37 +00:00
smontagu%smontagu.org
598b829047 Correcting a comment, bug 329079, r/rs=daniel@glazman.org 2006-03-02 10:39:16 +00:00
bzbarsky%mit.edu
eba05eced8 Don't walk off the root element when looking for backgrounds. Bug 328331, r+sr=jst 2006-02-24 04:54:10 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
uriber%gmail.com
2985e93c64 White-space fixes I promised to do for Bug 327107 but forgot 2006-02-21 17:35:22 +00:00
uriber%gmail.com
6330aca26a Bug 327107: After using backspace[delete] to remove a single LTR character in RTL text, the next press on backspace[delete] has no effect. r=smontagu sr=roc 2006-02-21 17:30:16 +00:00
bzbarsky%mit.edu
542b79dc49 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst
2006-02-12 22:05:33 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
c4f20f9306 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
bryner%brianryner.com
ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
cvshook%sicking.cc
23c3e06ad5 Fix build bustage 2005-12-28 22:55:54 +00:00
cvshook%sicking.cc
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
peterv%propagandism.org
f669a54d09 Fix for bug 299343 (Can't copy and paste into the beginning of a line). r/sr=jst. 2005-12-22 15:05:41 +00:00
timeless%mozdev.org
f675dea5f2 Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag
2005-12-20 20:12:54 +00:00
neil%parkwaycc.co.uk
8943c9e329 Remove plaintext editor's outdated event listener removal code that caused dangling event listener crash (regression from bug 303713) b=319732 r+sr=dbaron 2005-12-11 09:26:29 +00:00
neil%parkwaycc.co.uk
16be705a3d Bug 303713 Allow content to type into textfields using key events r+sr=jst 2005-12-09 11:23:54 +00:00
brettw%gmail.com
b9193728c5 Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
neil%parkwaycc.co.uk
2abff0c576 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 2005-11-30 11:01:37 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
837c203ca4 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 2005-11-26 22:10:03 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
masayuki%d-toybox.com
7e718780b3 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc 2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
3767450b23 backing out previous patch b=55751 2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
94e3cfbe0c Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc 2005-11-14 21:32:16 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
mkaply%us.ibm.com
fd87e71b83 #243270
r/sr=mkaply, a=mtschrep (OS/2 only)
Patch from Rich Walsh - allow dragging from HTML editor windows
2005-11-09 16:20:25 +00:00
mats.palmgren%bredband.net
7980f99519 Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc 2005-10-17 00:54:02 +00:00
mats.palmgren%bredband.net
c5eb47073a Middle-click on scrollbar should not paste. b=70698 r+sr=bzbarsky 2005-10-08 10:08:18 +00:00
smontagu%smontagu.org
f17d278be9 Bug 118629: Set the caret hint when inserting text so that the caret appears on the same line as inserted text not ending with a newline, and on the line following text ending with a newline. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-10-06 08:19:51 +00:00
aaronleventhal%moonset.net
fd97041e21 Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr 2005-10-04 03:14:03 +00:00
smontagu%smontagu.org
3c6dcebbdd Bug 308023: Bidi: Caret positioned incorrectly after deleting last character of reverse-direction text and then typing. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-09-27 08:35:05 +00:00
mozilla.mano%sent.com
001f97197c Bug 303781 - Bidi: In RTL text in a textarea, deleting a blank line requires pressing 'Backspace' twice. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc. 2005-09-18 14:13:40 +00:00
bzbarsky%mit.edu
818aafcc15 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
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu
84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
peterv%propagandism.org
7069fad3ab Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu
142211a0cb Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!) 2005-08-22 03:00:06 +00:00
bzbarsky%mit.edu
9aa3066a02 More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
2005-07-15 21:41:47 +00:00
bryner%brianryner.com
a4d5bb719d Fix crash due to orphaned editor anonymous content (bug 297926). r+sr=bzbarsky, a=bsmedberg 2005-07-13 16:45:58 +00:00
bzbarsky%mit.edu
c6c7c99fe7 Hold an nsWeakPtr ref to presshell like everyone else, not a raw weak ref. Bug
299494, r=brade, sr=jst, a=asa
2005-07-08 20:36:47 +00:00
masayuki%d-toybox.com
f35c148172 Bug 294168 IME transaction of Undo/Redo buffer is broken when selected text is deleted by IME input r=timeless, sr=sfraser, a=chofmann 2005-06-21 03:42:39 +00:00
peterv%propagandism.org
fbc8799da6 Another try to fix btek. 2005-06-16 22:57:46 +00:00
peterv%propagandism.org
2e61f5d7aa Trying to fix btek bustage. 2005-06-16 21:52:44 +00:00
peterv%propagandism.org
4cb41ef640 Trying to fix btek bustage. 2005-06-16 21:20:57 +00:00
peterv%propagandism.org
1d34606d5f Trying to fix btek bustage. 2005-06-16 19:56:21 +00:00
peterv%propagandism.org
13e87d6df0 Trying to fix btek bustage. 2005-06-16 18:44:01 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
peterv%propagandism.org
555cc2a1f9 Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa. 2005-06-16 12:58:13 +00:00
timeless%mozdev.org
fa7b43f831 Bug 224678 nsComposerRegistration.cpp has suspicious code
new cid
r=brade sr=smfr a=asa
2005-06-16 01:53:37 +00:00
jst%mozilla.jstenback.com
8d5c773824 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 2005-06-09 22:50:41 +00:00
dougt%meer.net
77acfc52b7 Bug 295481. WINCE Fixes. This includes changes to make the makefiles do the right thing if we try to build Minimo and XUL together. These changes rs=bsmedberg. Further WINCE fixes in GFX and Widget. r=emaijala, sr=rbs, a=asa. 2005-06-08 16:48:44 +00:00
timeless%mozdev.org
3fc95f8e53 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
2005-06-03 10:26:28 +00:00
mrbkap%gmail.com
55f4e01523 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 2005-06-01 22:39:35 +00:00
bzbarsky%mit.edu
2a3fd9ee10 Remove a tad more code. r=sicking, sr=peterv, a=asa 2005-04-21 21:27:46 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
02c43f3a5e Don't create an unneeded selection object when serializing and editor. Bug
290350, r=sfraser/brade, sr=peterv, a=brendan.
2005-04-18 22:14:53 +00:00
bzbarsky%mit.edu
d0f85afecf Fix crashes due to editor not removing its listeners properly on document
teardown.  Bug 289379, r=sfraser, sr=jst, a=asa
2005-04-11 17:53:28 +00:00
jst%mozilla.jstenback.com
21b9cb088d Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-04-06 02:22:45 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
masayuki%d-toybox.com
83809fc251 Bug 286804 Newline improperly getting into single-line edit field. r=timeless, sr=neil.parkwaycc.co.uk 2005-03-25 16:37:14 +00:00
jst%mozilla.jstenback.com
006a859d7d Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-03-24 19:00:01 +00:00
mrbkap%gmail.com
513516a9bc bug 286465: Pass a document to ContentRemoved() so that it doesn't assert. r=glazou sr=neil 2005-03-23 06:20:22 +00:00
timeless%mozdev.org
10c1d75093 Bug 285974 Crash when we use ATOK on the other of editor[@ nsWindow::OnIMEQueryCharPosition]
patch by masayuki@d-toybox.com r=timeless sr=roc
2005-03-18 06:17:59 +00:00
timeless%mozdev.org
deb268915a Bug 278058 non-editable and disappearing character exists on password field when using ATOK
patch by masayuki@d-toybox.com r=timeless sr=bz
2005-03-07 12:25:26 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
scott%scott-macgregor.org
39c443dabd 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
2005-02-01 21:12:53 +00:00
bzbarsky%mit.edu
949dc5fa14 Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +00:00
bryner%brianryner.com
f575a675b2 Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
dougt%meer.net
7e7d3c39d0 fixes 280237. WinCE build stuff. r+sr=jst 2005-01-28 23:06:42 +00:00
mozilla.mano%sent.com
a8ef008033 Bug 279416 - Implement a controller for cmd_switchTextDirection. r=brade sr=neil (for editor/) r=smontagu sr=neil (for xpfe/) r=mconnor (for browser/) 2005-01-26 01:40:30 +00:00
bzbarsky%mit.edu
905bf0a35a Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
mrbkap%gmail.com
6c794eecb3 bug 204615: Editor hangs when pasting a list fragment. r=brade sr=dveditz 2005-01-14 21:49:16 +00:00
jst%mozilla.jstenback.com
2e66280fae 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 2005-01-12 19:11:48 +00:00
bzbarsky%mit.edu
99df5c71c0 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
jshin%mailaps.org
2002afaacf bug 163572 : converted string is inserted every time space key is pressed patch by masayuki@d-toybox.com (r=pinkerton,bryner,amardare,emaijala,sfraser,roc, sr=bryner,sfraser,roc) 2004-11-13 11:27:09 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
jst%mozilla.jstenback.com
6e6735b4b4 Fixing bug 265728. Don't paste on middle click from events not generated by the user. r+sr=bryner@brianryner.com 2004-10-24 06:34:06 +00:00
aaronleventhal%moonset.net
ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
bzbarsky%mit.edu
89ae6d1ad4 Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc
2004-10-11 15:34:45 +00:00
bzbarsky%mit.edu
07bdf724f4 nsRangeUtil should be a service. Make use of it for ComparePoints() as well.
Bug 262833 and bug 262832, r=glazou, sr=jst
2004-10-10 03:30:42 +00:00
roc+%cs.cmu.edu
6c4ebb2c18 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
bzbarsky%mit.edu
e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
dbaron%dbaron.org
cab30c29b3 Slightly better fix for crashes. b=96108 r=neil sr=bzbarsky a=asa 2004-09-25 06:22:48 +00:00
mats.palmgren%bredband.net
a5719f6c71 Use SafeObjectAt() when array is potentially empty. b=260771 b=261120 r=bzbarsky sr=dbaron a=asa 2004-09-24 20:23:16 +00:00
jshin%mailaps.org
ac1975a071 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com> 2004-09-12 05:00:57 +00:00
smontagu%smontagu.org
596da04448 Backout last checkin because of build bustage 2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
efa975d2f7 Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers. 2004-09-11 07:13:12 +00:00
dbaron%dbaron.org
96c0e36f4e 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 2004-09-10 06:45:59 +00:00
neil%parkwaycc.co.uk
65128184bc Bug 255914 Fix editor not to try to create elements with empty tag names r=brade sr=peterv 2004-08-25 17:03:33 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
peterv%propagandism.org
68a084b8c7 Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst. 2004-08-19 12:45:47 +00:00
peterv%propagandism.org
f0d5139d7d Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst. 2004-08-06 11:56:46 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
neil%parkwaycc.co.uk
06cd01a9b0 Bug 251686 Old body not deleted when switching out of HTML source mode r=glazou sr=dmose 2004-07-21 09:57:49 +00:00
pkw%us.ibm.com
d42947291e 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
2004-07-20 15:53:35 +00:00
neil%parkwaycc.co.uk
70e4938611 Make RebuildDocumentFromSource smarter to fix regression caused by previous patch to bug 192557 r=brade sr=mscott a=sspitzer 2004-07-07 22:34:20 +00:00
mkaply%us.ibm.com
daee29ebe3 #206716
r=mkaply, sr=kin
Patch from glazou - don't use the lowercased CSS value if the value is case sensitive
2004-06-28 12:43:49 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
smontagu%smontagu.org
82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
smontagu%smontagu.org
281ec7953b Test for kOpInsertIMEText as well as kOpInsertText for platforms where right-to-left text is inserted by IME. Bug 243931, patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=roc. 2004-05-31 12:15:21 +00:00
louie.zhao%sun.com
6d30739384 bug 243809 M17rc2 mozilla crash at [@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons]
r = daniel
sr= jst
2004-05-24 02:55:40 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39 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
2004-05-22 17:04:53 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com
7d1dbeb3a8 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. 2004-04-30 23:55:16 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bzbarsky%mit.edu
26cdb24398 Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.
2004-04-15 22:14:39 +00:00
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
daniel%glazman.org
a430943829 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 2004-04-09 13:55:59 +00:00
brade%comcast.net
09425f7571 don't dirty editor if there are no transactions and undo or redo are called (bug 237834; r=glazman, sr=kin, a=asa) 2004-03-26 14:20:04 +00:00
sicking%bigfoot.com
fc084e0c73 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
brade%comcast.net
6018b87e5f fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose 2004-03-04 18:47:49 +00:00
scott%scott-macgregor.org
a02852bfaf supplimental fix for bug #228879 2004-03-02 17:34:22 +00:00
scott%scott-macgregor.org
b2a499791c 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
2004-03-02 16:03:56 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jshin%mailaps.org
f6310cfd79 bug 208095: crashes when ASCII characters are entered before any characters that go through an XIM server. patch by smontagu, r=katakai, sr=sfraser, a=choffman 2004-02-14 00:22:15 +00:00
jst%mozilla.jstenback.com
feda3ad1b7 Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org 2004-02-11 21:31:53 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
daniel%glazman.org
3255664481 fixes annoying assertion in the editor: b=217906, r=brade, sr=kin 2004-02-06 14:34:54 +00:00
jst%mozilla.jstenback.com
2edea76468 Fixing debug build bustage. 2004-01-30 21:09:49 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
scott%scott-macgregor.org
daab80dc6d Bug #229203 --> thunderbird needs new liness converted to commas when pasting into single cell text boxes.
This comes up when pasting address data from spreadsheet programs into the addressing widget. This pref cannot be turned on for seamonkey because it effects all single line text boxes.

r=glazman, moa=glazman
sr=bienvenu
2004-01-29 16:55:01 +00:00
daniel%glazman.org
f8a9b202b8 Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron 2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
84428dc828 Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
bryner%brianryner.com
ef5c330583 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. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org
db653ec4e3 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
bzbarsky%mit.edu
8093efd14c 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
2004-01-13 23:14:49 +00:00
smontagu%smontagu.org
7a8aed8d34 Make Ctrl+Delete and Ctrl+Backspace delete words in the expected direction in right-to-left text. Bug 209430, r=daniel@glazman,org, sr=dbaron@dbaron.org 2004-01-12 23:39:40 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
daniel%glazman.org
e192f6607b 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 2004-01-09 20:52:07 +00:00
bryner%brianryner.com
e65d2d2fe5 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. 2004-01-07 22:30:53 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
jst%mozilla.jstenback.com
4183787fa9 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. 2003-11-19 01:20:56 +00:00
timeless%mozdev.org
d594242b8a Bug 225991 DRefTool analysis for editor files
r=roc sr=roc
2003-11-17 20:45:37 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com
4e813663f9 Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa 2003-10-24 23:01:30 +00:00
bryner%brianryner.com
605cc06382 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. 2003-10-22 06:09:48 +00:00
neil%parkwaycc.co.uk
2d04a18bbc Bug 221719 Disable Composer's Paste As Quotation menuitem in the subject and address fields r=brade sr=alecf 2003-10-10 19:02:28 +00:00
mozeditor%floppymoose.com
9db6cb6a5b 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 2003-10-09 22:08:59 +00:00
mozeditor%floppymoose.com
0231ae7e05 removing bogus comments 2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 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. 2003-09-27 04:18:26 +00:00
uid502
1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com
de8419d89d Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser 2003-09-20 05:59:44 +00:00
dbaron%dbaron.org
506e1cf947 Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2003-09-13 19:18:52 +00:00
bryner%brianryner.com
2406bc1ed4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:05:34 +00:00
scott%scott-macgregor.org
c26ce97cd5 Bug #216753 --> Message compose should not automatically convert HTML attributes to CSS styles.
Fix this by setting a flag in editor to not use CSS styles for the background image.

Then back out my fixes in mailnews to work around the inline style editor was giving us. 

With this change, mail compose now handles background images again and they are preserved when you save as draft 
or save as template.

r=neil
sr=bienvenu

a=glazman for the editor change

a=asa for 1.5 final
2003-09-05 17:49:36 +00:00
brade%comcast.net
246cf5a850 remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054) 2003-09-03 13:58:00 +00:00
brade%comcast.net
f1dedc3d24 remove redundant code and unused variables, cleanup (r=glazman, sr=tor, a=asa, bug=216054) 2003-09-03 13:56:21 +00:00
brade%comcast.net
8b0ca47657 add helper methods for dealing with pixels; reduce string usage; code cleanup (r=glazman, sr=tor, a=asa, bug=216045) 2003-09-03 13:54:36 +00:00
brade%comcast.net
4d1f72cf19 fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045) 2003-09-03 13:49:22 +00:00
scott%scott-macgregor.org
2a8f81be02 fix for bug #216581
Rewrap is broken

thanks to Akkana (akkzilla@shallowsky.com) for the fix

r=brade a=sspitzer for 1.5 final
2003-09-03 04:17:45 +00:00
scott%scott-macgregor.org
5375ac67e1 Note: the editor portion of this change is to a routine only used by mailnews.
Make mail news handle inline background url styles which is how editor now sets background urls instead of using the obsolete background attribute on the body:

Bug #116867 --> convert background images from file urls to inline cid urls and attach the image as an inline part.This allows thunderbird and mozilla mail to support background images again.

Bug #170504 --> Compose from template/draft containing "Inline Styles" and a background image loses the background image drops the
inline style.

r=bienvenu
sr=sspitzer
a=sspitzer
2003-08-18 05:18:05 +00:00
jfrancis%netscape.com
1f94461b27 fix for bugs 192507 and 181677. r=brade; sr=kin; 2003-07-31 07:09:42 +00:00
timeless%mozdev.org
5ecd2e0bb8 Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
r=glazou sr=bz
2003-07-29 14:48:44 +00:00