nisheeth%netscape.com
409aee6ae9
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
hyatt%netscape.com
3d186ddce8
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
kin%netscape.com
09204de391
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
2000-01-10 15:32:42 +00:00
pierre%netscape.com
a1bab88cc8
12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
2000-01-10 03:23:44 +00:00
mjudge%netscape.com
eecd5e732f
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
b3ba853dbc
[#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:36:43 +00:00
jst%citec.fi
7378578fe5
Fixing bug 12181 (removing static IID's). r=troy@netscape.com
2000-01-04 20:24:09 +00:00
troy%netscape.com
1558ba3b1a
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
4ddb903853
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
pierre%netscape.com
a725da285d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
1999-12-22 11:27:10 +00:00
ftang%netscape.com
1986cf104e
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
1999-12-22 07:56:40 +00:00
pierre%netscape.com
58b4c59a41
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
1999-12-22 05:00:47 +00:00
vidur%netscape.com
1c0c61c381
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
jband%netscape.com
7d0cb0f4bb
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
alecf%netscape.com
8dc8ab82ae
fix for #21417
...
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
mjudge%netscape.com
df221dba54
new idl for line up/down scrolling
1999-12-15 03:56:32 +00:00
mjudge%netscape.com
2cf7e901e3
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
evaughan%netscape.com
183d6249cf
1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
...
-r Troy
1999-12-07 03:36:05 +00:00
rods%netscape.com
11c20a5638
Should have left off the ":"
...
r=self
1999-12-06 23:05:52 +00:00
rods%netscape.com
d2badeaa7f
adding :-moz-option-selected
...
r=kmcclusk
1999-12-06 22:57:24 +00:00
troy%netscape.com
3c7966f705
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
13c0cdd6da
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
16a944a1e3
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
akkana%netscape.com
661f837d79
Forgot to add the idl file to the makefile
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
98de07bacc
Add nsISelectionController.idl for akkana.
1999-12-02 22:31:17 +00:00
akkana%netscape.com
796735bcbd
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
danm%netscape.com
a9db94dfe7
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
hyatt%netscape.com
c07e825ba9
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +00:00
vidur%netscape.com
c49c6f4ec1
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
pierre%netscape.com
c1abaa96a5
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
pinkerton%netscape.com
3de07b0c95
First Checked In.
1999-11-22 22:23:08 +00:00
tbogard%aol.net
c4add5a50f
Adding nsIChromeEventHandler.idl to the build. r=hyatt
1999-11-22 08:03:54 +00:00
tbogard%aol.net
e400e4fc83
First check-in.... Defining nsIChromeEventHandler interface for use to make the mChromeElement event firing generic. r=hyatt
1999-11-22 08:02:28 +00:00
bryner%uiuc.edu
b3668a1805
Oops, fixing a typo. Sorry about that.
1999-11-20 08:12:56 +00:00
bryner%uiuc.edu
9bf1ffc77e
Adding a new interface that will be used for scrolling tree frames with
...
the mouse wheel.
1999-11-20 07:16:52 +00:00
troy%netscape.com
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
tbogard%aol.net
50379d48b1
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
vidur%netscape.com
d563684b31
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
nisheeth%netscape.com
242db1bd00
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
brendan%mozilla.org
49357d5655
Remove nsIFrameReflow.h deadwood (r=waterson).
1999-11-05 05:00:39 +00:00
akkana%netscape.com
2274aa9a8f
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
kipp%netscape.com
9d26ed588b
r=troy; Added a new frame property atom
1999-11-02 23:42:13 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
42d72e139f
Added another frame property
1999-11-01 15:22:25 +00:00
troy%netscape.com
56620e9b5a
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy%netscape.com
b513453f89
Updated to not export nsIFrameReflow.h
1999-10-30 02:53:36 +00:00
troy%netscape.com
b2025a682a
Changed to not export nsIFrameReflow.h
1999-10-30 02:52:43 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
e2dfeedb8d
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
braddr%puremagic.com
bf95f832dd
Change NS_COMFALSE to NS_ERROR_ABORT throughout the space manager.
...
r=smfr for these two files, and r=scc for the previous file
1999-10-22 06:49:50 +00:00
troy%netscape.com
d0190a7f34
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com
3d3eb16f9a
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
ftang%netscape.com
548649505f
change the input method highligh code from 2 style to 4 styles. r=mjudge
1999-10-21 22:01:18 +00:00
kipp%netscape.com
dadfeff627
r=troy; Added a property for max-element-size storage for fixing bug 13196
1999-10-21 20:23:05 +00:00
kipp%netscape.com
6485ca4fb3
r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements
1999-10-21 20:22:02 +00:00
troy%netscape.com
01cf059769
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
troy%netscape.com
fb99c83e01
Changes to frame property API (code's not being used yet)
1999-10-19 14:41:55 +00:00
troy%netscape.com
665c1e8f05
Changed a comment
1999-10-19 05:00:30 +00:00
troy%netscape.com
c327acc8a4
Change to code that's not currently being used. Before it gets used it
...
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com
a5e197eace
r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
...
the frame manager
1999-10-18 22:20:37 +00:00
peterl%netscape.com
1634c730fd
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com
6e47ab221b
Added some new code that's not in use yet
1999-10-16 00:55:48 +00:00
kipp%netscape.com
ad778d6889
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
peterl%netscape.com
757c0b5f01
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
31e48e3bdc
moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
...
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
11fc60f14d
r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
1999-10-14 23:08:31 +00:00
kipp%netscape.com
8c6fbed636
r=troy; Added a #define to prevent future code crashes
1999-10-14 23:08:04 +00:00
mjudge%netscape.com
21ba41e280
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
kipp%netscape.com
2b4c0a8c97
Added two new atoms to help meter large vs. small line boxes
1999-10-12 23:22:34 +00:00
peterl%netscape.com
0aa8e8a9c7
add 'ignore' to user focus
...
r=hyatt
1999-10-12 00:21:06 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
troy%netscape.com
a5add6d414
Change to SizeOf() code (diagnostic code only). Changed table frame
...
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
peterl%netscape.com
d023d57dc3
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
kipp%netscape.com
f36a6b1cd9
Added some atoms to support SizeOf metrics
1999-10-07 00:31:41 +00:00
kipp%netscape.com
2738c38f7f
Support SizeOf methods
1999-10-05 23:47:46 +00:00
norris%netscape.com
9c950a3a20
Fix 15458 "onLoadHandler does not work"
...
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
troy%netscape.com
a30cba0af1
Made sure mOutsideEdge is initizlied
1999-10-04 23:44:44 +00:00
peterl%netscape.com
c6f780fac5
Added ability to track changes to content without frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:53 +00:00
peterl%netscape.com
c0b6883ad3
added API to track content that didn't get a frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
troy%netscape.com
d219ef5e29
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
6f0d3813a7
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
troy%netscape.com
e2ac00fe47
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
1999-10-02 00:02:54 +00:00
akkana%netscape.com
770ed40a0a
Add OutputWrap flag, and add comments for the other flags
1999-09-29 20:17:51 +00:00
kin%netscape.com
ff2c034123
First pass implementation of selection auto scrolling.
...
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
peterl%netscape.com
870b54137e
make remap style optionally not go recursive
1999-09-29 03:30:47 +00:00
mjudge%netscape.com
0bb65d1fc8
fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
1999-09-25 23:33:02 +00:00
mgleeson1%netscape.com
e7cbff5298
fix for UNIX ports r=kipp, a=hofmann,kipp
1999-09-23 19:02:23 +00:00
kipp%netscape.com
f49c28ef15
Work around purify nonsense with bitfields
1999-09-22 00:38:57 +00:00
peterl%netscape.com
3e1015d0ab
Added compute style change
...
Added style tree verify
1999-09-21 07:48:57 +00:00
peterl%netscape.com
5c809530ca
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
rpotts%netscape.com
93d54d8076
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:20:49 +00:00
jfrancis%netscape.com
7af46daf54
tidying up
1999-09-17 23:12:17 +00:00
kipp%netscape.com
b9d4f1196a
Zapped mCompatFloatMargin hack
1999-09-17 00:57:06 +00:00
kipp%netscape.com
2afe2536dd
Added in mCompatFloaterMargin
1999-09-16 19:55:28 +00:00
rpotts%netscape.com
2ce6e7be9b
Added a missing NS_DEFINE_STATIC_IID_ACCESSOR...
1999-09-16 08:50:18 +00:00
slamm%netscape.com
e650a94848
Fix build warnigns.
1999-09-15 19:19:51 +00:00
harishd%netscape.com
47b1297e30
Fixing build bustage...hopefully.
...
Missed a file
1999-09-15 18:28:10 +00:00
pollmann%netscape.com
a170712586
Bug 13058: Make global enum a public member.
1999-09-15 02:30:39 +00:00
kipp%netscape.com
f89f3350dd
Added List method
1999-09-15 00:24:41 +00:00
sfraser%netscape.com
801132e5a9
Super duper new caret
1999-09-14 23:41:19 +00:00
pollmann%netscape.com
82013ad7ea
Bug 13058: Tweaks to StatefulFrame interface
1999-09-14 01:58:49 +00:00
briano%netscape.com
cfc3c850ed
General cleanup.
1999-09-14 01:02:20 +00:00
troy%netscape.com
bde4ac61db
Added frame type for OBJECT frame
1999-09-13 21:26:05 +00:00
mjudge%netscape.com
24a5d270fd
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
mjudge%netscape.com
8a55b0d40e
changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames.
1999-09-10 18:29:37 +00:00
peterl%netscape.com
788f9934ec
added look and feel accessor to pres context
1999-09-10 05:51:08 +00:00
peterl%netscape.com
ed08f30641
changed font weight step to 1 (from 101)
1999-09-10 05:50:30 +00:00
peterl%netscape.com
f653338e5d
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +00:00
mjudge%netscape.com
7b6345b29b
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.
1999-09-07 23:40:17 +00:00
peterl%netscape.com
e8b68a5fce
added reparent style context
1999-09-03 23:35:41 +00:00
peterl%netscape.com
6c381d978e
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
peterl%netscape.com
10a7e0588b
tracking to UI & forms proposal changes
1999-09-03 23:33:06 +00:00
hyatt%netscape.com
04bb2efe32
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).
1999-09-02 02:09:07 +00:00
kipp%netscape.com
43c7c19731
Added another debug atom
1999-09-01 01:10:02 +00:00
jdunn%netscape.com
57cdc73100
HP requires newline
1999-09-01 00:53:21 +00:00
nisheeth%netscape.com
cac7a1a287
- 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.
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com
5c883a4105
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.
1999-08-31 10:06:17 +00:00
kipp%netscape.com
20b3806ec4
Added new atoms
1999-08-31 04:31:39 +00:00
kipp%netscape.com
1d0c71c142
Added missing = 0 to make method's pure virtual
1999-08-31 04:20:22 +00:00
kipp%netscape.com
fd426dec6a
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
8702861be9
Added get/set document state API for use by session history.
1999-08-30 22:38:58 +00:00
kin%netscape.com
c4ea811665
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 .
1999-08-30 21:54:40 +00:00
norris%netscape.com
59b4dc8374
* clean up nsScriptSecurityManager
...
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
kipp%netscape.com
310e7befe5
Added in GetTextLength and CopyText methods for the MathML folks
1999-08-27 21:40:13 +00:00
kipp%netscape.com
feacb30520
Made WhiteSpaceIsSignificant a const method
1999-08-27 21:39:50 +00:00
kipp%netscape.com
8c06fe5c21
Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
1999-08-27 21:39:26 +00:00
sfraser%netscape.com
a28fc6628f
No longer need a pres shell for the document encoder; remove it.
1999-08-25 21:42:20 +00:00
mjudge%netscape.com
1ca330a9f0
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 :)
1999-08-24 21:51:47 +00:00
akkana%netscape.com
70ab0ba259
Revise the doc encoder and content sink APIs yet again to make it easier
...
to add new flags (pass a flag in the constructor, rather than specific
booleans. This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
evaughan%netscape.com
e7ce4e691c
xpscrollbars
1999-08-19 22:16:23 +00:00
troy%netscape.com
2a655ce368
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
peterl%netscape.com
7b416ebae7
added more pseudo elements
1999-08-08 01:05:05 +00:00
buster%netscape.com
0c8dd1b4da
just a comment, part of a memory leak bug fix to remind users to free a struct
1999-08-07 05:09:09 +00:00
pierre%netscape.com
ad77864095
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
troy%netscape.com
9a1b7b21b2
Moved cantrenderreplacedelememt code over to the frame manager
1999-08-05 20:17:44 +00:00
troy%netscape.com
3ae06bfbdc
Changed frame construction code to use frame manager when modifying frame
...
model
1999-08-05 03:09:22 +00:00
buster%netscape.com
fc5f6f418f
added GetCaretEnabled
...
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
troy%netscape.com
9a13cbb174
Now uses frame manager
1999-08-04 04:02:40 +00:00
troy%netscape.com
4db8257f5a
Initial check-in
1999-08-04 03:39:34 +00:00
troy%netscape.com
653e75725d
Added nsIFrameManager.h to exported files
1999-08-04 03:39:18 +00:00
mcafee%netscape.com
451c4afcee
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
1999-08-03 20:51:41 +00:00
troy%netscape.com
af3ef58730
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
troy%netscape.com
d07cd82e4e
Added 'm' prefix to structs defined in nsISpaceManager
1999-07-25 19:01:13 +00:00
peterl%netscape.com
195fa109e9
added some experimental CSS3 properties
...
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
troy%netscape.com
19eecb088b
Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
...
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
troy%netscape.com
ede5a246de
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +00:00
troy%netscape.com
537d74d82c
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
9fdbc7ced3
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
b2994f2d65
Added NS_FRAME_IS_DIRTY flag to the frame state flags
1999-07-21 23:47:01 +00:00
troy%netscape.com
f48928d205
Removed IsTransparent() function from nsIFrame
1999-07-21 23:15:39 +00:00
akkana%netscape.com
fcc5b35d37
Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h
1999-07-21 00:12:23 +00:00
kmcclusk%netscape.com
41ed34acb6
nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
...
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
warren%netscape.com
7bcb94a320
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
akkana%netscape.com
fac197e8ec
Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
1999-07-19 22:41:49 +00:00
troy%netscape.com
e6987ce4a0
Changed semantics for ScrollFrameIntoView()
1999-07-19 18:38:02 +00:00
mjudge%netscape.com
ae5b242a8d
sorry bad capitalization of file name
1999-07-18 02:59:09 +00:00
mjudge%netscape.com
7ddf8fee55
massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
1999-07-18 02:27:19 +00:00
peterl%netscape.com
173fa7623f
added nsLayoutAtomList.h
1999-07-18 00:14:29 +00:00
peterl%netscape.com
602ce582af
added consts for new CSS properties
1999-07-18 00:14:08 +00:00
peterl%netscape.com
3887cdc922
use preprocessor for atom code generation
1999-07-18 00:13:35 +00:00
peterl%netscape.com
9b936507ff
added != operator
1999-07-18 00:13:08 +00:00
troy%netscape.com
548827fdf5
Added NotifyDestroyingFrame() function to nsIPresShell
1999-07-16 23:25:15 +00:00
warren%netscape.com
c5684bf4d7
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
mjudge%netscape.com
a2f598637e
checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
1999-07-15 18:19:03 +00:00
sfraser%netscape.com
0deb6862cd
File Removed.
1999-07-14 22:37:03 +00:00
sfraser%netscape.com
815c2ea4f3
Removal of nsCaretProperties
1999-07-14 22:18:29 +00:00
sfraser%netscape.com
08a8fd08a7
Fix the include guard names.
1999-07-14 22:08:13 +00:00
kmcclusk%netscape.com
f052dc2f0d
fixed bugs #6303 , #6753 , #6756 , #6759
...
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
akkana%netscape.com
6d07c8eeb4
Restructure the editor output routines to allow passing in
...
a mime type and a flag argument. Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
troy%netscape.com
64b9a8123b
Added comment describing how incremental painting works
1999-07-14 15:13:47 +00:00
peterl%netscape.com
8184256766
cleanup
1999-07-07 01:19:31 +00:00
peterl%netscape.com
f21a88c90a
changed attribute impact api
1999-07-07 01:18:59 +00:00
sdagley%netscape.com
19d051e30a
Fixing build bustage. Hyatt's new changes require access to nsIFrameReflow.h
1999-07-04 04:58:30 +00:00
kipp%netscape.com
83749f7555
Added style constants for old style list bullet decorations
1999-07-02 22:25:42 +00:00
hyatt%netscape.com
11e9daffcf
Landing changes to wrap XUL windows in a box frame so that we can support
...
intrinsic sizing of windows. (Unlike HTML and XML, we are no longer wrapped
in an area frame. We are instead wrapped in a box frame.)
Also included is a patch for the table code, since it crashes inside boxes
because of a bug in its incremental reflow code.
nsISpaceManager was touched to give it a GetIID method so that it could be
used with nsCOMPtrs.
1999-07-02 05:28:32 +00:00
troy%netscape.com
f49cf1f201
Added function FindPrimaryFrameFor()
1999-07-02 04:46:19 +00:00
waterson%netscape.com
602b1c37bf
Add GetIID().
1999-06-30 19:28:16 +00:00
akkana%netscape.com
830cc10614
- New dialog and editor shell API for Insert HTML Source
...
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
troy%netscape.com
6f27fbf17d
Work-in-progress for having GetPrimaryFrameFor() use a hash table
1999-06-30 04:42:26 +00:00
scc%netscape.com
d049be3c31
Added |GetIID()|
1999-06-29 20:28:56 +00:00
warren%netscape.com
163cf1930c
Fixed necko ifdef.
1999-06-29 00:25:46 +00:00
warren%netscape.com
f6b9d3a028
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren%netscape.com
2f5289766d
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
warren%netscape.com
6fc20cbcd6
More necko changes.
1999-06-25 01:53:22 +00:00
troy%netscape.com
c36412d39d
Fix for bug #7397 . Changed space manager to allows negative values
...
for rect regions
1999-06-24 02:04:50 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
akkana%netscape.com
e1b3dd32f4
Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell
1999-06-22 21:47:45 +00:00
peterl%netscape.com
3ea70e2838
added font flag
1999-06-22 19:15:16 +00:00
mjudge%netscape.com
9eccad5750
up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
1999-06-19 20:36:44 +00:00
peterl%netscape.com
77c5e95f16
added UseForMedium (for faster medium testing)
1999-06-15 06:14:31 +00:00
peterl%netscape.com
e11c6c3a5c
added new create child namespace
1999-06-15 06:14:09 +00:00
buster%netscape.com
7df4e2eafc
added support for getting and setting default background and font info
1999-06-12 22:31:57 +00:00
mjudge%netscape.com
1e4bbda958
fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
...
MJ
1999-06-10 21:08:17 +00:00
peterl%netscape.com
5af713b6eb
removed equals and hashvalue methods
1999-06-10 05:17:27 +00:00
kostello%netscape.com
af8311bbc4
Akkana set up a service for encoding a document.
...
This checkin adds the implementations for encoding
HTML and plain text:
nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)
Hooked these services into the nsHTMLEditor implemenation
We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
joki%netscape.com
6f1a265019
Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
1999-06-08 02:19:26 +00:00
akkana%netscape.com
411b9335fd
Add Init method to pass in the document and mime type
1999-06-08 00:01:55 +00:00
akkana%netscape.com
b6db890d57
Split document encoder's Encode() method into a stream method and a string method
1999-06-07 19:32:36 +00:00
akkana%netscape.com
7eb99ffcd0
Checking in the non-dangerous parts of the XIF document/html encoder
1999-06-04 01:04:08 +00:00
alecf%netscape.com
1e37044d42
first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods
1999-06-02 02:06:32 +00:00
peterl%netscape.com
7a42466c4f
changed style rule API to use array
1999-05-26 23:44:32 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
mjudge%netscape.com
1dd2a01b0e
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
dp%netscape.com
b41cf27c0b
Caret files moved from base/
1999-05-19 19:17:07 +00:00
peterl%netscape.com
7f1229b1e3
added insert style sheet method
1999-05-18 23:02:25 +00:00
mjudge%netscape.com
341678533a
adding in selection of non text frames in editor only
1999-05-17 00:21:18 +00:00
mjudge%netscape.com
c3a95cdcf8
adding back in keyboard navigation. removing const from peekoffset to stop the const creep
1999-05-13 00:43:47 +00:00
sfraser%netscape.com
4dbf2e2517
IncrementModCount now takes a PRInt32 (this fixes broken builds).
1999-05-12 22:55:29 +00:00
vidur%netscape.com
b4df3c05f2
Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
1999-05-11 20:22:35 +00:00
karnaze%netscape.com
8c8a7b20d9
added htmlFrameInnerFrame, htmlFrameOuterFrame types
1999-05-10 22:48:47 +00:00
mjudge%netscape.com
85afd8f29d
massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
1999-05-07 21:12:59 +00:00
sfraser%netscape.com
8acf9c950a
Export nsIDiskDocument.h
1999-05-07 04:55:40 +00:00
sfraser%netscape.com
95227d0c57
First Checked In.
1999-05-07 04:55:18 +00:00
kipp%netscape.com
bac6d20dba
Moved from webshell directory
1999-05-06 19:25:10 +00:00
kipp%netscape.com
0bb4277e75
Added headers
1999-05-06 19:24:57 +00:00
cyeh%netscape.com
8f54a21774
backout mjudge checkin against closed tree. it also breaks mac as well, so
...
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
fd79ce63e6
adding new state to nsRangeList to track mousedown and dragging criteria. much better than static variables in nsFrame.h!!
1999-05-05 22:32:58 +00:00
kipp%netscape.com
65cdccc7b5
new
1999-05-05 20:42:51 +00:00
pinkerton%netscape.com
7b8852653a
added GetIID() method.
1999-04-30 08:59:11 +00:00
mjudge%netscape.com
a0d0de9287
m5 BUGS Choffman approved. simon reviewed. fixing selection bug and removing unecessary methods in nsIFocusTracker.h
1999-04-29 20:23:24 +00:00
peterl%netscape.com
2b285cd149
added background propogated flag
1999-04-28 01:51:02 +00:00
kipp%netscape.com
7a01b8257d
Added letter and line frame
1999-04-27 22:07:22 +00:00
kipp%netscape.com
2563115d70
Added an (as yet unused) predicate
1999-04-27 22:07:02 +00:00
sfraser%netscape.com
737fd431d8
WIP to get caret position in window coordinates for IME
1999-04-27 21:59:18 +00:00
ftang%netscape.com
1301749405
change S/GetDocumentCharacterSet method for nsIDocument interface.
1999-04-27 21:49:25 +00:00
mjudge%netscape.com
75dd0e4936
selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order.
1999-04-26 04:02:04 +00:00
troy%netscape.com
91a6cd064a
Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
...
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
kipp%netscape.com
8465645893
Added CancelReflowCommand
1999-04-23 19:57:03 +00:00
scc%netscape.com
c1ef45e70e
Added required GetIID methods
1999-04-23 16:48:32 +00:00
troy%netscape.com
8b67ee696e
Added placeholderFrame atom
1999-04-23 14:32:12 +00:00
mcafee%netscape.com
4664594ec9
Removing NEW_CLIPBOARD_SUPPORT ifdef.
1999-04-22 07:03:14 +00:00
troy%netscape.com
045a0b2411
Changed values for NS_STYLE_BG_ATTACHMENT_SCROLL and NS_STYLE_BG_ATTACHMENT_FIXED
...
so it was clear that they weren't bit fields
1999-04-21 22:01:18 +00:00
troy%netscape.com
e393875682
Added positionedInlineFrame atom
1999-04-20 18:27:37 +00:00
troy%netscape.com
31513f3c98
Added blockFrame and inlineFrame
1999-04-20 18:20:52 +00:00
peterl%netscape.com
54b128c5f6
widened content state change api
...
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com
b352defc23
split font style mapping from regular style mapping
1999-04-15 21:23:05 +00:00
kipp%netscape.com
f74faad028
Revised api
1999-04-13 21:49:01 +00:00
kipp%netscape.com
de8a24f843
Revised image loading apis
1999-04-13 21:48:49 +00:00
kipp%netscape.com
09e3b583b6
Added a bit to speed up frame destruction
1999-04-13 21:48:35 +00:00
sfraser%netscape.com
5580c81090
nsIDOMSelection[Listener].h have moved to dom/public/range/
1999-04-13 01:29:25 +00:00
sfraser%netscape.com
3acb74809c
File Removed.
1999-04-13 01:28:49 +00:00
troy%netscape.com
9553d83a84
Removed Join() function from nsFrameList, because we already has a version
...
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
waterson%netscape.com
8736393378
Added GetIID() method so this can be used with nsCOMPtr.
1999-04-12 18:08:43 +00:00
mcafee%netscape.com
7e09613cf6
Finishing clipboard ifdef so we can remove the old clipboard.
1999-04-07 03:56:07 +00:00