Commit Graph

1717 Commits

Author SHA1 Message Date
mscott%netscape.com
eaeb6bff71 Fix pedantic build breakage for unix.
git-svn-id: svn://10.0.0.236/trunk@44313 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:38:21 +00:00
akkana%netscape.com
131d318ad4 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.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
buster%netscape.com
d2cf706ddc added a special case to the output text rules for an empty document
(one that contains the bogus node)


git-svn-id: svn://10.0.0.236/trunk@44286 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 13:48:08 +00:00
jfrancis%netscape.com
99de773e68 refactoring text insertion code; indent/outdent now work with lists and list items.
git-svn-id: svn://10.0.0.236/trunk@44276 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:56:51 +00:00
jfrancis%netscape.com
0d61526430 fix for bug #12337: not counting non-editable nodes when searching for whitespace.
git-svn-id: svn://10.0.0.236/trunk@44275 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:55:28 +00:00
brade%netscape.com
8d5d057227 diffs from pete@postpagan.com (cleanup and alignment css for image dialog)
git-svn-id: svn://10.0.0.236/trunk@44155 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 15:00:59 +00:00
brade%netscape.com
155487089b diffs from pete@postpagan.com (cleanup and alignment fixes)
git-svn-id: svn://10.0.0.236/trunk@44154 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:59:46 +00:00
brade%netscape.com
45c2e9306c diffs from pete@postpagan.com (cleanup and alignment fixes); also fix for enable/disable of dialog based on imageType rather than the existence of a character in the source file
git-svn-id: svn://10.0.0.236/trunk@44153 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:58:54 +00:00
brade%netscape.com
854e19c99d changes from pete@postpagan.com
git-svn-id: svn://10.0.0.236/trunk@44152 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:56:57 +00:00
buster%netscape.com
d25319c9c2 Split out installing the editor's own event handler as a separate step.
The owner of the editor can now initialize the editor,
set up its own listeners if it wants to, then the editor will set up it's own
backstop listeners as part of PostCreate().
The backstop key listener now ignores ENTER for single line text controls.
Ugly to have to do it here, it would be better if the owner could just swallow the key event.


git-svn-id: svn://10.0.0.236/trunk@44121 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:42:04 +00:00
ramiro%netscape.com
2181f0c81e Cleanup the jsdom and jsurl linking mess.
git-svn-id: svn://10.0.0.236/trunk@44054 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:05:45 +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
dougt%netscape.com
6c0494af59 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
git-svn-id: svn://10.0.0.236/trunk@43975 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 07:07:00 +00:00
tague%netscape.com
c0fafec30b Fixed bug #12052 - design changes to the implemenation of the editor charset menu. The charset information is now pushed down to the nsIDocument rather than being stored in the nsEditor component.
git-svn-id: svn://10.0.0.236/trunk@43908 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:52:36 +00:00
hyatt%netscape.com
12a3e06587 Renaming onaction to oncommand.
git-svn-id: svn://10.0.0.236/trunk@43881 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:58:32 +00:00
akkana%netscape.com
1a9e06b69b Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings.
git-svn-id: svn://10.0.0.236/trunk@43844 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:39:48 +00:00
brade%netscape.com
f10a2dbac1 keyhandling for keybindings moved to keypress (was keydown)
git-svn-id: svn://10.0.0.236/trunk@43813 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 13:14:03 +00:00
akkana%netscape.com
4c0a11e3ff Partial work toward 11390, using style instead of embedded pre tag
to control wrapping; this adds a style tag that should work, but
doesn't seem to (see bug 4696), so I've left the old pre tag in place.
Also change text to more accurately reflect the situation, and fix the
80 char reference so that it's really 80 chars (was 78 ;-).


git-svn-id: svn://10.0.0.236/trunk@43715 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:14:54 +00:00
akkana%netscape.com
3e1143ba96 11684: remove redundant wrapcol variable from editor
(and fix type in obsolete text editor);
Partial work toward 11390, use style rather than embedded PRE for wrapping
  (unfinished, currently ifdefed out).


git-svn-id: svn://10.0.0.236/trunk@43711 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:11:58 +00:00
pinkerton%netscape.com
d7fdcb2e00 add DragGesture to drag listener.
git-svn-id: svn://10.0.0.236/trunk@43635 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:48:33 +00:00
buster%netscape.com
6b0affad91 just turned off the noisy debugging
git-svn-id: svn://10.0.0.236/trunk@43631 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 15:15:41 +00:00
brade%netscape.com
2969cadc0b add license
git-svn-id: svn://10.0.0.236/trunk@43622 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:38:45 +00:00
brade%netscape.com
3e189f6f69 new images (transparent) from pete@postpagan.com
git-svn-id: svn://10.0.0.236/trunk@43621 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:37:43 +00:00
brade%netscape.com
4a929fc494 back out license due to bug in parser
git-svn-id: svn://10.0.0.236/trunk@43618 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:35:23 +00:00
brade%netscape.com
105ccaba11 add license and opening comment (assume that is what was intended)
git-svn-id: svn://10.0.0.236/trunk@43616 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:33:39 +00:00
brade%netscape.com
17973a6bca add license
git-svn-id: svn://10.0.0.236/trunk@43613 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:28:44 +00:00
brade%netscape.com
3f3390d0d5 diffs from pete@postpagan.com; add license
git-svn-id: svn://10.0.0.236/trunk@43612 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:28:35 +00:00
brade%netscape.com
3172f85c18 reformatting by pete@postpagan.com, pixel/percent handling by Brian King
git-svn-id: svn://10.0.0.236/trunk@43610 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:25:32 +00:00
brade%netscape.com
767a84562a diffs from pete@postpagan.com and Brian King (height and width percent controls)
git-svn-id: svn://10.0.0.236/trunk@43609 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:24:09 +00:00
brade%netscape.com
5d83f978e0 diffs from pete@postpagan.com and Brian King
git-svn-id: svn://10.0.0.236/trunk@43605 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:22:29 +00:00
buster%netscape.com
9d94630564 fixed some documentation
git-svn-id: svn://10.0.0.236/trunk@43591 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:33:49 +00:00
buster%netscape.com
d1193affa0 Fixed a ton of errors where we were not handling error results correctly.
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.


