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