Граф коммитов

120 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
bryner%brianryner.com 05a0e4f624 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com 290494e26b Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
scott%scott-macgregor.org 5381098212 Bug #226325 --> Back out the fix for Bug #98564 as this opened us up to a regression where trailing stationary caret remnant left after backspace.
a=asa for 1.6b
2003-12-03 20:32:47 +00:00
scott%scott-macgregor.org 9a7c8f026b Bug #98564 --> caret overlaps the last character in textfield (if positioned after the last char).
Patch written by kin.


r=smontagu
sr=sfraser
2003-11-16 07:08:55 +00:00
bryner%brianryner.com 86ad399c4f Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu 6739b8a3b5 Ongoing deCOMtamination. r+sr=dbaron 2003-07-02 10:30:00 +00:00
leon.zhang%sun.com eb79de1241 Bug 204005: optimize caret timer usage
r=sfraser sr=brendan
2003-05-26 07:03:29 +00:00
timeless%mozdev.org 9bff1b2bc4 Bug 206165 Unused variable `PRBool aCanCacheFrameOffset' in nsCaret::GetCaretRectAndInvert
r=sfraser sr=sfraser
2003-05-23 22:24:37 +00:00
dbaron%dbaron.org a15b9f2cf4 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 78f946e42d Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
leon.zhang%sun.com 371e22d05f Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser
2003-04-13 08:38:57 +00:00
henry.jia%sun.com b7df6947aa 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
sfraser%netscape.com 0fce5c3a3b Fix bug 74404: show caret drag feedback. r=brade, sr=kin 2003-02-27 23:09:51 +00:00
kin%netscape.com 0f853ce268 Fix for regression bug 194774 (cursor appears to "jump" to beginning of line after hitting backspace)
Checking in this work around for leon.zhang@sun.com. Comment out the code that sets mCachedOffsetValid to PR_TRUE. This effectively disables the fix for bug 35296.

r=brade@netscape.com  sr=sfraser@netscape.com  a=leaf@mozilla.org
2003-02-25 18:10:35 +00:00
henry.jia%sun.com 112b5683e2 Bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com, r/sr=sfraser
2003-02-24 10:26:20 +00:00
jrgm%netscape.com b9b898a7ea remove '#ifndef REPEATING_TIMERS' code. This was accidentally turned back on in 9/02 after being dead from 12/01, and will now revert to using repeating timers. Affect caret, <blink>, bookmarks & search 'ping'. bug 182141, r+sr=smfr 2003-01-20 04:26:17 +00:00
smontagu%netscape.com b08ebfec8f Caret not displayed in empty right-aligned text input fields. Bug 105397, r=kin, sr=sfraser. 2003-01-09 01:01:38 +00:00
dbaron%dbaron.org 72b937ea79 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
caillon%returnzero.com c3e3447b52 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com 7ca2c28686 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon%returnzero.com 28a20c3eb6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
aaronl%netscape.com 04d1861bb8 Bug 166791. Invisible insertion point after tabbing to text field when typeaheadfind is active. r=mjudge, sr=alecf 2002-09-26 00:07:53 +00:00
dougt%netscape.com c5e8f896cd 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
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
mjudge%netscape.com 50c6f53d6c 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
aaronl%netscape.com 44112f97df Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst 2002-08-10 08:15:30 +00:00
aaronl%netscape.com e634b069e0 Bug 153196. Active Accessibility: support MSAA caret object and events. r=kyle, sr=kin 2002-06-25 22:54:23 +00:00
cbiesinger%web.de 6197948cc3 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
shanjian%netscape.com 7f123711f0 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
kin%netscape.com 5f64567c97 Fix for bug 135154 (Cursor not appearing in textarea after tabbing into it)
Don't call StopBlinking() if the selection changed notification is
for a selection that is different from the one in mDomSelectionWeak.

r=akkana@netscape.com  sr=attinasi@netscape.com
2002-04-26 13:11:47 +00:00
mjudge%netscape.com 4655fdd163 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
hyatt%netscape.com 05ff2775f2 Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu 5556328edb Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard 2001-11-10 23:30:13 +00:00
dbaron%fas.harvard.edu 75d32bb579 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
mkaply%us.ibm.com 6979218b43 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
simon%softel.co.il 2ddb9b12b9 Move the IBMBIDI code in nsCaret.cpp to fix a crash when backspacing in a form with dir=rtl. Bug 89964, r=ftang, sr=kin. 2001-07-19 06:56:46 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
ftang%netscape.com 723ae192a9 fix 84031. replace sizeof(datatype) to sizeof(variable)
r=nhotta sr=kin a=blizzard
2001-06-21 12:23:56 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
ftang%netscape.com 36ab05611e fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
ftang%netscape.com 2f2edcb566 fix 76003. fix bidi rendering context state corrupting
check in for simon@softel.co.il
r=dbaron@fas.harvard.edu
sr=kin@netscape.com
2001-05-16 12:18:19 +00:00
hyatt%netscape.com 31a850a277 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
shanjian%netscape.com 7e501c5ca2 #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
sfraser%netscape.com 72928d75e9 Fix the build by doing the correct style struct casting foo. 2001-04-13 01:09:06 +00:00
sfraser%netscape.com 8cc3517693 Fix for bug 53610. When the caret is in a <br> frame at the end of a line, use font metrics to get the height, rather than faking it. r=dbaron, sr=kin 2001-04-13 00:17:21 +00:00
blakeross%telocity.com 6573419a09 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00