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

68 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com 711c0f72c9 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
buster%netscape.com 1a165ddf9b fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
buster%netscape.com 7a638a9c93 fixed some space leaks reported by kipp. no bug #, r=tague
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com c412022f4a 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 65729a4047 Added do_QueryInterface to fix build bustage for Linux 1999-09-29 23:33:45 +00:00
cmanske%netscape.com d20641b38c 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
sfraser%netscape.com ccc067210c Fix for bug 14640 -- unregister the selection listener when we get more than one reload in the editor. coded buster, r sfraser, a leaf. 1999-09-23 23:46:23 +00:00
cmanske%netscape.com 20f2a8bffa 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 0e5bf09301 Implement UpdateInterfaceState 1999-09-22 01:20:24 +00:00
tao%netscape.com 73ba28b5e7 Move editor.properties from content/ to locale/, 1999-09-21 06:30:03 +00:00
cmanske%netscape.com 133758b3d7 Editor bug fixes. List Properties dialog work. Fixed menu access keys in DTD file. Fixed using selection->Clear() cases 1999-09-21 01:36:30 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
davidm%netscape.com dbe724cae8 Change the call to shutdown to a call to quit. 1999-09-18 00:29:01 +00:00
sfraser%netscape.com c61cbeb9f9 Fix the double reload problem in the editor, which fixes bug 14045 and maybe others. 1999-09-16 23:54:08 +00:00
cmanske%netscape.com 2b5e3f6367 Put loading of EditorContent.css within an if DEBUG_cmanske 'cause it prevents initial reflow and others will complain! 1999-09-15 01:12:58 +00:00
cmanske%netscape.com 05fbeb1c7a Fixed bug 8806 - printing from editor 1999-09-15 01:10:10 +00:00
sfraser%netscape.com e435677c81 Use nsAutoStrings where appropriate 1999-09-14 23:40:16 +00:00
sfraser%netscape.com 58b73017cb 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
jfrancis%netscape.com 4587d375b0 oops, missed a case.... 1999-09-08 19:10:13 +00:00
jfrancis%netscape.com a1b4df9f01 fixing case sensitivity problem 1999-09-08 18:49:01 +00:00
jfrancis%netscape.com 986f1f5a40 making special mail-compose editing rules accessible to mail 1999-09-08 06:26:53 +00:00
cmanske%netscape.com 98348e0f04 Fixed bug 13164 preventing Open from working in editor 1999-09-07 19:08:24 +00:00
jfrancis%netscape.com 03c6026eb0 implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
bruce%cybersight.com 7c0a2d27b9 Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:22:51 +00:00
cls%seawood.org e9f8777444 Fix for the AIX build which claims 'Operand of "&" operator must be an lvalue.' 1999-09-03 09:04:31 +00:00
cmanske%netscape.com 599b54720b Added 'Cancel' to editor save file Confirm dialog and changed to accomodate common dialog interface changes 1999-09-03 01:23:19 +00:00
cmanske%netscape.com 662edc2554 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 ba11acdca2 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 dff2ba2d8d 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
cmanske%netscape.com 523b9079f0 Added checking if we need to save file before allowing close window or exit (bug 7615). Added support for Confirm and Alert message dialogs 1999-08-31 00:51:23 +00:00
cmanske%netscape.com 9c2fab8c18 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 ce2856a9e0 Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead. 1999-08-27 04:12:47 +00:00
tague%netscape.com 11dad9b8c4 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
sfraser%netscape.com d73dfd8ddb 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
valeski%netscape.com 0efb259cfa api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
cmanske%netscape.com 14bb564bf2 Table editing implementation 1999-08-04 02:06:03 +00:00
sfraser%netscape.com bbeffd28f0 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 9f6733aa0f Support for pre-registering nsIDocumentStateListeners before the editor is created. 1999-08-03 00:57:57 +00:00
cmanske%netscape.com 0fef13e963 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 f7081dc5da Fix compile warning 1999-07-30 23:37:57 +00:00
sfraser%netscape.com 972a6948be Support for UI state maintenance, for styles, and the document dirty flag. 1999-07-28 02:54:35 +00:00
cmanske%netscape.com d54ddc3632 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
danm%netscape.com 25c2d9c6ad hooking up window OS border control from JS/C++ 1999-07-27 06:34:25 +00:00
cmanske%netscape.com 16ff2d941c Fixed bugs relating to insert element 1999-07-23 00:52:17 +00:00
akkana%netscape.com 1f9dc3d358 Add GetEmbeddedObjects API to editor shell 1999-07-19 22:36:12 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
cmanske%netscape.com e433362b49 Finished Personal Dictionary dialog. Added 4th button to generic message dialog. Cleaned up syntax errors for in params for spell checking methods 1999-07-15 14:43:48 +00:00
sfraser%netscape.com 7a2849e934 Tidy up the ctor, add a method for getting the document dirty state, and handle multiple loadURLs in the editor content window. 1999-07-14 22:30:39 +00:00
akkana%netscape.com a3fb11b98f 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 f85acd993e Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs 1999-07-14 15:24:33 +00:00