jfrancis%netscape.com
658fa56fa3
editor embedding work; fixing bug with making lists
2000-05-09 21:06:49 +00:00
mjudge%netscape.com
ebafd36182
massive change to prepare for ender-lite. should be a no-op for current implementation
2000-05-04 08:33:48 +00:00
mjudge%netscape.com
67a72ebc1e
massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
2000-04-28 06:20:36 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
akkana%netscape.com
5709d8739f
Change Save File APIs in layout and editor to eliminate the specific
...
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
jfrancis%netscape.com
c207f78168
lots of improvements to block transformations:
1) looks inside inlines for breaks;
2) fixes the "extra break when unlisting" bug
3) changing paragraph style to normal consistently gets breaks
4) any splitting needed occurs when blocks inserted
plus a lot of small bug fixes
2000-04-24 11:51:12 +00:00
akkana%netscape.com
b92f151eba
35814: add clipboard type to editor paste methods, and call the right type
2000-04-14 23:38:21 +00:00
jfrancis%netscape.com
0254b96365
Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
2000-04-13 21:50:19 +00:00
jfrancis%netscape.com
af4644e7c8
making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code.
2000-03-29 12:53:23 +00:00
jfrancis%netscape.com
0b23120401
improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)
2000-03-24 00:26:47 +00:00
sfraser%netscape.com
096edb7034
Expose the transaction manager to outside, for bug 18395. r=akkana
2000-02-16 01:36:30 +00:00
cmanske%netscape.com
afecaab477
Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge
2000-02-10 05:14:52 +00:00
jfrancis%netscape.com
c9505c0fa5
implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
2000-02-08 12:53:34 +00:00
jfrancis%netscape.com
f91098d0f6
make selection sticky across undo/redo (24573);
get bold/italic/underline toolbar feedback working (24574);
fix for 24856: unable to unbold text;
fix for 24572: cant get selection between split lists
2000-01-31 10:30:12 +00:00
kin%netscape.com
9ef6758595
Fix for bug #24253 : [REGRESSION] Redo adds newlines instead of redoing.
...
mozilla/editor/base/nsEditor.cpp
mozilla/editor/base/nsEditor.h
- Added IsMozEditorBogusNode() method.
mozilla/editor/base/nsTextEditRules.cpp
- Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
MozEditorBogusNode so that it doesn't create more than one.
- Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().
r=sfraser@netscape.com
2000-01-18 23:45:35 +00:00
sfraser%netscape.com
a37b31dc09
WIP for 18395, various editor command handling and updating changes. r=akkana
2000-01-18 21:50:15 +00:00
jfrancis%netscape.com
7f37ccf2d2
not all compilers created equal
2000-01-10 10:44:18 +00:00
jfrancis%netscape.com
e72a2924a8
added in some rules code for mail quoting. This
fixes bug: 19979 (extra blank line showing up in
mail that has quotes)
partial progress on block transformation work:
unlisting a list now works mostly correctly again,
instead of merging all the former list items into
one run of text (no bug number).
Moz-br's are now added in one more circumstance:
when you have a br at the end of some inline
content that is followed by a new block (like a
list, table, etc.). This is needed for the same
reason that the other moz-br's are: to generate a
blank line that the user expects after hitting
return. (no bug number)
DTD-related work to enable the editor to check if
you should be able to type given the current
selection.
fixed bug 22944: inserting an <A> in a table
splits the table.
Made some progress on text paste performance, but
it's still too slow. That's 19273, which I'm
leaving open
fixed bug 15258: selection capable of getting out
of the body element.
fixed a bug where code that merged adjacent text
nodes would merge the non-editable "formatting"
textnodes, (no bug number). Added code to prevent
selection from ending up inside a non-editable
text node.
fix for 11994, an IME bug.
2000-01-10 10:13:58 +00:00
jfrancis%netscape.com
d6e95890c8
Fix for bug 21346.
This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting).
2000-01-04 03:09:41 +00:00
ftang%netscape.com
c5a3d00653
fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
1999-12-08 03:39:36 +00:00
jfrancis%netscape.com
167f9c0b74
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +00:00
ftang%netscape.com
5d9824b4bd
add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
1999-12-07 01:29:00 +00:00
jfrancis%netscape.com
73aafabe8e
implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces)
16715 - caret gone or wrong after hitting return
16988 - aim foiled by our mozDIVs
17908 - enter at end of document does nothing
16085 - 4.x mail replied foiled by mozDIVs
19368 - inline style lost after typing return
17059 - "normal" made a paragraph, but typing made a div. Now they both just use direct text in the body (or wherever)
18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all)
17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV
rules which are now gone.
1999-11-25 00:16:56 +00:00
jfrancis%netscape.com
54f5ef35c3
rewrote GetFirstEditableNode() / GetLastEditableNode(). This fixes bugs: 18922, 18938, 18723; r=floppy moose
1999-11-17 11:03: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
jfrancis%netscape.com
c89d94b9e9
reworking editor IME supoprt; r=kin; bugs: 13576, 11878, 11994, 13494, 16432
1999-10-26 18:54:47 +00:00
sfraser%netscape.com
f53c9c41ba
Removal of calls to PR_MumbleMonitor, which were way too heavy-handed for the job. Replaced with PR_AtomicInc/Decrement. part of module sweep, r=morse, pavlov
1999-10-21 05:36:21 +00:00
jfrancis%netscape.com
c412022f4a
revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com
1999-10-06 19:34:09 +00:00
jfrancis%netscape.com
9a79219861
revised UNDO; introduced first cut at the "mozdiv" typing rules
1999-09-29 20:08:15 +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
sfraser%netscape.com
45452ccc0e
Fixed GetFirst/LastEditable node
1999-09-22 01:23:58 +00:00
akkana%netscape.com
332f71e329
490: infrastructure for inserting formatting whitespace. Not turned on yet except for DEBUG_akkana
1999-09-10 18:54:13 +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
buster%netscape.com
c2a011eb49
got rid of a nasty compiler warning by changing an unsigned int to signed
1999-09-02 20:37:19 +00:00
cmanske%netscape.com
662edc2554
Added CloneAttributes to IDL and nsIHTMLEditor. Reworked property dialogs to accomodate AdvancedEdit dialog. Preliminary version of AdvancedEdit dialog done
1999-09-02 01:47:18 +00:00
cmanske%netscape.com
ba11acdca2
Changed IsNodeBlock to NodeIsBlock for JS. Fixed all compiler warnings. Added Advanced property Edit files
1999-09-01 19:58:25 +00:00
cmanske%netscape.com
dff2ba2d8d
Exposed IsNodeBlock for JavaScript. Added comments for editor methods. Temporary fix for insert image bug (12917). Fixed bug 11857. Preliminary support for setting title and adding Cancel button in message dialogs.
1999-09-01 01:22:37 +00:00
jfrancis%netscape.com
743156ab31
checkpointing some deletion work
1999-08-31 13:55:18 +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
buster%netscape.com
784ca3f405
removed static constructors, since they're illegal in our system
1999-08-30 22:12:11 +00:00
cmanske%netscape.com
9c2fab8c18
Removed string bundle code from nsEditor into EditorShell and added access for JavaScript. Moved most of Save document code into EditorShell and added filetype filters to save dialog. Placed Advanced Edit functionality in an overly file. Removed redundant entity strings, that are now in overlays, from DTD files.
1999-08-28 02:40:18 +00:00
cmanske%netscape.com
ce2856a9e0
Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead.
1999-08-27 04:12:47 +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
tague%netscape.com
893a484b35
Fixed bug #12052 - design changes to the implemenation of the editor charset menu. The charset information is now pushed down to the nsIDocument rather than being stored in the nsEditor component.
1999-08-20 23:52:36 +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
kin%netscape.com
f83e42cc70
Modifications to re-enable Editor API Logging which was broken after the last editor source reorg.
...
editor/base/Makefile.in
editor/base/makefile.win
- Modified makefiles build files that were
renamed, and use new define to build the
API Logging code.
editor/base/nsEditor.cpp
editor/base/nsEditor.h
editor/base/nsHTMLEditor.cpp
- Removed all ENABLE_JS_EDITOR_LOG ifdef'd code.
- Removed all references to nsVector.h.
editor/base/nsEditorFactory.cpp
- Added ENABLE_EDITOR_API_LOG ifdef'd code
that will create an instance of nsHTMLEditorLog
instead of nsHTMLEditor.
editor/base/nsEditorTxnLog.cpp
- Initial checkin of file. File was originally named nsJSTxnLog.cpp.
editor/base/nsEditorTxnLog.h
- Initial checkin of file. File was originally named nsJSTxnLog.h.
editor/base/nsHTMLEditorLog.cpp
- Initial checkin of file. File was originally named nsJSEditorLog.cpp.
- nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
overrides methods that modify the content tree and are publicly
available via XPIDL.
editor/base/nsHTMLEditorLog.h
- Initial checkin of file. File was originally named nsJSEditorLog.h.
- nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
overrides methods that modify the content tree and are publicly
available via XPIDL.
1999-08-19 13:19:10 +00:00
tague%netscape.com
11dad9b8c4
Fix bug #11687 - [Dogfood] Enable ender to save documents in encodings other than ISO-8859-1. Approved by chofmann@netscape.com, reviewed by buster@netscape.com.
1999-08-13 22:26:50 +00:00
jfrancis%netscape.com
70c5b10ce6
SplitNodeDeep() now emits an out param that tells you what the effective split offset was. This routine no longer splits text nodes unless it has to; ie, if the original offset was at the beginning or end of the text node, no split occurs in it.
1999-08-09 21:45:52 +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
tague%netscape.com
58316bd322
Added support for replies from private DOM text events. See bug #4826
1999-08-06 02:32:13 +00:00