Commit Graph

1557 Commits

Author SHA1 Message Date
kipp%netscape.com
7ac62b03ca Whoops, backed out last check - wasn't supposed to land it 1999-10-07 20:46:50 +00:00
kipp%netscape.com
94df0dc557 r=kin; Added in ctor/dtor counts 1999-10-07 20:45:56 +00:00
buster%netscape.com
7a638a9c93 fixed some space leaks reported by kipp. no bug #, r=tague
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com
c412022f4a revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com 1999-10-06 19:34:09 +00:00
nhotta%netscape.com
db0e490c2c Bug fix 15017, reviewed by akkana. Override SetDocumentCharacterSet for HTMLEditor to update META charset tag if exists. 1999-10-04 23:50:27 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
akkana%netscape.com
f78e4859ef Make sidebar stay hidden -- fix regression that sidebar wasn't closeable. r=slamm,cmanske a=leaf 1999-09-30 00:33:28 +00:00
cmanske%netscape.com
65729a4047 Added do_QueryInterface to fix build bustage for Linux 1999-09-29 23:33:45 +00:00
kin%netscape.com
52cd432f83 Fix for build bustage on Linux. 1999-09-29 23:19:34 +00:00
cmanske%netscape.com
d20641b38c Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode 1999-09-29 21:45:50 +00:00
slamm%netscape.com
1816971644 Remove unused file. 1999-09-29 20:32:46 +00:00
akkana%netscape.com
483314b211 Set the preformatted output flag if appropriate 1999-09-29 20:23:07 +00:00
akkana%netscape.com
fb6ea2d4ad 14859: make rules code smarter about identifying blockquote type=cite 1999-09-29 20:20:31 +00:00
slamm%netscape.com
aa5c2a2769 Use sidebar overlay (bug #14838). Eliminates a costly iframe. 1999-09-29 20:19:26 +00:00
akkana%netscape.com
fa1e859619 14731: only insert formatting whitespace for block nodes 1999-09-29 20:19:20 +00:00
jfrancis%netscape.com
9a79219861 revised UNDO; introduced first cut at the "mozdiv" typing rules 1999-09-29 20:08:15 +00:00
jfrancis%netscape.com
6059931139 First Checked In. 1999-09-29 20:07:32 +00:00
kin%netscape.com
3496482faa editor/txtsvc/public/nsITextServicesDocument.h
editor/txtsvc/src/nsTextServicesDocument.cpp
editor/txtsvc/src/nsTextServicesDocument.h

  - Added ScrollSelectionIntoView() method to nsITextServicesDocument
    interface and implementation.
1999-09-29 20:04:34 +00:00
buster%netscape.com
9c7330f086 fixed bug 13887, caret in odd place at editor launch
a=chofmann, r=sfraser
1999-09-28 00:49:56 +00:00
kipp%netscape.com
29c7fcb9b4 new 1999-09-25 20:11:47 +00:00
cmanske%netscape.com
d3f77cb9cd Fixed M11 bugs 14720 and 10666 (a=chofmann), bug 11097 (a=leaf). All approved by buster (Steve Clark) 1999-09-24 00:25:01 +00:00
sfraser%netscape.com
ccc067210c Fix for bug 14640 -- unregister the selection listener when we get more than one reload in the editor. coded buster, r sfraser, a leaf. 1999-09-23 23:46:23 +00:00
buster%netscape.com
ac6d0d1a0f fixed IsEditable again, based on new info.
Now, only \n are held in the content model, making the original
implementation correct.
a=chofmann, r=akkana
1999-09-23 19:08:42 +00:00
buster%netscape.com
8f8b7675ee 13669: password data wrong if user types with 1 or more chars selec...
my bad, I make the assumption everywhere that start>=end at the end of
  GetTextSelectionOffsets().  Now I enforce that restriction before returning.

14430: partial fix for misbehaving inline attribute code
1999-09-23 04:01:10 +00:00
colin%theblakes.com
541685cff2 Add dist/bin to EXTRA_DSO_LDOPTS to locate xpcom. See bug 14562. 1999-09-23 00:27:00 +00:00
buster%netscape.com
4092a3c363 14602: IsEditable is broken.
removed optimization where we searched text strings and made our own guess about
  whether it was editable or not.  Now we just trust layout, if there's a frame, it's editable.
1999-09-23 00:10:51 +00:00
cmanske%netscape.com
20f2a8bffa More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
cmanske%netscape.com
59c4798a9d Removing file no longer in build 1999-09-22 05:52:08 +00:00
buster%netscape.com
49af0dba87 very simple extension of a fix already in place for bug 11804 1999-09-22 05:00:58 +00:00
buster%netscape.com
89e517d4ca fixed odd problem where editor app would not load default document 1999-09-22 03:50:47 +00:00
cmanske%netscape.com
22e71cc893 Fixing Paul's bustage in our dialogs - PLEASE PAY ATTENTION TO DEFAULT NAMESPACE! 1999-09-22 01:39:18 +00:00
sfraser%netscape.com
45452ccc0e Fixed GetFirst/LastEditable node 1999-09-22 01:23:58 +00:00
sfraser%netscape.com
8f9b391882 Some utility methods, and added ForceUpdate. 1999-09-22 01:22:35 +00:00
sfraser%netscape.com
628b73338b Expose the type-in state through nsIHTMLEditor 1999-09-22 01:21:56 +00:00
sfraser%netscape.com
0e5bf09301 Implement UpdateInterfaceState 1999-09-22 01:20:24 +00:00
sfraser%netscape.com
7274bfc0ef Added UpdateInterfaceState, to force an update of the UI 1999-09-22 01:19:33 +00:00
sfraser%netscape.com
9796242046 Some utility functions for getting state. 1999-09-22 01:18:51 +00:00
brade%netscape.com
f0effa903f add idl to the build list 1999-09-21 23:21:14 +00:00
saari%netscape.com
cb935f51c7 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
brade%netscape.com
c7afb94dcc warning cleanup 1999-09-21 22:32:39 +00:00
brade%netscape.com
5dc0db68e3 allow for txn to have id/string for get/set 1999-09-21 22:31:27 +00:00
brade%netscape.com
af2bc141b0 allow txn to get/set string and id 1999-09-21 22:29:44 +00:00
brade%netscape.com
e99928219d First Checked In. 1999-09-21 22:27:05 +00:00
buster%netscape.com
1ee85a7538 fixed a problem with asserts trying to merge empty aggregate transactions.
if the aggregate transaction is empty, don't execute it.  It's not technically
illegal, but it's a waste, and it causes the assert.
1999-09-21 20:46:36 +00:00
joki%netscape.com
3443bcda6f Changing dom event VK_* names to DOM_VK_* 1999-09-21 14:19:17 +00:00
tao%netscape.com
73ba28b5e7 Move editor.properties from content/ to locale/, 1999-09-21 06:30:03 +00:00
hangas%netscape.com
1a470e5cfa Added key binding for OK/Cancel buttons. 1999-09-21 05:23:14 +00:00
hangas%netscape.com
669e7fa437 Added key binding to dialogOverlay.xul for OK and Cancel buttons. Updated xul windows to include these keys. 1999-09-21 05:20:56 +00:00
akkana%netscape.com
d57e4f513a Use new ToString method on selection 1999-09-21 01:42:41 +00:00
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