Commit Graph
434 Commits
Author SHA1 Message Date
[email protected] 64dca58997 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
[email protected] f166fb5beb bug 163572 : converted string is inserted every time space key is pressed patch by [email protected] (r=pinkerton,bryner,amardare,emaijala,sfraser,roc, sr=bryner,sfraser,roc) 2004-11-13 11:27:09 +00:00
[email protected] 41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
[email protected] 073c6f782a Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc
2004-10-11 15:34:45 +00:00
[email protected] 6fe6fe7e87 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
[email protected] 28ff85236c bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <[email protected]> 2004-09-12 05:00:57 +00:00
[email protected] 071b15661a Backout last checkin because of build bustage 2004-09-11 07:48:29 +00:00
[email protected] 299c633b05 Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, [email protected]; see bug for reviewers. 2004-09-11 07:13:12 +00:00
[email protected] 4bbc65f106 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
[email protected] 1d6013b0d1 Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst. 2004-08-06 11:56:46 +00:00
[email protected] 8fc0179c66 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
[email protected] 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
[email protected] bd238fac2c Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 3ab9c6162d Fixing bug 242734. deCOMtaminate nsITextContent. [email protected] 2004-05-07 20:55:17 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 5c9be6bde6 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
[email protected] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] abc0ec39ad 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
[email protected] 601ac76297 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. [email protected] 2004-01-29 22:04:45 +00:00
[email protected] d47517f6dc 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(). [email protected], [email protected]. 2003-11-19 01:20:56 +00:00
[email protected] 3aafbaccfe Bug 225991 DRefTool analysis for editor files
r=roc sr=roc
2003-11-17 20:45:37 +00:00
[email protected] 1f9609e30b 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
[email protected] c11c6bf27e Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected], [email protected]. 2003-09-27 04:18:26 +00:00
uid502 91e7029c77 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
[email protected] ee1d5a8446 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
[email protected] aea5df6796 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
[email protected] 73df849cf9 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
[email protected] fc296a4b4d code cleanup continued; r=timeless, sr=kin, bug=209548 2003-06-30 18:55:06 +00:00
[email protected] 5098e5d5e2 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 17:28:52 +00:00
[email protected] 6e64a359bd NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
[email protected] 63c6527a46 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
[email protected] 384f320c3a 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
[email protected] aa24a7bb8e 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 [email protected]
2003-06-17 16:40:34 +00:00
[email protected] ca02e7534e 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
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] cc453f3d54 b=202166 Edit actions place caret on invalid position
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
[email protected] 51f0108322 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
[email protected] 57eef7e6f7 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
[email protected] f98e358469 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
[email protected] f8f5a0037e Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
[email protected] a0287a8e83 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.

[email protected]  [email protected]
2003-04-04 20:50:25 +00:00
[email protected] 68711065c9 Add defined(XP_MACOSX) to bail early when !mInIMEMode. r=brade, sr=lumpy 2003-04-04 13:26:12 +00:00
[email protected] 20d5a05ab6 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
[email protected] f9dfccce23 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by [email protected]
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
[email protected] 2fbddd4893 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
[email protected] 1f1c5bf595 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
[email protected] 34b709508c 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
[email protected] 3fd0ff505b 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
[email protected] c98c382545 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