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

199 Коммитов

Автор SHA1 Сообщение Дата
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
timeless%mac.com d44332bdf7 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
erik%netscape.com 84ace96483 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
2001-03-21 01:16:22 +00:00
aaronl%chorus.net 4f3059151b Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson 2001-02-15 05:07:46 +00:00
brade%netscape.com 19ff4fc7ba rename to GetCaretCoordinates, parameter/code cleanup; r=kin; sr=sfraser 2001-02-05 15:43:24 +00:00
blakeross%telocity.com 2532c59179 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser 2000-12-28 03:27:23 +00:00
mkaply%us.ibm.com c421ea2bd3 #57006
r=mjduge, sr/a=sfraser
Change hardcoded 15 to a call to the devicecontext to get conversion value
2000-11-01 18:54:16 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
shanjian%netscape.com d7ffe6cea2 #53072 IME candidate window position problem
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.
2000-09-19 21:55:59 +00:00
mjudge%netscape.com a2fa9edcb5 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 2000-09-14 11:45:01 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
sfraser%netscape.com 7946417cfb Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin 2000-09-07 20:21:22 +00:00
sfraser%netscape.com 849a01373d 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 2000-09-07 05:26:25 +00:00
anthonyd%netscape.com c8844de491 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
2000-07-28 22:12:45 +00:00
mjudge%netscape.com 16dba34403 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
mjudge%netscape.com 92f73bb9d2 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 2000-06-09 04:22:20 +00:00
mjudge%netscape.com 4e644bbf60 bug=34896 extra check for null in caret. this can happen sometimes when frame is destroyed in odd order. r=hyatt. 2000-06-07 01:18:41 +00:00
mjudge%netscape.com a14d4fbfb0 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. 2000-06-01 02:37:40 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
mjudge%netscape.com a89f9e3c80 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. 2000-05-11 04:25:43 +00:00
mjudge%netscape.com 91bec71070 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. 2000-05-04 08:35:42 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
mjudge%netscape.com 4f36050dbc fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com dd0979f114 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
cmanske%netscape.com ba3457173e Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
mjudge%netscape.com a27771d4f5 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. 2000-02-10 04:35:51 +00:00
pavlov%netscape.com 34fb41b80b remove the non-needed push/pop states r=sfraser 2000-02-04 03:03:08 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
michael.lowe%bigfoot.com 3326c2959e 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 2000-01-21 21:56:09 +00:00
kin%netscape.com 09204de391 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
2000-01-10 15:32:42 +00:00
ftang%netscape.com 1986cf104e 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 1999-12-22 07:56:40 +00:00
mjudge%netscape.com 59b8ea67f0 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? 1999-11-23 20:30:21 +00:00
ftang%netscape.com bd10da3562 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 1999-11-10 23:47:56 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kin%netscape.com 46b69e20ca 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
1999-10-29 13:43:11 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com 705faaa709 Removed some more warnings 1999-10-22 14:51:41 +00:00
mjudge%netscape.com 3d3eb16f9a massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
kin%netscape.com c6a1730309 Fix for bug #12195: [DOGFOOD] caret cruft left after a backspace at end of line
Added code to DrawCaretWithContext() that makes sure that the caret
doesn't hang outiside the left edge of a frame.
r=sfraser@netscape.com
1999-10-01 13:16:30 +00:00
sfraser%netscape.com 801132e5a9 Super duper new caret 1999-09-14 23:41:19 +00:00
pavlov%netscape.com 375275fe31 make the caret draw on linux - fix for 13487 1999-09-13 18:24:48 +00:00
alecf%netscape.com 5ddb295b7e bulletproof to prevent crashing
(asserts will still go off)
1999-09-11 19:11:53 +00:00
sfraser%netscape.com 91da925711 Fix one cause of GFX text widget crashes. If you're going to mess with my code, Mike, at least get the return values right. 1999-09-11 06:00:00 +00:00
mjudge%netscape.com 24a5d270fd fixes for crasher in tree 1999-09-11 00:18:02 +00:00
sfraser%netscape.com 3ab1d5f6c1 Make the caret use InvetRect for drawing. 1999-08-09 19:14:43 +00:00
mjudge%netscape.com 7ddf8fee55 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
mjudge%netscape.com a2f598637e checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
sfraser%netscape.com 815c2ea4f3 Removal of nsCaretProperties 1999-07-14 22:18:29 +00:00
sfraser%netscape.com 122c70cece Fix for 9361, comment out bogus assert in the caret code. a chofmann 1999-07-08 01:24:52 +00:00
sfraser%netscape.com 59c72c9266 Fix the uber caret problem, where the caret would draw incorrectly when the selection pointed to child nodes of a parent node. Now, it points to the start of the indexed child node in this situation. 1999-07-07 01:11:49 +00:00
sfraser%netscape.com 919be71caa Fix GetViewForRendering() in the window coordinates case. 1999-06-15 23:54:26 +00:00
sfraser%netscape.com 0df3ac6e4a Implement nsCaret::GetWindowRelativeCoordinates for IME 1999-05-18 22:24:55 +00:00
sfraser%netscape.com 737fd431d8 WIP to get caret position in window coordinates for IME 1999-04-27 21:59:18 +00:00
sfraser%netscape.com 1d3a8536bd Adapt to fixed selection interfaces. 1999-04-15 20:19:34 +00:00
sfraser%netscape.com e37c1ab353 Fix a problem where the caret could be using a stale offset, after a node has been split. 1999-04-13 01:13:00 +00:00
sfraser%netscape.com 7e1a3cd9b6 Caret changes to enable the caret to erase itself, and fix a bunch of caret problems. 1999-04-01 23:57:35 +00:00
mjudge%netscape.com 3bc9828b5e hack to get caret to draw on empty line. 1999-03-13 21:33:01 +00:00
sfraser%netscape.com 6704327c90 Fix warning reported by warren (bracket was in wrong place). 1999-03-06 20:19:52 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
akkana%netscape.com 58f89aa516 Fix Unix crash: comment out an assert 1999-03-03 01:11:28 +00:00
sfraser%netscape.com 333ce2260a Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
warren%netscape.com 3642da81a5 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
sfraser%netscape.com 2971982469 Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee%netscape.com 3ece48d719 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
sfraser%netscape.com 6d4884d16f Added RefreshMethod, and tweaked code for the UNIX no-blinking case. 1999-02-13 04:47:45 +00:00
kipp%netscape.com 3a2f9adfc5 Eliminate some linux compiler warnings 1999-02-12 18:24:53 +00:00
pinkerton%netscape.com cb66e49742 fixes for changes to nsIPresShell api's 1999-02-12 18:18:01 +00:00
sfraser%netscape.com c98e5697ee Fix after akkana's changes: nsISelection -> nsIDOMSelection 1999-02-12 00:55:46 +00:00
sfraser%netscape.com b0f7ecaa02 First Checked In. 1999-02-11 23:49:08 +00:00