982 Commits

Author SHA1 Message Date
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
akkana%netscape.com
b005e67b4f 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@131463 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:22:27 +00:00
darin%netscape.com
616941008e revising my bustage fix
git-svn-id: svn://10.0.0.236/trunk@131462 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:18:41 +00:00
darin%netscape.com
c2b5539c07 fixes win32 bustage from akk's last checkin
git-svn-id: svn://10.0.0.236/trunk@131460 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:11:59 +00:00
akkana%netscape.com
1cd9257122 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@131455 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:24:23 +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
cmanske%netscape.com
b5d60d857b Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@131252 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 01:23:18 +00:00
jfrancis%netscape.com
fd9e439291 fix for 167585: the case of the disappearing cursor.
r=cmanske; sr=kin


git-svn-id: svn://10.0.0.236/trunk@130997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 13:52:14 +00:00
jfrancis%netscape.com
e09ae3ace1 fix for 170344: block operations failing at certain selection points. r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130446 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:56:23 +00:00
brade%netscape.com
1190f3a24a remove editorshell usage and fix some commands to emit all of the params needed to work; r=akk, sr=kin (bug 169231)
git-svn-id: svn://10.0.0.236/trunk@130142 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 12:41:24 +00:00
glazman%netscape.com
3d911d45f9 Fixes a crash when hitting backspace in Composer
b=167543, r=timeless, sr=kin


git-svn-id: svn://10.0.0.236/trunk@130134 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 08:57:04 +00:00
glazman%netscape.com
c5b53110a9 attributes VALIGN on TD and WIDTH/SIZE on HR were not CSSized when the elements are created in CSS mode.
b=169824, r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@130131 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 08:53:52 +00:00
jfrancis%netscape.com
71c1bfb9a7 fix for 168336: block operations crossing breaks incorrectly
r=fm
sr=kin


git-svn-id: svn://10.0.0.236/trunk@130103 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:28:55 +00:00
glazman%netscape.com
2ea99f5786 missing changes in nsHTMLEditor.cpp from bug 167712, solves minor problems in CSS mode of Composer, r=timeless, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130097 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:09:04 +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
brade%netscape.com
d02f0306a5 PreventDefault in html editors for normal typing (letters/numbers/etc) (bug 158672, r=timeless, sr=smfr)
git-svn-id: svn://10.0.0.236/trunk@129825 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 21:27:30 +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
bb9e89902c More for 124265 -- fix mac build: remove obsolete ApplyStyleSheet method from nsHTMLEditorLog (which only Mac was building). r=cmanske
git-svn-id: svn://10.0.0.236/trunk@129567 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 22:00:16 +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
4ea028e64a fix for 95654: inserting an <hr> creates a blank line after it
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@129522 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:31:11 +00:00
cmanske%netscape.com
29a9d1c6be Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129502 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 05:31:50 +00:00
cmanske%netscape.com
764dbe4dbf Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129501 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 05:24:26 +00:00
cmanske%netscape.com
8198a66a34 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129491 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 04:19:30 +00:00
glazman%netscape.com
63293fb579 in some cases, it was impossible to unbold selection in CSS mode, b=167510, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@129249 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 09:25: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
dfe90b74d6 fix for 166524: forward delete key changes line order.
r=brade
sr=kin
a=asa


git-svn-id: svn://10.0.0.236/trunk@128943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 04:27:06 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
jfrancis%netscape.com
7c2c2a1ee3 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128696 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 07:36:44 +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
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +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
jfrancis%netscape.com
62d2e71794 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127966 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
531d4ce862 fixes for:
159924:  table split up when applying paragraph style to select all
161723: backspace through list item when at beginning of document
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127964 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:11:25 +00:00
glazman%netscape.com
ff72c25261 Composer was unable to set upper-roman style to a list because it was erroneously lowercasing the html TYPE attribute; b=145311, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@127929 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 09:24:47 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +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
akkana%netscape.com
06192e5146 118883: Fix a leak of nsHTMLCSSUtils. r=glazman sr=kin
git-svn-id: svn://10.0.0.236/trunk@126557 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:02:10 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
jfrancis%netscape.com
86a10335a7 fix for 155629: deletion horked: cant delete br nodes. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@124659 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 01:12:49 +00:00
jfrancis%netscape.com
c54d33f095 updating 83378 work with the correct patch this time
git-svn-id: svn://10.0.0.236/trunk@124363 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 02:52:56 +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
5817b5739c Fix for bug 152435 (Memory leak of 36 bytes from 1 block allocated in TypeInState::ClearProp)
Call Reset() in ~TypeInState() to release any data that may be in mClearedArray and mSetArray.

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


git-svn-id: svn://10.0.0.236/trunk@123932 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:02:25 +00:00
glazman%netscape.com
0aa2a089cd nsHTMLEditor::GetInlinePropertyBase() was not detecting when the selection ends before first char of a text node; b=128401, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123498 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 09:20:07 +00:00
cmanske%netscape.com
3404165b95 Fixed crash when inserting column in table, b=152320, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123450 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 20:40:47 +00:00
akkana%netscape.com
8c220f972c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +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
jfrancis%netscape.com
97060bb3df bug 83378: plaintext mail reply editong problem in quotes
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:12:32 +00:00
jfrancis%netscape.com
ec1f2825a3 bug 146164: removing style can remove too much. r=glazman, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123151 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:04:47 +00:00
akkana%netscape.com
ac744a4bf8 132352: Use the parser service for blockness detection. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@123066 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:43:49 +00:00