Commit Graph
154 Commits
Author SHA1 Message Date
warren@netscape.com 26309dc5ac Fixing Simon's stuff. 1999-08-03 01:57:26 +00:00
sfraser@netscape.com b2c3a6ce1c Make the nsIDocumentStateListener interface more useful, with doc creation and destruction notifiers. 1999-08-03 00:58:38 +00:00
buster@netscape.com 11216051eb enabled string bundles, now that NECKO has landed
selection and caret are not displayed at Init time any more.  This is done on Focus now.
1999-08-02 13:51:50 +00:00
cmanske@netscape.com b55bc75880 Fixed lots of XUL (adjust for new titledbutton changes and XPMenus). Added initial table properties support and unit test for nsITableLayout methods. Removed unused InsertLink and InsertImage methods. Added lots of comments for interface methods. 1999-08-01 22:37:58 +00:00
akkana@netscape.com 9fae2dacc8 10525: Only handle plaintext paste in base and text editors 1999-07-30 23:46:18 +00:00
sfraser@netscape.com bf9eb3553a Implement support for nsIDocumentStateListeners. 1999-07-28 02:55:40 +00:00
buster@netscape.com 5092412068 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
cmanske@netscape.com 564312b2b3 Fixed insert element bugs. Added message if no misspelled words. Changed 'More Atrributes' to 'Advanced Edit' in dialogs. Improved generic message dialog. Added remove link button to link dialog 1999-07-24 20:27:53 +00:00
cmanske@netscape.com 519eecb707 Fixed bugs relating to insert element 1999-07-23 00:52:17 +00:00
sfraser@netscape.com 79b0c344d1 Turn on selection for all documents that are being edited. This enables selection in GFX ender widgets. 1999-07-23 00:11:00 +00:00
sfraser@netscape.com 81848c9919 #ifdef out loading the string bundle, because it causes onEndDocumentLoad handlers to fire, which is very bad. 1999-07-22 23:52:08 +00:00
tague@netscape.com ad0bcb3d2e Fixed bug #10242 - crash when typing space after IME composition 1999-07-22 23:13:59 +00:00
tao@netscape.com a33c806fdf Adopt new str res api prototype. 1999-07-22 04:41:11 +00:00
jfrancis@netscape.com 601651100c assorted work to expose nav html dtd to the editor 1999-07-19 22:49:21 +00:00
akkana@netscape.com 7b183885ca Fix paste html; remove some unneeded inclusions 1999-07-19 19:37:08 +00:00
mjudge@netscape.com 8e4c13fcd1 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 0926cbc8f9 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 a8748298ee checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
sfraser@netscape.com 86f4df5d30 Document modification count maintenance. 1999-07-14 22:29:39 +00:00
akkana@netscape.com 3fd1dc7c68 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
cmanske@netscape.com 88e132f05e Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs 1999-07-14 15:24:33 +00:00
rods@netscape.com b95a6b8e87 Fixed up paste code to help support HTML paste 1999-07-09 19:43:59 +00:00
kin@netscape.com b7898505d6 Fix for bug #7495: [PP]Undo on Linux shows intermediate steps.
Modified Undo() and Redo() to call Begin/EndUpdateViewBatch().
1999-07-06 23:02:12 +00:00
cmanske@netscape.com e75b508b07 Changes to editor XUL dialogs to accomodate new window-as-box changes 1999-07-02 22:52:34 +00:00
sfraser@netscape.com 4d6a15daca Added transactions for applying and removing style sheets 1999-07-02 03:57:50 +00:00
warren@netscape.com 276f59a46e Fixed NewURL for necko. 1999-07-01 21:48:46 +00:00
buster@netscape.com 93b263094f minor bug fixes 1999-07-01 20:46:59 +00:00
kin@netscape.com 55ce07b8a7 Added ApplyStyleSheet() method to the various editor interfaces. 1999-07-01 19:32:35 +00:00
buster@netscape.com ac9871a79f 0. possible fix for Sun build bustage.
1. IsEditable is much less hacky.  It basically says:
  1. if the node is a special bogus text node, it's not editable
  2. if the node is a text node with only newlines, then it's not editable
  3. if the node has no frame associated with it, then it is not editable
  4. otherwise, it is editable.
As part of this, I had to make IsEditable non-static.  This had some cascading effects on static methods that called
IsEditable, which likewise had to be made non-static.

2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text.  Charlie, you should
put this through some stress cases.
1999-07-01 18:42:28 +00:00
scc@netscape.com 90f6a8560a |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
tague@netscape.com 8269007861 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
buster@netscape.com b02974058a implemented most of max length handling 1999-06-25 22:57:26 +00:00
mcafee@netscape.com ab87fc3a4f Adding comment for BeOS. 1999-06-25 14:26:21 +00:00
jfrancis@netscape.com 229d9da2cb these are not the droids you are looking for 1999-06-25 10:36:54 +00:00
jfrancis@netscape.com 3b28bb7879 improvement of editing rules for insert list, indent, outdent, and change alignment 1999-06-25 09:33:02 +00:00
cmanske@netscape.com 40d2be91d3 Expanded nsIEditPropery to include all (I hope) HTML tags 1999-06-25 03:18:42 +00:00
buster@netscape.com 68c155c83f added nsIEditProperty::img 1999-06-24 23:34:41 +00:00
cmanske@netscape.com 7ee032b094 Fixed GetBodyElement. Changed editor test doc to not use CSS for background. Initial code to edit element properties when double-clicking on element. 1999-06-24 20:59:45 +00:00
warren@netscape.com 753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
akkana@netscape.com e2db8fafed Use deep first/last child for Beginning/EndOfDocument methods 1999-06-22 21:42:44 +00:00
jfrancis@netscape.com 605dafb7d2 turn off link following in the editor 1999-06-21 07:49:03 +00:00
valeski@netscape.com 3737aa0d15 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
jfrancis@netscape.com 1ea16ef3d5 bug 8303; rvd kin; aprvd buster; aprvd chofmann 1999-06-16 21:38:04 +00:00
akkana@netscape.com 38a0c59915 8283: Fix crash because selectin wasn't initialized. r=sfraser/a=leaf 1999-06-16 21:02:25 +00:00
jfrancis@netscape.com 951c9d8cc9 editor rules framework for {make list, indent, outdent, change alignment} 1999-06-16 05:02:43 +00:00
kin@netscape.com e381bbffbb * Added StartLogging() and StopLogging() methods to nsIEditor,
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
  the "Start Log" and "End Log" menu items in the editor test bed.

* Modified makefiles for Unix and Win32 to turn on  Editor API Logging.

* Added action argument to the DeleteSelection() method in nsIEditorShell.

* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.
1999-06-14 20:02:46 +00:00
buster@netscape.com 815afeb053 changed the way nsEditProperty is used. Right now, it's our placeholder
for HTML and CSS atoms, since we can't get these from layout yet.  The old
use assumed one editor, but as we know many editors can exist simultaneously.
Now, the editors share a singleton which is fetched from a factory method,
saving memory and allocation overhead.
1999-06-12 21:15:14 +00:00
sfraser@netscape.com aaa6370b50 Add factory for EditorShell, and fix case of GetMonitor call. 1999-06-11 19:01:07 +00:00
akkana@netscape.com e506043f6f Implement InsertHTML.
Also, some minor fixes, like warning removal and addition of error checking
in files which needed it.
1999-06-10 21:31:42 +00:00
kin@netscape.com 8bdcd74b95 First pass checkin of the JavaScript editor logging mechanism. All changes are
ifdef'd with ENABLE_JS_EDITOR_LOG.
1999-06-10 19:41:40 +00:00