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

371 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com f6f52eedef Replace GetBodyElement with GetRootElement to fix bustage 2000-05-04 14:32:07 +00:00
cmanske%netscape.com 997a0f430f HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com e983172b2f massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
akkana%netscape.com 09868c608f Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin 2000-05-03 23:38:36 +00:00
akkana%netscape.com 087cac75b5 37560: convert platform to dom newlines before inserting html. r=cmanske 2000-05-03 21:18:23 +00:00
jfrancis%netscape.com b70e6e443b partial fix for bug 30763 2000-05-03 01:34:34 +00:00
jfrancis%netscape.com 7a8d8c9f26 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
cmanske%netscape.com fc2bc945aa Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +00:00
sfraser%netscape.com 29ea7a1c61 Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
cmanske%netscape.com e48fc235ab Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties 2000-04-28 23:39:27 +00:00
mjudge%netscape.com d5503b6423 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
cmanske%netscape.com 0b1fa1f02b Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 39a76668ca Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
brade%netscape.com 0489219757 factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst 2000-04-25 14:15:04 +00:00
scc%netscape.com 992a2f63e3 making string conversions explicit 2000-04-21 06:56:47 +00:00
sfraser%netscape.com fef0090592 Fix for 29843 -- caret disappears on delete. r=jfrancis 2000-04-20 03:59:50 +00:00
jfrancis%netscape.com 9eff10efd4 tab in table, tab in lists, fixed inline style handling over multi-ranged selections 2000-04-18 21:39:35 +00:00
scc%netscape.com 1d1960be1e making string conversions explicit 2000-04-18 07:44:58 +00:00
akkana%netscape.com 2d3cd3acbb 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com d5c3bc9965 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
pinkerton%netscape.com a08bd44ab6 new clipboard interfaces for unix selection clipboard. 2000-04-14 02:52:38 +00:00
jfrancis%netscape.com b7dd11f7bb Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs. 2000-04-13 21:50:19 +00:00
cmanske%netscape.com 0bbcf3b037 Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis 2000-04-04 14:51:26 +00:00
cmanske%netscape.com 328092db3b Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser 2000-03-31 04:18:29 +00:00
akkana%netscape.com e0a038fc6b 33785: Fix PasteAsCitedQuotation. r=jfrancis 2000-03-30 22:26:06 +00:00
jfrancis%netscape.com 936e0aeb63 turning back on password field handling in editor 2000-03-29 13:45:08 +00:00
jfrancis%netscape.com 19853bbf17 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
akkana%netscape.com 98b453703d 28317: pasting beyond textarea's visible bounds should scroll. r=sfraser 2000-03-28 00:34:26 +00:00
scc%netscape.com bb71dd61c4 small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
jfrancis%netscape.com d043aa611d improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:26:47 +00:00
cmanske%netscape.com e3ef5768c7 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com 6eaddd7332 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp 2000-03-20 23:13:25 +00:00
akkana%netscape.com 208142900c Remove a printf 2000-03-18 02:05:22 +00:00
cmanske%netscape.com 5cd588c47d Table row, column, all-cells selection now working. Menu items enabled. r=mjudge 2000-03-17 01:46:17 +00:00
cmanske%netscape.com 6d478d3a2e Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge 2000-03-16 23:45:41 +00:00
akkana%netscape.com 4571562a1a 25645, fix delete line and kill to end 2000-03-14 02:58:14 +00:00
rickg%netscape.com 5869138fb9 replaced calls to deprecated string methods 2000-03-12 20:39:41 +00:00
jfrancis%netscape.com 0fbca28d1e fixe for 23558: windows ime bug - typing escape in ime can cause selection to move to top of document r=mjudge, ftang; a=rickg 2000-02-25 23:50:17 +00:00
jfrancis%netscape.com 9229dddc5e fixes for the following bugs: 27914, 27305, 28690, 14608, 27306, 28757 These fixes reviewed by cmanske, apprvd rickg; also fix for 28724 (caret positioning problems) reviewed by mjudge, apprvd by jar. 2000-02-25 04:39:30 +00:00
jfrancis%netscape.com 1ff627fe07 fixes for: 27959 - delete broken in editor 24694 - cant get out of link insertion r=sfraser; a=phil 2000-02-17 19:40:18 +00:00
cmanske%netscape.com 6a7034a643 Added Page Properties (26889) and Page Colors dialogs (14344), removed debug menu only in release (27237), link dialog fixes (27308), lots of dialog rewrite to use titledbox instead of fieldset, rewrote insert table dialog to use boxes. Changed font size to use CSS strings, not <font size> for ui, but other bugs prevented inserting spans for size. Other small bug fixes. r=brade. 2000-02-15 15:54:05 +00:00
jfrancis%netscape.com 9fec636578 fix for 27188: crash when making text bold 2000-02-13 12:52:15 +00:00
cmanske%netscape.com 264068946d Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
jfrancis%netscape.com 3385024fd0 implementing font increase/decrease size for html editor (bug 18774) r=floppy moose 2000-02-08 12:53:34 +00:00
sspitzer%netscape.com 17eebe8a61 more changes to get everyone using my arbitrary command line handling.
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott
2000-02-08 01:11:13 +00:00
akkana%netscape.com 27bce2ab53 22505 workaround: force plaintext editors to use font-family: monospace to make wrapping work. r=jfrancis 2000-02-04 23:39:31 +00:00
akkana%netscape.com e57258750f 25251: use white-space: -moz-pre-wrap instead of pre wrap, suggested by pierre, r=buster 2000-02-03 23:17:00 +00:00
cmanske%netscape.com baac755daa More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
jfrancis%netscape.com 06d277e9ca more inline style feedback fixes (24574). r=sfraser 2000-02-02 22:47:43 +00:00
pinkerton%netscape.com 02674553b8 native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc. 2000-02-01 22:26:21 +00:00
pp%ludusdesign.com 207f05242d Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
jfrancis%netscape.com ae816c1a66 make selection sticky across undo/redo (24573); get bold/italic/underline toolbar feedback working (24574); fix for 24856: unable to unbold text; fix for 24572: cant get selection between split lists 2000-01-31 10:30:12 +00:00
akkana%netscape.com cde2214436 22662: Completely redesign the editor output formatting system.
Now, instead of inserting text nodes containing whitespace and newlines
into the content tree, the editor adds a fake attribute "_moz_dirty"
to every node it creates, and relies upon the output system to format
any node with that attribute (and, of course, not output the attribute).
  r=jfrancis
