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

995 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 421a7c1981 fix for bug 49889; r=fm 2000-08-30 04:33:20 +00:00
jfrancis%netscape.com aa1005f51b fix for bug 49889; r=fm 2000-08-30 04:26:55 +00:00
cmanske%netscape.com a6004c027e 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
pinkerton%netscape.com 8593e9e256 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 9f7d296467 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 01c583fb06 fixing snafu 2000-08-28 08:40:22 +00:00
jfrancis%netscape.com 5c6d2e1fe7 fixes 40363, 40364: deletion bugs with tables; r=fm 2000-08-28 05:11:49 +00:00
dbaron%fas.harvard.edu d68010ebb2 Add newline to end of file to fix jfrancis's HP bustage. 2000-08-26 14:04:16 +00:00
jfrancis%netscape.com 1edcca94d8 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 6269738085 Kill a printf that would fire when typing in textareas. r=jfrancis 2000-08-24 20:31:58 +00:00
anthonyd%netscape.com 52f1883f5b 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
sfraser%netscape.com e709e5e99e Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd 2000-08-24 01:20:29 +00:00
jst%netscape.com b3a4ade60d 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 5eafc0feeb 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
akkana%netscape.com 71c32081c2 Correct an error in a comment 2000-08-21 23:54:59 +00:00
scc%mozilla.org 6dc0b1da8f 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 ed997758ce fixing 49392: editor spazzing uneeded br tags in tables; r=fm 2000-08-19 05:58:11 +00:00
rcassin%supernova.org 7933af5936 Fix for 45645 (Can paste into ReadOnly textfield) r=akkana 2000-08-18 01:34:22 +00:00
jfrancis%netscape.com 0a99569fca gave a pref a better name and a more traditional set of values. 2000-08-17 09:51:27 +00:00
jfrancis%netscape.com 5b83f16a12 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 abb52510c0 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 744e3f112d 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 008d4be4c9 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 55e88dbb67 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
jfrancis%netscape.com 4928dd0cd3 fixing bustage. bizarre merge error? 2000-08-14 00:53:41 +00:00
jfrancis%netscape.com 43aec439d4 fix for 45281, cannot insert a table caption. r=fm 2000-08-13 23:53:34 +00:00
cmanske%netscape.com f1c77b50d1 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 479cdf9bee Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
anthonyd%netscape.com 72a6df722f 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 59ee00ee6a 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 1b7064e389 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 a25ca036a2 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 c487dfe193 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 72e05ca92f #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 ddbed6e0ed 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 c8844de491 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 090da5c9b9 add missing move/selection command (cmd_selectBottom); bug #22529 2000-07-28 10:53:27 +00:00
brade%netscape.com e05cc7138f 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 c230fa9aeb add static to remove warning 2000-07-27 21:49:46 +00:00
brade%netscape.com a7e3b234ad 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 fde5fabb60 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 b97748c3a1 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 103402f26e 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 fc23a56c5b fix for 33213; r=sfraser 2000-07-21 22:06:48 +00:00
kin%netscape.com 34b198ddff 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 8ab731973f 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 b14023476c 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 7cda3a6d5f 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 cdba084e96 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 9963d40a2a 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 9fcd96ddad fix for 36570; mail signature shows up in middle of quoted text 2000-07-12 23:44:56 +00:00
jfrancis%netscape.com 8683ca1ef4 fix for 43903; making a list after inline contnet doesnt work 2000-07-12 23:21:49 +00:00
cmanske%netscape.com a57163bf82 Fixed warnings revealed by Linux build in table editing code 2000-07-12 01:15:17 +00:00
cmanske%netscape.com 97dee49a22 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 93fd499362 fix for 43366; r=kin 2000-07-11 19:51:36 +00:00
jfrancis%netscape.com da46edc790 fixing increase/decrease font bustage in editor 2000-07-07 23:17:37 +00:00
cmanske%netscape.com 4442172bcd Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
jfrancis%netscape.com 9fde4ea530 fix for undo in ender-lite (text fields, url bar, etc) 2000-06-30 04:58:34 +00:00
jfrancis%netscape.com 6669bb643d 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 e7343d983b wrong ifdef. 25% increase in editor typing on windows r=ftang 2000-06-28 03:41:32 +00:00
mjudge%netscape.com 4c93ab28d6 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 e27221d200 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 bed2a1a3b9 fix returned error codes (as part of bug #42510) 2000-06-20 14:25:34 +00:00
brade%netscape.com 971e0b0854 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 140cfeb5f3 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
cmanske%netscape.com 9af7bfa239 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
sfraser%netscape.com a1066cc3f0 Belt-and-braces check for bug 42145; check for null args. r=akkana 2000-06-16 06:06:55 +00:00
rbs%maths.uq.edu.au 29f1b6960b Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
dbaron%fas.harvard.edu 1486d607d9 Fix leaks of nsHTMLHeadElement. r=waterson@netscape.com 2000-06-15 02:14:16 +00:00
cmanske%netscape.com 261a085aed New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser 2000-06-14 04:58:29 +00:00
mjudge%netscape.com 2782f77c20 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
cmanske%netscape.com ca1a7072a8 Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe 2000-06-14 01:32:27 +00:00
akkana%netscape.com a21d3a445a 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
jfrancis%netscape.com 8aa30d85db fix for 41369: editor backspace crashes or loses data when at the beginning of text that has multiple br's before it. (dogfood+) r=sfraser; a=beppe 2000-06-10 02:25:50 +00:00
mjudge%netscape.com 42b098a06e cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
shanjian%netscape.com ed2a324ea8 #39726 typo in IMETextTxn.cpp
r=ftang a=waterson
2000-06-08 23:40:31 +00:00
brade%netscape.com cee3621c8b drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
kin%netscape.com c4f1ac54c8 Fix for bugs:
41605 Crash doing editor.js:EditorShutdown() when doing File->close
  41734 Applying Override StyleSheet causes Editor crash.

Added missing NS_IF_ADDREF in GetSelectedElement().

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-06-08 14:45:12 +00:00
mjudge%netscape.com c3588c11dc regression fix. my bad. changing editor code to have some duplicate code from nsSelection to output the whole document. r=donm a=donm regression ect. 2000-06-07 22:44:52 +00:00
mjudge%netscape.com 98c38f889f 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
cmanske%netscape.com 1f983fa5c8 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
jfrancis%netscape.com fe753fcd2a backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
jfrancis%netscape.com ab50efb62b fixes 41075: forward delete can delete wrong char, 41149: incorrect format feedback when in lists 2000-06-02 06:03:46 +00:00
sspitzer%netscape.com fe5949b6e0 turn off mjudge's printf for everyone but mjudge 2000-06-01 23:04:46 +00:00
mjudge%netscape.com 5d7b303285 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
kin%netscape.com d1fb8e5b98 Fix for bug #40392: Crash on exit from composer due to spellchecker init failure
Modified First/LastSelectedBlock() to check if a range is collapsed before
trying to iterate over it.

    editor/txtsvc/src/nsTextServicesDocument.cpp

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-05-31 03:18:46 +00:00
kin%netscape.com 3c7d28336f 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
akkana%netscape.com a09ef143bf 36559: run selection batching earlier in DeleteSelection, now that
the fix for 38713 allows it, so that deleting the selection doesn't
cause an autocopy. r=jfrancis a=beppe
2000-05-31 00:03:02 +00:00
jfrancis%netscape.com 3557066e86 fixing unix nsCOMPtr usage 2000-05-24 23:59:45 +00:00
jfrancis%netscape.com b72fc981df fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:38:07 +00:00
jfrancis%netscape.com 18736fd80c 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
cmanske%netscape.com b551cafc26 Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann 2000-05-18 21:02:10 +00:00
cmanske%netscape.com 5f83c21ac8 Last tweak of the night to Split Table Cell 2000-05-17 06:47:34 +00:00
cmanske%netscape.com c418875a55 Fixed another edge case in Split Cell when lots of columns have rowspan > 1 2000-05-17 06:23:55 +00:00
cmanske%netscape.com 9059ecc8e0 Fixed problems when spliting a cell that has both rowspan > 1 and colospan > 1, part of bug 20973 2000-05-17 04:58:34 +00:00
cmanske%netscape.com ee5692c5d5 Implemented Split Table Cell, part of bug 20973 2000-05-17 03:21:17 +00:00
jst%netscape.com b22cf9671a Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
rods%netscape.com 982188fad6 DD&D now checks for readonly and disabled
b 38773
2000-05-16 21:57:06 +00:00
brade%netscape.com 6bc3b8a915 enable drop of more types 2000-05-16 14:53:43 +00:00