255 Commits

Author SHA1 Message Date
dprice%netscape.com
909c21583e fixing 37980, r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:11:23 +00:00
jfrancis%netscape.com
4a240e0ec1 partial fix for bug 30763
git-svn-id: svn://10.0.0.236/trunk@68002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:34:34 +00:00
anthonyd%netscape.com
1ddf298e06 r: mjudge
disabled selection (grey selection) excludes input fields now.


git-svn-id: svn://10.0.0.236/trunk@67670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:55:13 +00:00
mjudge%netscape.com
aacbb20c68 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:20:36 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
akkana%netscape.com
b2aefd93c7 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.


git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
brade%netscape.com
845b272d31 for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate)
git-svn-id: svn://10.0.0.236/trunk@67113 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:15:33 +00:00
scc%netscape.com
0dbeaa04b3 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66693 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:33:45 +00:00
anthonyd%netscape.com
10a34f6e1b drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
akkana%netscape.com
0e6558edd8 6276: Add wrapping support for mail.
git-svn-id: svn://10.0.0.236/trunk@66579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:45:54 +00:00
akkana%netscape.com
c965d13ea1 Wrapping code, useful for citers and perhaps other code
git-svn-id: svn://10.0.0.236/trunk@66571 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:32:56 +00:00
akkana%netscape.com
eb9b9e717d 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.


git-svn-id: svn://10.0.0.236/trunk@66336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:39:10 +00:00
scc%netscape.com
979b51638c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66274 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:52:02 +00:00
scc%netscape.com
4f0c5e3591 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:44:58 +00:00
akkana%netscape.com
35155abf7c 35814: add clipboard type to editor paste methods, and call the right type
git-svn-id: svn://10.0.0.236/trunk@66040 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:38:21 +00:00
cmanske%netscape.com
d2540f15c6 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs
git-svn-id: svn://10.0.0.236/trunk@65942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:19:31 +00:00
jfrancis%netscape.com
86d514b5e7 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
git-svn-id: svn://10.0.0.236/trunk@65879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:50:19 +00:00
cmanske%netscape.com
20170b35d2 Fixed spell checker bug 34479. r=akkana, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:17:54 +00:00
jfrancis%netscape.com
d806359a89 cleanup and small bug fixes
git-svn-id: svn://10.0.0.236/trunk@64637 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:57:19 +00:00
akkana%netscape.com
7b657af921 33705: obey middlemouse.paste pref in the editor
git-svn-id: svn://10.0.0.236/trunk@64544 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:23:47 +00:00
jfrancis%netscape.com
74811a7572 re-enable password field code
git-svn-id: svn://10.0.0.236/trunk@64491 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 14:04:26 +00:00
jfrancis%netscape.com
97c011ae42 turning back on password field handling in editor
git-svn-id: svn://10.0.0.236/trunk@64490 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 13:45:08 +00:00
jfrancis%netscape.com
973e5a251c making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code.
git-svn-id: svn://10.0.0.236/trunk@64489 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 12:53:23 +00:00
scc%netscape.com
99d2180703 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:39:08 +00:00
jfrancis%netscape.com
386e43e682 improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)


git-svn-id: svn://10.0.0.236/trunk@63948 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:26:47 +00:00
mjudge%netscape.com
c7f7d6d46f r=jfrancis. small change to stop the editor from scrolling window when it DOESNT handle a key event
git-svn-id: svn://10.0.0.236/trunk@63675 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:30:16 +00:00
akkana%netscape.com
7eb76da572 Fix paste as quotation
git-svn-id: svn://10.0.0.236/trunk@62802 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:57:38 +00:00
akkana%netscape.com
168bf9aee5 28279: Joe checked in most of the changes to fix quoting, and this
is the rest to remove some extra blank lines. r=jfrancis, a=rickg.


git-svn-id: svn://10.0.0.236/trunk@61693 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:26:46 +00:00
jfrancis%netscape.com
50f00945bf fixes for the following bugs:
27914, 27305, 28690, 14608, 27306, 28757
These fixes reviewed by cmanske, apprvd rickg;

also fix for 28724 (caret positioning problems)
reviewed by mjudge, apprvd by jar.


git-svn-id: svn://10.0.0.236/trunk@61653 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:39:30 +00:00
mjudge%netscape.com
bd3464bac7 a=jar r=sfrasier,jfrancis,akkana bug for editor find not working
git-svn-id: svn://10.0.0.236/trunk@61477 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 05:07:42 +00:00
akkana%netscape.com
f8712fd6cf 27908: Fix multiple keyboard pastes by disabling ProcessShortCutKeys (finally!) r=brade, a=jar
git-svn-id: svn://10.0.0.236/trunk@61316 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 21:32:26 +00:00
jfrancis%netscape.com
4a8620372e fixes for:
27959 - delete broken in editor
24694 - cant get out of link insertion
r=sfraser; a=phil


