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
085ee726c0
remove save and saveas commands (now in JS); submitted by rcassin@supernova.org (bug #16359 )
2000-07-28 10:15:28 +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
3b91da3d74
remove unused function
2000-07-27 21:48:06 +00:00
brade%netscape.com
645979aa35
add static to two methods to remove warnings
2000-07-27 21:46:26 +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
mcafee%netscape.com
6c8757c6d2
Backing out last change to fix linux bustage. r=cmanske
2000-07-12 01:47:00 +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
476aee1c18
Tweaked previous fix -- sfraser suggested a more efficient fix
2000-07-12 01:05:35 +00:00
cmanske%netscape.com
4b0e5559b9
Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!)
2000-07-12 01:00:58 +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
ftang%netscape.com
c1b191599a
fix 40739 (dup as 45048. the fix is in 45048)
...
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.
2000-07-11 07:50:00 +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
dougt%netscape.com
078a498e23
Change nsIDOMXULDocument --> nsIDOMDocument
...
bug 43424
r=akkana@netscape.com
a=phil@netscape.com ?
2000-06-24 01:29:58 +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
cmanske%netscape.com
06305fcd27
Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske
2000-06-22 05:24:42 +00:00
cmanske%netscape.com
14801600dc
Checking for brade: Use PreventDefault instead of returning NS_ERROR_BASE to stop event processing in mouse listners. b=42510, r=cmanske
2000-06-22 04:54:55 +00:00
danm%netscape.com
03ea82871a
tracking change of name of window.content to _content. (bug 33650) r=hyatt
2000-06-22 00:48:45 +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
cmanske%netscape.com
c073210b68
Fixed list command problems: bug 41735, r=brade
2000-06-16 14:21:46 +00:00
sfraser%netscape.com
246949d32b
Belt-and-braces check for bug 42145; check for null args. r=akkana
2000-06-16 06:06:55 +00:00
cmanske%netscape.com
a61cac632c
Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana
2000-06-15 14:17:13 +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
dbaron%fas.harvard.edu
50432067a5
Fix leaks of nsHTMLHeadElement. r=waterson@netscape.com
2000-06-15 02:14:16 +00:00
cmanske%netscape.com
4f01ada9bf
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
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
cmanske%netscape.com
8bdae7a16a
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
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
jfrancis%netscape.com
338a1b0aeb
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
4d8ea6168b
cleaning up 34896 ender-lite with saari's review.
2000-06-09 21:13:03 +00:00
shanjian%netscape.com
5ca3f53ba7
#39726 typo in IMETextTxn.cpp
...
r=ftang a=waterson
2000-06-08 23:40:31 +00:00
brade%netscape.com
fa8e2b58fc
drag within editor implemented; r=kin; a=beppe; bug#6255
2000-06-08 14:47:29 +00:00
kin%netscape.com
6790b4afdd
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
334756250b
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
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
cmanske%netscape.com
946b869f76
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
512c8bf433
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
jfrancis%netscape.com
e93fa5fecf
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
08769b0013
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
1d1c974367
turn off mjudge's printf for everyone but mjudge
2000-06-01 23:04:46 +00:00
mjudge%netscape.com
6a340adf28
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
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
akkana%netscape.com
313130d552
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
sfraser%netscape.com
2b5984adae
Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis
2000-05-26 23:42:25 +00:00
sfraser%netscape.com
c2ea91a9df
Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe
2000-05-25 21:50:46 +00:00
cmanske%netscape.com
517e9ae89d
Fixed object properties bug 39649. r=sfraser
2000-05-25 03:34:20 +00:00
jfrancis%netscape.com
18688d3585
fixing unix nsCOMPtr usage
2000-05-24 23:59:45 +00:00
jfrancis%netscape.com
512565acef
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
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
cmanske%netscape.com
3ca51295e3
Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann
2000-05-18 21:02:10 +00:00
cmanske%netscape.com
0cac01227f
Last tweak of the night to Split Table Cell
2000-05-17 06:47:34 +00:00
cls%seawood.org
a8000b8bb5
Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency.
2000-05-17 06:45:45 +00:00
cmanske%netscape.com
07234c7763
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
7020903b71
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
2780e53fa4
Implemented Split Table Cell, part of bug 20973
2000-05-17 03:21:17 +00:00
pavlov%netscape.com
803190ad4b
changes all usages of NS_NewTimer to CreateInstance
2000-05-17 02:49:35 +00:00
jst%netscape.com
930a889eb7
Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
2000-05-17 00:21:53 +00:00
ftang%netscape.com
5f8f73c8d0
Change the default charset of the containviewer when we set the document charset of
...
the nsEditorShell. fix bug 38322
2000-05-17 00:09:40 +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
joki%netscape.com
a743e2b38b
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
cmanske%netscape.com
44d6a93dee
Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command
2000-05-16 05:33:51 +00:00
jfrancis%netscape.com
fb3be33e0c
fixing list toolbar button updating...
2000-05-15 11:50:49 +00:00
mjudge%netscape.com
0e61917f36
no point in turning off the link handler if we are allready in text only mode.
2000-05-15 05:18:45 +00:00
cmanske%netscape.com
ef2ee30b83
Another tweak to table editing
2000-05-15 04:39:27 +00:00
cmanske%netscape.com
7d5d83345c
Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found
2000-05-15 04:29:10 +00:00
cmanske%netscape.com
bf15afa2b3
Table editing: Join and Split cells (part of bug 20973)
2000-05-15 03:06:29 +00:00
anthonyd%netscape.com
2b8f661639
adding weak ptr support to EditorShellMouseListener
2000-05-14 05:52:56 +00:00
anthonyd%netscape.com
415649ffb7
changed nsIDOMWindow* mContentWindow to a
...
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell
2000-05-14 05:27:17 +00:00
mjudge%netscape.com
32eba0ac36
writing out from content start using domseelction
2000-05-13 08:04:29 +00:00
jfrancis%netscape.com
f9cbdf9698
fix for 38991: making lists screwed up
2000-05-12 23:43:50 +00:00
brade%netscape.com
de866a32ba
allow drop of files into Composer (create image or link as appropriate)
2000-05-12 14:57:03 +00:00
cmanske%netscape.com
66180a846b
Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages
2000-05-12 02:37:33 +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
ba93f893eb
Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell.
2000-05-10 13:56:30 +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