git-svn-id: svn://10.0.0.236/trunk@43590 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:30:48 +00:00
kin%netscape.com
a6b30f6bce Re-enabling Editor API Logging on Mac.
git-svn-id: svn://10.0.0.236/trunk@43589 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:27:57 +00:00
brade%netscape.com
4d940dc518 modal dialogs
git-svn-id: svn://10.0.0.236/trunk@43588 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:27:29 +00:00
kin%netscape.com
549b2c9000 added files: mozilla/editor/base/nsEditorTxnLog.cpp, mozilla/editor/base/nsHTMLEditorLog.cpp
git-svn-id: svn://10.0.0.236/trunk@43587 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:25:14 +00:00
kin%netscape.com
11de802b21 Modifications to re-enable Editor API Logging which was broken after the last editor source reorg.
editor/base/Makefile.in
  editor/base/makefile.win
    - Modified makefiles build files that were
      renamed, and use new define to build the
      API Logging code.

  editor/base/nsEditor.cpp
  editor/base/nsEditor.h
  editor/base/nsHTMLEditor.cpp
    - Removed all ENABLE_JS_EDITOR_LOG ifdef'd code.
    - Removed all references to nsVector.h.

  editor/base/nsEditorFactory.cpp
    - Added ENABLE_EDITOR_API_LOG ifdef'd code
      that will create an instance of nsHTMLEditorLog
      instead of nsHTMLEditor.

  editor/base/nsEditorTxnLog.cpp
    - Initial checkin of file. File was originally named nsJSTxnLog.cpp.

  editor/base/nsEditorTxnLog.h
    - Initial checkin of file. File was originally named nsJSTxnLog.h.

  editor/base/nsHTMLEditorLog.cpp
    - Initial checkin of file. File was originally named nsJSEditorLog.cpp.
    - nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
      overrides methods that modify the content tree and are publicly
      available via XPIDL.

  editor/base/nsHTMLEditorLog.h
    - Initial checkin of file. File was originally named nsJSEditorLog.h.
    - nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
      overrides methods that modify the content tree and are publicly
      available via XPIDL.


git-svn-id: svn://10.0.0.236/trunk@43585 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:19:10 +00:00
brade%netscape.com
4c2e814ec1 add license
git-svn-id: svn://10.0.0.236/trunk@43584 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:17:22 +00:00
rods%netscape.com
2275e460f5 getting unicode data from clipboard
git-svn-id: svn://10.0.0.236/trunk@43508 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 15:10:18 +00:00
jfrancis%netscape.com
41485faa2c some reorg of block transformation code; implemented make-{header,preformatted,address,normal}; tweaked make list to honor <br> in some circumstances; rewrote "return in list item" to pop you out of list if item is empty; rewrote "return in header" to work with non-trivial headers.
git-svn-id: svn://10.0.0.236/trunk@43484 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 08:13:06 +00:00
ramiro%netscape.com
2f3a69136e Link with neckoutil_s as windows does.
git-svn-id: svn://10.0.0.236/trunk@43416 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 16:26:25 +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
slamm%netscape.com
2125e5aafb Add a newline to the end of the file.
git-svn-id: svn://10.0.0.236/trunk@43078 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:17:10 +00:00
sfraser%netscape.com
ec466a1602 Fix the list buttons to show state.
git-svn-id: svn://10.0.0.236/trunk@43077 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:16:43 +00:00
slamm%netscape.com
cf23d37bc7 Add newline to end of file.
git-svn-id: svn://10.0.0.236/trunk@43076 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:14:21 +00:00
sfraser%netscape.com
05fe8ce004 Add an <OL>
git-svn-id: svn://10.0.0.236/trunk@43075 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:14:12 +00:00
brade%netscape.com
5c6bcb5673 diffs from pete@postpagan.com
git-svn-id: svn://10.0.0.236/trunk@43072 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:09:22 +00:00
brade%netscape.com
055a5c4888 diffs from pete@postpagan.com
git-svn-id: svn://10.0.0.236/trunk@43062 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:57:55 +00:00
brade%netscape.com
ddccf32ffe add some menu keybindings
git-svn-id: svn://10.0.0.236/trunk@43059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:45:33 +00:00
brade%netscape.com
67d6bbb5ea from pete@postpagan.com
git-svn-id: svn://10.0.0.236/trunk@43055 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:44:39 +00:00
jfrancis%netscape.com
c5e0ffdf88 let VC 5 live!
git-svn-id: svn://10.0.0.236/trunk@43041 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:02:27 +00:00