409 Commits

Author SHA1 Message Date
anthonyd%netscape.com
3d7ce4044e 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


git-svn-id: svn://10.0.0.236/trunk@97953 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 18:01:10 +00:00
mjudge%netscape.com
d66b949240 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
git-svn-id: svn://10.0.0.236/trunk@97779 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 14:52:48 +00:00
ftang%netscape.com
b5e1e05597 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty


git-svn-id: svn://10.0.0.236/trunk@97676 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 12:35:48 +00:00
kin%netscape.com
5d7630f57c 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


git-svn-id: svn://10.0.0.236/trunk@97668 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 06:35:37 +00:00
mjudge%netscape.com
bf71c754f9 used false instead of PR_FALSE.
git-svn-id: svn://10.0.0.236/trunk@97576 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:40:48 +00:00
mjudge%netscape.com
9b06575b30 have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa
git-svn-id: svn://10.0.0.236/trunk@97547 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 04:40:17 +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
mjudge%netscape.com
585cb11267 80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@95925 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 20:27:41 +00:00
roc+%cs.cmu.edu
4404d25a96 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
ftang%netscape.com
3b651f68c9 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


git-svn-id: svn://10.0.0.236/trunk@95849 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 01:10:19 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +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
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
mjudge%netscape.com
aa97bbbd98 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
git-svn-id: svn://10.0.0.236/trunk@94673 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 18:51:43 +00:00
mjudge%netscape.com
6b6fa0b353 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


git-svn-id: svn://10.0.0.236/trunk@94613 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 08:04:29 +00:00
pierre%netscape.com
5434d5602a 30971 cursor: auto does not work. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@93640 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 11:03:03 +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
roc+%cs.cmu.edu
a841bac02b 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
git-svn-id: svn://10.0.0.236/trunk@92978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:01:16 +00:00
evaughan%netscape.com
b28fc76be2 Accessibility work. bug #12952
-r aaronl -sr brendan


git-svn-id: svn://10.0.0.236/trunk@92582 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:06:38 +00:00
mjudge%netscape.com
92ddeb3cb6 53151 68396 sr=kin r= kin. removing some ifdefs of dead ender-lite code and fixing a mail news lockup in text traversal
git-svn-id: svn://10.0.0.236/trunk@92123 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:38:32 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
kmcclusk%netscape.com
780ba6923c 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
git-svn-id: svn://10.0.0.236/trunk@90840 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:25:49 +00:00
karnaze%netscape.com
59ea97fc3a bug 71810 - don't have inline virtual methods. r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@89505 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:21:42 +00:00
karnaze%netscape.com
c76866e3ea table reflow coalescing, table reflow face lift. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
erik%netscape.com
dc9f2947a7 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)


git-svn-id: svn://10.0.0.236/trunk@89069 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:29:00 +00:00
rods%netscape.com
8b5d71dc38 Don't paint blocks that shouldn't be painted when printing
Bug 67296 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:46:44 +00:00
pierre%netscape.com
8944a57fe0 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.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
anthonyd%netscape.com
810a9820ad fix for bug #55921 - Clicking to the right of a link doesn't clear selection
sr/r=joki, sfraser


git-svn-id: svn://10.0.0.236/trunk@86148 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 07:07:15 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
anthonyd%netscape.com
0c9762c747 fix for bug#59577 - hang during keyboard navigation
r=kin
sr=buster


git-svn-id: svn://10.0.0.236/trunk@84075 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:25 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
c930b83300 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83889 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
c0fa7f0c0e Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83888 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
15a86eda61 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
git-svn-id: svn://10.0.0.236/trunk@83880 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:55 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
attinasi%netscape.com
ae39d4befe Changes to put style data into the layout regression data output. r=karnaze, a=waterson
git-svn-id: svn://10.0.0.236/trunk@83377 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:31:40 +00:00
alecf%netscape.com
9ddacf9026 remove typo to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82451 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:40:39 +00:00
blakeross%telocity.com
18ad3326cc 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
git-svn-id: svn://10.0.0.236/trunk@82444 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:06:54 +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
rickg%netscape.com
4299d43cc1 WIP for bug 55095; sr=buster, r=attinasi, sfraser
git-svn-id: svn://10.0.0.236/trunk@80976 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:40:42 +00:00
kin%netscape.com
3c3f4d4d38 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


git-svn-id: svn://10.0.0.236/trunk@80347 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:38:17 +00:00
mjudge%netscape.com
81021b1142 fixing 34356. hack to get clickng before table working beta3+
git-svn-id: svn://10.0.0.236/trunk@79312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:05 +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