201 Commits

Author SHA1 Message Date
rods%netscape.com
e2e7d1da9b removed the hard coded font-family in the PlaintextInitalStyle for the set flags
r=buster bugs 17303,19426


git-svn-id: svn://10.0.0.236/trunk@56391 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:41:11 +00:00
saari%netscape.com
c5b4a238c8 Fix for PDT+ bugs 21602 and 21648. r=joki
git-svn-id: svn://10.0.0.236/trunk@56055 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 22:04:43 +00:00
ftang%netscape.com
c02259352d fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
git-svn-id: svn://10.0.0.236/trunk@55702 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:39:36 +00:00
jfrancis%netscape.com
edba5add24 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.
git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:30:19 +00:00
ftang%netscape.com
199df01b45 add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
jfrancis%netscape.com
c211707ae9 fix for bug 19130 - hitting escape during ime entry can leave editor without a caret. r=kin
git-svn-id: svn://10.0.0.236/trunk@55324 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 00:29:34 +00:00
ftang%netscape.com
07f07a9e71 change debug code.
git-svn-id: svn://10.0.0.236/trunk@54832 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:35:31 +00:00
akkana%netscape.com
f82ef1e272 20348: Make alt the modifier for Unix, and generally clean up code. r=brade
git-svn-id: svn://10.0.0.236/trunk@54764 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 21:58:00 +00:00
pinkerton%netscape.com
f277a4033c removing obsolete d&d code and changing from CID's to progID's in d&d code. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@54636 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:10:55 +00:00
pinkerton%netscape.com
a613ecae8f eat drag gesture events for now. r=saari
git-svn-id: svn://10.0.0.236/trunk@54619 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:35:35 +00:00
jfrancis%netscape.com
ed38a43f75 * 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


git-svn-id: svn://10.0.0.236/trunk@54561 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 08:28:46 +00:00
jfrancis%netscape.com
1b34dda41b some fixes for deletion and also selection movement, contributed by Steve Clark. fixes bug 18537 (backspace can delete entire line); r = buster
git-svn-id: svn://10.0.0.236/trunk@53771 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 11:30:39 +00:00
brade%netscape.com
2529ac0ca6 fix bug 14624 (don't handle tab key twice). r=kin@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@53652 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 14:41:03 +00:00
beard%netscape.com
9a5f66247d pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
git-svn-id: svn://10.0.0.236/trunk@53444 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 02:51:25 +00:00
akkana%netscape.com
9d3b32781e 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


git-svn-id: svn://10.0.0.236/trunk@53381 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 00:26:45 +00:00
akkana%netscape.com
bada3e794d Oops, citer classes weren't initializing refcount, causing an assert on Windows. One-line change, r=rhp
git-svn-id: svn://10.0.0.236/trunk@53285 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 00:57:55 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
mcafee%netscape.com
5478f9dda3 Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@52832 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 01:29:49 +00:00
akkana%netscape.com
7e907a0c91 Fix key event bustage: treat DOM_VK_RETURN and DOM_VK_ENTER equivalently. r=ftang,joki a=chofmann,leaf
git-svn-id: svn://10.0.0.236/trunk@52731 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 22:05:45 +00:00
joki%netscape.com
c79e9c67d2 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
jfrancis%netscape.com
3d0b1d674f fix for 17673;r=sfraser
git-svn-id: svn://10.0.0.236/trunk@52623 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:07:37 +00:00
jfrancis%netscape.com
e109f40aa7 changed bogus node type to br to get rid of annoying space in empty editors; r=kin
git-svn-id: svn://10.0.0.236/trunk@52583 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 21:35:21 +00:00
braddr%puremagic.com
d8fb5871d7 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc


git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
ftang%netscape.com
c31d69ed3f add debugging code. fix remove last uncomited IMEText. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@52012 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:56:36 +00:00
braddr%puremagic.com
1dde1a4f56 Ooops.. tree closed, better back these out for now. Sorry.
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)