2000-01-28 01:17:23 +00:00
nhotta%netscape.com 13ba4d47bc Insert/update META charset tag for charset menu operation, bug 17797, r=akkana. 2000-01-27 03:35:44 +00:00
jst%citec.fi 88302afab8 Fixing build bustage, added missing .get() in a nsCOMPtr comparison. r=vidur@netscape.com 2000-01-26 16:01:49 +00:00
cmanske%netscape.com 1ddb177877 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana 2000-01-26 14:57:43 +00:00
akkana%netscape.com bd026909be Turn off debug printf and enable formatting. Still r=jfrancis 2000-01-26 02:31:30 +00:00
akkana%netscape.com 5164d678e3 22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis 2000-01-26 00:57:37 +00:00
sfraser%netscape.com 9be7e50ac3 WIP for 18395, various editor command handling and updating changes. r=akkana 2000-01-18 21:50:15 +00:00
jfrancis%netscape.com 193dcd8f13 * fixed 19596; * fixed 23597; * fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #) * partial fix for current paragraph style not being properly reported in the composer toolbar. (no #) 2000-01-15 14:29:29 +00:00
kin%netscape.com 8fabd05fc8 We now cut the correct number of characters from the styleValue string.
Fixed bug that prevented us from removing properties starting at the
zeroth position in the string.
r=sfraser@netscape.com
2000-01-13 23:50:28 +00:00
cmanske%netscape.com 179f3337c8 Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge 2000-01-13 23:33:00 +00:00
jfrancis%netscape.com 8e3c4b54ad fixed bug 20613 & 21121: both invloved newlines in preformatted text. Layout gives no frames for blanklines caused by newlines, so you cant click or arrow to them. I replace such newlines with breaks now. fixed 21196: select all no longer selects the special break we use in empty documents (this would cause an invisible selection). fixed 21430: choosing a new alignment in an empty doc used to do nothing. Now it works but I've exposed a selection bug inthe process... fixed 22225: a little unintended re-entrancy caused multiple breaks to be inserted in empty table cells when doc read in. 2000-01-13 10:17:35 +00:00
jfrancis%netscape.com 0d229b7daa added in some rules code for mail quoting. This fixes bug: 19979 (extra blank line showing up in mail that has quotes) partial progress on block transformation work: unlisting a list now works mostly correctly again, instead of merging all the former list items into one run of text (no bug number). Moz-br's are now added in one more circumstance: when you have a br at the end of some inline content that is followed by a new block (like a list, table, etc.). This is needed for the same reason that the other moz-br's are: to generate a blank line that the user expects after hitting return. (no bug number) DTD-related work to enable the editor to check if you should be able to type given the current selection. fixed bug 22944: inserting an <A> in a table splits the table. Made some progress on text paste performance, but it's still too slow. That's 19273, which I'm leaving open fixed bug 15258: selection capable of getting out of the body element. fixed a bug where code that merged adjacent text nodes would merge the non-editable "formatting" textnodes, (no bug number). Added code to prevent selection from ending up inside a non-editable text node. fix for 11994, an IME bug. 2000-01-10 10:13:58 +00:00
akkana%netscape.com 016e5d6225 23169: Fix uninitialized variables, including one which was disallowing splitting lines by hitting return. r=jfrancis 2000-01-06 22:35:04 +00:00
akkana%netscape.com dca1659499 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
jfrancis%netscape.com 07fcb7e952 Fix for bug 21346. This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting). 2000-01-04 03:09:41 +00:00
bryner%uiuc.edu 37a7616b04 Changing a char array to a PRUnichar array, to fix a build
warning. r=sspitzer.
1999-12-29 03:45:26 +00:00
cmanske%netscape.com 0d81c2dddc Fixed bug 22072, loading style sheet in editor. a=jar, r=brade 1999-12-22 23:57:04 +00:00
kin%netscape.com 1ee6dc5c62 Fix for bug #21683: [dogfood] Can't set focus to end of reply message to type
Added beginRulesSniffing local variable.
r=jfrancis@netscape.com a=chofmann@netscape.com
1999-12-16 00:59:08 +00:00
akkana%netscape.com d709022bf9 21534 (part of 18033 and 18046): handle delete word and to-end functionality
outside of any selection batching (didn't work when inside a batch).
r=jfrancis; part of Mike's 18046 fixes which are a=chofmann.
1999-12-14 23:07:12 +00:00
jfrancis%netscape.com f331380806 fixes for bug 21030. again. really. 21030: html mail reply won't quote original message r=kin; a=brendan 1999-12-10 23:16:02 +00:00
ftang%netscape.com 2fdf046684 fix bug 19358 r=jfrancis add IME force commit for Undo,SelectAll and Paste 1999-12-09 22:37:36 +00:00
jfrancis%netscape.com 04671df7ac fixes for bug 21158 and 21030. 21158: aplying text style deletes text 21030: html mail reply won't quote original message r=kin; a=chofmann 1999-12-09 21:12:16 +00:00
ftang%netscape.com dbbf07d564 fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML 1999-12-08 03:39:36 +00:00
jfrancis%netscape.com 6b9ca53f07 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved. 1999-12-07 08:30:19 +00:00
vidur%netscape.com a90864f224 For bug 17325. Changed signature of css loader methods. R=nisheeth. 1999-12-04 01:29:18 +00:00
cmanske%netscape.com c6f3a01b34 Fixed bugs 18529, 20289; lots of progress on table editing (bug 6256). Other UI fixes: New color picker UI, added more missing menu items such as align, increase/decrease indent; moved 'Choose File' button to overlay to share by Image, Link, etc. dialogs. r=sfraser,akkana 1999-12-01 22:20:50 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
akkana%netscape.com 0c25592248 18714: make InsertAsQuotation methods leave the insert point after, and outside, the node that was inserted. r=rhp 1999-11-29 21:15:57 +00:00
jfrancis%netscape.com 79218192b4 * ported the html editor work for the "caret doesn't move when i hit return" bug (16715) back to the plaintext editor. * fixed a paste/rules interaction problem (19367) * introduced an init time pass over html documents to populate empty list items and table cells with special breaks so that the user can click in them and actually get a caret * fixed some warnings r = floppy moose 1999-11-29 08:28:46 +00:00
jfrancis%netscape.com 49e900609d implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists. Checkin addressees these bugzilla bugs: 2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces) 1999-11-25 00:19:45 +00:00
akkana%netscape.com 25ec09fbb0 19610: Change InsertAsQuotation API to return inserted node r=rhp 1999-11-24 20:48:59 +00:00
nisheeth%netscape.com ef4a4e4872 Fix for bug 17937. nsHTMLEditor::DeleteSelectionAndCreateNode() wasn't addref'ing an out parameter. r=sfraser. 1999-11-22 00:01:18 +00:00
akkana%netscape.com b799c9f3b9 Improve the problem of excessive whitespace around <pre> quotes in
plaintext mail (r=mcafee).
Also, 19237: an initial fix for html quoting (html source being
inserted outside the blockquote).
1999-11-18 19:43:14 +00:00
brade%netscape.com f20a013f2a fix bug 18892 (r=kin@netscape.com); change constant to PRUnichar 1999-11-16 14:40:11 +00:00
cmanske%netscape.com 0a01828233 Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser 1999-11-13 16:37:58 +00:00
akkana%netscape.com ddb2bb55d5 18576: Enclose plaintext replies in a <pre> so they don't get wrapped,
and add appropriate edit rules to split pre tags when editing plaintext.
r=sfraser
1999-11-13 00:26:45 +00:00
buster%netscape.com 97427cebe7 partial fix for bug 14599. We no longer crash. The frameset loads in the editor window,
but no editor is actually attached, so no editing is possible.  Next step is
to detect the error case and stop the document load altogether.
1999-11-11 19:22:30 +00:00
akkana%netscape.com 0e470d0e0c 16803, 17341: Enable unicode paste. Code from nhotta, r=me. Also re-enable plaintext paste 1999-11-10 23:42:11 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
akkana%netscape.com 9b8c45cf1b Fix key event bustage: treat DOM_VK_RETURN and DOM_VK_ENTER equivalently. r=ftang,joki a=chofmann,leaf 1999-11-03 22:05:45 +00:00
joki%netscape.com d5c05ea133 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
buster%netscape.com 457d79c005 fixed bug 17689 r=jfrancis 1999-11-02 05:16:41 +00:00
jfrancis%netscape.com 66d3eb4808 fixes for bugs: 16361,12253,15696,15734; r=sfraser 1999-11-01 15:15:35 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
cmanske%netscape.com 712a9be961 Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge 1999-10-26 23:13:00 +00:00
ftang%netscape.com f4976afebf fix IME assertion problem . r=jfrancis 1999-10-26 20:04:47 +00:00
jfrancis%netscape.com 4c0be8324a reworking editor IME supoprt; r=kin; bugs: 13576, 11878, 11994, 13494, 16432 1999-10-26 18:54:47 +00:00
akkana%netscape.com f127abf339 16706: Call the rules code to delete the bogus node before inserting html, to fix the new mail reply code. r=jfrancis 1999-10-21 21:51:47 +00:00
ftang%netscape.com 4b7e9dca5b do not do TypedText if the character code is 0. r=brade. Fix bug 16570 and 16811 1999-10-20 21:01:20 +00:00
ftang%netscape.com bd9000ea54 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
cmanske%netscape.com 6df53d78e8 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
buster%netscape.com 923edc1318 fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
buster%netscape.com 588aa7f0f3 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 62652e2962 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 82a4c1bdee 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
kin%netscape.com f822df693a Fix for build bustage on Linux. 1999-09-29 23:19:34 +00:00
cmanske%netscape.com dc4f4e93aa 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
akkana%netscape.com 8757acdf01 Set the preformatted output flag if appropriate 1999-09-29 20:23:07 +00:00
jfrancis%netscape.com 75ecd98021 revised UNDO; introduced first cut at the "mozdiv" typing rules 1999-09-29 20:08:15 +00:00
buster%netscape.com e453f8e46f 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
cmanske%netscape.com 568234107f 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
sfraser%netscape.com 52a4a9f8d8 Expose the type-in state through nsIHTMLEditor 1999-09-22 01:21:56 +00:00
joki%netscape.com 96be20de98 Changing dom event VK_* names to DOM_VK_* 1999-09-21 14:19:17 +00:00
cmanske%netscape.com 3744ca849c 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
buster%netscape.com ebe26ab6d3 turned off a debug flag 1999-09-20 04:17:05 +00:00
jfrancis%netscape.com 2569f4a0cb fixing a heap-o-undo problems and some mBogusNode problems 1999-09-20 01:31:44 +00:00
jfrancis%netscape.com 02f20427ef improved handling of tabs (nested tables now work) and also fixed bug 13662 1999-09-19 10:32:21 +00:00
jfrancis%netscape.com 248452a87c fix for 13677 1999-09-17 23:15:12 +00:00
buster%netscape.com adc523b979 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
sfraser%netscape.com 20029fa588 Use nsAutoStrings where appropriate 1999-09-14 23:40:16 +00:00
akkana%netscape.com 488d492da2 Fix an erroneous debug print; fix some build warnings 1999-09-13 21:39:51 +00:00
buster%netscape.com b10892ab14 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
jfrancis%netscape.com 8de9e45071 implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br> 1999-09-13 09:37:51 +00:00
jfrancis%netscape.com bf59a17512 fix for 12675 1999-09-12 01:31:57 +00:00
akkana%netscape.com d2d2dcd442 490: infrastructure for inserting formatting whitespace. Not turned on yet except for DEBUG_akkana 1999-09-10 18:54:13 +00:00
buster%netscape.com dadb1ea557 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
sfraser%netscape.com 7aead9fea3 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
jfrancis%netscape.com 0ae3fcf4ec implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
bruce%cybersight.com 5f9f8618b6 Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:22:51 +00:00
dougt%netscape.com dd5c903d9e 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
akkana%netscape.com 9bb71184c1 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 0ee52b3211 Turn off debug printfs for everyone except buster. 1999-09-02 04:48:17 +00:00
cmanske%netscape.com 699e5e802b 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
cmanske%netscape.com 7d4fcc7485 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
pinkerton%netscape.com 7fd9256ae5 clean up small memory leak. 1999-08-30 22:17:26 +00:00
buster%netscape.com 178df58863 removed static constructors, since they're illegal in our system 1999-08-30 22:12:11 +00:00
cmanske%netscape.com 0da377feae 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
ramiro%netscape.com 877421b755 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
cmanske%netscape.com 7542d601b8 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 d77a143711 The document encoder no longer needs a pres shell. 1999-08-25 21:42:47 +00:00
jfrancis%netscape.com 92a8df9ea6 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 f4a7881b59 toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com edc17e7846 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
akkana%netscape.com 70ab0ba259 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