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

200 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 6eb99d23f2 Fixed up new ifdef'ed clipboard support 1999-04-01 14:28:13 +00:00
ramiro%netscape.com 532f507e84 delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
akkana%netscape.com cf7607381c Editor: Add Insert Link and Image 1999-03-29 22:01:26 +00:00
jfrancis%netscape.com 22ec10b544 don't drop tab keys 1999-03-29 08:02:50 +00:00
jfrancis%netscape.com 0db3d1ee04 seperating out html edit rules from text edit rules 1999-03-29 08:02:05 +00:00
jfrancis%netscape.com fbf6bdcbae Adding nsHTMLEditRules.cpp 1999-03-29 08:01:21 +00:00
jfrancis%netscape.com c7f3ede1e6 First Checked In. 1999-03-29 06:21:01 +00:00
joki%netscape.com e39e13cf18 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
rods%netscape.com 00af88c97a Minor changes to call to new clipboard 1999-03-26 15:49:28 +00:00
mcafee%netscape.com 2813616d59 Renamed GetTransferable() to GetData() 1999-03-25 23:39:03 +00:00
mcafee%netscape.com dd87f3c4fb initializing a variable to zero. 1999-03-24 09:08:24 +00:00
mcafee%netscape.com f75b5055fd Checking for null references on clipboard, trans (gtk/unix). 1999-03-24 01:43:46 +00:00
rods%netscape.com cb5eefe915 Added code for switching over Clipboard support to new classes
At the moment the are ifdef'ed out
1999-03-23 15:45:58 +00:00
akkana%netscape.com 5850dbaca8 Add hard-coded alt-I for testing insert html 1999-03-22 22:10:29 +00:00
jfrancis%netscape.com 1d6d98a5e5 bug 4057: fix is in layout; here I'm removing the old workaround code 1999-03-22 09:04:06 +00:00
tague%netscape.com 6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
buster%netscape.com 0708f3ac6d small change to match change in semantics in nsIDOMRange::GetCommonParent 1999-03-18 21:55:23 +00:00
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
buster%netscape.com af5243998a split and join now properly remember which content gets deleted, and which content remains in the tree
split and join now properly set selection to the remaining node, at the proper offset.
fixes bugs 3910 3881, with approval from chofmann
1999-03-17 20:56:10 +00:00
buster%netscape.com a6b14ae03b I fixed the content twiddling part of bug 3778. Mike has a fix for the display part of it in his tree, but determined the risk didn't
justify the benefit.  This is partly true because he and I would have had to integrate tonight before checking in, which we thought
presented some additional risk.  In any event, this bug is fixed for all cases except when the user hits enter at the end of the
document.  That is the only case in text editing when the selection will not render correctly.

