306 Commits

Author SHA1 Message Date
anthonyd%netscape.com
1ff5aa2292 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:22:56 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
dbaron%fas.harvard.edu
fc1d2a9cd5 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83446 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:46:08 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
bf52251b65 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:44 +00:00
joki%netscape.com
903d3c3634 Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst
git-svn-id: svn://10.0.0.236/trunk@79266 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:09:26 +00:00
akkana%netscape.com
18557f06ac Fixing solaris build bustage: substring workaround suggested by scc
git-svn-id: svn://10.0.0.236/trunk@79182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:27:59 +00:00
akkana%netscape.com
c4f73d88ff 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:55:40 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
6340d3a57b fixes for 45608, 51398, 51591; r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:59:19 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
akkana%netscape.com
d690a8fad2 52035, 52171: Fix some recent regressions in key bindings. r=hyatt,jfrancis
git-svn-id: svn://10.0.0.236/trunk@78829 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:01:12 +00:00
cmanske%netscape.com
06f0642f0b Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth)
git-svn-id: svn://10.0.0.236/trunk@78187 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:26:48 +00:00
akkana%netscape.com
561f3eba6c 50311, 51088: fix a hang/crash in Rewrap. r=scc
git-svn-id: svn://10.0.0.236/trunk@77942 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:27:26 +00:00
akkana%netscape.com
9834f29a1e 50935: make multiline paste into single line text control switchable. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@77917 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:12:43 +00:00
pinkerton%netscape.com
5f708d28e6 don't bubble the onDragOver event when we decide that the drop is allowable. This prevents it from being reset by someone else higher up the chain. r=anthonyd. bug# 47428.
git-svn-id: svn://10.0.0.236/trunk@77543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:18:11 +00:00
akkana%netscape.com
98e3352cf6 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@77375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:15:03 +00:00
jfrancis%netscape.com
84db5fa624 fixes bugs 46782,50161,48643,49266,49265,46395;
groundwork for bugs 47931,49952;
r=fm


git-svn-id: svn://10.0.0.236/trunk@77257 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:03:50 +00:00
anthonyd%netscape.com
f4c17f81ff fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
akkana%netscape.com
2c625a1630 Correct an error in a comment
git-svn-id: svn://10.0.0.236/trunk@76814 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:54:59 +00:00
anthonyd%netscape.com
902ff13a56 bug fix for 47399
dropping a drag session onto the originating selection
should do nothing.
r: mjudge, jfrancis


git-svn-id: svn://10.0.0.236/trunk@75936 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:01:18 +00:00
bratell%lysator.liu.se
0f61387703 Fix for bug 46306, html-to-plaintext replies have > on blank lines. The fix was to strip ending new lines in the citer. r=akkana, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@75700 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:05:27 +00:00
shanjian%netscape.com
309c493895 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp


git-svn-id: svn://10.0.0.236/trunk@75606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:43:29 +00:00
anthonyd%netscape.com
1355a05c4e bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
brade%netscape.com
b6b0a40813 clean up the code; remove unnecessary code/functions; don't handle delete/fwd delete keypresses if there is a modifier key pressed; bug #41078; r=kin
git-svn-id: svn://10.0.0.236/trunk@74941 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:39:48 +00:00
anthonyd%netscape.com
57bfacee97 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose


git-svn-id: svn://10.0.0.236/trunk@74254 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 18:38:24 +00:00
mjudge%netscape.com
1f23cf0495 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead.
git-svn-id: svn://10.0.0.236/trunk@74199 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:15:41 +00:00
jfrancis%netscape.com
aa3d7d7f48 bug fixes:
41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is;

41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block;

41971 - using alignment inside table cells gives unexpected results.


git-svn-id: svn://10.0.0.236/trunk@73515 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 09:23:41 +00:00
cmanske%netscape.com
290fb40fb7 Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana
git-svn-id: svn://10.0.0.236/trunk@72891 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:39:54 +00:00
brade%netscape.com
9f2a620177 call PreventDefault for key events which we want to "consume" (bug #42510); r=smfr
git-svn-id: svn://10.0.0.236/trunk@72658 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:23:43 +00:00
ducarroz%netscape.com
382be98cb0 Fix for bug 38716 & bug 38715. Do not kill the dragdrop event when is not a flavor supported by the editfield. R=brade
git-svn-id: svn://10.0.0.236/trunk@72581 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:01:49 +00:00
rbs%maths.uq.edu.au
de23cc3486 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 09:54:41 +00:00
mjudge%netscape.com
58f329a378 regressions from 34986 ender-lite. listeners now block percolation of events. until we have better fix. r=saari, akkana
git-svn-id: svn://10.0.0.236/trunk@72175 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:58:34 +00:00
akkana%netscape.com
f33db3b092 42306: Change middle-mouse paste from MouseDown to MouseClick,
and prevent it bubbling up to where navigator.js will handle it.
r=saari,mjudge; a=beppe


git-svn-id: svn://10.0.0.236/trunk@72142 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:19:48 +00:00
mjudge%netscape.com
bdb655cbc8 cleaning up 34896 ender-lite with saari's review.
git-svn-id: svn://10.0.0.236/trunk@71916 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:13:03 +00:00
brade%netscape.com
c484d283c1 drag within editor implemented; r=kin; a=beppe; bug#6255
git-svn-id: svn://10.0.0.236/trunk@71792 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:47:29 +00:00
mjudge%netscape.com
9ac751705d bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe
git-svn-id: svn://10.0.0.236/trunk@71679 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:18:12 +00:00
kin%netscape.com
af8e97bfe5 Fix for bug #36935: [i18n] Textwidget doesn't scroll when non-7-bit-ascii chars
Made ScrollSelectionIntoView() a static function and called it from HandleText().
    editor/base/nsEditorEventListeners.cpp
    editor/base/nsEditorEventListeners.h

r=jfrancis@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71137 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:18:05 +00:00
jfrancis%netscape.com
ed99ef899d fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:00:24 +00:00
rods%netscape.com
a388fb9eb3 DD&D now checks for readonly and disabled
b 38773


git-svn-id: svn://10.0.0.236/trunk@70101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:57:06 +00:00
brade%netscape.com
e3480b94f9 enable drop of more types
git-svn-id: svn://10.0.0.236/trunk@70056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:53:43 +00:00
mjudge%netscape.com
fee885fd3f changes to add hidden attribute on selection. also to make setcaret go through the selection controller
git-svn-id: svn://10.0.0.236/trunk@69174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:22:32 +00:00
cmanske%netscape.com
6eede096f5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00
jfrancis%netscape.com
d3579b5131 fix for 30759, plaintext paste as quotation creates ubercaret
git-svn-id: svn://10.0.0.236/trunk@68653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:50:57 +00:00
jfrancis%netscape.com
69a8501658 fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return.
git-svn-id: svn://10.0.0.236/trunk@68563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:33:42 +00:00
jfrancis%netscape.com
5c452edf65 rest of fix for bug 30763
git-svn-id: svn://10.0.0.236/trunk@68435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:57:58 +00:00
mjudge%netscape.com
447ac72532 massive change to prepare for ender-lite. should be a no-op for current implementation
git-svn-id: svn://10.0.0.236/trunk@68218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:33:48 +00:00