Граф коммитов

1906 Коммитов

Автор SHA1 Сообщение Дата
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
brade%netscape.com a2b4921bae fix compiler warning 2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu 5fa37ec6f3 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
brade%netscape.com c0ab0f2b29 more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683 2003-07-28 20:31:08 +00:00
brade%netscape.com 41c493c4ca fix tinderbox bustage 2003-07-28 14:27:49 +00:00
brade%netscape.com ee332541d8 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com 4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
brade%netscape.com dbe0fc80cf reduce string usage by using atom version of method; r/sr=dbaron, bug=213101 2003-07-19 08:51:54 +00:00
brade%netscape.com f506ba963b fix includes; r=kaie, sr=tor, bug=180316 2003-07-18 19:03:34 +00:00
brade%netscape.com d36b4b2d9b editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
brade%netscape.com 3b47d61cef fix bug found when reading source, replace ending space to match intent and version 1; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:09:34 +00:00
brade%netscape.com b66b6a8011 call GetIsDocumentEditable which will check CanModify for us; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:06:21 +00:00
brade%netscape.com 1dc8f45c00 remove misplaced #ifdef NS_DEBUG; bug 209548 2003-07-18 13:06:18 +00:00
brade%netscape.com ec16b2466e remove misplaced #ifdef NS_DEBUG 2003-07-18 13:04:46 +00:00
brade%netscape.com ec16552a3a use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
brade%netscape.com 55cece0652 code cleanup (remove some NS_LITERAL_STRINGs in favor of existing ut
ility methods); r=cmanske, sr=tor, bug=209548
2003-07-17 23:44:13 +00:00
bryner%brianryner.com bde4b5494e Fixing --enable-plaintext-editor-only bustage (bug 209548). Patch by brade, r/sr=me. 2003-07-16 22:19:59 +00:00
brade%netscape.com 6bedaabb65 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu b69b2abd98 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 9cb380a7ff Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
brade%netscape.com 04402fc7a2 remove unused local variable; fixes warning; no bug, no reviewers 2003-07-08 22:12:04 +00:00
brade%netscape.com 13cfbbcb35 fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:38:51 +00:00
brade%netscape.com 673b9351fd editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:35:09 +00:00
brade%netscape.com 9371323b42 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
brade%netscape.com 44a2105094 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
CVS ----------------------------------------------------------------------
2003-07-08 20:18:18 +00:00
kin%netscape.com f8f9d8592a Fix for bug 211378 (Unable to paste into editor widgets with middle mouse button)
Modified MouseUp() and MouseClick() so that they call thru to the base class versions. This regression was caused by the fix for bug 137092.

r=brade@netscape.com  sr=bzbarsky@mit.edu
2003-07-08 17:38:13 +00:00
bzbarsky%mit.edu 0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
bryner%netscape.com dfd3c1dd7a Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
brade%netscape.com ed3d11ddae code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 19:10:53 +00:00
brade%netscape.com b09e279a38 code cleanup continued; r=timeless, sr=kin, bug=209548 2003-06-30 18:55:06 +00:00
brade%netscape.com eb37ab13c3 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 17:28:52 +00:00
brade%netscape.com cfe03fb3da code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 15:02:48 +00:00
brade%netscape.com 446fa1708a remove unused headers, r=timeless, sr=kin, bug=209548 2003-06-30 14:59:04 +00:00
brade%netscape.com d188ae1ca0 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:57:59 +00:00
brade%netscape.com 15f77abce7 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:56:22 +00:00
brade%netscape.com 9b6d727de6 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:46:41 +00:00
brade%netscape.com d77dfe0b8d code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:41:55 +00:00
brade%netscape.com 2b032d24d7 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:39:27 +00:00
brade%netscape.com 3bad714491 code cleanup, r=timeless, sr=kin, bug 209548 2003-06-30 14:33:23 +00:00
brade%netscape.com 47c5c6c0c9 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:31:48 +00:00
brade%netscape.com f2833330f5 code cleanup; r=timeless; sr=kin; bug=209548 2003-06-30 14:24:40 +00:00
brade%netscape.com bbf1d39ea2 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:20:49 +00:00
brade%netscape.com ed5455cfe0 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:17:15 +00:00
brade%netscape.com f9845cebad code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:14:01 +00:00
brade%netscape.com 31816e5b91 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:05:25 +00:00
brade%netscape.com c8e110e87c code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 13:42:22 +00:00
brade%netscape.com 920f7b4f36 NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
kin%netscape.com 655f4dff39 jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp

    - Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.

r=brade@netscape.com  sr=kin@netscape.com
2003-06-25 19:21:59 +00:00
glazman%netscape.com 0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00