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

230 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com cfa322f837 Removed duplicate declarations 2000-05-04 23:01:05 +00:00
cmanske%netscape.com 6446b2e1b0 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
cmanske%netscape.com 997a0f430f HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com e983172b2f massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
jfrancis%netscape.com 7a8d8c9f26 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
cmanske%netscape.com fc2bc945aa Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +00:00
sfraser%netscape.com 29ea7a1c61 Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
mjudge%netscape.com d5503b6423 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
cmanske%netscape.com 0b1fa1f02b Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 39a76668ca Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
brade%netscape.com 60109fba9f add method for InsertFromDrop; r=akkana 2000-04-25 14:14:42 +00:00
akkana%netscape.com 74cc74130e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com a9942efa49 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
akkana%netscape.com 2d3cd3acbb 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com d5c3bc9965 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
jfrancis%netscape.com 7dec4078d3 added RemoveAllInlineProperties() 2000-04-13 22:27:41 +00:00
cmanske%netscape.com 328092db3b Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser 2000-03-31 04:18:29 +00:00
jfrancis%netscape.com 19853bbf17 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
jfrancis%netscape.com fbbbbfcfaf improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:13:30 +00:00
cmanske%netscape.com e3ef5768c7 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com 6eaddd7332 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp 2000-03-20 23:13:25 +00:00
cmanske%netscape.com 6d478d3a2e Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge 2000-03-16 23:45:41 +00:00
sspitzer%netscape.com bcc483c2cf move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser 2000-02-16 03:14:20 +00:00
sfraser%netscape.com 61b2082c1b Give the controller an Init method, and implement a bunch of commands the New Way. for bug 18395. r=pinkerton 2000-02-16 01:37:12 +00:00
sfraser%netscape.com 4513862820 Expose the transaction manager to outside, for bug 18395. r=akkana 2000-02-16 01:36:30 +00:00
cmanske%netscape.com 264068946d Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
cmanske%netscape.com baac755daa More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
jfrancis%netscape.com 06d277e9ca more inline style feedback fixes (24574). r=sfraser 2000-02-02 22:47:43 +00:00
cmanske%netscape.com 1ddb177877 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana 2000-01-26 14:57:43 +00:00
sfraser%netscape.com 9be7e50ac3 WIP for 18395, various editor command handling and updating changes. r=akkana 2000-01-18 21:50:15 +00:00
scc%netscape.com 62ee157cd5 Fix build bustage; r=sfraser. My theory for what the current build bustage is: `tainted' |nsCOMPtr<nsIDOMElement>| definition. The full definition of |nsIDOMElement| must be in scope first. 2000-01-14 04:14:09 +00:00
cmanske%netscape.com 179f3337c8 Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge 2000-01-13 23:33:00 +00:00
akkana%netscape.com dca1659499 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
jfrancis%netscape.com 07fcb7e952 Fix for bug 21346. This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting). 2000-01-04 03:09:41 +00:00
waterson%netscape.com 76e4ee6235 Fix whitespace snafu that was tripping up my gmake. 1999-12-15 07:18:41 +00:00
mjudge%netscape.com 66817a6667 adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation. 1999-12-15 03:46:27 +00:00
mjudge%netscape.com 28bf250370 adding in nsIEdkitorController.h 1999-12-15 03:36:12 +00:00
mjudge%netscape.com e83b3f5e3d adding in header files for massive checkins. reviewed akkana, mcc 1999-12-15 03:35:44 +00:00
ftang%netscape.com dbbf07d564 fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML 1999-12-08 03:39:36 +00:00
jfrancis%netscape.com 6b9ca53f07 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. 1999-12-07 08:30:19 +00:00
ftang%netscape.com 723af171cd 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 1999-12-07 01:29:00 +00:00
akkana%netscape.com 5ac4f3863a 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis
1999-11-25 04:11:51 +00:00
jfrancis%netscape.com 09ed614b05 implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists. Checkin addressees these bugzilla bugs: 2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces) 16715 - caret gone or wrong after hitting return 16988 - aim foiled by our mozDIVs 17908 - enter at end of document does nothing 16085 - 4.x mail replied foiled by mozDIVs 19368 - inline style lost after typing return 17059 - "normal" made a paragraph, but typing made a div. Now they both just use direct text in the body (or wherever) 18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all) 17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV rules which are now gone. 1999-11-25 00:16:56 +00:00
akkana%netscape.com 25ec09fbb0 19610: Change InsertAsQuotation API to return inserted node r=rhp 1999-11-24 20:48:59 +00:00
cmanske%netscape.com 0a01828233 Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser 1999-11-13 16:37:58 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
joki%netscape.com d5c05ea133 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 1999-11-03 07:11:45 +00:00
cmanske%netscape.com 712a9be961 Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge 1999-10-26 23:13:00 +00:00
cmanske%netscape.com 6df53d78e8 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
jfrancis%netscape.com 62652e2962 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 1999-10-06 19:34:09 +00:00
cmanske%netscape.com dc4f4e93aa Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode 1999-09-29 21:45:50 +00:00
jfrancis%netscape.com 75ecd98021 revised UNDO; introduced first cut at the "mozdiv" typing rules 1999-09-29 20:08:15 +00:00
cmanske%netscape.com 568234107f More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
sfraser%netscape.com 52a4a9f8d8 Expose the type-in state through nsIHTMLEditor 1999-09-22 01:21:56 +00:00
jfrancis%netscape.com 8de9e45071 implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br> 1999-09-13 09:37:51 +00:00
akkana%netscape.com d2d2dcd442 490: infrastructure for inserting formatting whitespace. Not turned on yet except for DEBUG_akkana 1999-09-10 18:54:13 +00:00
briano%netscape.com d4bdb95d66 General cleanup. 1999-09-09 03:34:19 +00:00
sfraser%netscape.com 7aead9fea3 Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node). 1999-09-08 23:32:04 +00:00
sfraser%netscape.com 154205b3b9 File Removed. 1999-09-08 20:07:57 +00:00
sfraser%netscape.com e00aa228a0 Remove commented out nsIEditRules 1999-09-08 20:06:01 +00:00
jfrancis%netscape.com 0ae3fcf4ec implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
cmanske%netscape.com 714789baa3 Added CloneAttributes to IDL and nsIHTMLEditor. Reworked property dialogs to accomodate AdvancedEdit dialog. Preliminary version of AdvancedEdit dialog done 1999-09-02 01:47:18 +00:00
cmanske%netscape.com 51a4a28dcb Changed IsNodeBlock to NodeIsBlock for JS. Fixed all compiler warnings. Added Advanced property Edit files 1999-09-01 19:58:25 +00:00
cmanske%netscape.com 699e5e802b Exposed IsNodeBlock for JavaScript. Added comments for editor methods. Temporary fix for insert image bug (12917). Fixed bug 11857. Preliminary support for setting title and adding Cancel button in message dialogs. 1999-09-01 01:22:37 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
tague%netscape.com d22744e0e1 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
cmanske%netscape.com 0da377feae Removed string bundle code from nsEditor into EditorShell and added access for JavaScript. Moved most of Save document code into EditorShell and added filetype filters to save dialog. Placed Advanced Edit functionality in an overly file. Removed redundant entity strings, that are now in overlays, from DTD files. 1999-08-28 02:40:18 +00:00
cmanske%netscape.com 7542d601b8 Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead. 1999-08-27 04:12:47 +00:00
akkana%netscape.com 70ab0ba259 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
buster%netscape.com 3fa1207a8b fixed some documentation 1999-08-19 13:33:49 +00:00
tague%netscape.com a15b0b4b19 Fix bug #11687 - [Dogfood] Enable ender to save documents in encodings other than ISO-8859-1. Approved by chofmann@netscape.com, reviewed by buster@netscape.com. 1999-08-13 22:26:50 +00:00
slamm%netscape.com 50589a4dc0 Add a newline to the end of the file. 1999-08-10 23:17:10 +00:00
mcafee%netscape.com 30941a5a0a newline at end of file 1999-08-10 21:29:49 +00:00
sfraser%netscape.com 98818652df Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup. 1999-08-09 01:37:50 +00:00
sfraser%netscape.com d5131e8e05 First Checked In. 1999-08-09 01:34:04 +00:00
tague%netscape.com 1e3c4f5ac5 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
cmanske%netscape.com 5603ca24a3 Further table editing work 1999-08-05 20:04:58 +00:00
cmanske%netscape.com 4936a140bc Table editing implementation 1999-08-04 02:06:03 +00:00
sfraser%netscape.com d86a1421e4 Fix the document state listener mechanism so that you can install listeners after the editor has been created, and still get their 'document creation' notification called. 1999-08-03 06:53:45 +00:00
sfraser%netscape.com b974dca11f nsIDocumentStateListener.h is now IDL-generated 1999-08-03 00:47:17 +00:00
sfraser%netscape.com 1ffdd2d381 File Removed. 1999-08-03 00:46:44 +00:00
cmanske%netscape.com ec0c057e63 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
sfraser%netscape.com dfa9e1c675 Added support for nsIDocumentStateListeners. 1999-07-28 02:56:33 +00:00
sfraser%netscape.com 9cc7ac565d First Checked In. 1999-07-28 02:49:12 +00:00
sfraser%netscape.com 35b2cbc2a6 Add nsIDocumentStateListener.h 1999-07-28 02:48:18 +00:00
sfraser%netscape.com 27fab696fd File Removed. 1999-07-28 02:47:47 +00:00
sfraser%netscape.com cd1ff34743 Remove nsIContextLoader 1999-07-28 02:45:05 +00:00
sfraser%netscape.com f8c34ab969 Remove nsIContextLoader, which is obsolete 1999-07-28 02:44:22 +00:00
cmanske%netscape.com f6fef62102 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table. 1999-07-27 23:59:22 +00:00
buster%netscape.com 9703391cfa 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
akkana%netscape.com 13530acf98 Add GetEmbeddedObjects API to editor shell 1999-07-19 22:36:12 +00:00
akkana%netscape.com e93a9f9d7c Add GetEmbeddedObjects API for mail/news 1999-07-19 19:06:39 +00:00
waterson%netscape.com cd0f76e1ae Use enum trick to get around VC++ braindead-ness wrt. 'const PRUin32'. 1999-07-14 19:42:55 +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
sfraser%netscape.com 2fa9524390 Added transactions for applying and removing style sheets 1999-07-02 03:57:50 +00:00
kin%netscape.com 41af01f373 Added ApplyStyleSheet() method to the various editor interfaces. 1999-07-01 19:32:35 +00:00
akkana%netscape.com 830cc10614 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +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