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
roc+%cs.cmu.edu
542467a8bd
deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron
2003-06-24 13:39:15 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
glazman%netscape.com
1a9f1eb39f
Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
2003-06-19 14:06:05 +00:00
stephend%netscape.com
6bbf274b5a
fixing typo - s/cahced/cache
2003-06-18 23:04:50 +00:00
jfrancis%netscape.com
cd0b8e3f86
bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin
2003-06-18 22:42:24 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
glazman%netscape.com
b9c1830777
Was impossible to outdent a subset of an indented block in CSS mode
...
b=194963, r=kaie, sr=kin
2003-06-17 09:35:46 +00:00
glazman%netscape.com
f73fa81318
Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
...
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose
2003-06-17 08:45:54 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
glazman%netscape.com
cec973c86c
error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin
2003-06-13 12:39:35 +00:00
brade%netscape.com
97e32dcb83
remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
2003-06-12 14:51:37 +00:00
peterv%netscape.com
ac331040e2
Fix HP-UX bustage from jfrancis checkin.
2003-06-12 11:20:00 +00:00
glazman%netscape.com
0eaa768b33
CSS indentation was not dropping non-editable nodes; b=203723, r=kaie, sr=peterv
2003-06-12 07:43:07 +00:00
jfrancis%netscape.com
592a5a8875
improvement to 140357 fix: reducing bloat of previous patch, extending functionality to css-mode editting, and improving TypeInState to recognize redundant selection change notifications.
...
fix for 208317: css-mode editing left empty spans around, which could cause disapearing carets
r=brade; sr=kin
2003-06-11 19:33:01 +00:00
kaie%netscape.com
5de9edf86e
b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
...
r=jfrancis sr=kin
2003-06-11 12:02:49 +00:00
kaie%netscape.com
e0c7f637b2
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
brade%netscape.com
d3eaab1a27
remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
2003-06-10 18:53:11 +00:00
brade%netscape.com
c616a1e4e6
add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
2003-06-10 18:52:31 +00:00
jfrancis%netscape.com
f3491fa767
bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin
2003-06-02 22:21:06 +00:00
timeless%mozdev.org
89d0916d06
Bug 205347 warning: `PRBool IsInlineNode(class nsIDOMNode *)' defined but not used
...
r=brade,jfrancis sr=sfraser
2003-05-23 22:10:06 +00:00
timeless%mozdev.org
f494b74da9
Bug 204076 Remove unused variable `PRBool sameNode' from nsHTMLEditorStyle.cpp:524
...
r=brade sr=tor
2003-05-23 21:55:17 +00:00
timeless%mozdev.org
dad022fd58
Bug 199989 Remove gNoisy code from libeditor.
...
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu
270d3909ca
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com
d484da106e
Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com
2003-05-21 00:42:32 +00:00
timeless%mozdev.org
46bd47de9e
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
glazman%netscape.com
b55b32437c
crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer
2003-05-16 09:08:03 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
kaie%netscape.com
a3443be3ff
b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
...
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:20:09 +00:00
kaie%netscape.com
684cee26a8
b=200417 backspace, enter keys have no visible impact
...
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:17:32 +00:00
brade%netscape.com
e417c0926a
api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066
2003-05-09 18:33:14 +00:00
brade%netscape.com
1e15da633f
api change to insertion filter to add flag for delete selection; r=timeless; sr= kin; a=asa; bug=204066
2003-05-09 18:32:50 +00:00
brade%netscape.com
0f98e1c43e
api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365
2003-05-09 18:30:02 +00:00
brade%netscape.com
d78e9d202c
cmd_clearUndo implementation; r/sr=smfr a=sspitzer bug 195506
2003-05-09 18:21:00 +00:00
brade%netscape.com
8795f96966
cleanup transferable hooks in editor; defer selection manipulation in plain text; ensure hooks are properly positioned (bug 203062) r=kaie, kin; sr=smfr
2003-04-25 21:05:32 +00:00
brade%netscape.com
a8b6dc06df
move docshell here to support hook utility methods (bug 203062; r=kin/kaie, sr=smfr)
2003-04-25 21:03:15 +00:00
brade%netscape.com
2e6c9d5ea4
missing hook from bug 192171 (r=brian johnson, sr=sfraser)
2003-04-22 20:32:59 +00:00
sfraser%netscape.com
352be220ed
Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
2003-04-22 18:11:12 +00:00
leon.zhang%sun.com
526c0515e9
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +00:00
alecf%netscape.com
6d56e591d2
fix for plaintext editor, fallout from bug 201982
...
sr=sfraser
2003-04-17 18:28:35 +00:00
brade%netscape.com
87edb79af7
editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr
2003-04-17 13:18:51 +00:00
jaggernaut%netscape.com
769b846b52
Bug 198546: Format -> Font submenu doesn't deal with "unknown" font. r=glazou, r=Neil, sr=bryner, moa=brade.
2003-04-17 07:35:55 +00:00
alecf%netscape.com
f364fe0cc0
fix for bug 201982 - r=brade, sr=smfr
...
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.
2003-04-17 05:42:33 +00:00
kaie%netscape.com
20a1398f5c
b=201974 Caret partially/completely visible with initial <p> </p>
...
r=jfrancis sr=sfraser
2003-04-16 20:18:41 +00:00
kaie%netscape.com
4c382bfcd4
b=68767 extra blank space added when block level element (hr, table) is inserted at the end of a line, between two lines
...
r=jfrancis sr=kin
2003-04-15 20:53:15 +00:00
brade%netscape.com
97a91a162b
add insertion listener; bug 192567 (r=jfrancis, sr=kin)
2003-04-15 14:07:30 +00:00
bzbarsky%mit.edu
97c2f70759
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
bzbarsky%mit.edu
3855c654eb
MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin
2003-04-13 04:30:16 +00:00
alecf%netscape.com
e260f1fcce
fix for bug 199170 - convert editor over to using nsStaticAtoms
...
r=brade, sr=sfraser
2003-04-10 21:04:07 +00:00
sfraser%netscape.com
f78fc1b8d8
Appease the Windows __stdcall gods. Bug 201257.
2003-04-10 20:45:17 +00:00
sfraser%netscape.com
abe53e192f
Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
...
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
kin%netscape.com
117932d74b
Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@
...
nsHTMLEditor::SetFinalSize]
- A one line fix in HideResizers() which prevents the
reported crash by setting mIsResizing to false. I assume
we can't be resizing if the resize handles are being hidden.
The assertion and null check in SetFinalSize() are just because
I'm paranoid, but they should never be triggered if HideResizers()
is called first.
- The changes in StartResizing() makes it so that we don't create
a new mouse motion listener if we already have one. We were
creating a new listener each time we clicked on the handles, and
never unregistering the old one ... this meant that the old
listeners could be triggered if the editor were ever destroyed
and the document left in tact ... allowing us to crash because the
listeners keep an un-addref'd pointer to the HTMLEditor. Note that
this crash is not likely to be hit in Mozilla since we always
destroy the document and editor in Composer and MailCompose, but
it can happen in an embedding context.
r=glazman@netscape.com sr=sfraser@netscape.com
2003-04-09 21:10:58 +00:00
kin%netscape.com
35f69e36ef
Fix for bug 200549:Double click selects just the image in a -moz-user-select:all
...
subtree
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
- jfrancis' fix for netscape bug 615240 (applying mozilla patch
on branch. Fixing problems of improper handling of del and
backspace keys with file attachments.) which was originally
landed in revision 1.445.6.3. This patch is necessary to make
the fix for bug 200549 work properly.
r=sfraser@netscape.com sr=kin@netscape.com
mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp
mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.h
- Modified nsHTMLEditorMouseListener::MouseDown() to
call FindUserSelectAllNode() so that the root of a
-moz-user-select:all subtree gets selected during
a double or context click.
- Modified nsHTMLEditorMouseListener so that it stores an nsHTMLEditor*
instead of an nsIEditor* so we could have access to FindUserSelectAllNode().
r=brade@netscape.com sr=sfraser@netscape.com
2003-04-07 14:32:23 +00:00
kin%netscape.com
85540751cd
Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
...
subtrees
mozilla/layout/html/base/src/nsFrame.cpp
- Added utility method ContentContainsPoint()
- Modified HandlePress() to allow selection of images, hrs and
-moz-user-select:all subtrees, and then disable selection
processing of drag events.
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
- Modified InsertFromDrop() so that it prevents a drop from
happening in a -moz-user-select:all subtree. (Temporary
workaround to avoid bug 195957 and bug 195959)
r=mjudge@netscape.com sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
kin%netscape.com
3d15b63ab6
Fix for bug # :Hiding resize handles triggers assertion in ~nsGenericHTMLElement()
...
Modfied DeleteRefToAnonymousNode() so that it set the content node's document and parent to nsnull.
r=brade@netscape.com sr=sfraser@netscape.com
2003-04-04 20:51:36 +00:00
kin%netscape.com
e665d2543f
Fixes for bug 192569 (allow foreign transactions to be added to the queue)
...
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp
- Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
can be called from JavaScript.
- Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
nothing happens outside the check of mUpdateCount.
- Modified PlaceholderTxn.cpp so that it checks to see
if a merged transaction implements nsPIEditorTransaction
before attempting to cast it to (EditorTxn*).
mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd
- Added debug menu items to test execution of foreign transactions
via the txnmgr and editor.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
kin%netscape.com
57f5813868
Fix for bug #195959 : Drop causes image in -moz-user-select:all subtree to be duplicated
...
Prevent nsHTMLEditRules::CreateStyleForInsertText() from trying to split non-container nodes.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2003-04-04 15:29:59 +00:00
jaggernaut%netscape.com
d5a82d57cc
Add defined(XP_MACOSX) to bail early when !mInIMEMode. r=brade, sr=lumpy
2003-04-04 13:26:12 +00:00
jaggernaut%netscape.com
1d19525bc6
Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv
2003-04-04 12:48:23 +00:00
sfraser%netscape.com
28c61bb42b
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
brade%netscape.com
66f3d3d732
require all users of htmleditor to have EditorOverride.css so resizing will work
...
; bug 196075; r=jfrancis, sr=bryner
2003-04-03 08:05:23 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
henry.jia%sun.com
a873e7e743
Patch for bug 35296: SetCaretEnabled() takes too long
...
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
bryner%netscape.com
c5358b6362
Oops, removing ^M characters. Fixing IRIX bustage.
2003-04-02 04:52:53 +00:00
bryner%netscape.com
d72672f317
Fix ctrl+enter in the mail compose window by getting rid of editor's key listeners in the client event pass entirely (everything now happens in the system event pass). r=brade, sr=sfraser.
2003-04-02 03:31:18 +00:00
dbaron%dbaron.org
66eee275cc
Remove unused file. b=198627 r+sr=sfraser
2003-04-01 19:32:59 +00:00
alecf%netscape.com
8c50d0242a
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
kin%netscape.com
37bbcaa643
Fix for bug 199133: mfc embed drag&drop doesn't work within same editor
...
Make DragOver() consume the drag event so that the default browser drag listener that is present during embedding, isn't triggered.
r=brade@netscape.com sr=dbaron@dbaron.org
2003-03-25 15:38:17 +00:00
glazman%netscape.com
f720ae0368
meta-fix for image and table resizing bugs in html editor
...
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin
2003-03-25 15:24:08 +00:00
timeless%mozdev.org
697618b07d
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com
e1391344c6
Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin.
2003-03-24 04:00:58 +00:00
jfrancis%netscape.com
16900e023b
fix for 189225: deleting text at beginning of line adds extra space.
...
r=brade; sr=kin
2003-03-23 20:49:49 +00:00
jfrancis%netscape.com
d65a91cf65
fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
...
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
jfrancis%netscape.com
58201a353d
fixes for:
...
178304 - deleting only char in text node places caret in previous block
174867 - caret in wrong place after delete-to-end in list
181898 - select into mailcite, type: inserted text is in cite
r=brade; sr=kin
2003-03-23 20:22:15 +00:00
jfrancis%netscape.com
96dbdb752a
fix for 161969: remove empty mailcites when editting
...
r=brade; sr=kin
2003-03-23 19:51:03 +00:00
sspitzer%netscape.com
a924d9950c
fix for bug #198624
...
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin
2003-03-22 17:22:22 +00:00
alecf%netscape.com
b6584a77fb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
ecf24a2b78
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
brade%netscape.com
a7e4f475f7
allow only compatible trasferable flavors (bug 196728, r=smfr, sr=kin)
2003-03-11 19:02:18 +00:00
glazman%netscape.com
d70ca15f52
remove a few lines of code that landed by mistake and cause trouble with embedded editor; b=195800, r=brade; sr=dbaron
2003-03-04 02:14:19 +00:00
sfraser%netscape.com
e1fbf0bdbe
Fix for bug 74404 -- show caret drag feedback. r=brade, sr=kin
2003-02-27 23:20:15 +00:00
sfraser%netscape.com
511b311820
Fix bug 74404: show caret drag feedback. r=brade, sr=kin
2003-02-27 23:09:51 +00:00
kin%netscape.com
3833230211
Fix for bug 191762 (dragged image doesn't land where it's dropped)
...
editor/libeditor/base/nsSelectionState.cpp
- Reworked the logic in SelAdjJoinNodes() to avoid adding aOldLeftNodeLength twice to the calculated offset when the start/end node is the parent.
editor/libeditor/html/nsHTMLDataTransfer.cpp
editor/libeditor/text/nsPlaintextDataTransfer.cpp
- Modified the InsertFromDrop() to use an nsAutoTrackDOMPoint, instead of relying on range gravity, to calculate the correct insert position after deleting the current selection.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2003-02-27 14:53:03 +00:00
glazman%netscape.com
7a9303b6e6
missing files for b=47066, r=brade,cmanske, sr=kin
2003-02-24 10:18:18 +00:00
glazman%netscape.com
7d058dbd34
Allow mouse-driven resizing of images and tables in all instances of editor.
...
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.
b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin
2003-02-24 09:37:18 +00:00
jkeiser%netscape.com
295267a863
Make double-click on text in composer select word again (bug 193689), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2003-02-22 08:12:11 +00:00
jkeiser%netscape.com
bd4cc85eeb
Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2003-02-22 08:10:46 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
neil%parkwaycc.co.uk
f2567d8f8b
Bug 87321 Shift+Tab has duplicate behavior (event handled twice in message compose) r=brade sr=sspitzer a=asa
2003-02-04 12:12:55 +00:00
neil%parkwaycc.co.uk
d0d0ce6b5b
Bug 186195 Space disappears when editing a word at the end of a block p=jfrancis r=brade sr=kin a=asa
2003-02-03 11:47:13 +00:00
timeless%mozdev.org
865dd1bf56
Bug 186643 del key at the end of the urlbar asserts
...
r=jfrancis sr=bz
2003-01-19 00:46:56 +00:00
cbiesinger%web.de
3a031bcf35
89203 r+sr=roc+moz missed a file when I did the IBMBIDI removal from editor
2003-01-18 14:42:02 +00:00
darin%netscape.com
4cde0a57b1
fixing more mac build bustage
2003-01-18 04:21:04 +00:00
cbiesinger%web.de
e3e8585471
remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc
2003-01-17 11:11:10 +00:00
timeless%mozdev.org
eafe5e1701
Bug 186668 nsWSRunObject::DeleteChars uses a constant Count() while removing elements
...
r=jfrancis sr=bz
2003-01-16 19:27:50 +00:00
jst%netscape.com
53dbf78a7a
Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
2003-01-14 23:05:52 +00:00
sspitzer%netscape.com
c8e1ff5409
fix for #188946 . crasher when you delete a smiley.
...
this was caused by the checkin for #114713
there is still problems with delete of smileys, but that's
an existing bug. r/sr=bryner.
2003-01-14 22:08:42 +00:00
jfrancis%netscape.com
5d27f46889
fix for 187662: first return in empty doc does nothing. r=brade; sr=kin
2003-01-11 00:06:29 +00:00
glazman%netscape.com
8feaaee1c8
just removing useless duplicate code; b=188486, r=Neil, r=brade, sr=peterv
2003-01-10 13:46:44 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
cb9bcc2e25
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 19:51:43 +00:00
dbaron%dbaron.org
098bd15103
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 19:35:36 +00:00
seawood%netscape.com
d5efcdfb6d
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
jfrancis%netscape.com
4735e23c71
179384 Merging blocks via forward delete sends selection to front of document
...
correcting snafu from prior landing.
2002-12-22 07:48:32 +00:00
jfrancis%netscape.com
18d72537a9
editor fixes for:
...
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field (patch courtesy of Shotaro Kamio)
r=jfrancis,brade,cmanske sr=kin
2002-12-22 01:51:14 +00:00
glazman%netscape.com
4fba82f4ba
Text alignment feedback erroneous in Composer; b=183887, r=jfrancis, sr=peterv
2002-12-19 14:10:50 +00:00
nhotta%netscape.com
dc755ed5d9
Adding a new interface to retrieve phonetic of input text,
...
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
seawood%netscape.com
b24b5a1d1f
Forte 7 linker requires that search directories come *before* libraries that reside in those search dirs.
...
Fixing build bustage.
2002-12-17 22:13:01 +00:00
glazman%netscape.com
6902e2698a
part of fix bustage, peterv's on the mac side
2002-12-13 12:32:31 +00:00
glazman%netscape.com
63432076dc
fixing bustage, so it was not my last checkin...
2002-12-13 10:17:42 +00:00
glazman%netscape.com
3df3751822
fixing regression in composer, it was impossible to set foreground and background color; b=184505, r=brade, sr=kin, q=is this my last checkin?
2002-12-13 08:56:21 +00:00
sfraser%netscape.com
bc3050dae4
Remove duplicate text services files, which fixes a bug with the mac build picking up the wrong source and header files (bug 184935). This fixes bugscape bug 21720.
2002-12-12 22:42:53 +00:00
kin%netscape.com
932d3a3e86
sfraser's fix for commercial blocker bugscape bug 21720 (Spell checker fails find misspelled words (crash on exit from spellchecker)), which is caused by bugzilla bug 184935 (Mac build picks up the wrong nsTextServicesDocument.cpp; spell checking busted)
...
This patch fixes the editor project to search mozilla/editor/txtsvc before
mozilla/libeditor/, adds nsFilteredContentIterator.cpp, and adds #error to the
unused files.
r=jfrancis@netscape.com sr=kin@netscape.com
2002-12-12 18:04:31 +00:00
jfrancis%netscape.com
c42d7a17e4
fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa
2002-12-12 01:05:53 +00:00
sdagley%netscape.com
36a2413fd9
Backing out jfrancis - back to v1.67
2002-12-10 20:24:49 +00:00
jfrancis%netscape.com
0951bcb9cb
fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa
2002-12-10 18:32:58 +00:00
rods%netscape.com
338d74b952
Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
...
Bug 173046 r=jfrancis sr=kin a=asa
2002-12-10 15:03:04 +00:00
bzbarsky%mit.edu
fe53f95e60
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +00:00
cmanske%netscape.com
6d49c2f2a3
Move caret to text position with rt click. b=181547, r=rods, sr=sfraser
2002-11-30 18:59:34 +00:00
dbaron%fas.harvard.edu
de5585e5e7
Remove unused parser-related code. b=130439 r=harishd sr=jst
2002-11-28 19:43:51 +00:00
cmanske%netscape.com
411cfc84da
Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser
2002-11-27 00:35:09 +00:00
akkana%netscape.com
e6706d6b93
162083: fix ctrl-delete to delete by words, not to end of line. r=brade sr=bzbarsky
2002-11-26 23:01:12 +00:00
akkana%netscape.com
b0bfc05f8e
110378: Don't lose data when head is rewritten to HEAD. r=brade sr=kin
2002-11-26 22:15:30 +00:00
glazman%netscape.com
eb42c1bab7
Coalesce similar inline nodes in Composer's CSS mode; b=179055, r=jfrancis, sr=peterv
2002-11-25 13:41:26 +00:00
sicking%bigfoot.com
d34de45a4d
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 12:44:03 +00:00
caillon%returnzero.com
82090ec342
Bug 181442 - Convert editor's pref usage to the new pref APIs.
...
r=brade sr=kin
2002-11-23 01:26:58 +00:00
jfrancis%netscape.com
0c756dc3b3
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
2002-11-22 03:30:59 +00:00
jfrancis%netscape.com
a84b9db355
reland fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
2002-11-22 01:03:08 +00:00
kin%netscape.com
cdc1d363e4
Fix for bug 173553: flawfinder warnings in editor/libeditor/html/nsHTMLEditorLog.cpp
...
Changed all occurrences of sprintf() to snprintf(). Removed format arg from WriteInt().
r=brade@netscape.com sr=sfraser@netscape.com
2002-11-18 15:43:19 +00:00
jfrancis%netscape.com
feb7bc04fd
152419: Pressing ENTER after adding styles to text does not move caret to next line.
...
r=brade
sr=kin
2002-11-17 03:11:45 +00:00
jfrancis%netscape.com
17dd2f90ae
fix for 172147: URL in composition "decoration" continues on next line
...
r=brade
sr=kin
2002-11-17 01:37:29 +00:00
jfrancis%netscape.com
716db33760
fix for 143338: Word wrap of double space incorrect in HTML mailcompose
...
r=glazman
sr=kin
2002-11-17 01:25:30 +00:00
jfrancis%netscape.com
9714ebc7da
fix for 101544: Text color does not change if change is made and no text is typed then the color is changed again. Also fixes 163712: changing font takes no action.
...
r=brade
sr=kin
2002-11-17 01:03:20 +00:00
bryner%netscape.com
54d2337482
nsTextServicesDocument should be #ifdef'd out when building the plaintext editor only. Fixing phoenix build bustage.
2002-11-14 02:23:08 +00:00
bryner%netscape.com
8701185e5c
Fix --enable-plaintext-editor-only build bustage by removing nsTextEditorReg.cpp (which was needless duplication and easy to forget to update) and just adding plaintext #ifdefs in nsEditorRegistration instead. Bug 177333, r=jfrancis, sr=sfraser.
2002-11-14 00:29:33 +00:00
brade%netscape.com
b57b38a037
Cut when no selection should just return NS_OK (not error which causes JS to throw an error); bug 178725, r=akkana, sr=kin
2002-11-13 21:21:28 +00:00
cmanske%netscape.com
09f188f039
Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
2002-11-12 23:30:29 +00:00
cmanske%netscape.com
722881b278
Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
618370e4d8
ok, that didn't make the AIX compiler happy enough, and I trust it over
...
all our other ones, so...
2002-11-12 22:23:11 +00:00
bzbarsky%mit.edu
f93df3a67a
fix windows linker bustage
2002-11-12 20:35:59 +00:00
bzbarsky%mit.edu
fe11056d5d
Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
...
places. Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
12635e7ebd
fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin
2002-11-10 15:11:08 +00:00
bryner%netscape.com
8beac694e3
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
2002-11-09 00:25:25 +00:00
glazman%netscape.com
111e73ee7b
inline styles were not merged after a SetInlineProperty() call; b=178667, r=jfrancis, sr=kin
2002-11-08 08:54:42 +00:00
jfrancis%netscape.com
51f6c73127
64647: implement "Paste without Formatting"; r=akkana; sr=sfraser
2002-11-07 13:04:37 +00:00
jfrancis%netscape.com
466d469a3f
fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
2002-11-07 11:38:08 +00:00
jfrancis%netscape.com
aff3feaaf7
fix for 169586: Plaintext is always pasted in default font not the one in context. r=brade; sr=kin
2002-11-07 11:29:37 +00:00
jfrancis%netscape.com
c9ea01935e
fix for 164060: Drop link into list item makes cursor jump to next item; r=fm; sr=kin
2002-11-07 11:26:26 +00:00