mats.palmgren%bredband.net
4a3815c885
Fix crash when destroying an editor that was never Init()'ed. b=325386 r=timeless sr=roc
2006-06-17 00:17:26 +00:00
Olli.Pettay%helsinki.fi
d82d580d5d
Bug 338129, r=glazman, sr=neil
2006-06-15 07:31:01 +00:00
peterv%propagandism.org
02314cbe01
Fix for bug 340674 (Clean up some editor transactions code - unused code). r=glazman, sr=sicking.
2006-06-08 12:47:24 +00:00
Olli.Pettay%helsinki.fi
b9c2cdd0a8
Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz
2006-05-15 19:35:12 +00:00
timeless%mozdev.org
8f7341d7e8
Bug 336984 Useless null check of aNewLeftNode in nsEditor::SplitNode
...
r=neil sr=neil
2006-05-11 13:25:30 +00:00
mrbkap%gmail.com
f03e3f47ba
Backing out these changes since they were strictly unnecessary and they cause other problems.
2006-04-27 22:34:07 +00:00
mrbkap%gmail.com
6c8f801dcc
Don't bother hiding the caret anymore. bug 334608, r=brade sr=roc
2006-04-26 19:56:58 +00:00
sharparrow1%yahoo.com
67d4723e36
Bug 334416: Misc view usage cleanups. r+sr=roc.
2006-04-18 06:05:24 +00:00
masayuki%d-toybox.com
6fb048961a
Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
2006-04-11 16:37:58 +00:00
dbaron%dbaron.org
b1335d688b
Fix backspace/delete on non-BMP characters for plaintext editor. b=237585 r=smontagu sr=roc
2006-04-04 00:57:55 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
timeless%mozdev.org
1ce5986f6b
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bryner%brianryner.com
ecc0706743
Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin.
2006-01-24 19:22:02 +00:00
neil%parkwaycc.co.uk
16be705a3d
Bug 303713 Allow content to type into textfields using key events r+sr=jst
2005-12-09 11:23:54 +00:00
brettw%gmail.com
b9193728c5
Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky
2005-12-05 18:07:33 +00:00
timeless%mozdev.org
db820cf720
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
masayuki%d-toybox.com
7e718780b3
Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
3767450b23
backing out previous patch b=55751
2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
94e3cfbe0c
Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
2005-11-14 21:32:16 +00:00
mats.palmgren%bredband.net
7980f99519
Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
2005-10-17 00:54:02 +00:00
peterv%propagandism.org
7069fad3ab
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
0d6a610963
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
peterv%propagandism.org
fbc8799da6
Another try to fix btek.
2005-06-16 22:57:46 +00:00
peterv%propagandism.org
2e61f5d7aa
Trying to fix btek bustage.
2005-06-16 21:52:44 +00:00
peterv%propagandism.org
4cb41ef640
Trying to fix btek bustage.
2005-06-16 21:20:57 +00:00
peterv%propagandism.org
1d34606d5f
Trying to fix btek bustage.
2005-06-16 19:56:21 +00:00
peterv%propagandism.org
ea82f1a8a5
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
2005-06-16 13:10:58 +00:00
timeless%mozdev.org
3fc95f8e53
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
2005-06-03 10:26:28 +00:00
bzbarsky%mit.edu
d0f85afecf
Fix crashes due to editor not removing its listeners properly on document
...
teardown. Bug 289379, r=sfraser, sr=jst, a=asa
2005-04-11 17:53:28 +00:00
jst%mozilla.jstenback.com
006a859d7d
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
2005-03-24 19:00:01 +00:00
timeless%mozdev.org
10c1d75093
Bug 285974 Crash when we use ATOK on the other of editor[@ nsWindow::OnIMEQueryCharPosition]
...
patch by masayuki@d-toybox.com r=timeless sr=roc
2005-03-18 06:17:59 +00:00
scott%scott-macgregor.org
39c443dabd
Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
...
and editor hooks to call out to an inline spell checker component.
moa/r=glazman
sr=bienvenu
2005-02-01 21:12:53 +00:00
bzbarsky%mit.edu
949dc5fa14
Add a way for IME to query the caret position. Bug 278061, patch by
...
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +00:00
mozilla.mano%sent.com
a8ef008033
Bug 279416 - Implement a controller for cmd_switchTextDirection. r=brade sr=neil (for editor/) r=smontagu sr=neil (for xpfe/) r=mconnor (for browser/)
2005-01-26 01:40:30 +00:00
bzbarsky%mit.edu
905bf0a35a
Flush out reflows before processing invalidates and paint events. Fixes a
...
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor. Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
bryner%brianryner.com
29c70cffe8
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
2004-11-24 22:48:45 +00:00
jshin%mailaps.org
2002afaacf
bug 163572 : converted string is inserted every time space key is pressed patch by masayuki@d-toybox.com (r=pinkerton,bryner,amardare,emaijala,sfraser,roc, sr=bryner,sfraser,roc)
2004-11-13 11:27:09 +00:00
darin%meer.net
189ba5e5c4
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
89ae6d1ad4
Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
...
Bug 263569, r+sr=roc
2004-10-11 15:34:45 +00:00
roc+%cs.cmu.edu
6c4ebb2c18
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
2004-10-09 01:39:21 +00:00
jshin%mailaps.org
ac1975a071
bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
2004-09-12 05:00:57 +00:00
smontagu%smontagu.org
596da04448
Backout last checkin because of build bustage
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
efa975d2f7
Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
2004-09-11 07:13:12 +00:00
peterv%propagandism.org
68a084b8c7
Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst.
2004-08-19 12:45:47 +00:00
peterv%propagandism.org
f0d5139d7d
Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst.
2004-08-06 11:56:46 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
peterv%propagandism.org
a7908e751a
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
99e02e5aa3
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
brade%comcast.net
09425f7571
don't dirty editor if there are no transactions and undo or redo are called (bug 237834; r=glazman, sr=kin, a=asa)
2004-03-26 14:20:04 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
jshin%mailaps.org
f6310cfd79
bug 208095: crashes when ASCII characters are entered before any characters that go through an XIM server. patch by smontagu, r=katakai, sr=sfraser, a=choffman
2004-02-14 00:22:15 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
timeless%mozdev.org
d594242b8a
Bug 225991 DRefTool analysis for editor files
...
r=roc sr=roc
2003-11-17 20:45:37 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
uid502
1cfabd35d3
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
brade%netscape.com
6bedaabb65
editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
2003-07-15 13:47:15 +00:00
brade%netscape.com
13cfbbcb35
fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
2003-07-08 20:38:51 +00:00
brade%netscape.com
b09e279a38
code cleanup continued; r=timeless, sr=kin, bug=209548
2003-06-30 18:55:06 +00:00
brade%netscape.com
eb37ab13c3
code cleanup, r=timeless, sr=kin, bug=209548
2003-06-30 17:28:52 +00:00
brade%netscape.com
920f7b4f36
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
2003-06-27 14:19:40 +00:00
roc+%cs.cmu.edu
542467a8bd
deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron
2003-06-24 13:39:15 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
glazman%netscape.com
f73fa81318
Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
...
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose
2003-06-17 08:45:54 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
kaie%netscape.com
e0c7f637b2
b=202166 Edit actions place caret on invalid position
...
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
timeless%mozdev.org
dad022fd58
Bug 199989 Remove gNoisy code from libeditor.
...
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
timeless%mozdev.org
46bd47de9e
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
leon.zhang%sun.com
526c0515e9
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +00:00
kin%netscape.com
e665d2543f
Fixes for bug 192569 (allow foreign transactions to be added to the queue)
...
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp
- Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
can be called from JavaScript.
- Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
nothing happens outside the check of mUpdateCount.
- Modified PlaceholderTxn.cpp so that it checks to see
if a merged transaction implements nsPIEditorTransaction
before attempting to cast it to (EditorTxn*).
mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd
- Added debug menu items to test execution of foreign transactions
via the txnmgr and editor.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
jaggernaut%netscape.com
d5a82d57cc
Add defined(XP_MACOSX) to bail early when !mInIMEMode. r=brade, sr=lumpy
2003-04-04 13:26:12 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
henry.jia%sun.com
a873e7e743
Patch for bug 35296: SetCaretEnabled() takes too long
...
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
alecf%netscape.com
8c50d0242a
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf%netscape.com
b6584a77fb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
ecf24a2b78
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
sspitzer%netscape.com
c8e1ff5409
fix for #188946 . crasher when you delete a smiley.
...
this was caused by the checkin for #114713
there is still problems with delete of smileys, but that's
an existing bug. r/sr=bryner.
2003-01-14 22:08:42 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
098bd15103
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 19:35:36 +00:00
jfrancis%netscape.com
18d72537a9
editor fixes for:
...
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field (patch courtesy of Shotaro Kamio)
r=jfrancis,brade,cmanske sr=kin
2002-12-22 01:51:14 +00:00
nhotta%netscape.com
dc755ed5d9
Adding a new interface to retrieve phonetic of input text,
...
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
caillon%returnzero.com
82090ec342
Bug 181442 - Convert editor's pref usage to the new pref APIs.
...
r=brade sr=kin
2002-11-23 01:26:58 +00:00
jfrancis%netscape.com
0c756dc3b3
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
2002-11-22 03:30:59 +00:00
bzbarsky%mit.edu
fe11056d5d
Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
...
places. Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
12635e7ebd
fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin
2002-11-10 15:11:08 +00:00
dbaron%fas.harvard.edu
84f5669319
Fix leak of transactions. b=174123 r=jfrancis sr=kin a=rjesup
2002-10-14 23:48:05 +00:00
jfrancis%netscape.com
161ba68052
fix for 171243: redo broken
r=brade, sr=kin
2002-10-08 23:06:38 +00:00
jfrancis%netscape.com
ac9f0f07f5
fix for 164054: Place selection at first visible content on editor doc load
r=brade
sr=kin
2002-10-08 22:53:55 +00:00
brade%netscape.com
f7d5f35b4a
remove unused CIDs (r=mjudge/sr=kin/bug 121648)
2002-10-07 14:21:34 +00:00
cmanske%netscape.com
5a09a20b46
Rearrange initialization of member vars to avoid build warning, fix by walker84@yahoo.com, b=169780, r=cmanske, sr=dveditz
2002-09-23 17:34:50 +00:00
cmanske%netscape.com
1010f8aeed
Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
2002-09-18 19:42:38 +00:00
glazman%netscape.com
e03e047dcf
fixes several bugs at once:
...
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js
b=167712, b=167716, r=brade, r=jfrancis, sr=kin
2002-09-17 12:04:59 +00:00
jfrancis%netscape.com
6b4239f26f
fix for 162874: editor actions can cause asserts in range code.
r=glazman
sr=kin
2002-09-13 13:12:30 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
mjudge%netscape.com
a07cba5734
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
kin%netscape.com
2cc8934aad
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com
890f83aea5
fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
2002-05-14 00:05:37 +00:00
jst%netscape.com
cd9afd67e1
Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
2002-04-17 04:17:16 +00:00
jfrancis%netscape.com
98f0f3ed8b
fixing 136944: crash typing in editor. r=fm sr=kin
2002-04-13 23:54:59 +00:00
jfrancis%netscape.com
3232e07c19
fixes for bugs:
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful
2002-04-06 19:07:47 +00:00
timeless%mac.com
a84a7e233f
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
...
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e
Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 22:42:19 +00:00
jst%netscape.com
020632bdc1
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d
Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 02:09:19 +00:00
akkana%netscape.com
36234b8d88
131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
6efddef09e
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:16:54 +00:00
glazman%netscape.com
72b1c305b0
It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
...
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
alecf%netscape.com
66e767c7b8
one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
...
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
glazman%netscape.com
fd4d0fd0da
remove CSSisms from nsEditor; b=121092, r=brade, sr=kin
2002-01-25 10:16:52 +00:00
bzbarsky%mit.edu
68c2123b34
Bug 104480. "EqualsIgnoreCase(nsAutoString(foo)) is bad and should
...
die." r=alecf, sr=jag
2002-01-16 03:31:25 +00:00
brade%netscape.com
39e3fae0b3
literal string cleanup (bug 26384); removal of nsIDiskDocument and methods SaveFile and DoAfterDocumentSave (bug 102033); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115)
2002-01-14 20:25:17 +00:00
glazman%netscape.com
68488c9353
CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin
2002-01-09 13:51:37 +00:00
brade%netscape.com
4d0031da69
init mModCount in constructor (bug 117399; sr=kin; r=glazou)
2002-01-07 15:52:54 +00:00
mjudge%netscape.com
2ecc969e5b
bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
2001-12-18 01:29:49 +00:00
brade%netscape.com
f4d80d28e6
implement modification count in editor; bug 112008, sr=smfr, r=akk
2001-12-10 15:23:11 +00:00
jfrancis%netscape.com
6d283d24b3
fixes bug 99523 and cast of hangers on: this patch allows the editor to backspace/forward-delete across block boundaries (other than table elements), rearranging the document content in some sensible way in response. r=fm;sr=kin
2001-12-09 09:24:33 +00:00
timeless%mac.com
060425ec59
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
brade%netscape.com
0fabd3f190
nsIFile->nsIURI in nsIDiskDocument; fix SaveDocument api (bug #104883 )
2001-11-01 15:27:38 +00:00
bernd.mielke%snafu.de
5dea5d5737
bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
...
the editor/base remain untouched r=cmanske sr=kin
2001-10-17 14:33:50 +00:00
dbaron%fas.harvard.edu
5a357eea01
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
cmanske%netscape.com
153d61338a
Fix memory leak (not using nsCOMPtr) in editor, b=103317, r=rcassin, sr=kin
2001-10-10 21:29:46 +00:00
gerv%gerv.net
eecb4c06ee
License changes, take 2. Bug 98089. mozilla/editor/.
2001-09-25 22:53:13 +00:00
gerv%gerv.net
1856815ff1
Oops.
2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0
bug #98089 : ripped new license
2001-09-19 20:09:47 +00:00
kin%netscape.com
0ddea3904c
Fix for bug 98018: Impossible to delete text in textbox
...
nsEditor::CreateTxnForDeleteInsertionPoint() shouldn't
use count-1 when calculating isLast, in the non-text case.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2001-09-10 14:46:57 +00:00
cls%seawood.org
b52b439829
Declare nsCOMPtrs outside of do-while loops to avoid gcc 2.x -O2 optimization bug.
...
Bug #96911 r=jfrancis sr=kin a=blizzard
2001-09-01 17:24:08 +00:00
kin%netscape.com
82fac65b1d
Fix for bug 83607: too much backspace segfaults mozilla in textbox forms
...
Prevent GetPriorNode() and GetNextNode() from traversing above root
node when aCurrentNode is the rootNode.
r=brade@netscape.com sr=sfraser@netscape.com a=asa@mozilla.org
2001-08-29 21:33:52 +00:00
kin%netscape.com
b937541719
Fix for bug #96604 : Deleting characters from some form input controls will allow altering page content
...
mozilla/editor/base/nsEditor.cpp
mozilla/editor/base/nsEditor.h
- Added IsRootNode() method.
- Added calls to IsRootNode() in GetPriorNode() and GetNextNode()
to prevent traversing above the root node.
r=jfrancis@netscape.com sr=sfraser@netscape.com a=asa@mozilla.org
2001-08-28 18:21:12 +00:00
jfrancis%netscape.com
bcab0f9dbc
fixes:
...
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
jfrancis%netscape.com
617617ab7e
fix for 46209: I overhauled nsEditor::IsEditable() to better grok the state of content for editability. r=kin; sr=sfraser; a=asa
2001-06-12 22:35:28 +00:00
jfrancis%netscape.com
68326016b3
bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin
2001-04-26 20:14:26 +00:00
shanjian%netscape.com
819a855d2b
#59405 IME candidate window position is not correct in text field on New card and To field
...
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
2001-04-19 22:46:29 +00:00
jfrancis%netscape.com
edc5638e7c
fixes for bugs:
75618 CR line breaks not recognized when inserting data in a plain
76258 IsEditable() needs to be smarter
72968 browser crashes when doing REDO after doing some cut/paste i
55224 switching from HTML Source mode to Normal causes dataloss
71355 style buttons do not work from 2nd cell onwards inside table
71362 empty tables inside (otherwise) empty list item disappears w
74655 40% of reply time in mailcompose spent converting linefeeds
r=fm; sr=kin
2001-04-17 10:15:05 +00:00
cmanske%netscape.com
1719c073e7
Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser
2001-04-12 03:41:06 +00:00
shaver%mozilla.org
a0daa1645d
75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
...
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
mjudge%netscape.com
0d5b00ec9a
66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings
2001-04-07 00:45:26 +00:00
akkana%netscape.com
097e2cd077
66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis
2001-04-05 23:48:01 +00:00
rickg%netscape.com
169a621d42
preloader update. r=peterl, sr=attinasi
2001-04-03 22:58:59 +00:00
anthonyd%netscape.com
37f2712320
bug fix for 67985 - needed methods for nsEditor impl
...
r=jfrancis
sr=sfraser
2001-03-13 02:48:17 +00:00
kin%netscape.com
11f8ac97cd
Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
...
sr=sfraser@netscape.com ,mscott@netscape.com r=jfrancis@netscape.com
* nsITransaction, nsITransactionListenter, nsITransactionManager have
been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
of these interfaces in mozilla/editor/txmgr/public are being CVS removed.
* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
and RedoTransaction() to avoid reserved word problems in languages like
JS. I did a sweep through editor and mailnews to remove these methods.
* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.
* Removed GetUndoString(), GetRedoString() and Write() from the
nsITransaction interface. Neither editor or mailnews really made
use of these methods.
* Removed Write() from the nsITransactionManager.cpp interface.
* The Transaction Manager now supports weak references.
* Added support for nsITransactionList to the TransactionManager
to allow access to all transactions on the Undo and Redo stacks, as
well as auto-aggregated transactions.
* Removed all references to nsITransactionDescription from txmgr and editor.
* Added nsPIEditorTransaction and made all Editor internal transactions
inherit from it so we can distinguish between our transactions and
ones from 3rd parties.
New files checked in:
editor/txmgr/idl/nsITransaction.idl
editor/txmgr/idl/nsITransactionList.idl
editor/txmgr/idl/nsITransactionListener.idl
editor/txmgr/idl/nsITransactionManager.idl
editor/txmgr/src/nsITransactionList.cpp
editor/txmgr/src/nsITransactionList.h
editor/idl/nsPIEditorTransaction.idl
Files that were CVS removed:
editor/txmgr/public/nsITransaction.h
editor/txmgr/public/nsITransactionListener.h
editor/txmgr/public/nsITransactionManager.h
editor/txmgr/idl/nsITransactionDescription.h
editor/base/IMECommitTxn.cpp
editor/base/IMECommitTxn.h
Files modified:
editor/Makefile.in
editor/makefile.win
editor/base/ChangeAttributeTxn.cpp
editor/base/ChangeAttributeTxn.h
editor/base/CreateElementTxn.cpp
editor/base/CreateElementTxn.h
editor/base/DeleteElementTxn.cpp
editor/base/DeleteElementTxn.h
editor/base/DeleteRangeTxn.cpp
editor/base/DeleteRangeTxn.h
editor/base/DeleteTextTxn.cpp
editor/base/DeleteTextTxn.h
editor/base/EditAggregateTxn.cpp
editor/base/EditAggregateTxn.h
editor/base/EditTxn.cpp
editor/base/EditTxn.h
editor/base/IMECommitTxn.cpp
editor/base/IMECommitTxn.h
editor/base/IMETextTxn.cpp
editor/base/IMETextTxn.h
editor/base/InsertElementTxn.cpp
editor/base/InsertElementTxn.h
editor/base/InsertTextTxn.cpp
editor/base/InsertTextTxn.h
editor/base/JoinElementTxn.cpp
editor/base/JoinElementTxn.h
editor/base/nsEditor.cpp
editor/base/nsEditorShell.cpp
editor/base/nsEditorShell.h
editor/base/nsEditorTxnLog.cpp
editor/base/nsStyleSheetTxns.cpp
editor/base/nsStyleSheetTxns.h
editor/base/PlaceholderTxn.cpp
editor/base/PlaceholderTxn.h
editor/base/SetDocTitleTxn.cpp
editor/base/SetDocTitleTxn.h
editor/base/SplitElementTxn.cpp
editor/base/SplitElementTxn.h
editor/idl/Makefile.in
editor/idl/makefile.win
editor/idl/MANIFEST
editor/idl/nsIEditorShell.idl
editor/macbuild/editor.mcp
editor/macbuild/EditorIDL.mcp
editor/txmgr/idl/Makefile.in
editor/txmgr/idl/makefile.win
editor/txmgr/idl/MANIFEST
editor/txmgr/idl/nsITransactionManager.idl
editor/txmgr/macbuild/txmgr.mcp
editor/txmgr/macbuild/txmgrIDL.mcp
editor/txmgr/public/Makefile.in
editor/txmgr/public/makefile.win
editor/txmgr/public/MANIFEST
editor/txmgr/src/Makefile.in
editor/txmgr/src/makefile.win
editor/txmgr/src/nsTransactionItem.cpp
editor/txmgr/src/nsTransactionItem.h
editor/txmgr/src/nsTransactionList.cpp
editor/txmgr/src/nsTransactionList.h
editor/txmgr/src/nsTransactionManager.cpp
editor/txmgr/src/nsTransactionManager.h
editor/txmgr/src/nsTransactionManagerFactory.cpp
editor/txmgr/src/nsTransactionStack.cpp
editor/txmgr/src/nsTransactionStack.h
editor/txmgr/tests/TestTXMgr.cpp
editor/ui/composer/content/EditorCommandsDebug.js
editor/ui/composer/content/editorOverlay.xul
editor/ui/composer/locale/en-US/editorOverlay.dtd
mailnews/base/src/nsMessenger.cpp
mailnews/base/util/nsMsgTxn.cpp
mailnews/base/util/nsMsgTxn.h
mailnews/imap/src/nsImapMailFolder.cpp
mailnews/imap/src/nsImapUndoTxn.cpp
mailnews/imap/src/nsImapUndoTxn.h
mailnews/local/src/nsLocalMailFolder.cpp
mailnews/local/src/nsLocalUndoTxn.cpp
mailnews/local/src/nsLocalUndoTxn.h
2001-03-09 14:23:59 +00:00
disttsc%bart.nl
8b43034cef
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
jfrancis%netscape.com
4a9c27c551
fix for 70602: selection not properly reset when joining nodes. {r,sr}={kin,sfraser}
2001-03-06 20:16:38 +00:00
cmanske%netscape.com
5d262a924f
Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser
2001-02-26 22:02:58 +00:00
brade%netscape.com
075f53d3d8
caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser
2001-02-05 15:44:38 +00:00
jfrancis%netscape.com
fb60392b41
bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
2001-01-28 20:13:07 +00:00
akkana%netscape.com
9bb492fd88
64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin
2001-01-25 23:12:16 +00:00
sfraser%netscape.com
a0dda75954
Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
2001-01-09 22:47:02 +00:00
akkana%netscape.com
d53a276b40
33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
2001-01-08 21:01:29 +00:00
valeski%netscape.com
b3214951df
r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf.
2001-01-02 23:20:56 +00:00
dbaron%fas.harvard.edu
fa7d014c05
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:46:08 +00:00
kin%netscape.com
ab5cd791f6
Misc fixes for pedantic build warnings.
...
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
jst%netscape.com
bf199577e4
Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth.
2000-10-13 11:06:05 +00:00
sfraser%netscape.com
a388c1b7dd
Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt.
2000-10-10 01:45:46 +00:00
anthonyd%netscape.com
81741d7e83
fix for bug#54222
...
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge
2000-10-08 06:14:21 +00:00
mjudge%netscape.com
e2be918716
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
heikki%netscape.com
5a54ae35f1
Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
2000-09-12 20:54:41 +00:00
jfrancis%netscape.com
0202119f78
fixes bugs 46782,50161,48643,49266,49265,46395;
groundwork for bugs 47931,49952;
r=fm
2000-08-26 04:03:50 +00:00
anthonyd%netscape.com
112b262913
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
1b144a56a0
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
9abec73fbe
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
scc%mozilla.org
7a18ea22f2
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
03c675c33c
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
d25d7bd494
fix for 48297: ome edit operations not scroling selection into view; r=fm
2000-08-14 02:39:37 +00:00
ducarroz%netscape.com
bc46f1e467
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
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
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
jfrancis%netscape.com
209a7ca3fa
fix for 43366; r=kin
2000-07-11 19:51:36 +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
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
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
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
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
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
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
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
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
jfrancis%netscape.com
658fa56fa3
editor embedding work; fixing bug with making lists
2000-05-09 21:06:49 +00:00
mjudge%netscape.com
693b7801f1
we get selection controller not from pres shell. we get it from GetSelectionController
2000-05-08 04:01:26 +00:00
jfrancis%netscape.com
b109f8dbd6
fixing bugs with paste; making paste not inherit local inline stlyes
2000-05-05 20:42:36 +00:00
mjudge%netscape.com
e08e0cd08f
merge error. my fault. fix
2000-05-04 09:32:40 +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
jfrancis%netscape.com
f6251ee4f7
implementing list behavior spec, plus a few bug fixes
2000-05-03 00:14:28 +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
scc%netscape.com
9ac6c4fb06
making string conversions explicit
2000-04-18 07:44:58 +00:00
nisheeth%netscape.com
7b7f9d1021
Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed.
2000-04-17 07:13:57 +00:00
cmanske%netscape.com
55e2ac48d1
Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs
2000-04-14 03:19:31 +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
scc%netscape.com
fd8de8008f
small changes to clients of string converting APIs
2000-03-26 11:39:08 +00:00
akkana%netscape.com
94b179c77e
33208: Fix problem of editor not initializing on pages with JS. r=sfraser
2000-03-25 02:27:57 +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
dbaron%fas.harvard.edu
40a16fc16b
Fix miscellaneous editor leaks. r=jfrancis@netscape.com
2000-03-23 01:14:49 +00:00
cmanske%netscape.com
901944bd23
Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge
2000-03-21 06:05:24 +00:00
ftang%netscape.com
6ea7fbcc1c
fix crashing bug 30120. check in for tajima@eng.sun.com since the crash is
...
verified and test on my machine. r=ftang, a=bobj. Will check into the beta
branch also.
2000-03-13 02:33:19 +00:00
rickg%netscape.com
ffe78e83e5
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
tajima%eng.sun.com
3ecba57c7d
Fix for 17419. a=bobj@netscape.com, r=ftang@netscape.com
2000-03-10 01:30:07 +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
akkana%netscape.com
db4cd55837
27144: make sure the editor bogus node starts with _moz, and strip it out in html output. r=smfr
2000-02-12 01:58:40 +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
kmcclusk%netscape.com
cd6f5d237b
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +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
5816b366ff
fixing warning; r=akkana
2000-02-03 23:29:09 +00:00
jfrancis%netscape.com
ac019d7deb
fix for 26299 - editor now uses reflow batching. Long live refow batching!
r=kin
2000-02-03 23:17:08 +00:00
cmanske%netscape.com
894a83b297
More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge
2000-02-03 02:06:10 +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
ee76e82f41
Forgot to remove bogus NS_NOTREACHED line in IsMozEditorBogusNode().
2000-01-18 23:52:23 +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
634a777322
* fixed 19596;
* fixed 23597;
* fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #)
* partial fix for current paragraph style not being properly reported in the composer toolbar. (no #)
2000-01-15 14:29:29 +00:00
pp%ludusdesign.com
698852a4f4
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +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
akkana%netscape.com
8c236a7d13
23169: Fix uninitialized variables, including one which was disallowing splitting lines by hitting return. r=jfrancis
2000-01-06 22:35:04 +00:00
jfrancis%netscape.com
6229129616
continuing the war on the Case Of The Happy Caret
2000-01-05 12:24:10 +00:00
mcafee%netscape.com
af019e592d
Fixing unix bustage.
2000-01-04 04:28:39 +00:00
jfrancis%netscape.com
c207257f01
adding construct-time value for an editor member bool.
2000-01-04 04:24:04 +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
982fa55c82
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
1999-12-22 07:56:40 +00:00
brade%netscape.com
d8c1142ecd
don't prompt to save changes to an empty/new window (bug #13933 ) fix by sfraser r=brade
1999-12-21 15:27:54 +00:00
akkana%netscape.com
2f7ffefaf4
21534 (part of 18033 and 18046): handle delete word and to-end functionality
...
outside of any selection batching (didn't work when inside a batch).
r=jfrancis; part of Mike's 18046 fixes which are a=chofmann.
1999-12-14 23:07:12 +00:00
buster%netscape.com
121c8cdc07
bug 21378
...
r=rods
a=chofmann
changed CanUndo and CanRedo to return the right value. They were returning the opposite of what they ought to have returned.
1999-12-10 21:43:52 +00:00
ftang%netscape.com
4d99b4999b
fix bug 19358. r=jfrancis . Forece commit when we Undo, SelectAll or Paste
1999-12-09 22:35:17 +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
akkana%netscape.com
520e982ed0
18033: Editor changes to use the new nsISelectionController interface.
...
Triggered from key events. Untested since the nsISelectionController
implementation isn't in yet (bug 18046), but key events do call
the stub routines. r=mjudge
1999-12-02 21:47:30 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
pinkerton%netscape.com
3e67aed56d
removing obsolete d&d code and changing from CID's to progID's in d&d code. r=akkana.
1999-11-30 00:10:55 +00:00
akkana%netscape.com
757b1fce03
18033: Add editor API for delete methods, and hook up an initial
...
set of emacs key bindings for Unix. r=jfrancis
1999-11-25 04:11:51 +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
brade%netscape.com
e727552d0d
during CloneAttributes, delete all the nodes attached (not half of them); discovered when fixing bug #14750 ; r=kin@netscape.com
1999-11-18 20:34:15 +00:00
akkana%netscape.com
e7d9c4d3be
Use Recycle to free nsStrings; and fix a warning
1999-11-18 19:40:30 +00:00
jfrancis%netscape.com
3513eb0058
some fixes for deletion and also selection movement, contributed by Steve Clark. fixes bug 18537 (backspace can delete entire line); r = buster
1999-11-17 11:30:39 +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
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
buster%netscape.com
86f919a325
partial fix for bug 14599. We no longer crash. The frameset loads in the editor window,
...
but no editor is actually attached, so no editing is possible. Next step is
to detect the error case and stop the document load altogether.
1999-11-11 19:22:30 +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
0b73e32c85
bug 17744; a=choffman; r=floppy moose
1999-11-05 00:46:06 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
tbogard%aol.net
e04693d65a
Changed NS_NOTREACHED to be NS_WARN_IF_FALSE() so as to not crash everyone. r=sfraser.
1999-11-02 05:12:05 +00:00
jfrancis%netscape.com
f5c0eec556
fixes for bugs: 16361,12253,15696,15734; r=sfraser
1999-11-01 15:15:35 +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
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
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
ftang%netscape.com
6df0b49bc8
1. add asserting code to check null ptr
2. add if code and return NS_ERROR_NULL_POINTER if the ptr is null
3. add code to check return value
r=myself
1999-10-18 14:48:41 +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
kipp%netscape.com
7ac62b03ca
Whoops, backed out last check - wasn't supposed to land it
1999-10-07 20:46:50 +00:00
kipp%netscape.com
94df0dc557
r=kin; Added in ctor/dtor counts
1999-10-07 20:45:56 +00:00
buster%netscape.com
7a638a9c93
fixed some space leaks reported by kipp. no bug #, r=tague
...
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +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
akkana%netscape.com
fa1e859619
14731: only insert formatting whitespace for block nodes
1999-09-29 20:19:20 +00:00
jfrancis%netscape.com
9a79219861
revised UNDO; introduced first cut at the "mozdiv" typing rules
1999-09-29 20:08:15 +00:00
buster%netscape.com
9c7330f086
fixed bug 13887, caret in odd place at editor launch
...
a=chofmann, r=sfraser
1999-09-28 00:49:56 +00:00
buster%netscape.com
ac6d0d1a0f
fixed IsEditable again, based on new info.
...
Now, only \n are held in the content model, making the original
implementation correct.
a=chofmann, r=akkana
1999-09-23 19:08:42 +00:00
buster%netscape.com
4092a3c363
14602: IsEditable is broken.
...
removed optimization where we searched text strings and made our own guess about
whether it was editable or not. Now we just trust layout, if there's a frame, it's editable.
1999-09-23 00:10:51 +00:00
sfraser%netscape.com
45452ccc0e
Fixed GetFirst/LastEditable node
1999-09-22 01:23:58 +00:00
buster%netscape.com
1ee85a7538
fixed a problem with asserts trying to merge empty aggregate transactions.
...
if the aggregate transaction is empty, don't execute it. It's not technically
illegal, but it's a waste, and it causes the assert.
1999-09-21 20:46:36 +00:00
buster%netscape.com
bd60cff53e
turned off a noisy debug flag
1999-09-20 04:15:36 +00:00
jfrancis%netscape.com
54d647b458
fixing a heap-o-undo problems and some mBogusNode problems
1999-09-20 01:31:44 +00:00
buster%netscape.com
e8c7125690
fixed some warnings
1999-09-17 20:22:13 +00:00
sfraser%netscape.com
2f7b8c679a
Don't show the caret initially; it will be made visible when the editor, or text widget, gets a focus event.
1999-09-16 01:16:31 +00:00
akkana%netscape.com
934fd4c573
Turn on whitespace insertion
1999-09-15 17:55:41 +00:00
sfraser%netscape.com
f2c02c2f27
Changes to nsAutoStrings, and do the funky new caret thing.
1999-09-14 23:44:05 +00:00
jfrancis%netscape.com
5638b8ea91
bug fix (no #) for GetPriorNode/GetNextNode
1999-09-10 23:31:43 +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
jfrancis%netscape.com
8915071857
fix for bug 13482
1999-09-09 22:22:14 +00:00
dougt%netscape.com
028f11d2bf
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
1999-09-03 22:21:29 +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
jfrancis%netscape.com
c2b1312912
fix for bug #12337 : not counting non-editable nodes when searching for whitespace.
1999-08-24 08:55:28 +00:00
dougt%netscape.com
32a9a77110
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
1999-08-21 07:07:00 +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
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
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
akkana%netscape.com
f673bdb804
11552: don't hardcode the character set for saving
1999-08-10 21:22:32 +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
sfraser%netscape.com
bbeffd28f0
Fix the document state listener mechanism so that you can install listeners after the editor has been created, and still get their 'document creation' notification called.
1999-08-03 06:53:45 +00:00
buster%netscape.com
c05df307b2
added a missing break that was leading to an assert in NotifyDocumentListeners
1999-08-03 06:05:29 +00:00
warren%netscape.com
5f088dfe9e
Fixing Simon's stuff.
1999-08-03 01:57:26 +00:00
sfraser%netscape.com
dd24fdb884
Make the nsIDocumentStateListener interface more useful, with doc creation and destruction notifiers.
1999-08-03 00:58:38 +00:00
buster%netscape.com
e0138bce18
enabled string bundles, now that NECKO has landed
...
selection and caret are not displayed at Init time any more. This is done on Focus now.
1999-08-02 13:51:50 +00:00
cmanske%netscape.com
0fef13e963
Fixed lots of XUL (adjust for new titledbutton changes and XPMenus). Added initial table properties support and unit test for nsITableLayout methods. Removed unused InsertLink and InsertImage methods. Added lots of comments for interface methods.
1999-08-01 22:37:58 +00:00
akkana%netscape.com
2a0454f835
10525: Only handle plaintext paste in base and text editors
1999-07-30 23:46:18 +00:00
sfraser%netscape.com
6c31c915dd
Implement support for nsIDocumentStateListeners.
1999-07-28 02:55:40 +00:00
buster%netscape.com
cc49e3182a
Clean-up
...
1) fixed unit tests
2) fixed a bunch of leaks having to do with using enumerators. Thanks for noticing these, Simon.
3) fixed a tiny problem in nsTextEditRules::WillDoAction().
This method was overly aggressive in checking input args, sel can be null for some operations.
1999-07-25 18:14:44 +00:00
cmanske%netscape.com
db6e5788b8
Fixed insert element bugs. Added message if no misspelled words. Changed 'More Atrributes' to 'Advanced Edit' in dialogs. Improved generic message dialog. Added remove link button to link dialog
1999-07-24 20:27:53 +00:00
cmanske%netscape.com
16ff2d941c
Fixed bugs relating to insert element
1999-07-23 00:52:17 +00:00
sfraser%netscape.com
5f74f88c68
Turn on selection for all documents that are being edited. This enables selection in GFX ender widgets.
1999-07-23 00:11:00 +00:00
sfraser%netscape.com
f4d8e41aad
#ifdef out loading the string bundle, because it causes onEndDocumentLoad handlers to fire, which is very bad.
1999-07-22 23:52:08 +00:00
tague%netscape.com
27e1b6498d
Fixed bug #10242 - crash when typing space after IME composition
1999-07-22 23:13:59 +00:00
tao%netscape.com
0d92312a0a
Adopt new str res api prototype.
1999-07-22 04:41:11 +00:00
jfrancis%netscape.com
2ec53e1f90
assorted work to expose nav html dtd to the editor
1999-07-19 22:49:21 +00:00
akkana%netscape.com
a0beec3a1a
Fix paste html; remove some unneeded inclusions
1999-07-19 19:37:08 +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
buster%netscape.com
dca6c49edd
replaced IID's with CID's where they were appropriate, and removed lots of
...
NS_DEFINE_IID macros in favor of GetCID() wherever I could.
plus some minor bug fixes.
1999-07-15 19:13:46 +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
ee9108dff0
Document modification count maintenance.
1999-07-14 22:29:39 +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
cmanske%netscape.com
f85acd993e
Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs
1999-07-14 15:24:33 +00:00
rods%netscape.com
96b1b0347f
Fixed up paste code to help support HTML paste
1999-07-09 19:43:59 +00:00
kin%netscape.com
bc437183b9
Fix for bug #7495 : [PP]Undo on Linux shows intermediate steps.
...
Modified Undo() and Redo() to call Begin/EndUpdateViewBatch().
1999-07-06 23:02:12 +00:00
cmanske%netscape.com
7e87a94450
Changes to editor XUL dialogs to accomodate new window-as-box changes
1999-07-02 22:52:34 +00:00
sfraser%netscape.com
fecb23a8fd
Added transactions for applying and removing style sheets
1999-07-02 03:57:50 +00:00
warren%netscape.com
3e3429dbf5
Fixed NewURL for necko.
1999-07-01 21:48:46 +00:00
buster%netscape.com
894d0f0085
minor bug fixes
1999-07-01 20:46:59 +00:00
kin%netscape.com
3b5b4d3b48
Added ApplyStyleSheet() method to the various editor interfaces.
1999-07-01 19:32:35 +00:00
buster%netscape.com
7bc9bfc2b0
0. possible fix for Sun build bustage.
...
1. IsEditable is much less hacky. It basically says:
1. if the node is a special bogus text node, it's not editable
2. if the node is a text node with only newlines, then it's not editable
3. if the node has no frame associated with it, then it is not editable
4. otherwise, it is editable.
As part of this, I had to make IsEditable non-static. This had some cascading effects on static methods that called
IsEditable, which likewise had to be made non-static.
2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text. Charlie, you should
put this through some stress cases.
1999-07-01 18:42:28 +00:00
scc%netscape.com
f79508bc68
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
1999-06-29 21:01:31 +00:00
tague%netscape.com
353d857fed
Added clause and selection support for Input Methods. Fixes bug #8639 , #8459 , #6989 , #7824
1999-06-29 20:31:22 +00:00
buster%netscape.com
96d97515ac
implemented most of max length handling
1999-06-25 22:57:26 +00:00
mcafee%netscape.com
663392c33d
Adding comment for BeOS.
1999-06-25 14:26:21 +00:00
jfrancis%netscape.com
7e6d227982
these are not the droids you are looking for
1999-06-25 10:36:54 +00:00
jfrancis%netscape.com
0db5edf4c8
improvement of editing rules for insert list, indent, outdent, and change alignment
1999-06-25 09:33:02 +00:00