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

143 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com 80d18a0ea9 Fixed bugs relating to insert element 1999-07-23 00:52:17 +00:00
akkana%netscape.com 3e2c2dce23 Find file: URLs when searching for embedded elements -- bug 10134 1999-07-20 20:38:04 +00:00
jfrancis%netscape.com 8e8f2f24ef assorted work to expose nav html dtd to the editor 1999-07-19 22:49:21 +00:00
akkana%netscape.com 13530acf98 Add GetEmbeddedObjects API to editor shell 1999-07-19 22:36:12 +00:00
akkana%netscape.com be21cf175a Fix paste html; remove some unneeded inclusions 1999-07-19 19:37:08 +00:00
akkana%netscape.com e93a9f9d7c Add GetEmbeddedObjects API for mail/news 1999-07-19 19:06:39 +00:00
mjudge%netscape.com 7ddf8fee55 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 5c7a93503f 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
buster%netscape.com fa69f0e621 fixed tests 1999-07-15 19:08:49 +00:00
mjudge%netscape.com 795cc26dd3 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
akkana%netscape.com 6d07c8eeb4 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 8f1b0f0e2f Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs 1999-07-14 15:24:33 +00:00
cmanske%netscape.com 0345565059 Fixed bug 9287. Reviewed by mjudge, approved by chofmann 1999-07-08 03:28:34 +00:00
cmanske%netscape.com d92dbb6673 Trying to get dialogs to work again. 1999-07-06 00:19:40 +00:00
cmanske%netscape.com c4259079e5 Implemented insert named anchor and table. Fixed dialogs to utilize autosizing. Popups are screwed up because of stupid box layout behavior 1999-07-04 23:01:10 +00:00
jfrancis%netscape.com 69fcaf14ef SetParagraphFormat() to list item now does someting halfway sane 1999-07-04 00:34:58 +00:00
cmanske%netscape.com 75ee61ce4e Fixed SetCaretAfterElement (but cursor still not redrawn correctly) 1999-07-03 17:07:08 +00:00
jfrancis%netscape.com 4530910330 fix for bug 5903 1999-07-03 13:27:13 +00:00
cmanske%netscape.com b669ee5666 Modified InsertElement to insert a Named Anchor before the selection, completing that feature 1999-07-03 01:49:30 +00:00
cmanske%netscape.com 2129a5adab Changes to editor XUL dialogs to accomodate new window-as-box changes 1999-07-02 22:52:34 +00:00
jfrancis%netscape.com d9232acb8c making the plain text selection pinning savvy to the other flavors of text editors, the ones that DONT have <pre> tags wrapping all the text 1999-07-02 07:53:08 +00:00
jfrancis%netscape.com c06eaf8c23 bitten by lack of const enforcement in mac coimpiler once again. 1999-07-02 05:13:21 +00:00
jfrancis%netscape.com 1a1f4c3ba2 making rules savvy to multi-char insertions. this means that pasting in text with embedded tabs, returns, spaces, & nbsp's now get the full rules treatment. 1999-07-02 04:46:45 +00:00
akkana%netscape.com ac39ef67ec Oops, I misunderstood tor's fix for the sunos bustage 1999-07-01 23:41:29 +00:00
akkana%netscape.com 2338bab316 Fix gcc 2.7.2.3 build -- thanks to tor@boojum.cs.brown.edu (Tim Rowley) for the fix 1999-07-01 23:31:03 +00:00
kin%netscape.com 41af01f373 Added ApplyStyleSheet() method to the various editor interfaces. 1999-07-01 19:32:35 +00:00
buster%netscape.com 4abaa32e35 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
buster%netscape.com c5a5df01c4 fixed unit test to handle new default doc 1999-07-01 18:24:07 +00:00
jfrancis%netscape.com c491832078 some cleanup and also selection enforcement for plaintext documents: selection is pinned to within the PRE tag on any edit action 1999-07-01 13:42:03 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
tague%netscape.com b40147fcc6 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
sfraser%netscape.com 300205e3dd Add new aSelectionOnly param to Output routines 1999-06-29 20:14:24 +00:00
akkana%netscape.com 16bad475b7 Fix a warning 1999-06-28 21:26:31 +00:00
cmanske%netscape.com a49f674f41 Added an addref for returned element from GetSelectedElement 1999-06-27 17:55:01 +00:00
jfrancis%netscape.com c1d7309997 these are not the droids you are looking for 1999-06-25 10:36:54 +00:00
jfrancis%netscape.com 563cf4e689 improvement of editing rules for insert list, indent, outdent, and change alignment 1999-06-25 09:33:02 +00:00
cmanske%netscape.com 66a502040d Expanded nsIEditPropery to include all (I hope) HTML tags 1999-06-25 03:18:42 +00:00
buster%netscape.com b798aecece added img 1999-06-24 23:33:47 +00:00
cmanske%netscape.com 99408324f7 Changed SetBodyAttribute to use nsEditor::SetAttribute so txn system is used for undo 1999-06-24 21:17:50 +00:00
cmanske%netscape.com 089b86baf7 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
akkana%netscape.com 4a3d398388 Use new document encoding service from nsTextEditor, and make nsHTMLEditor methods call nsTextEditor methods 1999-06-24 20:16:36 +00:00
jfrancis%netscape.com 8f37d5de7e bug 8300; rvd: floppy moose; aprvd: chofmann 1999-06-16 23:40:16 +00:00
cmanske%netscape.com f94da9f68e Fixed bug 8281. Reviewed by sfraser, approved by chofmann 1999-06-16 21:45:38 +00:00
jfrancis%netscape.com de84bb53ed editor rules framework for {make list, indent, outdent, change alignment} 1999-06-16 05:02:43 +00:00
akkana%netscape.com a6788bbf76 Fix for the crasher part of 7801: don't use nsAutoSelectionReset in InsertList 1999-06-15 23:24:24 +00:00
kin%netscape.com 82e5aae898 * 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
cmanske%netscape.com 68843366e1 Fixed bug in HLine code. Replaced itoa with PR_snprintf 1999-06-12 22:11:59 +00:00
cmanske%netscape.com 264f43ee2c Horizontal Line dialog and setting/getting hline settings from prefs implemented. Masked effect of bug 8058 by removing popupanchor attribute. 1999-06-12 21:22:12 +00:00
buster%netscape.com 1f25bbd226 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 0e1ee93e93 GetLocalFileURL has moved to the editorShell 1999-06-11 19:03:05 +00:00