Commit Graph

1353 Commits

Author SHA1 Message Date
jfrancis%netscape.com
e00747a633 cleaning up warnings (bug 13469) 1999-09-11 00:20:59 +00:00
jfrancis%netscape.com
325a680de6 bug fix: paragraphs now merge properly. 1999-09-10 23:32:28 +00:00
jfrancis%netscape.com
5638b8ea91 bug fix (no #) for GetPriorNode/GetNextNode 1999-09-10 23:31:43 +00:00
jfrancis%netscape.com
5abceec771 rearranging project view a bit 1999-09-10 23:31:04 +00:00
jfrancis%netscape.com
21813b21b9 bug fix for 13500 1999-09-10 23:30:35 +00:00
akkana%netscape.com
8fd31a2323 Better debug prints: tell which tag we're creating 1999-09-10 22:34:18 +00:00
akkana%netscape.com
332f71e329 490: infrastructure for inserting formatting whitespace. Not turned on yet except for DEBUG_akkana 1999-09-10 18:54:13 +00:00
brade%netscape.com
1032971d5d handle hard-coded keybindings on Mac; begin to support new key event spec (lower case letters for charcodes) 1999-09-10 14:42:20 +00:00
jfrancis%netscape.com
8915071857 fix for bug 13482 1999-09-09 22:22:14 +00:00
buster%netscape.com
ffb3894fd2 fixed password editors, while maintaining output of empty HTML documents
fixes bug 13404, a blocker for enabling gfx text controls
1999-09-09 19:39:36 +00:00
briano%netscape.com
74717a1573 General cleanup. 1999-09-09 04:00:39 +00:00
briano%netscape.com
d5abd4e0c7 General cleanup. 1999-09-09 03:34:19 +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
sfraser%netscape.com
567e85bce7 Add tests for empty doc, and get doc length in EditorTestSelection. 1999-09-08 23:27:22 +00:00
sfraser%netscape.com
10e8eee957 Removed nsInsertHTMLTxn.cpp 1999-09-08 20:18:29 +00:00
sfraser%netscape.com
c684286864 File Removed. 1999-09-08 20:17:32 +00:00
brade%netscape.com
585e215dd4 remove unneeded / redundant code; fix updating of controls 1999-09-08 20:10:22 +00:00
sfraser%netscape.com
1ea026f91b File Removed. 1999-09-08 20:07:57 +00:00
sfraser%netscape.com
2f83ab2210 Remove commented out nsIEditRules 1999-09-08 20:06:01 +00:00
brade%netscape.com
7ac6516418 fix typo 1999-09-08 19:54:40 +00:00
sfraser%netscape.com
5b2a5a10b7 File Removed. 1999-09-08 19:51:03 +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
brade%netscape.com
f38c1c8cbd optimizations from Ben Goodger; move global var tagName to local; remove old comment; add new comments; don't pass around image editfield id 1999-09-08 14:57:44 +00:00
brade%netscape.com
7957e6f515 add license and selection keys (home, end, pgup, pgdn, arrows, shift-selects, etc.) 1999-09-08 14:04:41 +00:00
brade%netscape.com
3ca563ea08 readd spacers in toolbar 1999-09-08 13:36:32 +00:00
jfrancis%netscape.com
986f1f5a40 making special mail-compose editing rules accessible to mail 1999-09-08 06:26:53 +00:00
jfrancis%netscape.com
9c28b6ac69 restoring 1.54 checkin: no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document. fix for bug 13251 is now in layout/src/base/nsRange.cpp 1999-09-08 05:30:48 +00:00
cmanske%netscape.com
b79cba21bc Activated collapsing of table row in Image Dialog to implement 'More'/'Fewer' behavior, now that sizeToContent works! 1999-09-08 00:50:45 +00:00
cmanske%netscape.com
8739b154d3 Fixed Insert Table dialog to not insert if properties are not valid 1999-09-07 23:55:13 +00:00
cmanske%netscape.com
b4e446eaaf Adding Advanced Property Editing dialog work by Ben Goodger (rgoodger@ihug.co.nz) 1999-09-07 23:49:46 +00:00
sfraser%netscape.com
aecde5dd4b Remove the view source menu item because it doesn't work right yet, and fix the contentframe.xul URL to work with some obscure CAPS changes. 1999-09-07 23:25:59 +00:00
kin%netscape.com
7602564deb Fix for bug #13251: gfx text fields are not accepting input
Reenabled call to ClearSelection() in nsTextEditRules::WillInsert().
1999-09-07 22:47:50 +00:00
cmanske%netscape.com
98348e0f04 Fixed bug 13164 preventing Open from working in editor 1999-09-07 19:08:24 +00:00
sfraser%netscape.com
1ab34362fc Fix view source to work with the new browser appcore replacement 1999-09-07 18:53:02 +00:00
sfraser%netscape.com
0956b48325 Fix the implicit global editorShell weirdness, and change the viewsource window opening. 1999-09-07 18:52:27 +00:00
brade%netscape.com
91e090d004 fix copyright; add contributor (Sammy Ford) 1999-09-07 14:32:03 +00:00
jfrancis%netscape.com
7e088b3bf0 implemented RemoveList(); deletion doesn't scatter so many empty nodes; mailcite rules started; general deletion work (still WIP); several small bugfixes; refactored list item outdenting code 1999-09-06 19:51:59 +00:00
jfrancis%netscape.com
03c6026eb0 implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
jfrancis%netscape.com
7f0b5337ce no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document. 1999-09-06 19:45:26 +00:00
jfrancis%netscape.com
ef4462884a adding type="cite" to the blockquote, for testing purposes 1999-09-06 19:44:14 +00:00
bruce%cybersight.com
7c0a2d27b9 Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:22:51 +00:00
dougt%netscape.com
028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
cmanske%netscape.com
dd1fea4e79 Fixed all property dialogs to use global onAdvancedEdit() feature. Moved lots of JS strings into string bundle file. 1999-09-03 22:05:47 +00:00
sspitzer%netscape.com
b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +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
sspitzer%netscape.com
338479c025 it really scares me to see my password get sent to the console when I type it. it's scaring others, see #13061. wrapping this code with #ifdef DEBUG_<author>. I'll send them mail directly. 1999-09-03 08:31:33 +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
cb72d8345b Fixed rule to make text and background buttons join together on toolbar 1999-09-03 01:16:39 +00:00
buster%netscape.com
c2a011eb49 got rid of a nasty compiler warning by changing an unsigned int to signed 1999-09-02 20:37:19 +00:00
akkana%netscape.com
04c1cfb61e Remove unused insert html txn 1999-09-02 18:37:24 +00:00
akkana%netscape.com
31dc354b24 11864: Make InsertHTML undoable.
Insert the top-level nodes in the doc frag one by one,
instead of passing the whole doc frag to InsertNode.
1999-09-02 17:56:09 +00:00
sfraser%netscape.com
59dee1feba First Checked In. 1999-09-02 05:27:20 +00:00
sfraser%netscape.com
85cfada1d4 Move most of the entities to the editorOverlay.dtd files 1999-09-02 04:57:22 +00:00
sfraser%netscape.com
3253600483 Add the editorOverlay.dtd file 1999-09-02 04:56:57 +00:00
sfraser%netscape.com
74f43c0f23 Landing XUL overlays for editor keys, toolbars and menus. 1999-09-02 04:55:52 +00:00
sfraser%netscape.com
0c1a88383e Add editor overlay XUL and JS files 1999-09-02 04:54:36 +00:00
sfraser%netscape.com
6ce21a559d File Removed. 1999-09-02 04:51:04 +00:00
sfraser%netscape.com
e5a3f4f39e First Checked In. 1999-09-02 04:49:24 +00:00
sfraser%netscape.com
05c42fac85 Add a UTF-8 charset declaratoin, and some Japanese for grins. 1999-09-02 04:49:09 +00:00
sfraser%netscape.com
e61399d054 Turn off debug printfs for everyone except buster. 1999-09-02 04:48:17 +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
jfrancis%netscape.com
f574b5218f more deletion work... 1999-09-01 21:23:47 +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
sfraser%netscape.com
f88b9aa594 Fix the plain text XUL to load -- fix entity 1999-09-01 05:50:36 +00:00
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