git-svn-id: svn://10.0.0.236/trunk@61213 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 19:40:18 +00:00
akkana%netscape.com
ec8cee7ba0 24694: Create the bogus node after newly inserted non-text nodes. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@61021 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:11:39 +00:00
jfrancis%netscape.com
88f2fed7a0 fix for 27699: ime text insert screwed up for single line edit fields
git-svn-id: svn://10.0.0.236/trunk@60985 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:53:31 +00:00
jfrancis%netscape.com
056f231676 implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
git-svn-id: svn://10.0.0.236/trunk@60127 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 12:53:34 +00:00
jfrancis%netscape.com
a8e66f4adc fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@59974 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 02:48:36 +00:00
jfrancis%netscape.com
3362dad1b5 fix for 25452 (plain text widgets break IME escape key). checked in on behalf of katakai@japan.sun.com; r=jfrancis
Thanks Katakai!


git-svn-id: svn://10.0.0.236/trunk@59969 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 01:42:14 +00:00
akkana%netscape.com
c0b58e45df 22505 workaround: force plaintext editors to use font-family: monospace to make wrapping work. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@59807 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:39:31 +00:00
pinkerton%netscape.com
c3f43e5f26 native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc.
git-svn-id: svn://10.0.0.236/trunk@59409 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:26:21 +00:00
akkana%netscape.com
831fa6d5c7 22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@58667 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:57:37 +00:00
kin%netscape.com
cccef73207 Fix for bug #24253: [REGRESSION] Redo adds newlines instead of redoing.
mozilla/editor/base/nsEditor.cpp
    mozilla/editor/base/nsEditor.h
      - Added IsMozEditorBogusNode() method.

    mozilla/editor/base/nsTextEditRules.cpp
      - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
        MozEditorBogusNode so that it doesn't create more than one.
      - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().

r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58161 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:45:35 +00:00
buster%netscape.com
4433134a07 removed hard-coded white background now that background colors work for lazily-instantiated
text controls.
completes the fix for bug 9074
r=rods


git-svn-id: svn://10.0.0.236/trunk@58061 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 01:51:36 +00:00
jfrancis%netscape.com
de4c509f39 fix for 21412 - backspace wouldn't remove list items in html editor.
In addition some improvements were made to the adjustment of selection after an edit action (example: backspacing through a list item now pops you up to the previous item)


git-svn-id: svn://10.0.0.236/trunk@58013 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 12:41:34 +00:00
jfrancis%netscape.com
741109ca3f fixed 24114 - password fields showing the real text
git-svn-id: svn://10.0.0.236/trunk@58005 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 10:24:25 +00:00
jfrancis%netscape.com
3384856d4f * fixed 19596;
* fixed 23597;
* fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #)
* partial fix for current paragraph style not being properly reported in the composer toolbar.  (no #)


git-svn-id: svn://10.0.0.236/trunk@57934 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 14:29:29 +00:00
jfrancis%netscape.com
861057611a fixed bug 20613 & 21121: both invloved newlines in preformatted text. Layout gives no frames for blanklines caused by newlines, so you cant click or arrow to them. I replace such newlines with breaks now.
fixed 21196: select all no longer selects the special break we use in empty documents (this would cause an invisible selection).

fixed 21430: choosing a new alignment in an empty doc used to do nothing.  Now it works but I've exposed a selection bug inthe process...

fixed 22225: a little unintended re-entrancy caused multiple breaks to be inserted in empty table cells when doc read in.


git-svn-id: svn://10.0.0.236/trunk@57668 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 10:17:35 +00:00
rods%netscape.com
4c2fe057b7 removed the hard-coded font for text editor controls
b 17303 r=buster


git-svn-id: svn://10.0.0.236/trunk@57550 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 15:37:39 +00:00
jfrancis%netscape.com
a39f1285ba fix for 23551: plaintext mail quoting broken. editor rules code was unaware that we were utting html elements into plaintext (namely pre, used to contain the quote). fixed.
git-svn-id: svn://10.0.0.236/trunk@57502 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 02:58:57 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
jfrancis%netscape.com
8f19524dca added in some rules code for mail quoting. This
fixes bug: 19979   (extra blank line showing up in
mail that has quotes)

partial progress on block transformation work:
unlisting a list now works mostly correctly again,
instead of merging all the former list items into
one run of text (no bug number).

Moz-br's are now added in one more circumstance:
when you have a br at the end of some inline
content that is followed by a new block (like a
list, table, etc.).  This is needed for the same
reason that the other moz-br's are: to generate a
blank line that the user expects after hitting
return. (no bug number)

DTD-related work to enable the editor to check if
you should be able to type given the current
selection.

fixed bug 22944: inserting an <A> in a table
splits the table.

Made some progress on text paste performance, but
it's still too slow.  That's 19273, which I'm
leaving open

fixed bug 15258:  selection capable of getting out
of the body element.

fixed a bug where code that merged adjacent text
nodes would merge the non-editable "formatting"
textnodes, (no bug number).  Added code to prevent
selection from ending up inside a non-editable
text node.

fix for 11994, an IME bug.


git-svn-id: svn://10.0.0.236/trunk@57272 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 10:13:58 +00:00