git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +00:00
akkana%netscape.com
60d8465f63 16844: modifier key presses shouldn't insert anything into the editor. r=brade
git-svn-id: svn://10.0.0.236/trunk@51275 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 20:02:44 +00:00
cmanske%netscape.com
5e0a77611f Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@51255 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:15:25 +00:00
brade%netscape.com
cb5f04d59d use the proper function calls to get the status for alt, shift and meta keys. bug #16486. reviewed valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50857 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:20:57 +00:00
brade%netscape.com
a7ee842442 don't allow other modifiers when cut/copy/pasting (bug #15693); this missed the keyEvent branch. r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50828 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 14:52:45 +00:00
ftang%netscape.com
2d2a382150 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
buster%netscape.com
273f420e23 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


git-svn-id: svn://10.0.0.236/trunk@50222 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:39:20 +00:00
buster%netscape.com
1e0b48570c 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


git-svn-id: svn://10.0.0.236/trunk@50004 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com
0209785bbb 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
git-svn-id: svn://10.0.0.236/trunk@49999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:34:09 +00:00
jfrancis%netscape.com
8e3610bfe2 revised UNDO; introduced first cut at the "mozdiv" typing rules
git-svn-id: svn://10.0.0.236/trunk@49317 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:08:15 +00:00
cmanske%netscape.com
d733c2160f More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists
git-svn-id: svn://10.0.0.236/trunk@48795 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:52:44 +00:00
buster%netscape.com
6c46de52f8 very simple extension of a fix already in place for bug 11804
git-svn-id: svn://10.0.0.236/trunk@48787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:00:58 +00:00
brade%netscape.com
a42cc57b3f warning cleanup
git-svn-id: svn://10.0.0.236/trunk@48659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:32:39 +00:00
joki%netscape.com
b1998d03d5 Changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48573 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:19:17 +00:00
waterson%netscape.com
a3557b2d24 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@48318 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:50:18 +00:00
buster%netscape.com
28bdfeef11 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.


git-svn-id: svn://10.0.0.236/trunk@48316 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:20:18 +00:00
buster%netscape.com
1dcd85d64b fixed recent bustage on windows that '.' key wouldn't work, making it
tough to type URL's in browser.  still needs work, but it's usable again.


git-svn-id: svn://10.0.0.236/trunk@48314 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:16:34 +00:00
jfrancis%netscape.com
381ca4cab7 fixing a heap-o-undo problems and some mBogusNode problems
git-svn-id: svn://10.0.0.236/trunk@48297 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 01:31:44 +00:00
jfrancis%netscape.com
a2716305a8 putting tab handling back in KeyDown(). Else editor never gets tabs.
git-svn-id: svn://10.0.0.236/trunk@48254 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 10:30:30 +00:00
jfrancis%netscape.com
5df01a19dc fix for 13677
git-svn-id: svn://10.0.0.236/trunk@48051 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:15:12 +00:00
buster%netscape.com
f5e00214bc fixed a warning
git-svn-id: svn://10.0.0.236/trunk@48004 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:17:22 +00:00
akkana%netscape.com
2612638b20 Handle everything in KeyPress; make KeyDown a nop. This also fixes bug 13962
git-svn-id: svn://10.0.0.236/trunk@47988 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:11:13 +00:00
buster%netscape.com
c3c148ab7b fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
in WillInsertText


git-svn-id: svn://10.0.0.236/trunk@47623 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:43:19 +00:00
sfraser%netscape.com
59455396ec Use nsAutoStrings where appropriate
git-svn-id: svn://10.0.0.236/trunk@47453 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:40:16 +00:00
buster%netscape.com
f15796dc95 fixed bug 13669, wrong password when user typed with 1 or more characters selected
git-svn-id: svn://10.0.0.236/trunk@47230 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 00:11:22 +00:00