194 Commits

Author SHA1 Message Date
vidur%netscape.com
a68ed6e2a5 For bug 17325. Changed signature of css loader methods. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:18 +00:00
cmanske%netscape.com
145c2179d6 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
git-svn-id: svn://10.0.0.236/trunk@54937 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:20:50 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
akkana%netscape.com
9da43ace6b 18714: make InsertAsQuotation methods leave the insert point after, and outside, the node that was inserted. r=rhp
git-svn-id: svn://10.0.0.236/trunk@54592 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:15:57 +00:00
jfrancis%netscape.com
ed38a43f75 * 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


git-svn-id: svn://10.0.0.236/trunk@54561 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 08:28:46 +00:00
jfrancis%netscape.com
5020ab053b 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)


git-svn-id: svn://10.0.0.236/trunk@54463 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:19:45 +00:00
akkana%netscape.com
bcb564f007 19610: Change InsertAsQuotation API to return inserted node r=rhp
git-svn-id: svn://10.0.0.236/trunk@54423 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:48:59 +00:00
nisheeth%netscape.com
f03cdb6370 Fix for bug 17937. nsHTMLEditor::DeleteSelectionAndCreateNode() wasn't addref'ing an out parameter. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@54121 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 00:01:18 +00:00
akkana%netscape.com
f524df3661 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).


git-svn-id: svn://10.0.0.236/trunk@53894 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 19:43:14 +00:00
brade%netscape.com
44627def1e fix bug 18892 (r=kin@netscape.com); change constant to PRUnichar
git-svn-id: svn://10.0.0.236/trunk@53651 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 14:40:11 +00:00
cmanske%netscape.com
fc50750177 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
git-svn-id: svn://10.0.0.236/trunk@53428 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 16:37:58 +00:00
akkana%netscape.com
9d3b32781e 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


git-svn-id: svn://10.0.0.236/trunk@53381 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 00:26:45 +00:00
buster%netscape.com
5765c7e4da 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.


git-svn-id: svn://10.0.0.236/trunk@53219 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 19:22:30 +00:00
akkana%netscape.com
d7c2ad3748 16803, 17341: Enable unicode paste. Code from nhotta, r=me. Also re-enable plaintext paste
git-svn-id: svn://10.0.0.236/trunk@53095 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:42:11 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
akkana%netscape.com
7e907a0c91 Fix key event bustage: treat DOM_VK_RETURN and DOM_VK_ENTER equivalently. r=ftang,joki a=chofmann,leaf
git-svn-id: svn://10.0.0.236/trunk@52731 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 22:05:45 +00:00
joki%netscape.com
c79e9c67d2 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
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
buster%netscape.com
b599517d9a fixed bug 17689 r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@52510 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:16:41 +00:00
jfrancis%netscape.com
53c8075ee8 fixes for bugs: 16361,12253,15696,15734; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@52381 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:15:35 +00:00
braddr%puremagic.com
d8fb5871d7 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc


git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
1dde1a4f56 Ooops.. tree closed, better back these out for now. Sorry.
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b 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)


git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +00:00
cmanske%netscape.com
3054ed7de9 Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge
git-svn-id: svn://10.0.0.236/trunk@51910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 23:13:00 +00:00
ftang%netscape.com
a72076d654 fix IME assertion problem . r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@51870 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 20:04:47 +00:00
jfrancis%netscape.com
bb138b3c5c reworking editor IME supoprt; r=kin; bugs: 13576, 11878, 11994, 13494, 16432
git-svn-id: svn://10.0.0.236/trunk@51859 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 18:54:47 +00:00
akkana%netscape.com
e6c9a60dab 16706: Call the rules code to delete the bogus node before inserting html, to fix the new mail reply code. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@51423 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 21:51:47 +00:00
ftang%netscape.com
c683bbd987 do not do TypedText if the character code is 0. r=brade. Fix bug 16570 and 16811
git-svn-id: svn://10.0.0.236/trunk@51291 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 21:01:20 +00:00
ftang%netscape.com
2d2a382150 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


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
cmanske%netscape.com
1347e8f244 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge
git-svn-id: svn://10.0.0.236/trunk@50627 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:13:27 +00:00
buster%netscape.com
273f420e23 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


git-svn-id: svn://10.0.0.236/trunk@50222 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:39:20 +00:00
buster%netscape.com
1e0b48570c 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


git-svn-id: svn://10.0.0.236/trunk@50004 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com
0209785bbb 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
git-svn-id: svn://10.0.0.236/trunk@49999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:34:09 +00:00
nhotta%netscape.com
c34375d22a Bug fix 15017, reviewed by akkana. Override SetDocumentCharacterSet for HTMLEditor to update META charset tag if exists.
git-svn-id: svn://10.0.0.236/trunk@49750 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:50:27 +00:00
kin%netscape.com
497634276b Fix for build bustage on Linux.
git-svn-id: svn://10.0.0.236/trunk@49367 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 23:19:34 +00:00
cmanske%netscape.com
c586988364 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
git-svn-id: svn://10.0.0.236/trunk@49362 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 21:45:50 +00:00
akkana%netscape.com
1cd0bc79d6 Set the preformatted output flag if appropriate
git-svn-id: svn://10.0.0.236/trunk@49343 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:23:07 +00:00
jfrancis%netscape.com
8e3610bfe2 revised UNDO; introduced first cut at the "mozdiv" typing rules
git-svn-id: svn://10.0.0.236/trunk@49317 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:08:15 +00:00
buster%netscape.com
ba9de776b0 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


git-svn-id: svn://10.0.0.236/trunk@48894 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 04:01:10 +00:00
cmanske%netscape.com
d733c2160f More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists
git-svn-id: svn://10.0.0.236/trunk@48795 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:52:44 +00:00
sfraser%netscape.com
f403aa7ad8 Expose the type-in state through nsIHTMLEditor
git-svn-id: svn://10.0.0.236/trunk@48714 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:21:56 +00:00
joki%netscape.com
b1998d03d5 Changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48573 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:19:17 +00:00
cmanske%netscape.com
03e7911d12 Editor bug fixes. List Properties dialog work. Fixed menu access keys in DTD file. Fixed using selection->Clear() cases
git-svn-id: svn://10.0.0.236/trunk@48474 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:36:30 +00:00
buster%netscape.com
6b43b634eb turned off a debug flag
git-svn-id: svn://10.0.0.236/trunk@48315 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:17:05 +00:00
jfrancis%netscape.com
381ca4cab7 fixing a heap-o-undo problems and some mBogusNode problems
git-svn-id: svn://10.0.0.236/trunk@48297 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 01:31:44 +00:00
jfrancis%netscape.com
4670f5d134 improved handling of tabs (nested tables now work) and also fixed bug 13662
git-svn-id: svn://10.0.0.236/trunk@48256 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 10:32:21 +00:00
jfrancis%netscape.com
5df01a19dc fix for 13677
git-svn-id: svn://10.0.0.236/trunk@48051 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:15:12 +00:00
buster%netscape.com
2569ace39b 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.


git-svn-id: svn://10.0.0.236/trunk@48006 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:18:50 +00:00
sfraser%netscape.com
59455396ec Use nsAutoStrings where appropriate
git-svn-id: svn://10.0.0.236/trunk@47453 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:40:16 +00:00
akkana%netscape.com
3aa6d81b6f Fix an erroneous debug print; fix some build warnings
git-svn-id: svn://10.0.0.236/trunk@47174 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:39:51 +00:00