325 Commits

Author SHA1 Message Date
mjudge%netscape.com
77323a8468 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings
git-svn-id: svn://10.0.0.236/trunk@91610 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 00:45:26 +00:00
akkana%netscape.com
5a6c5d7f55 66345: New unix/win makefiles for new editor directories,
anticipating the move of files from editor/base.
  Not built yet, needs Mac project.  r=jfrancis, sr=kin/sfraser


git-svn-id: svn://10.0.0.236/trunk@91514 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:51:30 +00:00
akkana%netscape.com
02dbe54c0d 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@91511 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:48:01 +00:00
akkana%netscape.com
a8f704e11a New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser


git-svn-id: svn://10.0.0.236/trunk@91509 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:34:08 +00:00
scc%mozilla.org
7b06841b03 landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
brade%netscape.com
8fc782c488 stop propagation on drop over non-editable fields (unfortunately we have to additionally catch it in the drop since someone else might have accepted the drag for us); sr=kin
git-svn-id: svn://10.0.0.236/trunk@88398 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 14:11:55 +00:00
blakeross%telocity.com
e4cbd86ff0 UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@88373 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 03:07:53 +00:00
blakeross%telocity.com
8fb7590d01 Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc
git-svn-id: svn://10.0.0.236/trunk@87953 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:28:58 +00:00
blakeross%telocity.com
7ad8e730cf Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87189 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:40:15 +00:00
brade%netscape.com
9c1527faea preventdefault on drag&drop over non-editable fields
git-svn-id: svn://10.0.0.236/trunk@86545 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 13:42:24 +00:00
anthonyd%netscape.com
1f2d33fe42 landing jfrancis fix for 67109 - Drag and drop to and from textfields is broken
sr=kin
r=anthonyd


git-svn-id: svn://10.0.0.236/trunk@86444 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:50:05 +00:00
brade%netscape.com
644f57503b caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86233 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:44:38 +00:00
dbaron%fas.harvard.edu
f4291c82db Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@86185 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:39:56 +00:00
akkana%netscape.com
b6e95d2517 66718: fix a signed/unsigned problem. r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85885 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:55:15 +00:00
blakeross%telocity.com
03f8780087 Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85806 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:50:16 +00:00
jfrancis%netscape.com
7cde2dddd5 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
akkana%netscape.com
0792fa11db 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85529 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:12:16 +00:00
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