1694 Commits

Author SHA1 Message Date
jfrancis%netscape.com
88a64c92bc fixing dom range gravity bug (see bug 13251)
git-svn-id: svn://10.0.0.236/trunk@46307 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:27:44 +00:00
hyatt%netscape.com
1433b9452c Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).


git-svn-id: svn://10.0.0.236/trunk@46290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:51:41 +00:00
mjudge%netscape.com
3a2b08f57b adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame.
git-svn-id: svn://10.0.0.236/trunk@46251 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:40:17 +00:00
akkana%netscape.com
65eef8b0cd Remove some redundant logic
git-svn-id: svn://10.0.0.236/trunk@46199 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:13:04 +00:00
akkana%netscape.com
87108f52ba Change debug temp filename from xif.html to xif.xif
git-svn-id: svn://10.0.0.236/trunk@46198 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:10:44 +00:00
troy%netscape.com
68d0b098c8 Changed CreateGeneratedFrameFor() to set the parent object and the document
object of the generated content


git-svn-id: svn://10.0.0.236/trunk@46153 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 03:09:33 +00:00
troy%netscape.com
fdc9f553d0 Fix for bug #13176. Changed CantRenderReplacedElement() to reset the
primary frame mapping for OBJECT elements


git-svn-id: svn://10.0.0.236/trunk@46146 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:42:00 +00:00
peterl%netscape.com
47f2dadc5e use reparent style context
git-svn-id: svn://10.0.0.236/trunk@45967 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:37:37 +00:00
peterl%netscape.com
791d9a651c added reparent style context
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
peterl%netscape.com
b5634c8488 added accessors to additional style contexts
git-svn-id: svn://10.0.0.236/trunk@45964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:14 +00:00
peterl%netscape.com
ca69e6a4f1 tracking UI & forms proposal changes
fixed impact of text decoration


git-svn-id: svn://10.0.0.236/trunk@45963 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:34:20 +00:00
peterl%netscape.com
938447840d tracking to UI & forms proposal changes
git-svn-id: svn://10.0.0.236/trunk@45962 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:33:06 +00:00
radha%netscape.com
0d1b36e529 Dummy checkin to provide log information for the previous commit.
Basically in the previous commit, added a dictionary to the history
state object and made AddState() and get() use the dictionary


git-svn-id: svn://10.0.0.236/trunk@45942 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:19:03 +00:00
radha%netscape.com
cd8a2298b6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@45930 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:10:57 +00:00
rods%netscape.com
c47a3d09dc ListControlFrame now use the nsSelectsAreaFrame to get the correct frame
when clicking in a list
removed NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN on list frames the events get routed correctly


git-svn-id: svn://10.0.0.236/trunk@45899 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:57:47 +00:00
rods%netscape.com
b3d49bd415 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.


