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

118 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com 2d4081b417 fix bug 14624 (don't handle tab key twice). r=kin@netscape.com. 1999-11-16 14:41:03 +00:00
beard%netscape.com 65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mcafee%netscape.com f535f208dc Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann. 1999-11-05 01:29:49 +00:00
akkana%netscape.com c1a800f31c Fix key event bustage: treat DOM_VK_RETURN and DOM_VK_ENTER equivalently. r=ftang,joki a=chofmann,leaf 1999-11-03 22:05:45 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
braddr%puremagic.com ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
ftang%netscape.com c4deb92eb0 add debugging code. fix remove last uncomited IMEText. r=jfrancis 1999-10-27 22:56:36 +00:00
braddr%puremagic.com 341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com 55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
akkana%netscape.com 56f9652bab 16844: modifier key presses shouldn't insert anything into the editor. r=brade 1999-10-20 20:02:44 +00:00
brade%netscape.com 2029fcbfca use the proper function calls to get the status for alt, shift and meta keys. bug #16486. reviewed valeski@netscape.com 1999-10-15 21:20:57 +00:00
brade%netscape.com b1a69f1bd1 don't allow other modifiers when cut/copy/pasting (bug #15693); this missed the keyEvent branch. r=kin@netscape.com 1999-10-15 14:52:45 +00:00
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
buster%netscape.com 1a165ddf9b fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
cmanske%netscape.com 20f2a8bffa More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
joki%netscape.com 3443bcda6f Changing dom event VK_* names to DOM_VK_* 1999-09-21 14:19:17 +00:00
waterson%netscape.com 7526311e6b Fix Linux bustage. 1999-09-20 04:50:18 +00:00
buster%netscape.com 4c70f46b60 fixed recent bustage on windows that '.' key wouldn't work, making it
tough to type URL's in browser.  still needs work, but it's usable again.
1999-09-20 04:16:34 +00:00
jfrancis%netscape.com cae1f90939 putting tab handling back in KeyDown(). Else editor never gets tabs. 1999-09-19 10:30:30 +00:00
akkana%netscape.com 9e4d4dd4cc Handle everything in KeyPress; make KeyDown a nop. This also fixes bug 13962 1999-09-17 20:11:13 +00:00
sfraser%netscape.com e435677c81 Use nsAutoStrings where appropriate 1999-09-14 23:40:16 +00:00
jfrancis%netscape.com 49d7f73dbc implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br> 1999-09-13 09:37:51 +00:00
brade%netscape.com 1032971d5d handle hard-coded keybindings on Mac; begin to support new key event spec (lower case letters for charcodes) 1999-09-10 14:42:20 +00:00
bruce%cybersight.com 7c0a2d27b9 Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:22:51 +00:00
tague%netscape.com 97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
sfraser%netscape.com c67d934ba7 Back out cmanske's changes to these files, which he checked by by mistake. 1999-08-31 01:14:40 +00:00
cmanske%netscape.com 523b9079f0 Added checking if we need to save file before allowing close window or exit (bug 7615). Added support for Confirm and Alert message dialogs 1999-08-31 00:51:23 +00:00
pinkerton%netscape.com 50f4479ca0 clean up small mem leak. 1999-08-30 22:18:23 +00:00
kin%netscape.com bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
akkana%netscape.com dbf32d1372 Handle lower-case alt-x as well as upper case 1999-08-28 00:31:06 +00:00
jfrancis%netscape.com 9ea8122814 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
pinkerton%netscape.com 72c115383c toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com 268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
akkana%netscape.com ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
buster%netscape.com 09e028ee79 Split out installing the editor's own event handler as a separate step.
The owner of the editor can now initialize the editor,
set up its own listeners if it wants to, then the editor will set up it's own
backstop listeners as part of PostCreate().
The backstop key listener now ignores ENTER for single line text controls.
Ugly to have to do it here, it would be better if the owner could just swallow the key event.
1999-08-23 06:42:04 +00:00
akkana%netscape.com de0fab64a7 Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings. 1999-08-20 22:39:48 +00:00
brade%netscape.com b2c4160c8a keyhandling for keybindings moved to keypress (was keydown) 1999-08-20 13:14:03 +00:00
pinkerton%netscape.com e6c785c88e add DragGesture to drag listener. 1999-08-19 19:48:33 +00:00
buster%netscape.com 3bc5912284 Fixed a ton of errors where we were not handling error results correctly.
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.
1999-08-19 13:30:48 +00:00
sfraser%netscape.com d73dfd8ddb Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup. 1999-08-09 01:37:50 +00:00
buster%netscape.com 554895cb53 fixed disabled and readonly handling
added redraw hack to blur (in addition to focus, already done)
1999-08-07 05:28:57 +00:00
tague%netscape.com 58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
buster%netscape.com 414c95e223 added the same hack for blur as for focus, to force a repaint
handle TAB in keyDown, not keyPress, so we can surpress focus manager
using TAB to swap focus from the editor.
1999-08-03 06:07:29 +00:00
buster%netscape.com 1941ea5807 selection and caret are not displayed at Init time any more. This is done on Focus now.
checking in temp hack to repaint on focus
1999-08-02 13:53:23 +00:00
joki%netscape.com d752334449 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
mjudge%netscape.com c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
mjudge%netscape.com 21700e5d88 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
sfraser%netscape.com c9dbb47be6 Don't handle a key event as a keypress if the meta key is down. 1999-07-14 22:29:06 +00:00
akkana%netscape.com a3fb11b98f Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00