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

1449 Коммитов

Автор SHA1 Сообщение Дата
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