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

85 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 6229129616 continuing the war on the Case Of The Happy Caret 2000-01-05 12:24:10 +00:00
jfrancis%netscape.com d6e95890c8 Fix for bug 21346. This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting). 2000-01-04 03:09:41 +00:00
buster%netscape.com 03ce06ed8d fixed bug 21032 ([regression] can paste multiple lines of text into a single-line text control)
when we were using <BR>'s in plaintext, this wasn't an issue.
when we switched to using \n, we needed to put in an extra check to transform CRLF to space.

partial fix bug 20387 (scroll bars appearing in single line text control)
part of the problem is we were leaving an empty text node lying around after inserting the bogus <br>
this induced layout to add a line after the <BR>, making the document in an empty text control too tall
Kin still has the task of hiding the scroll bar in certain situations, but this was the right thing to do
anyway.

r=kin
1999-12-24 15:48:48 +00:00
rods%netscape.com a45b5daae1 backing out change and reopening bugs 17303, 19426, the default case where input isn't specified
causes a lot of problems becuase of the style it needs.
r=self
1999-12-23 20:13:46 +00:00
rods%netscape.com f06bddeda0 removed the hard coded font-family in the PlaintextInitalStyle for the set flags
r=buster bugs 17303,19426
1999-12-22 19:41:11 +00:00
jfrancis%netscape.com 167f9c0b74 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved. 1999-12-07 08:30:19 +00:00
jfrancis%netscape.com c7b0e3bedd fix for bug 19130 - hitting escape during ime entry can leave editor without a caret. r=kin 1999-12-05 00:29:34 +00:00
jfrancis%netscape.com d4edc684b8 * ported the html editor work for the "caret doesn't move when i hit return" bug (16715) back to the plaintext editor. * fixed a paste/rules interaction problem (19367) * introduced an init time pass over html documents to populate empty list items and table cells with special breaks so that the user can click in them and actually get a caret * fixed some warnings r = floppy moose 1999-11-29 08:28:46 +00:00
jfrancis%netscape.com 3513eb0058 some fixes for deletion and also selection movement, contributed by Steve Clark. fixes bug 18537 (backspace can delete entire line); r = buster 1999-11-17 11:30:39 +00:00
akkana%netscape.com 1a67e1996b 18576: Enclose plaintext replies in a <pre> so they don't get wrapped,
and add appropriate edit rules to split pre tags when editing plaintext.
r=sfraser
1999-11-13 00:26:45 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
jfrancis%netscape.com 1e84beb217 fix for 17673;r=sfraser 1999-11-03 00:07:37 +00:00
jfrancis%netscape.com b92307002b changed bogus node type to br to get rid of annoying space in empty editors; r=kin 1999-11-02 21:35:21 +00:00
ftang%netscape.com c4deb92eb0 add debugging code. fix remove last uncomited IMEText. r=jfrancis 1999-10-27 22:56:36 +00:00
cmanske%netscape.com e7457117e4 Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser 1999-10-20 14:15:25 +00:00
buster%netscape.com 1a165ddf9b fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
buster%netscape.com 7a638a9c93 fixed some space leaks reported by kipp. no bug #, r=tague
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com c412022f4a revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com 1999-10-06 19:34:09 +00:00
jfrancis%netscape.com 9a79219861 revised UNDO; introduced first cut at the "mozdiv" typing rules 1999-09-29 20:08:15 +00:00
buster%netscape.com 49af0dba87 very simple extension of a fix already in place for bug 11804 1999-09-22 05:00:58 +00:00
brade%netscape.com c7afb94dcc warning cleanup 1999-09-21 22:32:39 +00:00
buster%netscape.com a8d68e70d4 most of the fix for bug 11804, type-in state wasn't properly removing
inline attributes from the next character entered (you're in a bold word
and user clicks bold button, should make next character not bold.)
all done except for font properties.
1999-09-20 04:20:18 +00:00
jfrancis%netscape.com 54d647b458 fixing a heap-o-undo problems and some mBogusNode problems 1999-09-20 01:31:44 +00:00
jfrancis%netscape.com a7f35e4051 fix for 13677 1999-09-17 23:15:12 +00:00
buster%netscape.com 1b1462e1dc fixed a warning 1999-09-17 20:17:22 +00:00
buster%netscape.com e52e18ffbf fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
in WillInsertText
1999-09-15 19:43:19 +00:00
buster%netscape.com 4195b67417 fixed bug 13669, wrong password when user typed with 1 or more characters selected 1999-09-14 00:11:22 +00:00
buster%netscape.com ffb3894fd2 fixed password editors, while maintaining output of empty HTML documents
fixes bug 13404, a blocker for enabling gfx text controls
1999-09-09 19:39:36 +00:00
sfraser%netscape.com 58b73017cb Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node). 1999-09-08 23:32:04 +00:00
jfrancis%netscape.com 9c28b6ac69 restoring 1.54 checkin: no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document. fix for bug 13251 is now in layout/src/base/nsRange.cpp 1999-09-08 05:30:48 +00:00
kin%netscape.com 7602564deb Fix for bug #13251: gfx text fields are not accepting input
Reenabled call to ClearSelection() in nsTextEditRules::WillInsert().
1999-09-07 22:47:50 +00:00
jfrancis%netscape.com 7f0b5337ce no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document. 1999-09-06 19:45:26 +00:00
bruce%cybersight.com 7c0a2d27b9 Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:22:51 +00:00
sspitzer%netscape.com 338479c025 it really scares me to see my password get sent to the console when I type it. it's scaring others, see #13061. wrapping this code with #ifdef DEBUG_<author>. I'll send them mail directly. 1999-09-03 08:31:33 +00:00
buster%netscape.com 8b33ec3088 fixed bug 12680 (password fields broken)
fixed bug 12489 (static contructors must be removed)
1999-08-30 22:11:09 +00:00
buster%netscape.com 796446129f added a special case to the output text rules for an empty document
(one that contains the bogus node)
1999-08-24 13:48:08 +00:00
jfrancis%netscape.com 34f6986b50 refactoring text insertion code; indent/outdent now work with lists and list items. 1999-08-24 08:56:51 +00:00
akkana%netscape.com de0fab64a7 Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings. 1999-08-20 22:39:48 +00:00
buster%netscape.com 3bc5912284 Fixed a ton of errors where we were not handling error results correctly.
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.
1999-08-19 13:30:48 +00:00
buster%netscape.com 5b65a4e45f moved handling of flags from rules constructor to rules init, so
rules code can call SetFlags with mEditor initialized and do real
processing if it wants to.
1999-08-09 18:39:49 +00:00
sfraser%netscape.com ac5099a587 Fix the nsTextEditRules init so that setting the flags works. 1999-08-09 18:22:13 +00:00
buster%netscape.com 503defd7f0 backed out my last change, it didn't fix the problem I thought it would. 1999-08-09 18:01:08 +00:00
buster%netscape.com 151ee02b62 call SetFlags from Init, so plaintext logic gets executed. 1999-08-09 17:44:14 +00:00
sfraser%netscape.com d73dfd8ddb Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup. 1999-08-09 01:37:50 +00:00
buster%netscape.com fd79be28bb fixed handling of text controls with a max length set 1999-08-07 05:29:41 +00:00
buster%netscape.com cc49e3182a Clean-up
1) fixed unit tests
2) fixed a bunch of leaks having to do with using enumerators.  Thanks for noticing these, Simon.
3) fixed a tiny problem in nsTextEditRules::WillDoAction().
This method was overly aggressive in checking input args, sel can be null for some operations.
1999-07-25 18:14:44 +00:00
jfrancis%netscape.com 491557ab29 making plaintext flag force a "white-space: pre" style on the body. this is a fix for bug 9153 1999-07-25 05:34:02 +00:00
mjudge%netscape.com c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
buster%netscape.com dca6c49edd replaced IID's with CID's where they were appropriate, and removed lots of
NS_DEFINE_IID macros in favor of GetCID() wherever I could.
plus some minor bug fixes.
1999-07-15 19:13:46 +00:00
mjudge%netscape.com 21700e5d88 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00