Commit Graph

540 Commits

Author SHA1 Message Date
akkana%netscape.com
bb484aad10 Trivial warning fix 2001-12-06 22:04:40 +00:00
jst%netscape.com
d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
leaf%mozilla.org
8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
yokoyama%netscape.com
958286d3fd Bug 109265
checking in for skamio@netscape.net
Disabling IME for Readonly attribute of <INPUT>
/r=yokoyama; /sr=kin
2001-11-30 21:48:31 +00:00
brade%netscape.com
f44f5df260 #include cleanup (bug #112008, r=akkana, sr=sfraser) 2001-11-29 10:06:21 +00:00
jkeiser%iname.com
84506ffd3e Fix for bug 109754 (crash on dhtmlcentral.com). r=kin@netscape.com, sr=jst@netscape.com 2001-11-28 03:22:30 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
brade%netscape.com
e75eb5eee7 ForceCompositionEnd when focus is lost (Blur); bug #81356; patch from Masaki Katakai (katakai@japan.sun.com); r=brade/ftang; sr=sfraser 2001-11-16 15:04:17 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
akkana%netscape.com
fa6a218016 104195: fix some problems with rewrap. r=brade sr=kin 2001-11-15 00:04:26 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
kin%netscape.com
b5b14245e1 Fix for bug 106383: regression: new composer doc behaves as if empty
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.h
  mozilla/editor/libeditor/html/nsHTMLEditor.h
  mozilla/editor/libeditor/text/nsTextEditRules.h

    - Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
    - Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
    - Changed all references of kOpHTMLLoad to kOpLoadHTML to match
      function name, and added kLoadHTML.

