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

349 Коммитов

Автор SHA1 Сообщение Дата
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
blakeross%telocity.com 5ff07f6519 Fix 66500: paste is enabled for readonly textfields. r=timeless sr=sfraser 2001-01-25 21:36:51 +00:00
m_kato%ga2.so-net.ne.jp dc83a95253 bug 65547, r=jag, sr=sfraser
delete unused line
2001-01-18 02:50:29 +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 556384e922 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=brendan@mozilla.org 2000-12-17 16:02:58 +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
jfrancis%netscape.com a4b7a1f805 fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin 2000-12-06 23:11:21 +00:00
kin%netscape.com ab5cd791f6 Misc fixes for pedantic build warnings.
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +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
attinasi%netscape.com 909d6a194e Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=akkana,rickg a=buster 2000-10-30 22:22:17 +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
akkana%netscape.com 5e66eb533d 54449: Re-adding workaround for bug in delete-to-end, which was accidentally overwritten in XIF landing. r=jfrancis, sr=kin 2000-10-14 00:03:05 +00:00
jst%netscape.com 17691505d4 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst. 2000-10-11 22:50:14 +00:00
anthonyd%netscape.com f6563ce892 fix for bug# 54253
Summary: D&D causes data loss
sr=kin
r=sfraser
a=kin
2000-10-08 06:29:05 +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
kin%netscape.com 4ddd828e50 Fix for bug #50570 ([MLK] Leaking PRUnichar buffer in nsHTMLEditor::InsertFromTransferable())
Added calls to nsMemory::Free() to free text in PasteAsPlainTextQuotation() and InsertFromTransferable().
r=brade@netscape.com sr=sfraser@netscape.com
2000-10-05 19:38:46 +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
kin%netscape.com 8993ad98a0 Fix for bug #33938: Pref/reply below quoted text does not move to bottom
mozilla/mailnews/compose/nsMsgCompose.cpp

      - Scroll the selection into view after all the reply text
        is inserted and the caret is positioned.

    mozilla/editor/base/nsHTMLEditor.cpp

      - Added nsAutoEditBatch variable to InsertBreak() to make
        sure that we reflow before returning. Without this fix,
        apps like MsgCompose will not be able to scroll the
        selection properly.

r=jfrancis@netscape.com
2000-09-14 22:39:04 +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
anthonyd%netscape.com 1ed10ab85b fix for bug# 51321 getting d&d working again when
dragging to/from an ender.
r=mjudge
2000-09-11 07:43:04 +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
cmanske%netscape.com 71959db2e5 Fixed GetBackgroundColorState to get nested table and cell color, needed to make background color on toolbar correct. b=49952, r=buster 2000-08-31 12:44:55 +00:00
cmanske%netscape.com 2a97a514ae Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc 2000-08-30 22:49:08 +00:00
jfrancis%netscape.com fbac81eb1c fix for bug 49889; r=fm 2000-08-30 04:33:20 +00:00
cmanske%netscape.com 5ffccc6765 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +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
sfraser%netscape.com a040e67b1d Kill a printf that would fire when typing in textareas. r=jfrancis 2000-08-24 20:31:58 +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
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
cmanske%netscape.com 3afb7bab79 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
scc%mozilla.org 7a18ea22f2 fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet. 2000-08-20 00:34:08 +00:00
rcassin%supernova.org b9d6fbb741 Fix for 45645 (Can paste into ReadOnly textfield) r=akkana 2000-08-18 01:34:22 +00:00
jfrancis%netscape.com 76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
jfrancis%netscape.com d25d7bd494 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
jfrancis%netscape.com fe45f8fa34 fixing bustage. bizarre merge error? 2000-08-14 00:53:41 +00:00
jfrancis%netscape.com 6adf6aed3d fix for 45281, cannot insert a table caption. r=fm 2000-08-13 23:53:34 +00:00
cmanske%netscape.com 37cbf70bba Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser 2000-08-11 04:59:37 +00:00
cmanske%netscape.com a5251f332c Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
sfraser%netscape.com 277decdb88 Fix for 25161 -- allow editor to handle pages with form elements. Avoid infinite loop in editor, and add some CSS for form elements in editor. r=jfrancis 2000-08-08 23:37:51 +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
brade%netscape.com 3e2f41a7c8 fix src/dest d&d (do move if in same doc unless modifier key is pressed); bug #45607; r=kin 2000-08-04 20:51:33 +00:00
jfrancis%netscape.com 03d288ef63 take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe 2000-07-27 01:03:16 +00:00
kin%netscape.com ab1bb7b6d0 Backout previous checkin/fix for 46209 & 22227 since in some instances
the frame data it relies on does not contain valid info. This causes
data loss in some cases like when making text bold.
a=granrose
2000-07-26 18:52:59 +00:00
jfrancis%netscape.com 2a81ee0fdb fix for 46209 & 22227; list items and table cells with a single space gave you unclickable content in the editor. r=mjudge 2000-07-26 13:07:54 +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