brade%netscape.com
c7afb94dcc
warning cleanup
1999-09-21 22:32:39 +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
a8d68e70d4
most of the fix for bug 11804, type-in state wasn't properly removing
...
inline attributes from the next character entered (you're in a bold word
and user clicks bold button, should make next character not bold.)
all done except for font properties.
1999-09-20 04:20: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
54d647b458
fixing a heap-o-undo problems and some mBogusNode problems
1999-09-20 01:31:44 +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
jfrancis%netscape.com
a7f35e4051
fix for 13677
1999-09-17 23:15:12 +00:00
buster%netscape.com
1b1462e1dc
fixed a warning
1999-09-17 20:17:22 +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
buster%netscape.com
e52e18ffbf
fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
...
in WillInsertText
1999-09-15 19:43:19 +00:00
sfraser%netscape.com
e435677c81
Use nsAutoStrings where appropriate
1999-09-14 23:40:16 +00:00
buster%netscape.com
4195b67417
fixed bug 13669, wrong password when user typed with 1 or more characters selected
1999-09-14 00:11:22 +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
jfrancis%netscape.com
8720822aff
adding a default case enum value for rules action enum
1999-09-12 01:33:20 +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
buster%netscape.com
ffb3894fd2
fixed password editors, while maintaining output of empty HTML documents
...
fixes bug 13404, a blocker for enabling gfx text controls
1999-09-09 19:39:36 +00:00
sfraser%netscape.com
58b73017cb
Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node).
1999-09-08 23:32:04 +00:00
jfrancis%netscape.com
9c28b6ac69
restoring 1.54 checkin: no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document.
fix for bug 13251 is now in layout/src/base/nsRange.cpp
1999-09-08 05:30:48 +00:00
kin%netscape.com
7602564deb
Fix for bug #13251 : gfx text fields are not accepting input
...
Reenabled call to ClearSelection() in nsTextEditRules::WillInsert().
1999-09-07 22:47:50 +00:00
jfrancis%netscape.com
03c6026eb0
implementing RemoveList() - ie, list button now works as a toggle
1999-09-06 19:47:25 +00:00
jfrancis%netscape.com
7f0b5337ce
no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document.
1999-09-06 19:45:26 +00:00
bruce%cybersight.com
7c0a2d27b9
Use nsCRT::free() instead of delete[] for char* data.
1999-09-06 06:22:51 +00:00
sspitzer%netscape.com
338479c025
it really scares me to see my password get sent to the console when I type it. it's scaring others, see #13061 . wrapping this code with #ifdef DEBUG_<author>. I'll send them mail directly.
1999-09-03 08:31:33 +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
buster%netscape.com
8b33ec3088
fixed bug 12680 (password fields broken)
...
fixed bug 12489 (static contructors must be removed)
1999-08-30 22:11:09 +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
796446129f
added a special case to the output text rules for an empty document
...
(one that contains the bogus node)
1999-08-24 13:48:08 +00:00
jfrancis%netscape.com
34f6986b50
refactoring text insertion code; indent/outdent now work with lists and list items.
1999-08-24 08:56:51 +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
jfrancis%netscape.com
a099b1e5b6
some reorg of block transformation code; implemented make-{header,preformatted,address,normal}; tweaked make list to honor <br> in some circumstances; rewrote "return in list item" to pop you out of list if item is empty; rewrote "return in header" to work with non-trivial headers.
1999-08-18 08:13:06 +00:00
jfrancis%netscape.com
4c2532dd8b
fixing bug 9366
1999-08-09 22:51:40 +00:00
buster%netscape.com
5b65a4e45f
moved handling of flags from rules constructor to rules init, so
...
rules code can call SetFlags with mEditor initialized and do real
processing if it wants to.
1999-08-09 18:39:49 +00:00
sfraser%netscape.com
ac5099a587
Fix the nsTextEditRules init so that setting the flags works.
1999-08-09 18:22:13 +00:00
buster%netscape.com
503defd7f0
backed out my last change, it didn't fix the problem I thought it would.
1999-08-09 18:01:08 +00:00
buster%netscape.com
151ee02b62
call SetFlags from Init, so plaintext logic gets executed.
1999-08-09 17:44:14 +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
fd79be28bb
fixed handling of text controls with a max length set
1999-08-07 05:29:41 +00:00