r=jfrancis.netscape.com  sr=sfraser.netscape.com  a=asa@mozilla.org
2001-11-09 15:16:03 +00:00
dbaron%fas.harvard.edu
8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
brade%netscape.com
46f0483fc5 nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883) 2001-11-01 15:22:10 +00:00
jaggernaut%netscape.com
729180f6cd Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 11:28:06 +00:00
kin%netscape.com
901e5fba22 Fix for bug #104692: Edit field line break didn't updated
Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2001-10-26 14:22:31 +00:00
timeless%mac.com
c4eeb91d14 Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly
r=bbaetz,glazou sr=brendan
2001-10-26 10:54:15 +00:00
bernd.mielke%snafu.de
5dea5d5737 bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin
2001-10-17 14:33:50 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
akkana%netscape.com
b4403064d7 Fix OBJDIR build bustage associated with 66345 editor reorg checkin 2001-10-05 01:57:05 +00:00
akkana%netscape.com
16959e1343 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron
2001-10-05 01:23:23 +00:00
akkana%netscape.com
ba56bdc789 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.
2001-10-04 23:12:09 +00:00
akkana%netscape.com
4d776da5c7 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build. 2001-10-03 00:54:12 +00:00
roc+%cs.cmu.edu
2093b9d1d6 Bug 56696. Let ctrl-enter escape from multiline editors. r=brade, sr=blizzard 2001-10-01 02:11:19 +00:00
mkaply%us.ibm.com
72816bd6d4 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
akkana%netscape.com
32dedbc104 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build 2001-09-25 00:45:54 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
jaggernaut%netscape.com
3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
bryner%netscape.com
a6247d9aa1 Bug 47551 -- removing obsolete nsIFileSpecWithUI and nsIFileWidget. r=pavlov, sr=ben. 2001-09-04 22:56:38 +00:00
jfrancis%netscape.com
bcab0f9dbc fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
b4ea38686f Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
anthonyd%netscape.com
f88d5c6fa3 bug fix for 81288 - &nbsp removed from source when changing views
r=kin@netscape.com
sr=sfraser@netscape.com
2001-07-14 00:50:21 +00:00
kin%netscape.com
907212d677 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
akkana%netscape.com
a05d3e3c8e 78727,86998: Fix a hang with rewrap introduced by the string API conversion. r=sspitzer, sr=sfraser 2001-07-10 00:40:11 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
mjudge%netscape.com
618d0012eb bad ifdef. left this out of previous checkin for middle mouse paste 2001-06-20 05:18:12 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jfrancis%netscape.com
ce1e99c63d fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa 2001-06-12 22:21:12 +00:00
yokoyama%netscape.com
b95d9c0083 Bug 63029: Japanese input in text area in forms confuses subsequent input
The fix is to
- maintain the index of PasswordBuf at the start of IME
- maintain the old IME text
- remove the old IME text from PasswordBuf
/r=jfrancis, /sr=kin, /a=blizzard
2001-06-06 01:21:05 +00:00
ftang%netscape.com
4dde2c3cec fix 83448. author=simon@softel.co.il
r=ftang sr=kin a=asa
2001-06-04 22:22:36 +00:00
mkaply%us.ibm.com
c2673ba006 #79954
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard
2001-05-22 14:11:17 +00:00
mkaply%us.ibm.com
18a8225acf #80550
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
2001-05-21 23:57:55 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
ftang%netscape.com
5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
kin%netscape.com
729a670d51 Fix for bug #75305: Doing Undo and Redo crashes browser
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().

    editor/base/nsEditorUtils.h
    editor/base/nsPlaintextEditor.cpp

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-05-11 13:59:11 +00:00
brade%netscape.com
c6f551d382 fix rewrap problems by only outputing lf linebreak (checkin for Akkana); bug #54090 2001-05-09 13:05:05 +00:00
brade%netscape.com
4c15f893db add debug insertion to detect unexpected linefeeds (checkin for Akkana); bug #54090 2001-05-09 13:01:48 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
jfrancis%netscape.com
68326016b3 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin 2001-04-26 20:14:26 +00:00
pinkerton%netscape.com
39db36c9ab wow i biffed that last checkin 2001-04-26 19:48:40 +00:00
pinkerton%netscape.com
6cc46bce58 use GetCurrentSession() instead of QI to get drag session from service. r=pchen/sr=sfraser. bug# 77380 2001-04-26 19:05:08 +00:00
shanjian%netscape.com
819a855d2b #59405 IME candidate window position is not correct in text field on New card and To field
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
2001-04-19 22:46:29 +00:00
mjudge%netscape.com
0d69ddce33 forgot 1 change sr=scc r=anthonyd 76442 2001-04-18 06:26:19 +00:00
mjudge%netscape.com
d5b4c5e196 76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares. 2001-04-18 06:17:05 +00:00
shanjian%netscape.com
0ee5ec3e5a #59405 IME candidate window position is not correct in text field on New card and To field
r = kin, sr = sfraser
change the type of coordinate return for windows and unix
2001-04-13 22:27:18 +00:00
mjudge%netscape.com
0d5b00ec9a 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 2001-04-07 00:45:26 +00:00
akkana%netscape.com
e7ab6b7638 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
2001-04-05 23:51:30 +00:00
akkana%netscape.com
097e2cd077 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
akkana%netscape.com
838b5416b8 New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00
scc%mozilla.org
70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
erik%netscape.com
c5bd1e8ade 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
2001-03-21 01:16:22 +00:00
Peter.VanderBeken%pandora.be
47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
brade%netscape.com
347aad29a1 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 2001-03-02 14:11:55 +00:00
blakeross%telocity.com
38794d139f 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 2001-03-02 03:07:53 +00:00
blakeross%telocity.com
2d55400a1d Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc 2001-02-26 00:28:58 +00:00
blakeross%telocity.com
ee47e675f3 Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser 2001-02-16 03:40:15 +00:00
brade%netscape.com
5ee3ad85eb preventdefault on drag&drop over non-editable fields 2001-02-07 13:42:24 +00:00
anthonyd%netscape.com
e177704f0e landing jfrancis fix for 67109 - Drag and drop to and from textfields is broken
sr=kin
r=anthonyd
2001-02-07 02:50:05 +00:00
brade%netscape.com
075f53d3d8 caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
dbaron%fas.harvard.edu
fb225b8763 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl 2001-02-04 19:39:56 +00:00
akkana%netscape.com
19a79462ba 66718: fix a signed/unsigned problem. r=cmanske, sr=kin 2001-01-31 22:55:15 +00:00
blakeross%telocity.com
7643d2d739 Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser 2001-01-31 02:50:16 +00:00
jfrancis%netscape.com
fb60392b41 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 2001-01-28 20:13:07 +00:00
akkana%netscape.com
9bb492fd88 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin 2001-01-25 23:12:16 +00:00
anthonyd%netscape.com
101cc14924 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com
2001-01-09 23:22:56 +00:00
akkana%netscape.com
d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
dbaron%fas.harvard.edu
fa7d014c05 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 2000-12-09 04:46:08 +00:00
akkana%netscape.com
d20c260cc6 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com
6ea631e28c 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
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
9f6d3e1303 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com 2000-09-22 00:43:44 +00:00
joki%netscape.com
aa0f12ff69 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 2000-09-15 06:09:26 +00:00
akkana%netscape.com
46cd04d95d Fixing solaris build bustage: substring workaround suggested by scc 2000-09-14 21:27:59 +00:00
akkana%netscape.com
18342dbd80 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske 2000-09-14 19:55:40 +00:00
mjudge%netscape.com
e2be918716 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 2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
akkana%netscape.com
99628b2337 52035, 52171: Fix some recent regressions in key bindings. r=hyatt,jfrancis 2000-09-12 02:01:12 +00:00
cmanske%netscape.com
0ea8fba700 Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth) 2000-09-05 23:26:48 +00:00
akkana%netscape.com
31d9c7fbca 50311, 51088: fix a hang/crash in Rewrap. r=scc 2000-09-01 22:27:26 +00:00
akkana%netscape.com
783035aa7e 50935: make multiline paste into single line text control switchable. r=mjudge 2000-09-01 21:12:43 +00:00
pinkerton%netscape.com
4f3a971cb3 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. 2000-08-30 01:18:11 +00:00
akkana%netscape.com
d9d40942bd 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
jfrancis%netscape.com
0202119f78 fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
anthonyd%netscape.com
112b262913 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
2000-08-24 03:54:30 +00:00
akkana%netscape.com
7eccb199f7 Correct an error in a comment 2000-08-21 23:54:59 +00:00
anthonyd%netscape.com
9132d3b807 bug fix for 47399
dropping a drag session onto the originating selection
should do nothing.
r: mjudge, jfrancis
2000-08-10 01:01:18 +00:00
bratell%lysator.liu.se
f30a2447a8 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. 2000-08-07 06:05:27 +00:00
shanjian%netscape.com
de23b7e7a9 #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
2000-08-04 21:43:29 +00:00
anthonyd%netscape.com
940be572c5 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
2000-07-28 22:12:45 +00:00
brade%netscape.com
7ff1ae3049 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 2000-07-27 21:39:48 +00:00
anthonyd%netscape.com
706f605d27 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose
2000-07-14 18:38:24 +00:00
mjudge%netscape.com
aea4ff3323 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
jfrancis%netscape.com
56d058dd39 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. 2000-06-29 09:23:41 +00:00
cmanske%netscape.com
7193e676db Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana 2000-06-22 05:39:54 +00:00
brade%netscape.com
45f6fbf78e call PreventDefault for key events which we want to "consume" (bug #42510); r=smfr 2000-06-20 14:23:43 +00:00
ducarroz%netscape.com
748743bb73 Fix for bug 38716 & bug 38715. Do not kill the dragdrop event when is not a flavor supported by the editfield. R=brade 2000-06-20 01:01:49 +00:00
rbs%maths.uq.edu.au
26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
mjudge%netscape.com
6f0c30e104 regressions from 34986 ender-lite. listeners now block percolation of events. until we have better fix. r=saari, akkana 2000-06-14 02:58:34 +00:00
akkana%netscape.com
09592145c3 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
2000-06-13 23:19:48 +00:00
mjudge%netscape.com
4d8ea6168b cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
brade%netscape.com
fa8e2b58fc drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
mjudge%netscape.com
9703a755f8 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
kin%netscape.com
82849412ce 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
2000-05-31 03:18:05 +00:00
jfrancis%netscape.com
f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
rods%netscape.com
0516e9165c DD&D now checks for readonly and disabled
b 38773
2000-05-16 21:57:06 +00:00
brade%netscape.com
9e0f23802d enable drop of more types 2000-05-16 14:53:43 +00:00
mjudge%netscape.com
e1ad6bd23a changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
cmanske%netscape.com
0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
jfrancis%netscape.com
bd8b43e4c5 fix for 30759, plaintext paste as quotation creates ubercaret 2000-05-08 07:50:57 +00:00
jfrancis%netscape.com
307b8fbcc5 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. 2000-05-07 01:33:42 +00:00
jfrancis%netscape.com
eb2ab3d2ee rest of fix for bug 30763 2000-05-05 21:57:58 +00:00
mjudge%netscape.com
ebafd36182 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
afedd3f559 Fix warnings 2000-05-03 23:42:25 +00:00
dprice%netscape.com
4feedc9725 fixing 37980, r=mjudge 2000-05-03 03:11:23 +00:00
jfrancis%netscape.com
509b944592 partial fix for bug 30763 2000-05-03 01:34:34 +00:00
anthonyd%netscape.com
ad6918e77a r: mjudge
disabled selection (grey selection) excludes input fields now.
2000-04-30 18:55:13 +00:00
mjudge%netscape.com
67a72ebc1e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
mjudge%netscape.com
2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com
5709d8739f 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
e6b4111fd7 for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate) 2000-04-25 14:15:33 +00:00
scc%netscape.com
bb0ce46710 making string conversions explicit 2000-04-21 09:33:45 +00:00
anthonyd%netscape.com
815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
akkana%netscape.com
c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com
fc94fffa54 Wrapping code, useful for citers and perhaps other code 2000-04-20 22:32:56 +00:00
akkana%netscape.com
b16cf77faa 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
scc%netscape.com
04b44006ee making string conversions explicit 2000-04-18 07:52:02 +00:00
scc%netscape.com
9ac6c4fb06 making string conversions explicit 2000-04-18 07:44:58 +00:00
akkana%netscape.com
b92f151eba 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com
55e2ac48d1 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
jfrancis%netscape.com
0254b96365 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
fc8ad1658c Fixed spell checker bug 34479. r=akkana, a=leaf 2000-04-06 01:17:54 +00:00
jfrancis%netscape.com
f15ea6358d cleanup and small bug fixes 2000-03-30 22:57:19 +00:00
akkana%netscape.com
121cb1d0b5 33705: obey middlemouse.paste pref in the editor 2000-03-30 01:23:47 +00:00
jfrancis%netscape.com
4b6812ec3c re-enable password field code 2000-03-29 14:04:26 +00:00
jfrancis%netscape.com
480a5dc8c6 turning back on password field handling in editor 2000-03-29 13:45:08 +00:00
jfrancis%netscape.com
af4644e7c8 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
scc%netscape.com
fd8de8008f small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
jfrancis%netscape.com
0b23120401 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
mjudge%netscape.com
880a4f2081 r=jfrancis. small change to stop the editor from scrolling window when it DOESNT handle a key event 2000-03-22 01:30:16 +00:00
akkana%netscape.com
739e5055f3 Fix paste as quotation 2000-03-14 02:57:38 +00:00
akkana%netscape.com
1018c411e5 28279: Joe checked in most of the changes to fix quoting, and this
is the rest to remove some extra blank lines. r=jfrancis, a=rickg.
2000-02-25 23:26:46 +00:00
jfrancis%netscape.com
6d57ee0984 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
mjudge%netscape.com
df86826711 a=jar r=sfrasier,jfrancis,akkana bug for editor find not working 2000-02-23 05:07:42 +00:00
akkana%netscape.com
4a62deb1e7 27908: Fix multiple keyboard pastes by disabling ProcessShortCutKeys (finally!) r=brade, a=jar 2000-02-18 21:32:26 +00:00
jfrancis%netscape.com
8f20e69369 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
akkana%netscape.com
447ae26d32 24694: Create the bogus node after newly inserted non-text nodes. r=sfraser. 2000-02-16 02:11:39 +00:00
jfrancis%netscape.com
7a0f4cf2e1 fix for 27699: ime text insert screwed up for single line edit fields 2000-02-16 00:53:31 +00:00
jfrancis%netscape.com
c9505c0fa5 implementing font increase/decrease size for html editor (bug 18774) r=floppy moose 2000-02-08 12:53:34 +00:00
jfrancis%netscape.com
28fd752530 fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis 2000-02-07 02:48:36 +00:00
jfrancis%netscape.com
ebc0651bbf fix for 25452 (plain text widgets break IME escape key). checked in on behalf of katakai@japan.sun.com; r=jfrancis Thanks Katakai! 2000-02-07 01:42:14 +00:00
akkana%netscape.com
784eafea80 22505 workaround: force plaintext editors to use font-family: monospace to make wrapping work. r=jfrancis 2000-02-04 23:39:31 +00:00
pinkerton%netscape.com
ff5704575e 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
akkana%netscape.com
a3dbe39403 22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis 2000-01-26 00:57:37 +00:00
kin%netscape.com
9ef6758595 Fix for bug #24253: [REGRESSION] Redo adds newlines instead of redoing.
mozilla/editor/base/nsEditor.cpp
    mozilla/editor/base/nsEditor.h
      - Added IsMozEditorBogusNode() method.

    mozilla/editor/base/nsTextEditRules.cpp
      - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
        MozEditorBogusNode so that it doesn't create more than one.
      - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().

