sfraser%netscape.com
97a6619823
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
sfraser%netscape.com
0f7ac3e68a
Add widget.shlb to fix link bustage
1999-03-11 01:26:19 +00:00
mjudge%netscape.com
e3c9b3a179
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
13a246a08e
Change the reference to the global selection mgr to fix windows build
1999-03-11 00:08:10 +00:00
akkana%netscape.com
bf40a872a6
Comment out debug prints
1999-03-10 22:50:51 +00:00
akkana%netscape.com
2920383dee
Implement editor cut/copy/paste
1999-03-10 22:46:15 +00:00
akkana%netscape.com
7606e45b30
Fix Solaris build problems -- thanks to braddr & bruce @ puremagic.com
1999-03-10 22:41:18 +00:00
sfraser%netscape.com
b5a8cb2fc4
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
3854e3bfb8
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
40c939125e
Add static to remove warning
1999-03-10 21:26:33 +00:00
kin%netscape.com
bf5f23f2e0
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
cd54a83c26
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
0c62f0bed4
creation of text nodes now supported
1999-03-10 19:51:55 +00:00
buster%netscape.com
bb2bd2a108
mNewNode is a DOM Node, not a DOM Element
1999-03-10 19:51:07 +00:00
buster%netscape.com
cab053f693
small fix of an off-by-one error in an assertion
1999-03-10 19:50:17 +00:00
buster%netscape.com
f436abdcd6
SelectAll wired to Ctrl-A.
1999-03-10 19:49:43 +00:00
buster%netscape.com
709ac5c2c8
small interface change to InsertBreak
1999-03-10 19:49:18 +00:00
buster%netscape.com
fd1334e42c
improvements to InsertBreak, and first crack at adding support for rules delegate
1999-03-10 19:48:46 +00:00
buster%netscape.com
88a87e021d
Implemented SelectAll.
...
Added nsEditor::DoInitialInsert() for doing first insert into an empty document. Try typing into <html><body></body></html>
Added some smarts to DeleteSelectionAndCreateNode() so it only splits the selected node when appropriate (when the selection is not at offset 0 or max)
CreateElementTxn now creates text nodes as well as DOM elements
1999-03-10 19:48:13 +00:00
buster%netscape.com
9e210afb5b
added nsTextEditRules
1999-03-10 19:47:34 +00:00
buster%netscape.com
5e8115a8cb
added nsIEditRules.h. Experimental, don't count on this.
1999-03-10 19:46:24 +00:00
jfrancis%netscape.com
8f32d3a0cd
adding nsTextEditRules.cpp
1999-03-10 19:45:23 +00:00
cmanske%netscape.com
c391f0853e
2nd try to get it right in get editor factory method
1999-03-09 23:06:16 +00:00
cmanske%netscape.com
ec8f15ffaf
Fixed editor registration and startup problems
1999-03-09 22:52:24 +00:00
jfrancis%netscape.com
5f2a20fa5b
catching up with nsComponentManager and getting rid of cout usage
1999-03-09 20:11:27 +00:00
jfrancis%netscape.com
05c077bc42
including header
1999-03-09 20:04:59 +00:00
jfrancis%netscape.com
bcb97b8ac4
integrated with content iterator
1999-03-09 19:22:48 +00:00
warren%netscape.com
cf29a77824
Fixed registration methods.
1999-03-09 13:23:36 +00:00
warren%netscape.com
bdcaa63028
Backed out the nsService template stuff.
1999-03-09 11:49:41 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
cmanske%netscape.com
84e841e009
Fixed editor classes to do autoregistration correctly and moved target directory to bin/components
1999-03-08 22:46:33 +00:00
sfraser%netscape.com
f2443f6c9d
Changed file grouping.
1999-03-06 20:33:07 +00:00
sfraser%netscape.com
7afcbe012f
Modified OutputText and OutputHTML methods to pass out nsStrings instead of nsIOutputStreams. Also fixed return values, and commented out line termination conversion in Mac outoutput.
1999-03-06 20:32:48 +00:00
mcmullen%netscape.com
c33ff414ca
Adapt to new stream interfaces some more.
1999-03-06 02:12:52 +00:00
mcmullen%netscape.com
9d78b925a1
Adapt to new stream interfaces
1999-03-06 00:29:58 +00:00
mcmullen%netscape.com
2dfd0a256c
Adapt to new Write()
1999-03-06 00:27:37 +00:00
mcmullen%netscape.com
0b721e55f8
Removed the offset parameter from the base stream interfaces. Implemented string streams.
1999-03-05 22:53:56 +00:00
cmanske%netscape.com
06356ad73a
Changed editor classes to inherited model. Fixed lots of destructor warnings.
1999-03-05 21:05:35 +00:00
sfraser%netscape.com
4b3f6f68fe
Project change for kostello, approved sar. New link dependency on htmlParser.shlb
1999-03-04 21:57:59 +00:00
kostello%netscape.com
ae567e408e
Added Implementations for OutputHTML and OutputTXT
1999-03-04 21:53:42 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
mjudge%netscape.com
ae38ead5c7
fixes for selection code, batching at correct point
1999-03-03 01:51:59 +00:00
dp%netscape.com
e115322998
Installing loadable components in components/ directory
1999-03-03 01:25:21 +00:00
scc%netscape.com
00a29df078
fixed for nsCOMPtr: no construction or assignment from raw COM interface pointers
1999-03-02 22:27:46 +00:00
brade%netscape.com
579067f7d7
add dtd; cleanup
1999-03-02 15:26:37 +00:00
brade%netscape.com
1bba24b667
add dtd, buttons; cleanup
1999-03-02 15:23:57 +00:00
brade%netscape.com
2f6fcba915
add dtd, cleanup
1999-03-02 15:23:28 +00:00
brade%netscape.com
5debbf3940
add dtd
1999-03-02 15:20:35 +00:00
brade%netscape.com
154685465f
add dtd, convert to entities, cleanup
1999-03-02 15:20:16 +00:00
brade%netscape.com
4b3d486d30
add dtd; cleanup
1999-03-02 15:19:23 +00:00
brade%netscape.com
69fe7e1c6b
*** empty log message ***
1999-03-02 15:18:54 +00:00
buster%netscape.com
a1a725cf0e
implemented GetTextProperty -- only works for bold and italic now,
...
trivial to add more properties
finished first cut at SetTextProperty. This triggers lots of crashes in
range/selection code where we're holding onto a stale frame pointer (at
least, that's my best guess.)
synched with Charlie's change-o-rama
added an assert in DeleteTextTxn::Init() checking aNumCharsToDelete vs.
0
NS_ASSERTION(0!=aNumCharsToDelete, "bad arg, numCharsToDelete");
if the number of chars to delete is 0, we shouldn't be creating a
transaction at all. I had never seen this condition arise before
Charlie's checkin, I don't know if he introduced it or if it was a
latent bug I just never tripped over before.
1999-03-02 07:52:41 +00:00
cmanske%netscape.com
a63bfb277f
Fixed mismatched declarations/implementations
1999-03-02 07:13:45 +00:00
cmanske%netscape.com
fb8841c02f
added files: mozilla/editor/base/InsertTableTxn.cpp, mozilla/editor/base/InsertTableCellTxn.cpp, mozilla/editor/base/InsertTableColumnTxn.cpp, mozilla/editor/base/InsertTableRowTxn.cpp, mozilla/editor/base/DeleteTableTxn.cpp, mozilla/editor/base/DeleteTableCellTxn.cpp, mozilla/editor/base/DeleteTableColumnTxn.cpp, mozilla/editor/base/DeleteTableRowTxn.cpp, mozilla/editor/base/JoinTableCellsTxn.cpp, mozilla/editor/base/nsHTMLEditor.cpp, mozilla/editor/base/EditTable.cpp, mozilla/editor/base/nsHTMLEditFactory.cpp
1999-03-02 05:32:29 +00:00
cmanske%netscape.com
7aca17a8cb
Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions
1999-03-02 05:30:53 +00:00
cmanske%netscape.com
fd74ec8a35
Added exported header file for nsHTMLEditor
1999-03-01 19:55:43 +00:00
cmanske%netscape.com
e83bbb1e19
New files for nsHTMLEditor and table editing transactions (not working yet)
1999-03-01 19:54:47 +00:00
brade%netscape.com
2f351c6195
First Checked In.
1999-02-26 19:51:49 +00:00
ebina%netscape.com
0893363a0b
Changing RegisterFactory to use the new API.
1999-02-26 15:59:52 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
rickg%netscape.com
7d6d99f72b
fix build crash caused by deque API change
1999-02-26 07:37:27 +00:00
rickg%netscape.com
9cec135128
attempt to fix build
1999-02-26 07:24:27 +00:00
rickg%netscape.com
b82b092c4b
small bug fixes and removal of global statics
1999-02-26 06:33:54 +00:00
mcafee%netscape.com
57eb5dae9a
Adding do_QueryInterface() to fix Solaris/nxCOMPtr ambiguity.
1999-02-26 03:50:37 +00:00
mcafee%netscape.com
daffb9c226
readding my fix that buster whomped.
1999-02-26 03:46:08 +00:00
sfraser%netscape.com
d847eb7428
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
sfraser%netscape.com
622a554bbc
Mac project changes -- convert from using MLSShLibRuntime to MSLDropinRuntime.
1999-02-26 00:44:01 +00:00
brade%netscape.com
85a47f88fb
reformat (remove tabs; fix spacing/indent to be consistent with other files)
1999-02-25 17:32:00 +00:00
brade%netscape.com
403d1512c6
clean up (remove tabs, etc.)
1999-02-25 17:01:03 +00:00
brade%netscape.com
6acbf5f25d
First Checked In.
1999-02-25 16:46:58 +00:00
brade%netscape.com
0fd6fb52c3
First Checked In.
1999-02-25 16:35:36 +00:00
brade%netscape.com
41307aeb5d
First Checked In.
1999-02-25 16:20:55 +00:00
buster%netscape.com
be6b3f57c1
minor bug fixes
1999-02-25 16:09:18 +00:00
brade%netscape.com
44544524a9
First Checked In.
1999-02-25 16:07:25 +00:00
buster%netscape.com
ad7f52a55b
edge conditions now supported for SetTextProperty. You now get correct behavior when you select the beginning of a text block, or the end.
...
You now get correct behavior if the selection spans multiple text blocks, as long as the blocks have the same grandparent.
1999-02-25 16:05:43 +00:00
mcafee%netscape.com
42d877c560
Solaris needs newline at end of file
1999-02-25 03:34:39 +00:00
dcone%netscape.com
c59e7c28cc
Added InsertElementTxn.cpp and nsEditProperty.cpp
1999-02-24 17:36:12 +00:00
buster%netscape.com
b617ad12ea
minor interface changes
1999-02-24 17:31:09 +00:00
buster%netscape.com
42654a1a8d
added InsertElementTxn
...
added nsEditProperty
beginning of implementation for SetTextProperties. Currently, it only works if the selection is entirely within a single text node. Currently only
supports bold and italic (mapped to ctrl-b and ctrl-i for testing purposes.)
changed a bunch of interfaces to make things easier, like CreateElement now returns (as an out-param) the element created.
1999-02-24 17:24:37 +00:00
brade%netscape.com
f1f3908852
First Checked In.
1999-02-23 17:07:25 +00:00
warren%netscape.com
3642da81a5
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
kin%netscape.com
9290881b7e
Added IID() methods.
1999-02-22 19:56:57 +00:00
buster%netscape.com
b259f714c6
caught up to new ScrollIntoView changes.
...
most transactions now properly set selection after modifying content, for Do, Undo, Redo.
lots of cleanup and minor bug fixes.
1999-02-22 15:53:31 +00:00
mjudge%netscape.com
ff424e9866
depricating the ScrollIntoView call. dont need it. the selection modification assures us of scrolling to view after batching.
1999-02-21 03:48:52 +00:00
buster%netscape.com
c1640c6737
beginning work on ScrollToFrame
1999-02-20 21:29:27 +00:00
mjudge%netscape.com
011d5c41e5
adding batching for selection.
1999-02-19 23:41:49 +00:00
brade%netscape.com
b3b4f0d2c0
add prototype to reduce warnings on Macintosh compiler
1999-02-19 16:13:47 +00:00
brade%netscape.com
b34fa3c18c
move local variable into comment block to reduce warnings on Macintosh compiler
1999-02-19 16:11:23 +00:00
brade%netscape.com
06f189919a
remove unused local variable to reduce warnings on Macintosh compiler
1999-02-19 16:09:37 +00:00
mcafee%netscape.com
6fad4bf023
Solaris: adding do_QueryInterface() wrappers to finish scc's nsCOMPtr carpool. a=scc
1999-02-19 11:30:31 +00:00
mcafee%netscape.com
1e32a6b863
Adding do_QueryInterface() wrapper for Solaris, this is the other part of scc's nsCOMPtr carpool
1999-02-18 23:18:56 +00:00
mcafee%netscape.com
5a74900d87
Solaris needs newline at end of file.
1999-02-18 23:09:08 +00:00
buster%netscape.com
7e47414af3
work in progress
1999-02-18 23:01:06 +00:00
mcafee%netscape.com
4c990c96b5
Solaris needs newline at end of file.
1999-02-18 23:00:45 +00:00
mcafee%netscape.com
81e9035294
Adding newline at end of file for Solaris/CC
1999-02-18 12:14:59 +00:00
buster%netscape.com
0955499e1a
fix mac build for new nsCOMPtr code
1999-02-17 20:44:44 +00:00
buster%netscape.com
061b766061
Highlights:
...
updated to new nsCOMPtr usage
nsTextEditor::InsertBreak() implemented
splits the text node at the caret (deletes any extended selection to force a collapsed selection.)
inserts a <BR> which I assume we'll convert to a CR when we write to a text stream.
undo and redo work, except for the bug noted below
More stuff:
interface cleanup
strategic debugging code added
delete selection txn sets the collapses the selection...this is just a placeholder, but I needed it for undo/redo of InsertBreak.
join and split now work for text nodes as well as interior nodes
1999-02-17 19:42:29 +00:00
buster%netscape.com
2016d821ec
private interface for editor, used for common editing operations that
...
we don't want to expose publically.
1999-02-17 18:34:41 +00:00
danm%netscape.com
aa7476884e
fixing compilation problems with new nsCOMPtr. part of the carpool.
1999-02-17 06:18:11 +00:00
mjudge%netscape.com
08f7bf0f9d
new modifications to nsCOMPtr to explicitly change to QueryInterface
1999-02-17 01:59:56 +00:00