194 Commits

Author SHA1 Message Date
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
aaronl%netscape.com
5d57884434 Bug 153196. Active Accessibility: support MSAA caret object and events. r=kyle, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124034 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 22:54:23 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
shanjian%netscape.com
a9c700ad59 #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


git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
kin%netscape.com
b2952b65a9 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


git-svn-id: svn://10.0.0.236/trunk@119960 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 13:11:47 +00:00
mjudge%netscape.com
971c0c3c10 82151 r=jfrancis sr = kin
git-svn-id: svn://10.0.0.236/trunk@119055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:42:09 +00:00
hyatt%netscape.com
9a2426429d Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
git-svn-id: svn://10.0.0.236/trunk@118820 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
7a3e6639d5 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
git-svn-id: svn://10.0.0.236/trunk@107855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:30:13 +00:00
dbaron%fas.harvard.edu
8b3489a026 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


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
simon%softel.co.il
ddb9128273 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.
git-svn-id: svn://10.0.0.236/trunk@99575 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 06:56:46 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
ftang%netscape.com
f2abfb0239 fix 84031. replace sizeof(datatype) to sizeof(variable)
r=nhotta sr=kin a=blizzard


git-svn-id: svn://10.0.0.236/trunk@97675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 12:23:56 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
ftang%netscape.com
aad56f1bc5 fix 76003. fix bidi rendering context state corrupting
check in for simon@softel.co.il
r=dbaron@fas.harvard.edu
sr=kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@95123 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 12:18:19 +00:00
hyatt%netscape.com
c51a96b825 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
git-svn-id: svn://10.0.0.236/trunk@93083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 19:52:49 +00:00
shanjian%netscape.com
656421251c #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


git-svn-id: svn://10.0.0.236/trunk@92763 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 22:46:29 +00:00
sfraser%netscape.com
b7a2ec21c6 Fix the build by doing the correct style struct casting foo.
git-svn-id: svn://10.0.0.236/trunk@92143 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 01:09:06 +00:00
sfraser%netscape.com
46ee64bdcc 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
git-svn-id: svn://10.0.0.236/trunk@92135 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:17:21 +00:00
blakeross%telocity.com
694fbc6383 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
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
aaronl%chorus.net
902b73bf1e Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 05:07:46 +00:00
brade%netscape.com
007eabca99 rename to GetCaretCoordinates, parameter/code cleanup; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86231 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:43:24 +00:00
blakeross%telocity.com
028f5a31d7 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84128 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:27:23 +00:00
mkaply%us.ibm.com
f07cfb6eb5 #57006
r=mjduge, sr/a=sfraser
Change hardcoded 15 to a call to the devicecontext to get conversion value


git-svn-id: svn://10.0.0.236/trunk@82147 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 18:54:16 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
shanjian%netscape.com
dc6ad28b7b #53072 IME candidate window position problem
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.


git-svn-id: svn://10.0.0.236/trunk@79547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:55:59 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
sfraser%netscape.com
4d989602b0 Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin
git-svn-id: svn://10.0.0.236/trunk@78416 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:21:22 +00:00
sfraser%netscape.com
fb865adb8e Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
anthonyd%netscape.com
1355a05c4e bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
mjudge%netscape.com
771787b6c1 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
git-svn-id: svn://10.0.0.236/trunk@73374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:00:12 +00:00
mjudge%netscape.com
529fc2633a added new caret api implementation from new nsicaret api. EraseCaret. erase the caret without messing with visibility. forces a refresh of state to mDrawn=0; r=hyatt, bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71873 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:22:20 +00:00
mjudge%netscape.com
1bac22bf29 bug=34896 extra check for null in caret. this can happen sometimes when frame is destroyed in odd order. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71680 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:18:41 +00:00
mjudge%netscape.com
eaec62deed bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
git-svn-id: svn://10.0.0.236/trunk@71230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:37:40 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
mjudge%netscape.com
2f9bd42697 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
mjudge%netscape.com
e5b2003819 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00