r=sfraser@netscape.com
2000-01-18 23:45:35 +00:00
buster%netscape.com
d0f1bda271 removed hard-coded white background now that background colors work for lazily-instantiated
text controls.
completes the fix for bug 9074
r=rods
2000-01-18 01:51:36 +00:00
jfrancis%netscape.com
c8e28aa7ac fix for 21412 - backspace wouldn't remove list items in html editor. In addition some improvements were made to the adjustment of selection after an edit action (example: backspacing through a list item now pops you up to the previous item) 2000-01-17 12:41:34 +00:00
jfrancis%netscape.com
462fd8aa29 fixed 24114 - password fields showing the real text 2000-01-17 10:24:25 +00:00
jfrancis%netscape.com
634a777322 * 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
jfrancis%netscape.com
a5fc421d20 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
rods%netscape.com
bd90662588 removed the hard-coded font for text editor controls
b 17303 r=buster
2000-01-12 15:37:39 +00:00
jfrancis%netscape.com
e171985f93 fix for 23551: plaintext mail quoting broken. editor rules code was unaware that we were utting html elements into plaintext (namely pre, used to contain the quote). fixed. 2000-01-12 02:58:57 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
jfrancis%netscape.com
e72a2924a8 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
jfrancis%netscape.com
6229129616 continuing the war on the Case Of The Happy Caret 2000-01-05 12:24:10 +00:00
jfrancis%netscape.com
d6e95890c8 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
buster%netscape.com
03ce06ed8d fixed bug 21032 ([regression] can paste multiple lines of text into a single-line text control)
when we were using <BR>'s in plaintext, this wasn't an issue.
when we switched to using \n, we needed to put in an extra check to transform CRLF to space.