Some related problems got fixed as a side benefit of my code changes.  I filed bug 3896.
1999-03-17 06:13:46 +00:00
buster%netscape.com 53b3380a59 fixed join.
made a special case for typing with BR as the selection (as after an InsertBreak.)
made DEL and BACKSPACE at the beginning and end of a text node
fixes bugs 3742 and 3756 (with permission from choff and gkostello)
1999-03-16 16:38:09 +00:00
buster%netscape.com 6ce58013c8 added WillUndo, DidUndo, WillRedo, DidRedo and some supporting code so
the text edit rule object can maintain it's own state more efficiently and correctly.
1999-03-15 05:08:30 +00:00
buster%netscape.com d5932338f7 added PlaceholderTxn. This is an aggregate transaction that sits on the undo stack
and merges in subsequent transactions indiscriminately until it's told to stop.
It also gives the last transaction in its child list a chance to merge the
next transaction.
All this is in support of complex transactions that result in text insertion
being able to collapse into a single undoable event.
Also improved tracking of bogus content node used when document is empty.
1999-03-15 00:57:32 +00:00
rods%netscape.com 61cfe9a3d0 Added DragListener for Drag & Drop (it's not turned on) 1999-03-14 04:45:00 +00:00
buster%netscape.com 4f91976666 added checks for DOM Key event returning 0x0 key code. If we get 0, we bail. 1999-03-14 04:12:21 +00:00
kostello%netscape.com af8a9c4ee1 Added HACKForceRedraw() when deleting a range or inserting text 1999-03-14 01:02:53 +00:00
kostello%netscape.com ce8451f01d Add HACKForceRedraw() to force a redraw until the drawing
problems are solved in Gecko
1999-03-14 00:31:35 +00:00
buster%netscape.com 458de90002 InsertBreak now works at the beginning of a line. Plus a trivial bug fix. 1999-03-13 05:31:22 +00:00
buster%netscape.com bd6cb52f35 added delegate code for InsertText (WillInsertText, DidInsertText)
which calls generic WillInsert, DidInsert to test for magic bogus
content and does the right thing.
You now can't delete magic content with user gestures, and when you
insert anything the magic kludgy &nbsp; is deleted first.
1999-03-13 04:53:21 +00:00
kostello%netscape.com c609b1e2dc Force Redraw on Enter: this is a workaround for bug#3356 & bug#3639 1999-03-12 15:40:29 +00:00
sfraser%netscape.com 895b199ee2 Throw the switch so we now pay attention to the charCode in the key event. 1999-03-12 05:28:22 +00:00
buster%netscape.com b615bb95b3 deleting the last editable object in a document now causes a bogus placeholder <P>&nbsp;</P> to be added to the document. This node has the
attribute MOZ_EDITOR_BOGUS_NODE set to TRUE.  this solves the problem of when you do a SelectAll then a DEL, you don't have a cursor
or any way to set selection in the document. You do still have the problem that the nbsp is pretty narrow and the frame containing it is hard to hit
with the mouse.  We really need the "set selection to frame nearest the mouse down point" operation.

the intent is for all inserts to look for this node, and if found delete it before the insert.  likewise, all deletes will be no-ops if this node is found.
1999-03-12 02:28:24 +00:00
buster%netscape.com 9450d290ae fixed a small bug. mRefNode may be nsnull. 1999-03-12 02:27:48 +00:00
mjudge%netscape.com 17ab7eccaa reverting fix :( 1999-03-12 01:49:12 +00:00
mjudge%netscape.com d765fc4d34 fixed copy paste issue on windows, linking wrong.lib file 1999-03-12 00:01:24 +00:00
sfraser%netscape.com 694f4956da Fix for 3630 -- terminate text and HTML strings returned from the editor. 1999-03-11 21:31:03 +00:00
sfraser%netscape.com 452e7019bf Fix the key handling, and fix my macro for the charCode stuff 1999-03-11 19:34:28 +00:00
sfraser%netscape.com 0ca9df8689 Add SelectAll() 1999-03-11 19:33:37 +00:00
sfraser%netscape.com beb4a09d21 Adapted key listener to get char code directly from event, rather than trying to do a key code conversion (#ifdeffed out until char code is there on all platforms). 1999-03-11 06:42:09 +00:00
mjudge%netscape.com 40d69bded8 fixing windows build bustage by temporarily loading the raptorwidget_s.dll when ender.dll is loaded. temporary until repository code working 1999-03-11 00:20:27 +00:00
akkana%netscape.com a293292ac6 Change the reference to the global selection mgr to fix windows build 1999-03-11 00:08:10 +00:00
akkana%netscape.com 174aeed3d2 Comment out debug prints 1999-03-10 22:50:51 +00:00
akkana%netscape.com 57638ea34c Implement editor cut/copy/paste 1999-03-10 22:46:15 +00:00
akkana%netscape.com cac34c12b2 Fix Solaris build problems -- thanks to braddr & bruce @ puremagic.com 1999-03-10 22:41:18 +00:00
sfraser%netscape.com 697f88d422 Add Cut, Copy and Paste to editor interfaces and classes, with a stub implemenatioon in nsEditor. 1999-03-10 21:29:41 +00:00
kin%netscape.com 806301a0b5 Changed all occurences of NS_TRANSACTION_MANAGER_FACTORY_CID
and kCTransactionManagerFactoryCID to NS_TRANSACTIONMANAGER_CID
and kCTransactionManagerCID.
1999-03-10 21:27:02 +00:00
sfraser%netscape.com 339921715b Add static to remove warning 1999-03-10 21:26:33 +00:00
kin%netscape.com 17133e31ce Modified the clobber target so that it removes the dll from the bin/components directory. 1999-03-10 21:25:03 +00:00
buster%netscape.com 80388f4d9e first cut at rules delegate for text editor, will change drastically in the next week or two 1999-03-10 19:53:26 +00:00
buster%netscape.com 7ddbcd287f creation of text nodes now supported 1999-03-10 19:51:55 +00:00