karnaze%netscape.com
5b097ca46e
bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
2001-11-27 01:45:46 +00:00
smontagu%netscape.com
4a54e891e9
Fix crash when scrolling absolute positioned textarea by adding test to return value from |GetLine|. Bug 105004, r=rbs, sr=kin
2001-11-16 03:08:30 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi%netscape.com
a7932b3a81
Oops - check for empty damageRect in nsFrame::Invalidate should be DEBUG only. b=103266 r=rbs sr=hyatt
2001-11-06 02:44:35 +00:00
attinasi%netscape.com
94f3ab9a20
Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
3ca7ced0f8
fix crash in display reflow debugging.
2001-11-01 15:53:57 +00:00
karnaze%netscape.com
bbd9ace80f
bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze
2001-10-31 14:45:12 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
157c017816
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
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
b5ba390898
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
dbaron%fas.harvard.edu
5a357eea01
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
bernd.mielke%snafu.de
faafbd0e04
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
harishd%netscape.com
c5efdc8321
98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi.
2001-09-14 20:44:41 +00:00
dbaron%fas.harvard.edu
b6e47f6467
Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann
2001-08-26 18:33:57 +00:00
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
bryner%netscape.com
c1b48b4601
Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
2001-08-18 07:25:52 +00:00
bryner%netscape.com
422834eff1
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
9f2f88aa48
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner%netscape.com
f108fef5b4
Bug 66617 - When tabbing between links on a page, the focus outline on the
...
previously focused link would not be redrawn if the tab caused the page to
scroll. r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
pavlov%netscape.com
1e20984ef0
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
waterson%netscape.com
ecbcce00ce
Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst
2001-08-03 07:34:28 +00:00
waterson%netscape.com
4cc8c3da8d
Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi.
2001-08-01 04:37:17 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
mjudge%netscape.com
9d539a0e0f
82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements.
2001-07-19 23:32:07 +00:00
attinasi%netscape.com
2f718a0c5f
Misplaced #endif - fixed for opt builds
2001-07-17 22:02:11 +00:00
attinasi%netscape.com
91593a2f9f
Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames
2001-07-17 21:30:17 +00:00
mjudge%netscape.com
0eb68dfeb6
PDT+ 88164 backing out of bad bug for keyboard navigation.
2001-07-05 19:11:32 +00:00
anthonyd%netscape.com
673904e412
fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
...
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com
46c896a943
backing out changes
...
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
27f8fd72a2
fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
...
r=cmanske@netscape.com , anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 18:01:10 +00:00
mjudge%netscape.com
fffedf28a1
86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa
2001-06-22 14:52:48 +00:00
ftang%netscape.com
3e782eb254
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kin%netscape.com
a9a12e6690
Fix for bug #86492 Double click does not bring up object props dialog.
...
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
so that it checks contentOffset instead of the uninitialized aContentOffset.
r=jfrancis@netscape.com sr=attinasi@netscape.com a=blizzard@mozilla.org
2001-06-21 06:35:37 +00:00
mjudge%netscape.com
49536b7650
used false instead of PR_FALSE.
2001-06-20 06:40:48 +00:00
mjudge%netscape.com
3dadb0fce8
have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa
2001-06-20 04:40:17 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mjudge%netscape.com
af97e71209
80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa
2001-05-25 20:27:41 +00:00
roc+%cs.cmu.edu
8865fc53de
Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
2001-05-25 15:00:51 +00:00
ftang%netscape.com
a7c5759a22
fix 81957. return error code when error happen when we do not get a good frame result to stop a selection crash
...
in a page which have bidi/table/image
proposed by yokoyama r=ftang/mjudge/attinasi sr=kin a=blizzard
2001-05-24 01:10:19 +00:00
evaughan%netscape.com
d9378cb8f0
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
ftang%netscape.com
5938ccae19
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
evaughan%netscape.com
94198ed5d8
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
mjudge%netscape.com
9cb20c1f7d
reverting method for getting selection controller. this WAS to stop selection from snapping from outer document to inside the text field. unfortunately this caused a regression with copying. r= kin a= leaf
2001-05-11 18:51:43 +00:00
mjudge%netscape.com
62aec426fa
62971 sr= hyatt r=kin/waterson fix for changing how we find the line given an event point
...
this will now do a binary search muuuch faster worst case than before
2001-05-11 08:04:29 +00:00
pierre%netscape.com
5d218e63a6
30971 cursor: auto does not work. r=attinasi
2001-05-02 11:03:03 +00:00
hyatt%netscape.com
8130400b54
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
roc+%cs.cmu.edu
a7e55667d2
Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
2001-04-24 01:01:16 +00:00
evaughan%netscape.com
679472c15d
Accessibility work. bug #12952
...
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
mjudge%netscape.com
cf4580dd4d
53151 68396 sr=kin r= kin. removing some ifdefs of dead ender-lite code and fixing a mail news lockup in text traversal
2001-04-12 23:38:32 +00:00
evaughan%netscape.com
dd702eea33
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
kmcclusk%netscape.com
572c81e29b
Use frame bit to indicate if frame has a decendant with a view and use this to optimize nsContainerFrame::PositionChildViews; bug 70211; sr=attinasi@netscape.com r=karnaze@netscape.com
2001-03-30 05:25:49 +00:00
karnaze%netscape.com
563d0a66cb
bug 71810 - don't have inline virtual methods. r=karnaze.
2001-03-13 15:21:42 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
erik%netscape.com
06d55ad850
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
rods%netscape.com
1c8f290f5d
Don't paint blocks that shouldn't be painted when printing
...
Bug 67296 r=kmcclusk sr=attinasi
2001-03-08 02:46:44 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
anthonyd%netscape.com
9ac401dd8b
fix for bug #55921 - Clicking to the right of a link doesn't clear selection
...
sr/r=joki, sfraser
2001-02-03 07:07:15 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
rods%netscape.com
99666eed8c
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
caa9658024
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
2000-12-30 19:22:22 +00:00
anthonyd%netscape.com
c9a063d452
fix for bug#59577 - hang during keyboard navigation
...
r=kin
sr=buster
2000-12-27 00:22:25 +00:00
cmanske%netscape.com
f731cf305a
Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
c7984c2caa
backing out regression-causing changes to reopen tree
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
7d50f5c55f
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
5804015250
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
d5dcb3691d
Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin
2000-12-20 01:36:55 +00:00
dbaron%fas.harvard.edu
2b2160f1b0
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:21:51 +00:00
attinasi%netscape.com
d97aa7f2cb
Changes to put style data into the layout regression data output. r=karnaze, a=waterson
2000-12-07 15:31:40 +00:00
alecf%netscape.com
4a03b2456f
remove typo to fix bustage
2000-11-09 00:40:39 +00:00
blakeross%telocity.com
8c6d09b89b
Fix 48876: make d&d and modifier-/middle-click possible throughout the app and implement selection within link (50673). Also fixes 59520, 48780, 48632, 57588, 59132. r=jag sr=alecf
2000-11-09 00:06:54 +00:00
warren%netscape.com
cd56c0575b
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
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
rickg%netscape.com
2d7911145f
WIP for bug 55095; sr=buster, r=attinasi, sfraser
2000-10-11 23:40:42 +00:00
kin%netscape.com
2127db55fe
Fix for bug #53326 (can't select paragraph headers)
...
Modified HandlePress() to check for presence of
href value for anchors before bailing early.
This fix is already checked into the Netscape_20000922_BRANCH.
r=pinkerton@netscape.com sr,a=buster@netscape.com
2000-10-04 13:38:17 +00:00
mjudge%netscape.com
56c4834a21
fixing 34356. hack to get clickng before table working beta3+
2000-09-15 07:02:05 +00:00
mjudge%netscape.com
e2be918716
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
mjudge%netscape.com
77fce2df49
hoarkage fix. need a.get on pointer compare on unix for comptrs
2000-09-14 09:42:18 +00:00
pinkerton%netscape.com
3a03377767
before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541.
2000-09-14 08:47:46 +00:00
attinasi%netscape.com
1fd5ba1fd2
Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze
2000-09-12 22:47:09 +00:00
jst%netscape.com
7aa7ed7f6d
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +00:00
pinkerton%netscape.com
fc367b8a1a
making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
2000-08-14 22:28:41 +00:00
pierre%netscape.com
5b88097f54
48096: Need a -moz-all value for user-select. r=sfraser.
2000-08-12 01:00:14 +00:00
mjudge%netscape.com
65269995e3
29570 37393 42794 mac os fix for selecting out of frame bounds.
2000-08-09 22:33:03 +00:00
sfraser%netscape.com
72205420ff
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:48:42 +00:00
saari%netscape.com
4c09a29ac5
massive landing of joki changes.
...
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
pierre%netscape.com
5e553bbece
42864 ('user-select:none' should make children non-selectable)
2000-08-05 04:41:33 +00:00
cmanske%netscape.com
ca24e6aca4
Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge
2000-08-02 01:47:55 +00:00
waterson%netscape.com
4896ee6d33
Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana.
2000-07-28 22:29:28 +00:00
waterson%netscape.com
9bd4266798
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
mjudge%netscape.com
7317580268
46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
2000-07-26 11:31:12 +00:00
nisheeth%netscape.com
9b09a0b6c1
Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds.
2000-07-23 06:51:39 +00:00
akkana%netscape.com
481b7a5c02
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +00:00