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

1288 Коммитов

Автор SHA1 Сообщение Дата
sfraser%netscape.com 9c4bba4c53 Add viewsource.dtd for sford 1999-09-01 05:48:41 +00:00
sfraser%netscape.com 88f8c1bdb6 First Checked In. 1999-09-01 05:47:40 +00:00
sfraser%netscape.com 7394a49a51 Remove double spacing. 1999-09-01 05:47:00 +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
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
ramiro%netscape.com 18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
jfrancis%netscape.com 743156ab31 checkpointing some deletion work 1999-08-31 13:55:18 +00:00
brade%netscape.com 2cc2e33ace add license; add viewsource (contribution by Sammy Ford) 1999-08-31 12:57:26 +00:00
brade%netscape.com 1e504af60b add files for viewsource; fix years for copyright 1999-08-31 12:56:30 +00:00
brade%netscape.com 6d62bf7bda removed bad line 1999-08-31 12:55:02 +00:00
brade%netscape.com 1427ec578c add viewsource files (contribution by Sammy Ford); fix years in copyright 1999-08-31 12:54:24 +00:00
brade%netscape.com 2bd50ebcff viewsource files 1999-08-31 12:53:49 +00:00
brade%netscape.com 8541d219db First Checked In. 1999-08-31 12:53:13 +00:00
brade%netscape.com 85f888fcc2 View Source (contribution by Sammy Ford); fix year for copyright 1999-08-31 12:52:50 +00:00
brade%netscape.com 6dcbdd7308 add View Source to the menu (contribution by Sammy Ford) 1999-08-31 12:51:30 +00:00
tague%netscape.com 5db7696e19 Updated direct comparison with NS_OK to appropriate macros. 1999-08-31 06:34:56 +00:00
tague%netscape.com 97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
sfraser%netscape.com c67d934ba7 Back out cmanske's changes to these files, which he checked by by mistake. 1999-08-31 01:14:40 +00:00
cmanske%netscape.com 0753653d44 Changed PRBool to boolean in IDL file 1999-08-31 01:13:54 +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
sfraser%netscape.com 4842b0514c Fix double spacing in these files. 1999-08-31 00:09:14 +00:00
pinkerton%netscape.com 50f4479ca0 clean up small mem leak. 1999-08-30 22:18:23 +00:00
brade%netscape.com 2faf7597f4 add spacers to toolbars (contribution by Michael Lowe) 1999-08-30 22:17:27 +00:00
pinkerton%netscape.com cb4b12b1c7 clean up small memory leak. 1999-08-30 22:17:26 +00:00
buster%netscape.com 784ca3f405 removed static constructors, since they're illegal in our system 1999-08-30 22:12:11 +00:00
buster%netscape.com 8b33ec3088 fixed bug 12680 (password fields broken)
fixed bug 12489 (static contructors must be removed)
1999-08-30 22:11:09 +00:00
kin%netscape.com bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
kin%netscape.com b0f9c7a886 Removed unused static ISupports IID. 1999-08-30 14:50:36 +00:00
kin%netscape.com 036dbb9070 Got rid of static buffer in nsEditorTxnLog::GetString(). 1999-08-30 14:48:29 +00:00
syd%netscape.com a5412aa2f8 Comment out rdf for files, this crashes editor when you bring it up. See bug 12725. 1999-08-28 06:03:49 +00:00
bienvenu%netscape.com ebdceed6af more makefile bustage 1999-08-28 03:36:06 +00:00
bienvenu%netscape.com 43b4084dc4 another attempt to fix linux build bustage 1999-08-28 03:01:13 +00:00
bienvenu%netscape.com bac2a15a32 attempt to fix linux build bustage 1999-08-28 02:58:48 +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
akkana%netscape.com dbf32d1372 Handle lower-case alt-x as well as upper case 1999-08-28 00:31:06 +00:00
brade%netscape.com 6acb2db88d add sidebar 1999-08-27 13:07:40 +00:00
brade%netscape.com 77a7956ad0 add sidebar files 1999-08-27 13:06:56 +00:00
brade%netscape.com 9d3748f3cf add files for sidebar 1999-08-27 13:06:19 +00:00
brade%netscape.com 8611126681 add license; add files for sidebar 1999-08-27 13:06:00 +00:00
brade%netscape.com 5407ea5617 add license; add sidebar dtd files 1999-08-27 13:05:44 +00:00
brade%netscape.com b792c262a2 add sidebar dtd files 1999-08-27 13:04:46 +00:00
brade%netscape.com d61e59824e First Checked In. 1999-08-27 13:04:03 +00:00
brade%netscape.com 16b23b760e change comment for lxr searches 1999-08-27 13:02:38 +00:00
ramiro%netscape.com d3031d8625 lower the volume on printf noise. 1999-08-27 09:38:44 +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
sfraser%netscape.com afe0cf616e Changed to use command nodes in XUL, with lots of XUL tidy-up (detabbing etc). 1999-08-26 03:27:56 +00:00
sfraser%netscape.com a538567632 Changed to use command nodes in XUL, with lots of XUL tidy-up (detabbing etc). 1999-08-26 03:22:03 +00:00
cmanske%netscape.com cd8f665c29 Removed unused accesskey entity 1999-08-25 23:45:20 +00:00
cmanske%netscape.com 6a6cd17f16 Removed test menu item to load ua.css 1999-08-25 23:44:14 +00:00
cmanske%netscape.com b6e5504056 Activating CSS to show named anchor in editor 1999-08-25 23:40:07 +00:00
sfraser%netscape.com 6103168684 The document encoder no longer needs a pres shell. 1999-08-25 21:42:47 +00:00
brade%netscape.com af6defd42c add license 1999-08-25 14:40:33 +00:00
brade%netscape.com e5f28a2c97 xul overlay for ok/cancel 1999-08-25 14:36:13 +00:00
brade%netscape.com 277bc1f584 add license; xul overlay for ok/cancel 1999-08-25 14:35:59 +00:00
brade%netscape.com 2523d49538 xul overlay for ok/cancel; add license 1999-08-25 14:28:53 +00:00
brade%netscape.com 3bc4768e4f xul overlay for ok/cancel 1999-08-25 14:18:04 +00:00
jfrancis%netscape.com 9ea8122814 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
pinkerton%netscape.com 72c115383c toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com 268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
bienvenu%netscape.com 8cd70b3a50 fix more spankage bustage 1999-08-25 06:26:42 +00:00
brendan%mozilla.org defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
mscott%netscape.com 351282c55c Fix pedantic build breakage for unix. 1999-08-24 18:38:21 +00:00
akkana%netscape.com ff7a19a5bd 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 796446129f added a special case to the output text rules for an empty document
(one that contains the bogus node)
1999-08-24 13:48:08 +00:00
jfrancis%netscape.com 34f6986b50 refactoring text insertion code; indent/outdent now work with lists and list items. 1999-08-24 08:56:51 +00:00
jfrancis%netscape.com c2b1312912 fix for bug #12337: not counting non-editable nodes when searching for whitespace. 1999-08-24 08:55:28 +00:00
brade%netscape.com 31622542af diffs from pete@postpagan.com (cleanup and alignment css for image dialog) 1999-08-23 15:00:59 +00:00
brade%netscape.com 475ff7c5cf diffs from pete@postpagan.com (cleanup and alignment fixes) 1999-08-23 14:59:46 +00:00
brade%netscape.com 5cb4feb356 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 1999-08-23 14:58:54 +00:00
brade%netscape.com b012dd83f5 changes from pete@postpagan.com 1999-08-23 14:56:57 +00:00
buster%netscape.com 09e028ee79 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.
1999-08-23 06:42:04 +00:00
ramiro%netscape.com 56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
mccabe%netscape.com d98f4dca1d 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.
1999-08-21 08:54:47 +00:00
dougt%netscape.com 32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
tague%netscape.com 893a484b35 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. 1999-08-20 23:52:36 +00:00
hyatt%netscape.com d819a08a33 Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
akkana%netscape.com de0fab64a7 Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings. 1999-08-20 22:39:48 +00:00
brade%netscape.com b2c4160c8a keyhandling for keybindings moved to keypress (was keydown) 1999-08-20 13:14:03 +00:00
akkana%netscape.com 92b103e2e7 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 ;-).
1999-08-19 22:14:54 +00:00
akkana%netscape.com 3ced2aad8e 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).
1999-08-19 22:11:58 +00:00
pinkerton%netscape.com e6c785c88e add DragGesture to drag listener. 1999-08-19 19:48:33 +00:00
buster%netscape.com e153977b80 just turned off the noisy debugging 1999-08-19 15:15:41 +00:00
brade%netscape.com 86237e743d add license 1999-08-19 14:38:45 +00:00
brade%netscape.com 689f7f5325 new images (transparent) from pete@postpagan.com 1999-08-19 14:37:43 +00:00
brade%netscape.com bdeed6a858 back out license due to bug in parser 1999-08-19 14:35:23 +00:00
brade%netscape.com 056e26b4ca add license and opening comment (assume that is what was intended) 1999-08-19 14:33:39 +00:00
brade%netscape.com 776028d5c9 add license 1999-08-19 14:28:44 +00:00
brade%netscape.com 351af90280 diffs from pete@postpagan.com; add license 1999-08-19 14:28:35 +00:00
brade%netscape.com 6fa7b160fa reformatting by pete@postpagan.com, pixel/percent handling by Brian King 1999-08-19 14:25:32 +00:00
brade%netscape.com de8adbda5d diffs from pete@postpagan.com and Brian King (height and width percent controls) 1999-08-19 14:24:09 +00:00
brade%netscape.com b83d69058f diffs from pete@postpagan.com and Brian King 1999-08-19 14:22:29 +00:00
buster%netscape.com c7320f220f fixed some documentation 1999-08-19 13:33:49 +00:00
buster%netscape.com 3bc5912284 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.
1999-08-19 13:30:48 +00:00
kin%netscape.com 8dbe37f8bd Re-enabling Editor API Logging on Mac. 1999-08-19 13:27:57 +00:00
brade%netscape.com 07edca718b modal dialogs 1999-08-19 13:27:29 +00:00
kin%netscape.com f50ffdbc70 added files: mozilla/editor/base/nsEditorTxnLog.cpp, mozilla/editor/base/nsHTMLEditorLog.cpp 1999-08-19 13:25:14 +00:00
kin%netscape.com f83e42cc70 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.
1999-08-19 13:19:10 +00:00
brade%netscape.com 053435f1c7 add license 1999-08-19 13:17:22 +00:00
rods%netscape.com 41a0de11a3 getting unicode data from clipboard 1999-08-18 15:10:18 +00:00
jfrancis%netscape.com a099b1e5b6 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. 1999-08-18 08:13:06 +00:00
ramiro%netscape.com f8ec9059dc Link with neckoutil_s as windows does. 1999-08-17 16:26:25 +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
slamm%netscape.com 0375e0b94d Add a newline to the end of the file. 1999-08-10 23:17:10 +00:00
sfraser%netscape.com 669553a80b Fix the list buttons to show state. 1999-08-10 23:16:43 +00:00
slamm%netscape.com d09418b7bd Add newline to end of file. 1999-08-10 23:14:21 +00:00
sfraser%netscape.com b3336c69a6 Add an <OL> 1999-08-10 23:14:12 +00:00
brade%netscape.com 6f6874d386 diffs from pete@postpagan.com 1999-08-10 23:09:22 +00:00
brade%netscape.com d5cf3b9156 diffs from pete@postpagan.com 1999-08-10 22:57:55 +00:00
brade%netscape.com 260934892f add some menu keybindings 1999-08-10 22:45:33 +00:00
brade%netscape.com 16f1b7595e from pete@postpagan.com 1999-08-10 22:44:39 +00:00
jfrancis%netscape.com 97693b4584 let VC 5 live! 1999-08-10 22:02:27 +00:00
jfrancis%netscape.com e94e14d8d1 more block operation improvements to "make list" 1999-08-10 21:44:10 +00:00
mcafee%netscape.com 194686b481 newline at end of file 1999-08-10 21:29:49 +00:00
akkana%netscape.com f673bdb804 11552: don't hardcode the character set for saving 1999-08-10 21:22:32 +00:00
brade%netscape.com 39c8470d8b partial synch up with editorappshell.xul; fix entities (a=mcafee) 1999-08-10 20:55:14 +00:00
brade%netscape.com eecbe9cdc4 point to EditorAppShell.dtd (removing entities) 1999-08-10 14:18:16 +00:00
brade%netscape.com 30f474f457 *** empty log message *** 1999-08-10 14:17:47 +00:00
sspitzer%netscape.com 2696a2a86b ignore generated Makefile 1999-08-10 05:16:39 +00:00
jfrancis%netscape.com b4b31aaa18 begginning of block operations honoring breaks... 1999-08-09 23:39:48 +00:00
jfrancis%netscape.com 4c2532dd8b fixing bug 9366 1999-08-09 22:51:40 +00:00
jfrancis%netscape.com 4d7c1bf9f2 default impl for InsertHeader(); plus adapted to new definition of SplitNodeDeep() 1999-08-09 21:51:19 +00:00
jfrancis%netscape.com 250a479977 added InsertHeader() 1999-08-09 21:50:28 +00:00
jfrancis%netscape.com 2c1631036f smarts for creating empty lists in the right places; prelim work for WillMakeHeader(); prelim work for indenting lists; helper routine IsEmptyBlock(); 1999-08-09 21:50:02 +00:00
jfrancis%netscape.com c8ee477692 added helper function IsEmptyBlock() 1999-08-09 21:49:25 +00:00
jfrancis%netscape.com 70c5b10ce6 SplitNodeDeep() now emits an out param that tells you what the effective split offset was. This routine no longer splits text nodes unless it has to; ie, if the original offset was at the beginning or end of the text node, no split occurs in it. 1999-08-09 21:45:52 +00:00
jfrancis%netscape.com 9f2cfc31fe adding InsertHeader() 1999-08-09 21:43:53 +00:00
jfrancis%netscape.com 49b63463ff fix for 10584 1999-08-09 21:42:51 +00:00
buster%netscape.com 5b65a4e45f moved handling of flags from rules constructor to rules init, so
rules code can call SetFlags with mEditor initialized and do real
processing if it wants to.
1999-08-09 18:39:49 +00:00
brade%netscape.com 2cc4ca99b8 more strings 1999-08-09 18:38:31 +00:00
brade%netscape.com aff0541fed localize buttons 1999-08-09 18:38:06 +00:00
brade%netscape.com db927a693f localization (point to EditorHLineProperties.dtd) 1999-08-09 18:23:55 +00:00
sfraser%netscape.com ac5099a587 Fix the nsTextEditRules init so that setting the flags works. 1999-08-09 18:22:13 +00:00
brade%netscape.com 39bbde1449 add locale directory 1999-08-09 18:15:35 +00:00
buster%netscape.com 503defd7f0 backed out my last change, it didn't fix the problem I thought it would. 1999-08-09 18:01:08 +00:00
buster%netscape.com 151ee02b62 call SetFlags from Init, so plaintext logic gets executed. 1999-08-09 17:44:14 +00:00
brade%netscape.com cb24c7a3bc First Checked In. 1999-08-09 13:35:01 +00:00
brade%netscape.com b44772a539 move entities to external dtd 1999-08-09 13:33:03 +00:00
sfraser%netscape.com b7cdb2d021 Turn off the JS logging for now, for real this time (duplicate DEFINES line removed) 1999-08-09 02:28:51 +00:00
sfraser%netscape.com 923338fe36 Fix bustage 1999-08-09 02:03:57 +00:00
bienvenu%netscape.com 762c519f8d fix build bustage on win32 1999-08-09 01:57:28 +00:00
sfraser%netscape.com 730dbad85a Turn off the JS logging for now. 1999-08-09 01:42:08 +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
sfraser%netscape.com 7badb78ac8 Turn off JS logging for now. 1999-08-09 01:37:36 +00:00
sfraser%netscape.com 6f28b668c9 First Checked In. 1999-08-09 01:34:04 +00:00
ramiro%netscape.com 4ca8634688 Ignore generated Makefiles. 1999-08-07 22:34:02 +00:00
buster%netscape.com fd79be28bb fixed handling of text controls with a max length set 1999-08-07 05:29:41 +00:00
buster%netscape.com 554895cb53 fixed disabled and readonly handling
added redraw hack to blur (in addition to focus, already done)
1999-08-07 05:28:57 +00:00
brade%netscape.com 535d2597af add window title back in 1999-08-06 21:14:18 +00:00
brade%netscape.com 0b0194e345 move to external dtd 1999-08-06 21:13:45 +00:00
brade%netscape.com d4d8bb8db7 add EditorTableProperties.dtd 1999-08-06 20:34:14 +00:00