2162 Commits

Author SHA1 Message Date
anthonyd%netscape.com
4abc5bba4f bug fix for #40742
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done


git-svn-id: svn://10.0.0.236/trunk@72853 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:42 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
dbaron%fas.harvard.edu
e84d5a00a5 Fix bug 42685, nsbeta2+. Revert percentage width calculations to the way they used to be, except for floats with auto widths. code=buster r=me
git-svn-id: svn://10.0.0.236/trunk@72611 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:47:49 +00:00
anthonyd%netscape.com
8febe65f8c warning fixes for linux. r: mjudge a: beppe
git-svn-id: svn://10.0.0.236/trunk@72446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:28:10 +00:00
karnaze%netscape.com
0b74ec8686 bug 41306 - remove special cell auto percentage base code, r=rods
git-svn-id: svn://10.0.0.236/trunk@72313 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:54:04 +00:00
buster%netscape.com
86be006781 fixing a platform compile problem
git-svn-id: svn://10.0.0.236/trunk@72256 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:58:41 +00:00
pollmann%netscape.com
1783536d2e Fixing Linux build bustage
git-svn-id: svn://10.0.0.236/trunk@72255 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:58:31 +00:00
pollmann%netscape.com
651f5e094f Bug 32770: Save scroll position in session history r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72252 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:37:06 +00:00
buster%netscape.com
e8833a517e fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
r=waterson, rods


git-svn-id: svn://10.0.0.236/trunk@72241 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:15:59 +00:00
buster%netscape.com
91f736fa91 fixed bug 41757
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson


git-svn-id: svn://10.0.0.236/trunk@72006 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:14:33 +00:00
buster%netscape.com
37a339735a fixed bug 29854
r=waterson


git-svn-id: svn://10.0.0.236/trunk@71991 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 05:25:14 +00:00
mjudge%netscape.com
c661007c9e too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896
git-svn-id: svn://10.0.0.236/trunk@71878 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:14:19 +00:00
kmcclusk%netscape.com
439ee5ba38 Changed nsBulletFrame to set the dirty flag on the it's parent's first frame instead of itself when an Image is updated b=36703 r=buster@netscape.com tested on WINNT, Linux
git-svn-id: svn://10.0.0.236/trunk@71818 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:19:38 +00:00
cmanske%netscape.com
1e18ade6f9 Finished table cell selection optimization bug 41045. r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71633 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:42 +00:00
hyatt%netscape.com
d931111497 Tree/grid work. Bug #30511. r=danm.
git-svn-id: svn://10.0.0.236/trunk@71632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:11 +00:00
attinasi%netscape.com
c87ebfa9c0 Removed code that was printing the word 'embed'. b=37558 r=buster a=leger
git-svn-id: svn://10.0.0.236/trunk@71546 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:21:48 +00:00
rbs%maths.uq.edu.au
918b4d93c1 [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71513 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:24:18 +00:00
alecf%netscape.com
7ad6d31130 fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds
git-svn-id: svn://10.0.0.236/trunk@71483 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 09:44:08 +00:00
cmanske%netscape.com
494609a7d0 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71409 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:05:06 +00:00
av%netscape.com
eca9eb91a5 Fixing 40765, r=buster, a=hamerly
git-svn-id: svn://10.0.0.236/trunk@71383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:20:35 +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
mjudge%netscape.com
e0e6694c78 bug = 34896. Fixing ender lite startup problem with caret. checking for inOffset<0. we checked for >mContentLength but not <0. r=churchil.
git-svn-id: svn://10.0.0.236/trunk@71213 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:00:15 +00:00
kin%netscape.com
f0ffccdd37 Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71139 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
b457171a1d Added row/column selection in tables: Bug 26833. r=kin, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:07:58 +00:00
akkana%netscape.com
e8f9d34322 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe
git-svn-id: svn://10.0.0.236/trunk@71111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:02:12 +00:00
av%netscape.com
674a9c4de3 nsbeta2+ fix for 17169, cheking in ftang's patch
git-svn-id: svn://10.0.0.236/trunk@70950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:35 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
karnaze%netscape.com
8cc9e6956a nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
kin%netscape.com
d7bccacbfb Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
waterson%netscape.com
b91dc8288d Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster
git-svn-id: svn://10.0.0.236/trunk@70853 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 19:58:51 +00:00
shaver%mozilla.org
cb79075ed7 add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:32:42 +00:00
buster%netscape.com
a647cfc5e7 fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.


git-svn-id: svn://10.0.0.236/trunk@70613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:36:35 +00:00
pavlov%netscape.com
56c86ec3c7 backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree)
git-svn-id: svn://10.0.0.236/trunk@70543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 03:05:48 +00:00
hyatt%netscape.com
5da5e40053 fix assert for dogfood bug#37854, r=danm
git-svn-id: svn://10.0.0.236/trunk@70469 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:08:27 +00:00
evaughan%netscape.com
090c58c1f2 Fix for mac xp menus not comming up at all.
git-svn-id: svn://10.0.0.236/trunk@70421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:37:27 +00:00
erik%netscape.com
d82e34d116 make line-height calculation language-sensitive to avoid overlapping lines
git-svn-id: svn://10.0.0.236/trunk@70362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:56 +00:00
cls%seawood.org
079260ab04 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS.
git-svn-id: svn://10.0.0.236/trunk@70296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:07:26 +00:00
evaughan%netscape.com
a0451e24a4 Fixed bug that crashed when menus are used with native scrollbars.
git-svn-id: svn://10.0.0.236/trunk@70279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:45:44 +00:00
pavlov%netscape.com
cb832c7996 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@70262 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:24:43 +00:00
mjudge%netscape.com
2f998b8cc1 removing debug messages
git-svn-id: svn://10.0.0.236/trunk@70254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:07:31 +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
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
karnaze%netscape.com
1979c23f3b bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.


git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
akkana%netscape.com
a24273164d Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
git-svn-id: svn://10.0.0.236/trunk@70135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:48:28 +00:00
mjudge%netscape.com
44d73d55a6 fixing relative div position bug with autoscroll
git-svn-id: svn://10.0.0.236/trunk@70128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:41:38 +00:00
kin%netscape.com
2ed3618a8f - First pass checkin for a Drag and Drop friendlier selection. (Bug #38527) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
- Replaced tabs with spaces.


git-svn-id: svn://10.0.0.236/trunk@70121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:16:05 +00:00
cmanske%netscape.com
ca87bdf4d5 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@70116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:12:54 +00:00
pollmann%netscape.com
e50f08ece3 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:02:16 +00:00
pollmann%netscape.com
4d8371e915 Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:59:23 +00:00
shanjian%netscape.com
beb4a500e4 #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.


git-svn-id: svn://10.0.0.236/trunk@70079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:52:05 +00:00