partial fix bug 20387 (scroll bars appearing in single line text control)
part of the problem is we were leaving an empty text node lying around after inserting the bogus <br>
this induced layout to add a line after the <BR>, making the document in an empty text control too tall
Kin still has the task of hiding the scroll bar in certain situations, but this was the right thing to do
anyway.

r=kin
1999-12-24 15:48:48 +00:00
rods%netscape.com
a45b5daae1 backing out change and reopening bugs 17303, 19426, the default case where input isn't specified
causes a lot of problems becuase of the style it needs.
r=self
1999-12-23 20:13:46 +00:00
rods%netscape.com
f06bddeda0 removed the hard coded font-family in the PlaintextInitalStyle for the set flags
r=buster bugs 17303,19426
1999-12-22 19:41:11 +00:00
saari%netscape.com
a622c90955 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
ftang%netscape.com
c5a3d00653 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
167f9c0b74 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
ftang%netscape.com
5d9824b4bd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
jfrancis%netscape.com
c7b0e3bedd fix for bug 19130 - hitting escape during ime entry can leave editor without a caret. r=kin 1999-12-05 00:29:34 +00:00
ftang%netscape.com
55be244e29 change debug code. 1999-12-01 00:35:31 +00:00
akkana%netscape.com
680a88820a 20348: Make alt the modifier for Unix, and generally clean up code. r=brade 1999-11-30 21:58:00 +00:00
pinkerton%netscape.com
3e67aed56d removing obsolete d&d code and changing from CID's to progID's in d&d code. r=akkana. 1999-11-30 00:10:55 +00:00
pinkerton%netscape.com
ad4a38b0d2 eat drag gesture events for now. r=saari 1999-11-29 22:35:35 +00:00
jfrancis%netscape.com
d4edc684b8 * 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