git-svn-id: svn://10.0.0.236/trunk@45887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:12:09 +00:00
bruce%cybersight.com
da3a78ae3e Use nsCRT::free() instead of delete[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45849 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:26:10 +00:00
kin%netscape.com
072c7d8fb4 Added support for scrolling SELECTION_ANCHOR_REGION into view.
Renamed GetFocusNodeRect() to GetSelectionRegionRect().
Made code in GetPrimaryFrameForFocusNode() more generic and put it
in a method called GetPrimaryFrameForRangeEndpoint().
GetPrimaryFrameFor{Anchor,Focus}Node() now call GetPrimaryFrameForRangeEndpoint().


git-svn-id: svn://10.0.0.236/trunk@45769 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:59:51 +00:00
bienvenu%netscape.com
4e9eda7dc4 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@45715 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 19:21:45 +00:00
joki%netscape.com
33e0b92036 Fix for bug 12226, allow reentrant events
git-svn-id: svn://10.0.0.236/trunk@45701 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:14:01 +00:00
kipp%netscape.com
5c567c30a3 Moved atom init to factory where it should have been
git-svn-id: svn://10.0.0.236/trunk@45695 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:02:21 +00:00
troy%netscape.com
88786eefbb Fix for bug #12997
git-svn-id: svn://10.0.0.236/trunk@45661 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 05:21:39 +00:00
hyatt%netscape.com
a9583b0332 Must fix build bustage. I have to have access to members of this object without
being forced to call member functions (since my content nodes are in a separate
DLL from layout).


git-svn-id: svn://10.0.0.236/trunk@45622 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 02:09:07 +00:00
mjudge%netscape.com
6b3e46bd52 new tweak for selecting from disparate ranges to narrow ones in tables. works great now.
git-svn-id: svn://10.0.0.236/trunk@45615 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 01:36:49 +00:00
mjudge%netscape.com
109fab4085 new fix for table selection into and out. works great.
git-svn-id: svn://10.0.0.236/trunk@45595 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:48:15 +00:00
akkana%netscape.com
632598dfcf 12496: Fix XIF content comments
git-svn-id: svn://10.0.0.236/trunk@45590 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:29:03 +00:00
karnaze%netscape.com
2c1d0d3778 changed default for nsStyleTable.mRules to NS_STYLE_TABLE_RULES_ALL
git-svn-id: svn://10.0.0.236/trunk@45579 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:06:35 +00:00
mjudge%netscape.com
b368b7d065 fixes for optimizing selection
git-svn-id: svn://10.0.0.236/trunk@45557 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:32:55 +00:00
kipp%netscape.com
67d5a7ce45 Added another debug atom
git-svn-id: svn://10.0.0.236/trunk@45403 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:10:02 +00:00
kipp%netscape.com
49dcaaf349 Disable empty text frame removal; tweaked a few lines to be more compiler friendly
git-svn-id: svn://10.0.0.236/trunk@45393 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:00:25 +00:00
jdunn%netscape.com
5138cd19f6 HP requires newline
git-svn-id: svn://10.0.0.236/trunk@45377 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:53:21 +00:00
nisheeth%netscape.com
3a74e6a56a - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.


git-svn-id: svn://10.0.0.236/trunk@45350 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com
9a418f414b Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
waterson%netscape.com
76cc6b08ad Fix nsCOMPtr --pedantic bustage.
git-svn-id: svn://10.0.0.236/trunk@45317 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 07:14:54 +00:00
kipp%netscape.com
2ca907103d Added new atoms
git-svn-id: svn://10.0.0.236/trunk@45286 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:31:39 +00:00
kipp%netscape.com
10f1a896ca Added missing = 0 to make method's pure virtual
git-svn-id: svn://10.0.0.236/trunk@45285 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:20:22 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
ab1926c3ac Added get/set document state API for use by session history.
git-svn-id: svn://10.0.0.236/trunk@45214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:38:58 +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
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
troy%netscape.com
cfa7416254 Fix for bug #12751. Optimized PaintBorder() so if the dirty rect is completely
inside of the border rect, then we don't paint anything. This speed up
incremental painting


git-svn-id: svn://10.0.0.236/trunk@45026 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 03:25:56 +00:00
sspitzer%netscape.com
5d75a88269 fix pedantic build bustage.
git-svn-id: svn://10.0.0.236/trunk@45003 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 16:55:31 +00:00
rpotts%netscape.com
e6270075bd Null terminate the new buffer.
git-svn-id: svn://10.0.0.236/trunk@44979 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 05:12:11 +00:00
hyatt%netscape.com
820940c820 Enabling tree row frames.
git-svn-id: svn://10.0.0.236/trunk@44962 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:45:18 +00:00
kipp%netscape.com
5057da765f Fixed crash when a frame is skipped and we are in a first-letter situation (doh)
git-svn-id: svn://10.0.0.236/trunk@44938 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 22:53:18 +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
5b8f10fa6d Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly
git-svn-id: svn://10.0.0.236/trunk@44920 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:46:10 +00:00
kipp%netscape.com
ee40827af0 Nuked some warnings
git-svn-id: svn://10.0.0.236/trunk@44917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:43:33 +00:00
kipp%netscape.com
e8e2636fba Implement GetTextLength and CopyText methods from revised nsITextContent API
git-svn-id: svn://10.0.0.236/trunk@44911 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:47 +00:00
kipp%netscape.com
ee5f7e7837 Added in GetTextLength and CopyText methods for the MathML folks
git-svn-id: svn://10.0.0.236/trunk@44910 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:13 +00:00