Commit Graph

1557 Commits

Author SHA1 Message Date
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
waterson%netscape.com
7526311e6b Fix Linux bustage. 1999-09-20 04:50:18 +00:00
buster%netscape.com
a8d68e70d4 most of the fix for bug 11804, type-in state wasn't properly removing
inline attributes from the next character entered (you're in a bold word
and user clicks bold button, should make next character not bold.)
all done except for font properties.
1999-09-20 04:20:18 +00:00
buster%netscape.com
ce4d1163e5 turned off a debug flag 1999-09-20 04:17:05 +00:00
buster%netscape.com
4c70f46b60 fixed recent bustage on windows that '.' key wouldn't work, making it
tough to type URL's in browser.  still needs work, but it's usable again.
1999-09-20 04:16:34 +00:00
buster%netscape.com
bd60cff53e turned off a noisy debug flag 1999-09-20 04:15:36 +00:00
jfrancis%netscape.com
54d647b458 fixing a heap-o-undo problems and some mBogusNode problems 1999-09-20 01:31:44 +00:00
buster%netscape.com
8ad67117c7 fixed an error where the out param was not being initialized to null.
This could cause an error in the caller if the caller fails to check the return
code as well as the pointer!=null before dereferencing the result.
1999-09-19 23:47:04 +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
jfrancis%netscape.com
77ca9aa8e5 improved handling of tabs (nested tables now work) and also fixed bug 13662 1999-09-19 10:32:21 +00:00
jfrancis%netscape.com
aa65cecc3d fix bug 13469 1999-09-19 10:31:31 +00:00
jfrancis%netscape.com
cae1f90939 putting tab handling back in KeyDown(). Else editor never gets tabs. 1999-09-19 10:30:30 +00:00
tao%netscape.com
3b2e8619ee Hook up da-DK. 1999-09-18 01:26:24 +00:00
davidm%netscape.com
dbe724cae8 Change the call to shutdown to a call to quit. 1999-09-18 00:29:01 +00:00
cmanske%netscape.com
f1c209d663 Fixed printing from the editor toolbar, bug 8806. 1999-09-17 23:46:36 +00:00
jfrancis%netscape.com
a7f35e4051 fix for 13677 1999-09-17 23:15:12 +00:00
cmanske%netscape.com
84f4333585 Added items for list menu and dialog so DTD work can continue. Change openDialog calls to use '_blank' as window name. 1999-09-17 23:13:59 +00:00
tao%netscape.com
d4916b7bc7 First checkin of da-DK resource files contributed by
Henrik Lynggaard<Lynggaard@netscape.net>
1999-09-17 20:55:59 +00:00
tao%netscape.com
4e9ad19a5e First checkin of da-DK resource files contributed by
Henrik Lynggaard<Lynggaard@netscape.net>
1999-09-17 20:44:01 +00:00
buster%netscape.com
e8c7125690 fixed some warnings 1999-09-17 20:22:13 +00:00
buster%netscape.com
0b130e56c3 fixed a compiler warning 1999-09-17 20:19:50 +00:00
buster%netscape.com
b6b2acbf53 fixed an assesrtion in ~nsHTMLEditor caused by calling GetDocument()
when Init() had never been called.  This is a legal sequence
(nsHTMLEditor is instantiated and destroyed without Init() ever being called),
so now it's allowed.
1999-09-17 20:18:50 +00:00
buster%netscape.com
1b1462e1dc fixed a warning 1999-09-17 20:17:22 +00:00
akkana%netscape.com
9e4d4dd4cc Handle everything in KeyPress; make KeyDown a nop. This also fixes bug 13962 1999-09-17 20:11:13 +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
kin%netscape.com
74bfb4b6b1 Changed all occurrences of window.content.addEventListener()
to window.addEventListener() to fix editor default page not loading.
1999-09-16 18:40:17 +00:00
sspitzer%netscape.com
7ee3917790 ignore generated makefiles 1999-09-16 11:33:15 +00:00
cmanske%netscape.com
fbec6b9f73 Added an HR to editor test page 1999-09-16 04:38:50 +00:00
cmanske%netscape.com
24477ba920 Editor UI work. Integrated Brendan's JS improvements. Trying to get popups to work in dialogs. Add Ben Goodger's table properties dialog work. 1999-09-16 04:36:16 +00:00
sfraser%netscape.com
2f7b8c679a Don't show the caret initially; it will be made visible when the editor, or text widget, gets a focus event. 1999-09-16 01:16:31 +00:00
cmanske%netscape.com
76b86ddf22 Added a link and named anchor to the editor test page 1999-09-15 20:37:10 +00:00
buster%netscape.com
e52e18ffbf fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
in WillInsertText
1999-09-15 19:43:19 +00:00
akkana%netscape.com
934fd4c573 Turn on whitespace insertion 1999-09-15 17:55:41 +00:00
rjc%netscape.com
e477157a1b "rdf:find" is now called "rdf:localsearch" 1999-09-15 10:21:47 +00:00
jfrancis%netscape.com
7ae57f5b07 fix for bug 13500 - typo that broke deletion 1999-09-15 05:43:25 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +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
f2c02c2f27 Changes to nsAutoStrings, and do the funky new caret thing. 1999-09-14 23:44:05 +00:00
sfraser%netscape.com
e435677c81 Use nsAutoStrings where appropriate 1999-09-14 23:40:16 +00:00
akkana%netscape.com
144afd6963 Remove style info -- we need the plaintext-mode editor to do this for us, not requiring it to be in the file 1999-09-14 21:30:58 +00:00
law%netscape.com
d43dfc76b0 Enable editor window to be opened via window.openDialog 1999-09-14 20:36:19 +00:00
buster%netscape.com
4195b67417 fixed bug 13669, wrong password when user typed with 1 or more characters selected 1999-09-14 00:11:22 +00:00
akkana%netscape.com
c81c71360e Fix an erroneous debug print; fix some build warnings 1999-09-13 21:39:51 +00:00
buster%netscape.com
9f2b4b0ef1 added GetAbsoluteOffsetsForPoints, so we can get the length of a document without
playing with it's selection.  Much faster, and doesn't mess with the display at all.
1999-09-13 20:44:38 +00:00
cmanske%netscape.com
cf457341ab Fixed bug 10236 - suppressing hand cursor over links in editor 1999-09-13 19:21:34 +00:00
brade%netscape.com
b46e2d8c9f move to keycode for VK_* keys 1999-09-13 13:52:41 +00:00
jfrancis%netscape.com
49d7f73dbc implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br> 1999-09-13 09:37:51 +00:00
hangas%netscape.com
1c534dce1f Updated help menu to match new id in globalOverlay.xul 1999-09-12 02:50:24 +00:00
jfrancis%netscape.com
9e2b02664f fix for 12675; also added a wrapper for GetNextNode()/GetPriorNode() that checks for containment in the <body> 1999-09-12 01:36:07 +00:00
jfrancis%netscape.com
8720822aff adding a default case enum value for rules action enum 1999-09-12 01:33:20 +00:00
jfrancis%netscape.com
cfc75cc0ed fix for 12675 1999-09-12 01:31:57 +00:00
jfrancis%netscape.com
007586a87b fix for 13516 1999-09-12 01:30:53 +00:00
briano%netscape.com
40320c9f41 General cleanup. 1999-09-11 01:20:05 +00:00
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
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
brade%netscape.com
1f22bedddd remove xml version 1999-08-06 20:31:59 +00:00
brade%netscape.com
8167b06d10 remove xml version; synch up with xul file 1999-08-06 20:11:09 +00:00
brade%netscape.com
001f1a90a9 move to external dtd 1999-08-06 20:08:27 +00:00
brade%netscape.com
adb348c555 remove xml version 1999-08-06 20:07:58 +00:00
brade%netscape.com
dd5a41b3bc move to external dtd 1999-08-06 19:58:55 +00:00
brade%netscape.com
566189c54d First Checked In. 1999-08-06 19:58:22 +00:00
brade%netscape.com
8eda7dbb06 move to external dtd 1999-08-06 19:50:26 +00:00
brade%netscape.com
b6720521c9 remove xml version 1999-08-06 19:50:10 +00:00
brade%netscape.com
80fecab842 move to external dtd 1999-08-06 19:22:25 +00:00
brade%netscape.com
b10d37d30a remove xml version 1999-08-06 19:17:08 +00:00
brade%netscape.com
3c8c2fc57a hook up to correct dtd file 1999-08-06 18:39:19 +00:00
brade%netscape.com
2e3d12c0ee remove old file 1999-08-06 18:38:46 +00:00
brade%netscape.com
4e6304e3f6 File Removed. 1999-08-06 18:37:47 +00:00
brade%netscape.com
740c209fed remove xml version number 1999-08-06 18:37:34 +00:00
brade%netscape.com
90222d6364 remove xml version number; synch up strings with xul file 1999-08-06 18:37:14 +00:00
brade%netscape.com
4b67c82b5e entities now in dtd file 1999-08-06 18:36:24 +00:00
brade%netscape.com
60c85eb9b2 synching up with changes in EdLinkProps.xul 1999-08-06 18:22:00 +00:00
brade%netscape.com
c6297abdbc partial menu keybindings/accesskeys 1999-08-06 15:01:21 +00:00
tague%netscape.com
58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
brade%netscape.com
5bf10f1bcb partial menu keybindings 1999-08-05 22:19:58 +00:00
brade%netscape.com
0b633a1898 diffs from pete@postpagan.com 1999-08-05 22:19:25 +00:00
cmanske%netscape.com
33420b646e Further table editing work 1999-08-05 20:04:58 +00:00
akkana%netscape.com
5cea6e803d 10684: Fix plaintext paste as quotation crash 1999-08-05 19:48:11 +00:00
brade%netscape.com
689d81427d fixbuild/ typos for sford 1999-08-05 14:21:51 +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
brade%netscape.com
4f48374859 File Removed. 1999-08-04 20:07:18 +00:00
brade%netscape.com
74898c7ce6 fix access paths to be more correct (dist first, etc.) 1999-08-04 20:06:32 +00:00
kin%netscape.com
2efc57239b Modified EditorStart/Stop/RunLog() methods to call contentWindow.focus(). 1999-08-04 18:38:11 +00:00
kin%netscape.com
375eb2de71 Fixes for bug #10231 (crash making list after select all)
and bug #10815 (Crash deleting selected text and table)

mozilla/editor/base/nsHTMLEditRules.cpp
  - Added check, in WillDeleteSelection(),  to see if
    endpoints of the range are in the body before calling
    GetBlockNodeParent(). (Bug #10231)
  - Modified GetPromotedPoint() to check for NULL in the
    case where aWhere == kEnd and GetChildAt() returns NULL.
    (Bug #10815)

mozilla/layout/base/src/nsGenericElement.cpp
  - Modified RangeAdd() so that it doesn't add
    a range if it's already in the list.  (Bug #10231)

mozilla/layout/base/src/nsRangeList.cpp
  - Modified GetPrimaryFrameForFocusNode() to
    initialize aReturnFrame and to return a failure
    if ChildAt() returns NULL. (Bug #10231)
1999-08-04 18:36:19 +00:00
brade%netscape.com
49a9848e04 fix build bustage by adding path to dist/editor before all other paths 1999-08-04 15:18:33 +00:00
brade%netscape.com
f457a929d1 rearrange so xul widgets are separate from html 1999-08-04 15:07:54 +00:00