1955 Commits

Author SHA1 Message Date
kin%netscape.com
7fa5bc2451 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.


git-svn-id: svn://10.0.0.236/trunk@45164 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:55:02 +00:00
kin%netscape.com
ea9db112f9 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.


git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
troy%netscape.com
1604aaf744 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@44957 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:39:55 +00:00
kipp%netscape.com
5caf777abe Added hack code (for me) to allow for stack depth testing
git-svn-id: svn://10.0.0.236/trunk@44929 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:37 +00:00
kipp%netscape.com
11867185b8 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class
git-svn-id: svn://10.0.0.236/trunk@44928 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:06 +00:00
kipp%netscape.com
6d797d3be3 Shrink down size of nsLineLayout object
git-svn-id: svn://10.0.0.236/trunk@44927 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:49:12 +00:00
kipp%netscape.com
9d4d59aea1 Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:54 +00:00
kipp%netscape.com
eccd6aa43e Don't paint frames that are unflowable
git-svn-id: svn://10.0.0.236/trunk@44925 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:21 +00:00
kipp%netscape.com
4a17fe8915 Added IsFrameTreeTooDeep method to support code handling bug #10310
git-svn-id: svn://10.0.0.236/trunk@44924 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:06 +00:00
kipp%netscape.com
dd5de649f5 Fixed bug 12451 - use list-style-type when image doesn't load or is loading
git-svn-id: svn://10.0.0.236/trunk@44923 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:39 +00:00
kipp%netscape.com
ffd939db74 Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164)
git-svn-id: svn://10.0.0.236/trunk@44922 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:04 +00:00
kipp%netscape.com
858dd7ad39 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44919 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:45:37 +00:00
kipp%netscape.com
d313b06d4d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44918 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:44:10 +00:00
evaughan%netscape.com
2d2928d70d Fixed to gfx scrollbar.
Fixed some blockers.


git-svn-id: svn://10.0.0.236/trunk@44760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
3fdfeba79b remove refs to nsIContentConnector
git-svn-id: svn://10.0.0.236/trunk@44749 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:30:48 +00:00
troy%netscape.com
e72fb49348 Fix for bug #12449. Changed UpdateImageFrame() so that if the content object
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame


git-svn-id: svn://10.0.0.236/trunk@44573 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:55:57 +00:00
troy%netscape.com
b6b13618f7 Fix for bug #12444. Made sure that for a "StyleChanged" reflow command we
invalidate our entire bounds


git-svn-id: svn://10.0.0.236/trunk@44557 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
437cbbc0b4 added in selection of tables/images as blue borders for browser.
git-svn-id: svn://10.0.0.236/trunk@44545 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:19:23 +00:00
karnaze%netscape.com
ea754a1e94 changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak
git-svn-id: svn://10.0.0.236/trunk@44537 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:57:15 +00:00
karnaze%netscape.com
42a0e08a9e bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
jfrancis%netscape.com
2a60fccebc making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
mjudge%netscape.com
72808fb95e changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
git-svn-id: svn://10.0.0.236/trunk@44364 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:47 +00:00
troy%netscape.com
d4fd1d71b2 Reworked ReparentFrameView() to make it more efficient
git-svn-id: svn://10.0.0.236/trunk@44323 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 19:26:03 +00:00
hyatt%netscape.com
f12db0b33c Fix for editor typing bustage (part 2).
git-svn-id: svn://10.0.0.236/trunk@44282 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 10:20:35 +00:00
hyatt%netscape.com
3af8b5569f Patching an error in the key event handling.
git-svn-id: svn://10.0.0.236/trunk@44192 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:42:02 +00:00
troy%netscape.com
d0af2de549 Changed diagnostic code to DEBUG_troy instead of NS_DEBUG so it doesn't
slow down all debug builds. Show be done with NSPR loggin instead...


git-svn-id: svn://10.0.0.236/trunk@44100 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 00:37:10 +00:00
jdunn%netscape.com
ac764b5f55 HP requires a newline
git-svn-id: svn://10.0.0.236/trunk@43855 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:42:36 +00:00
evaughan%netscape.com
e418bae616 Fixed compile bug.
git-svn-id: svn://10.0.0.236/trunk@43747 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 23:33:38 +00:00
evaughan%netscape.com
aaf979c0a0 Fix for build error
git-svn-id: svn://10.0.0.236/trunk@43740 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:44:06 +00:00
vidur%netscape.com
89bc046b3c Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist
git-svn-id: svn://10.0.0.236/trunk@43722 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:22:02 +00:00
evaughan%netscape.com
fd72782f13 xpscrollbars
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
e865dd4c3a Add constructor definition for autocomplete widget
git-svn-id: svn://10.0.0.236/trunk@43706 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:53 +00:00
ducarroz%netscape.com
a1eb3e7bb7 add some autocomplete atoms
git-svn-id: svn://10.0.0.236/trunk@43704 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:45 +00:00
rods%netscape.com
591fdc2050 Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area
git-svn-id: svn://10.0.0.236/trunk@43620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:36:47 +00:00
rods%netscape.com
828bda63fb added PaintOutline to paint CSS outlines to paint method
git-svn-id: svn://10.0.0.236/trunk@43619 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:35:48 +00:00
rods%netscape.com
5cc177c04a Added NS_NewAttributeContent method
git-svn-id: svn://10.0.0.236/trunk@43615 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:32:19 +00:00
ftang%netscape.com
bed550f28d implement word jump for non Ascii
git-svn-id: svn://10.0.0.236/trunk@43559 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 06:06:57 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
troy%netscape.com
0dfa8ffb99 Fixed a place I had missed when converting over to the new reflow command
handling


git-svn-id: svn://10.0.0.236/trunk@42963 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 14:28:27 +00:00
ftang%netscape.com
d4536e263f tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better
git-svn-id: svn://10.0.0.236/trunk@42948 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 07:23:56 +00:00
av%netscape.com
e448cd23a9 Setting some default size to objects with unknown size, bug #8740
git-svn-id: svn://10.0.0.236/trunk@42851 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 23:41:55 +00:00
sfraser%netscape.com
6a65d2857f Optimization so that moving a collapsed selection does not cause the frame to redraw.
git-svn-id: svn://10.0.0.236/trunk@42782 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:15:04 +00:00
peterl%netscape.com
20d229264a moved scrolled content pseudo to layout atoms
git-svn-id: svn://10.0.0.236/trunk@42680 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:15:30 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
beard%netscape.com
3e9a8b9a14 fixes a crasher triggered by test case of bug #5194.
git-svn-id: svn://10.0.0.236/trunk@42666 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:43:47 +00:00
troy%netscape.com
7224b10efc Fixed compiler warning
git-svn-id: svn://10.0.0.236/trunk@42464 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 17:21:57 +00:00
troy%netscape.com
0a8e132ebc Cleanup
git-svn-id: svn://10.0.0.236/trunk@42452 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:34:32 +00:00
pierre%netscape.com
6a1d462764 breaking up gfx & native widgets
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
av%netscape.com
8194125752 Removing old code
git-svn-id: svn://10.0.0.236/trunk@42360 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 22:55:05 +00:00