56 Commits

Author SHA1 Message Date
cmanske%netscape.com
5eed0d89a9 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
git-svn-id: svn://10.0.0.236/trunk@67836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:24:11 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
akkana%netscape.com
eb9b9e717d 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.


git-svn-id: svn://10.0.0.236/trunk@66336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:39:10 +00:00
tbogard%aol.net
733b054319 Changed nsEditorShell to hold on to docShells instead of webShells. Changed a number of places to use nsIDocShell instead of nsIWebShell. Removed the hold on a nsIWebShellWindow as no one should ever hold onto that.
git-svn-id: svn://10.0.0.236/trunk@65621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:48:14 +00:00
sfraser%netscape.com
ce3113a37e Fix for 14599 -- detect attempt to edit frameset. a=akkana
git-svn-id: svn://10.0.0.236/trunk@65109 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:06:25 +00:00
cmanske%netscape.com
1d0728c1b0 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
git-svn-id: svn://10.0.0.236/trunk@64695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:18:29 +00:00
sfraser%netscape.com
81c26cdf28 Work in progress for bug 14599 -- handle loading frameset docs. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:13:00 +00:00
norris%netscape.com
eac4ea696c Fix bug 7264 All JavaScript running with correct principals
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:59:46 +00:00
brade%netscape.com
ca46902629 fix memory leaks in GetString functions; written by sfraser; built by jst and brade
git-svn-id: svn://10.0.0.236/trunk@63460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 15:44:32 +00:00
cmanske%netscape.com
a8fcf6d5b7 Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63202 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:41 +00:00
tbogard%aol.net
b09f250b0f Use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:01:39 +00:00
tbogard%aol.net
ae46ea6d3b Removed unused forward declaration of class nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@60369 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:11:37 +00:00
cmanske%netscape.com
d4e1176a34 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
git-svn-id: svn://10.0.0.236/trunk@57722 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:33:00 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
brade%netscape.com
94635420f7 remove unused functions; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@55195 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 15:18:38 +00:00
brade%netscape.com
44ddc49826 remove some unused functions from editor shell (r=jfrancis)
git-svn-id: svn://10.0.0.236/trunk@54756 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 15:23:46 +00:00
akkana%netscape.com
4059b56e74 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis


git-svn-id: svn://10.0.0.236/trunk@54475 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 04:11:51 +00:00
sfraser%netscape.com
cbb5dd663c Fix 16653 and 18496 -- assert on non-local Edit Page, and avoid opening a second composer window for a file that is already open. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@53121 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:12:23 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
cmanske%netscape.com
5e0a77611f Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@51255 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:15:25 +00:00
cmanske%netscape.com
d3b17dbcb9 Fixed bugs 16316, 16494, 16495, all relating to editor file open, saving, and window title issues. r=law
git-svn-id: svn://10.0.0.236/trunk@50876 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 22:06:41 +00:00
cmanske%netscape.com
c586988364 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
git-svn-id: svn://10.0.0.236/trunk@49362 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 21:45:50 +00:00
cmanske%netscape.com
d34dcd1353 Added 'Cancel' to editor save file Confirm dialog and changed to accomodate common dialog interface changes
git-svn-id: svn://10.0.0.236/trunk@45802 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 01:23:19 +00:00
cmanske%netscape.com
03f3145567 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.
git-svn-id: svn://10.0.0.236/trunk@45410 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:22:37 +00:00
cmanske%netscape.com
f9cc1c05e3 Added checking if we need to save file before allowing close window or exit (bug 7615). Added support for Confirm and Alert message dialogs
git-svn-id: svn://10.0.0.236/trunk@45247 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 00:51:23 +00:00
cmanske%netscape.com
117195748b 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.
git-svn-id: svn://10.0.0.236/trunk@44967 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:40:18 +00:00
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +00:00
tague%netscape.com
1bdbfaf844 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.
git-svn-id: svn://10.0.0.236/trunk@43310 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 22:26:50 +00:00
sfraser%netscape.com
4dd92661ce Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
git-svn-id: svn://10.0.0.236/trunk@42725 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:50 +00:00
valeski%netscape.com
be8bf3fd76 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).


git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:28:30 +00:00
cmanske%netscape.com
59766ea19c Table editing implementation
git-svn-id: svn://10.0.0.236/trunk@42082 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 02:06:03 +00:00
sfraser%netscape.com
8befbe5e05 Support for pre-registering nsIDocumentStateListeners before the editor is created.
git-svn-id: svn://10.0.0.236/trunk@41913 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:57:57 +00:00
cmanske%netscape.com
e77114a04c 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.
git-svn-id: svn://10.0.0.236/trunk@41775 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:37:58 +00:00
sfraser%netscape.com
45984f5dcb Support for UI state maintenance, for styles, and the document dirty flag.
git-svn-id: svn://10.0.0.236/trunk@41406 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:54:35 +00:00
cmanske%netscape.com
19ab0e4029 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table.
git-svn-id: svn://10.0.0.236/trunk@41372 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:59:22 +00:00
akkana%netscape.com
3f8e57acfe Add GetEmbeddedObjects API to editor shell
git-svn-id: svn://10.0.0.236/trunk@40174 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:36:12 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
cmanske%netscape.com
48cf0087a1 Finished Personal Dictionary dialog. Added 4th button to generic message dialog. Cleaned up syntax errors for in params for spell checking methods
git-svn-id: svn://10.0.0.236/trunk@39531 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:43:48 +00:00
sfraser%netscape.com
4a3b349390 Tidy up the ctor, add a method for getting the document dirty state, and handle multiple loadURLs in the editor content window.
git-svn-id: svn://10.0.0.236/trunk@39420 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:30:39 +00:00
akkana%netscape.com
a878369d02 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.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
cmanske%netscape.com
79fd9050ea Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs
git-svn-id: svn://10.0.0.236/trunk@39268 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:24:33 +00:00
kin%netscape.com
0d49f312e2 Added ApplyStyleSheet() method to the various editor interfaces.
git-svn-id: svn://10.0.0.236/trunk@37845 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:32:35 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
akkana%netscape.com
2fb45d996c - 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.


git-svn-id: svn://10.0.0.236/trunk@37529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:26:08 +00:00
sfraser%netscape.com
20ffc454a0 Call the Output routines with a new param for selection only.
git-svn-id: svn://10.0.0.236/trunk@37426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:14:58 +00:00
valeski%netscape.com
8e418e46c4 NECKO build. pushed the appropriate NECKO apis down into the editor shell from nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@37175 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 13:01:55 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
sfraser%netscape.com
537559b590 Clean up the editorShell, fixing some leaks, and removing old appCore-related cruft.
git-svn-id: svn://10.0.0.236/trunk@35933 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:13:46 +00:00