Граф коммитов

202 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com a13ab1bbcf adding back in keyboard navigation. removing const from peekoffset to stop the const creep. changing peekoffset to do the right thing for content based peeking... 1999-05-13 00:44:23 +00:00
kipp%netscape.com fea30bc4eb Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
mjudge%netscape.com d1a79ef279 2 more checkins to follow previous ones 1999-05-07 21:19:04 +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
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 1feb64d52c removing static variables from nsFrame for selection. storing state in nsIFrameSelection Implementation. 1999-05-05 22:27:57 +00:00
kipp%netscape.com 6797e11f82 Removed a compiler warning 1999-05-03 20:51:30 +00:00
mjudge%netscape.com 05804e7429 m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon 1999-04-29 20:24:21 +00:00
kipp%netscape.com 4bc35ca479 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kin%netscape.com 4cd147a086 Fix from mjudge@netscape.com for bug #5505 (Crash clicking on throbber in apprunner) 1999-04-26 19:38:22 +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
rickg%netscape.com 0d1b06ca19 sync with nsString2 API 1999-04-20 07:20:21 +00:00
kipp%netscape.com 47b8e9a5dd Updated to new nsIHTMLReflow method signatures 1999-04-20 00:26:32 +00:00
kipp%netscape.com 022ebc1833 Use revised image loading api 1999-04-13 21:51:00 +00:00
joki%netscape.com 26b45c4762 New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
kipp%netscape.com da97d410cf Added SetClipRect helper method 1999-04-10 17:32:22 +00:00
kipp%netscape.com fab8db134e Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl%netscape.com 78240897f9 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp%netscape.com f7b3921a2c Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
mjudge%netscape.com a876641fd7 I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this. 1999-03-16 00:08:38 +00:00
mjudge%netscape.com 33739be53c fix hack for getting selection to "Really" update the frame 1999-03-14 01:18:47 +00:00
mjudge%netscape.com dabafbc386 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
mjudge%netscape.com 098064a40c fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
kipp%netscape.com da63a4ae6d Removed dead code; output rects naturally 1999-03-05 04:22:54 +00:00
mjudge%netscape.com b2dcf8b115 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
kipp%netscape.com 4a28dcfe2b fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com cfa5bbce41 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 2a7e5e3d17 Implement operator delete; get rid of static constructor 1999-02-26 17:05:20 +00:00
troy%netscape.com f19915b56d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com dfdacc8159 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com 8dfabdf1a8 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com 72301876ca Revised the signature of the VerticalAlignFrames method 1999-02-23 19:32:20 +00:00
warren%netscape.com 3642da81a5 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mjudge%netscape.com f3a99f20af Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge%netscape.com 22e51f8412 Shift click to continue selection 1999-02-21 01:23:40 +00:00
mjudge%netscape.com c61751911a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
kipp%netscape.com 5ce6265190 Removed GetAutoMarginSize; added VerticalAlignFrames 1999-02-18 03:25:23 +00:00
mjudge%netscape.com 53c6e919fe fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
troy%netscape.com 7b2012fca2 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser%netscape.com 9400d14672 Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
akkana%netscape.com bf0baf8027 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
troy%netscape.com b27d9f730e API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
mjudge%netscape.com bca382f43e Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com c37ccfbc4c Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 5c3d1395f3 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com b8965b6929 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com a9159f71d6 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com 40e3d2b1c8 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com c9c1fa187e Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com 5b60b34507 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
kipp%netscape.com 173bbe4a4b Revamp regression data dumping 1999-02-08 17:56:00 +00:00
peterl%netscape.com a38abd1588 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
kipp%netscape.com 908a5b24a1 tweak so font-lock in emacs works better 1999-02-04 16:28:36 +00:00
kipp%netscape.com 5b08bcf05f Removed a couple of warnings 1999-02-03 19:10:03 +00:00
mjudge%netscape.com a4343fe08c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
kipp%netscape.com f6044f00eb Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
mjudge%netscape.com 9ea4d88ecc adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
troy%netscape.com 28791b98c1 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com 6a4a691b03 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
mjudge%netscape.com 33caf160ac selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge%netscape.com a34ad659b1 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge%netscape.com 6fe445a624 selection should work now more or less 1999-01-19 06:42:39 +00:00
kipp%netscape.com 06d2d8efb3 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com 91d41ccbaa Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame 1999-01-15 01:29:15 +00:00
troy%netscape.com 5d8b4656eb Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com 8ac6e31715 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
akkana%netscape.com 82c8536d57 Attempt to patch mac build error 1998-12-18 21:04:33 +00:00
kipp%netscape.com 12fb04dd78 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
kipp%netscape.com 27f0cfe8cc Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge%netscape.com 209f6c6d41 adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com 743b55214a Moved a #if 0 to get rid of a compiler warning 1998-12-12 19:19:48 +00:00
mjudge%netscape.com c549a78e51 chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge%netscape.com bb7e789293 new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
joki%netscape.com 09cd62b18e Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
kipp%netscape.com 398f20c00a Walk up the content-parent so that style is applied appropriately for cursor selection 1998-11-23 22:20:50 +00:00
kipp%netscape.com 9ba745a7a8 Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
kipp%netscape.com a66a18832e Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
kipp%netscape.com 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com c3708b2ed8 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
kipp%netscape.com ae98b19f78 Eliminated NewFrame 1998-11-14 19:28:34 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com 978ab18324 Removed GetReflowMetrics 1998-11-10 18:03:42 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy%netscape.com 6d88f202dd Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com bdb87c7e07 sync to style resolution api changes
added reresolve support
1998-11-03 20:23:15 +00:00
kipp%netscape.com c3702acb50 Added MoveInSpaceManager stub 1998-10-30 22:11:47 +00:00
kipp%netscape.com 959e709bf4 Added methods to support justification 1998-10-27 16:51:21 +00:00
troy%netscape.com f7430c8872 Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
whether the view is automatically positioned and sized to stay in
sync with the frame
1998-10-16 20:09:32 +00:00
kipp%netscape.com 28f8cdcf94 Removed skid marks; implement FindTextRuns again 1998-10-09 23:46:02 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
troy%netscape.com f095846367 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 7b7efc8d89 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com 8b034f4950 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
troy%netscape.com 5a65eb2714 Moved some files around 1998-09-30 21:01:11 +00:00