609 Commits

Author SHA1 Message Date
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
jfrancis%netscape.com
7ca2eee5b9 179384 Merging blocks via forward delete sends selection to front of document
correcting snafu from prior landing.


git-svn-id: svn://10.0.0.236/trunk@135566 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 07:48:32 +00:00
jfrancis%netscape.com
dab8e009ec 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


git-svn-id: svn://10.0.0.236/trunk@135560 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:51:14 +00:00
nhotta%netscape.com
3a03e1c043 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@135438 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:38:04 +00:00
rods%netscape.com
3f0a190da8 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@135030 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 15:03:04 +00:00
dbaron%fas.harvard.edu
ec61a6b0ab Remove unused parser-related code. b=130439 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@134577 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:43:51 +00:00
akkana%netscape.com
b038a6f9c6 162083: fix ctrl-delete to delete by words, not to end of line. r=brade sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134503 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 23:01:12 +00:00
caillon%returnzero.com
9641b989dd Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
jfrancis%netscape.com
8247e85525 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:30:59 +00:00
cmanske%netscape.com
6d236babea 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
git-svn-id: svn://10.0.0.236/trunk@133708 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:30:29 +00:00
cmanske%netscape.com
d6cc98279b 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
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
83f54c2bcb ok, that didn't make the AIX compiler happy enough, and I trust it over
all our other ones, so...


git-svn-id: svn://10.0.0.236/trunk@133694 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 22:23:11 +00:00
bzbarsky%mit.edu
b797fc1248 fix windows linker bustage
git-svn-id: svn://10.0.0.236/trunk@133690 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 20:35:59 +00:00
bzbarsky%mit.edu
04bc7e2dbf Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
dd06260172 fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133536 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 15:11:08 +00:00
dbaron%fas.harvard.edu
9d9406d6d8 Fix leak of transactions. b=174123 r=jfrancis sr=kin a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131996 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:48:05 +00:00
jfrancis%netscape.com
9197e52f81 fix for 171243: redo broken
r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@131486 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 23:06:38 +00:00
jfrancis%netscape.com
397f1dc55c fix for 164054: Place selection at first visible content on editor doc load
r=brade
sr=kin


git-svn-id: svn://10.0.0.236/trunk@131481 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 22:53:55 +00:00
brade%netscape.com
6f4e5503ee remove unused CIDs (r=mjudge/sr=kin/bug 121648)
git-svn-id: svn://10.0.0.236/trunk@131304 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 14:21:34 +00:00
bryner%netscape.com
1c65aed91b Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@130850 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:16:51 +00:00
cmanske%netscape.com
24399b90ef Rearrange initialization of member vars to avoid build warning, fix by walker84@yahoo.com, b=169780, r=cmanske, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@130250 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 17:34:50 +00:00
cmanske%netscape.com
7b1780cf51 Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +00:00
glazman%netscape.com
2f30b4784e fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 12:04:59 +00:00
akkana%netscape.com
a2c8efc800 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129543 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:47:38 +00:00
jfrancis%netscape.com
c5787e7e02 fix for 162874: editor actions can cause asserts in range code.
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@129520 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:12:30 +00:00
brade%netscape.com
bcf7afd202 api changes (bug 157097, r=cmanske, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@129377 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:09:19 +00:00
brade%netscape.com
c708fb5227 remove unused nsCOMPtrs (bug 157097, r=cmanske, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@129368 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:02:47 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jfrancis%netscape.com
09d3e8e707 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128444 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 07:49:31 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
glazman%netscape.com
00757df453 Take advantage of fix for bug 60683 (thanks bz) in ChangeCSSInlineStyleTxn and then reduce a lot the size of the transaction, keeping only property values instead of a whole style attribute ; major memory impact in CSS mode; b=162473, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@127697 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 11:28:57 +00:00
glazman%netscape.com
1bb26c5aaa fixing crash in Composer when head sub-elements are displayed; b=162062, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127147 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 10:01:52 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
kin%netscape.com
fa152a3def Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
64b7f510fc fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
jfrancis%netscape.com
9611b56ac2 more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these.
git-svn-id: svn://10.0.0.236/trunk@119382 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:43:19 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
jfrancis%netscape.com
937e3eda32 fixing 136944: crash typing in editor. r=fm sr=kin
git-svn-id: svn://10.0.0.236/trunk@118944 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 23:54:59 +00:00
glazman%netscape.com
bb46744574 Allow Composer's users to remove named anchors w/o having to use Source View; b=80742; r=brade, r=jfrancis, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@118746 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:33:30 +00:00
jfrancis%netscape.com
f81c6987d5 fixes for bugs:
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful


git-svn-id: svn://10.0.0.236/trunk@118389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:07:47 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
akkana%netscape.com
e752937005 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@117419 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 22:39:19 +00:00