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
pavlov%netscape.com
d4589174f7
remove the non-needed push/pop states r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@59722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:03:08 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
kin%netscape.com
a18087d551
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57280 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 15:32:42 +00:00
ftang%netscape.com
cfa1a18207
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
...
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
mjudge%netscape.com
43a63010d1
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
...
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
ftang%netscape.com
acade41cee
Change the GetRelativedWindowCoordinate to return the botton of the cursor, instead of the top of the cursor. We need this to make Mac IME candidcate window popup in a more reasonable place. author=sfraser. r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@53099 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:47:56 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kin%netscape.com
5fae6982e3
Fix for bug #16176 : [DOGFOOD] need to annotate line frames with whitespace trim
...
layout/base/src/nsCaret.cpp
- Modified DrawCaretWithContext so that we only
adjust the caret position if we are within the
frame's bounds.
layout/html/base/src/nsTextFrame.cpp
- Modified GetPointFromOffset() to add the width
of a space if the offset is after a trailing space
and it was trimmed off the frame.
r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 13:43:11 +00:00