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

930 Коммитов

Автор SHA1 Сообщение Дата
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
jfrancis%netscape.com d3bb1b3e45 fixing 49392: editor spazzing uneeded br tags in tables; r=fm 2000-08-19 05:58:11 +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 b6ce5282bb gave a pref a better name and a more traditional set of values. 2000-08-17 09:51:27 +00:00
jfrancis%netscape.com 38b49a5376 adding a hidden pref for the editor: editor.liReturnBehavior "no" will disable the default behavior of popping you out of lists if you hit return in an empty list item. 2000-08-17 05:26:32 +00:00
jfrancis%netscape.com 03c675c33c fix for 48132: editor observer list maintainance was even less safe than i would have guessed... 2000-08-17 04:50:04 +00:00
jfrancis%netscape.com ed3fbaf39c 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-17 03:59:50 +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
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
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
ducarroz%netscape.com bc46f1e467 Part of fix for bug 36480. I check in this fix for jfrancis. The function EndOfDocument which wasn't used yet was setting the selection on the wrong node. R=ducarroz 2000-08-08 04:05:26 +00:00
anthonyd%netscape.com 562e4bc652 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske
2000-08-07 21:12: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
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
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 55c95531cb add missing move/selection command (cmd_selectBottom); bug #22529 2000-07-28 10:53:27 +00:00
brade%netscape.com c8475ad994 remove registration of save and saveas commands (now handled in JS); submitted by rcassin@supernova.org (bug #16360) 2000-07-28 10:14:22 +00:00
brade%netscape.com 07804d8679 add static to remove warning 2000-07-27 21:49:46 +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
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
jfrancis%netscape.com a1d0ae438e fix for 33213; r=sfraser 2000-07-21 22:06:48 +00:00
kin%netscape.com 918f55d913 Fix for bug #42263: Unable to invoke IME in the receipient and subject field on plain text mail composer
Replaced GetDeepestWidget() with new function GetEditorContentWindow().
Modified ForceCompositionEnd() to call GetEditorContentWindow().

r=sfraser@netscape.com
2000-07-18 22:11:31 +00:00
jfrancis%netscape.com b043301d96 adding in support for nsIEditorObserver. this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm 2000-07-16 06:36:27 +00:00
kin%netscape.com baa1e3d567 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

    editor/public/nsIHTMLEditor.h
      - Added DisableForcedUpdates and DisableForcedRefreshes flags.

    editor/base/nsEditor.cpp
      - Modified EndUpdateViewBatch() so that it uses the new
        DisableForcedUpdates and DisableForcedRefreshes flags.
      - We now also close the reflow batch before we close the
        update batch.

r=brade@netscape.com
2000-07-14 20:26:09 +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
akkana%netscape.com 0411decc92 Take my name out of a debug printf -- tired of seeing all that output 2000-07-13 22:50:39 +00:00
jfrancis%netscape.com 10ffff9a64 fix for 36570; mail signature shows up in middle of quoted text 2000-07-12 23:44:56 +00:00
jfrancis%netscape.com 7a58814661 fix for 43903; making a list after inline contnet doesnt work 2000-07-12 23:21:49 +00:00
cmanske%netscape.com 1e5179bdb7 Fixed warnings revealed by Linux build in table editing code 2000-07-12 01:15:17 +00:00
cmanske%netscape.com 15901d9765 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
jfrancis%netscape.com 209a7ca3fa fix for 43366; r=kin 2000-07-11 19:51:36 +00:00
jfrancis%netscape.com bf63dbc3b1 fixing increase/decrease font bustage in editor 2000-07-07 23:17:37 +00:00
cmanske%netscape.com e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
jfrancis%netscape.com 20d4516bf6 fix for undo in ender-lite (text fields, url bar, etc) 2000-06-30 04:58:34 +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
mjudge%netscape.com ec56b60700 wrong ifdef. 25% increase in editor typing on windows r=ftang 2000-06-28 03:41:32 +00:00
mjudge%netscape.com f92fecf1e5 fix for 42188, r=akkana 42347. use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:00:45 +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 4aa46d5e76 fix returned error codes (as part of bug #42510) 2000-06-20 14:25:34 +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