bernd.mielke%snafu.de
183937de5c
add hr frame to layout debugging logic, bug 110596 r=karnaze sr=attinasi
2001-12-07 10:02:31 +00:00
karnaze%netscape.com
82b64534c6
bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
2001-11-27 01:45:46 +00:00
smontagu%netscape.com
cac21dc795
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
40c7483281
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
0dce65ed23
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
a0427a620c
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
c78eb318ca
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
1d9a3babd0
fix crash in display reflow debugging.
2001-11-01 15:53:57 +00:00
karnaze%netscape.com
34c3911b0c
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
16dee217fc
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +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
hyatt%netscape.com
0214ac3fdb
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
5fe12c09e7
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
3dac3645cb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
34fc404be7
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
2c3c5c1767
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
f385eb981a
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
a77cb3b548
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
0787de72bf
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
1eae10bda2
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
1e28dfba99
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
bryner%netscape.com
f63f3fc06d
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
67f6aa83cb
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
00f903a8da
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner%netscape.com
3eaacd5a3a
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
b72c324af1
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
waterson%netscape.com
232d08fd54
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
f18243e20a
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
c14d9c09a1
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
mjudge%netscape.com
dea6c5b4ca
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
b6c66d757c
Misplaced #endif - fixed for opt builds
2001-07-17 22:02:11 +00:00
attinasi%netscape.com
503f2f05f4
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
d6145bbd4b
PDT+ 88164 backing out of bad bug for keyboard navigation.
2001-07-05 19:11:32 +00:00
anthonyd%netscape.com
64bf6b3953
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
f0fb59c34f
backing out changes
...
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
4247441de0
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
d481b5c165
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
9b37060aaa
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
aeb36f93a1
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
c678f51e8c
used false instead of PR_FALSE.
2001-06-20 06:40:48 +00:00
mjudge%netscape.com
e145bb8a95
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
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mjudge%netscape.com
f0e742343a
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
2b539be4dd
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
a83c82c572
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
453d1d1d71
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
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
evaughan%netscape.com
a8792fc3db
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
mjudge%netscape.com
5ef9d40385
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
126c85114b
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
4da58efd40
30971 cursor: auto does not work. r=attinasi
2001-05-02 11:03:03 +00:00
hyatt%netscape.com
31a850a277
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
roc+%cs.cmu.edu
2673dd6ef6
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
0211de1fe7
Accessibility work. bug #12952
...
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
mjudge%netscape.com
d71140eb14
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
2d2a0054e2
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
kmcclusk%netscape.com
f669dfa632
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
ca4feee704
bug 71810 - don't have inline virtual methods. r=karnaze.
2001-03-13 15:21:42 +00:00
karnaze%netscape.com
a3a25d11b0
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
erik%netscape.com
a7135c5aab
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
fe23bec8ec
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
ad19cf4c81
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
04e5df3d19
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
7a97a55d82
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
9c6f7ccade
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
2a02bb78fd
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
531ba68b54
#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
c81b2c3b26
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
9430a92e06
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
68cf2c5e11
fix for bug#59577 - hang during keyboard navigation
...
r=kin
sr=buster
2000-12-27 00:22:25 +00:00
cmanske%netscape.com
e4e8f945c9
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
1b004f4d02
backing out regression-causing changes to reopen tree
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
c2ee5bda7e
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
8a2fc88228
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
045d81f56a
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
2eea32ae2b
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
41bf703180
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
60258e86e9
remove typo to fix bustage
2000-11-09 00:40:39 +00:00
blakeross%telocity.com
1287323a34
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
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
rickg%netscape.com
2d9e594545
WIP for bug 55095; sr=buster, r=attinasi, sfraser
2000-10-11 23:40:42 +00:00
kin%netscape.com
936e179d79
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
41f6039492
fixing 34356. hack to get clickng before table working beta3+
2000-09-15 07:02:05 +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
mjudge%netscape.com
e8714aaa82
hoarkage fix. need a.get on pointer compare on unix for comptrs
2000-09-14 09:42:18 +00:00
pinkerton%netscape.com
a20b67ad5f
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
7d4c6525ad
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
0eb491f041
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
6ba5c7b147
making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
2000-08-14 22:28:41 +00:00
pierre%netscape.com
ef6777748b
48096: Need a -moz-all value for user-select. r=sfraser.
2000-08-12 01:00:14 +00:00
mjudge%netscape.com
35e3f5dd84
29570 37393 42794 mac os fix for selecting out of frame bounds.
2000-08-09 22:33:03 +00:00
sfraser%netscape.com
6382b1de09
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
00ad136b80
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
56a71da7fa
42864 ('user-select:none' should make children non-selectable)
2000-08-05 04:41:33 +00:00
cmanske%netscape.com
293fd81594
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
b4bb4efade
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
7acb9494c4
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
a2d557d597
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
e5f1339e39
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