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

163 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com c514b25e3b Switched over to new nsIGenericTransferable 1999-04-17 13:51:42 +00:00
mcafee%netscape.com 3dc8a10efc Removing //#define NEW_CLIPBOARD_SUPPORT 1999-04-16 17:36:33 +00:00
joki%netscape.com f9441b5b56 Commenting out selection flashing stuff. 1999-04-13 23:42:58 +00:00
joki%netscape.com f6b9ad3e7e Fix blinking selection on mouseover 1999-04-13 23:34:58 +00:00
kipp%netscape.com 24ff6b20c1 Fixed a slight bug with handling error codes 1999-04-13 21:50:47 +00:00
troy%netscape.com a4baddf3dc Fix for bug #4824. Added NULL pointer checks in GoToAnchor() 1999-04-09 04:28:15 +00:00
mcafee%netscape.com 616c553b24 Finishing clipboard ifdef so we can remove the old clipboard. 1999-04-07 03:56:07 +00:00
rods%netscape.com e7d6ba8fd3 Commented out NEW_CLIPBOARD_SUPPORT 1999-04-07 01:38:49 +00:00
rods%netscape.com 46393b489c Turning on new clipboard support 1999-04-06 23:05:59 +00:00
troy%netscape.com 8c0d3b76c9 Changed FindFrameWithContent() to ignore frames associated with
generated content
1999-04-06 04:29:31 +00:00
kipp%netscape.com cd79fa3505 Set link handler so that style resolves properly for links around things like images 1999-04-03 21:54:32 +00:00
kipp%netscape.com b693a7061b Made verifyreflow work again 1999-04-03 18:58:04 +00:00
sfraser%netscape.com 806972e747 Fix build bustage 1999-04-02 01:14:30 +00:00
sfraser%netscape.com 1b7bc2f98b Added a method to the pres shell to control enabling clients to turn the caret on and off. 1999-04-01 23:58:11 +00:00
rods%netscape.com 9e20dd4d27 Changed the clipboard support to use the new XIF Converter class and added more
error checking (this is all ifdef'ed at the moment)
1999-04-01 14:22:00 +00:00
joki%netscape.com 1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
rods%netscape.com e0fd185fb8 Change DoCopy for new clipboard support to put XIF on clipboard 1999-03-26 15:51:07 +00:00
kipp%netscape.com 60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
mcafee%netscape.com 2813616d59 Renamed GetTransferable() to GetData() 1999-03-25 23:39:03 +00:00
mcafee%netscape.com 1abf0a76b3 Initializing some variables, protecting against null dereferences for new cut & paste platforms (gtk). 1999-03-24 09:06:37 +00:00
rods%netscape.com 210717718e Added new clipboard support, it is ifdef'ed out in the DoCopy method 1999-03-23 21:32:48 +00:00
vidur%netscape.com 695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
kostello%netscape.com 33b523aed4 Added implementation for nsIHTMLContentSink::DoFragment() 1999-03-15 05:11:43 +00:00
mjudge%netscape.com 26d8cc3a13 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
vidur%netscape.com 634e324575 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
jfrancis%netscape.com bcb1651103 adding mAnchorFrame to the ClearFrameRefs call 1999-03-08 01:22:37 +00:00
kipp%netscape.com 8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
sfraser%netscape.com 092b04689b Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
akkana%netscape.com 0664eb6e9a Fix potential leak of content sink 1999-03-02 00:47:43 +00:00
akkana%netscape.com 48dcd3da7a Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell 1999-03-01 19:21:01 +00:00
vidur%netscape.com cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
peterl%netscape.com 006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
kipp%netscape.com 960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com 760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 1abf79d0f1 Removed dependency on static constructors; implement operatore delete 1999-02-26 17:08:48 +00:00
buster%netscape.com 70608d9f51 added GetStyleContextFor 1999-02-25 19:55:06 +00:00
mjudge%netscape.com 73b74bd729 Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course 1999-02-21 19:43:40 +00:00
mjudge%netscape.com 4190f9d7be adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge%netscape.com bbd3667ca9 Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly 1999-02-20 23:52:05 +00:00
buster%netscape.com 5d4f949e92 the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team
1999-02-20 21:27:28 +00:00
mjudge%netscape.com fb3a597e8a 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
buster%netscape.com a7658c739f work-in-progress for scrolling frames into view. Not called anywhere in layout yet. 1999-02-19 23:43:41 +00:00
buster%netscape.com 488d53c3f2 added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view. 1999-02-18 22:52:21 +00:00
troy%netscape.com 912d59f314 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
kipp%netscape.com 19695398af Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782) 1999-02-13 17:49:42 +00:00
sfraser%netscape.com a99f1c6f2c Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell. 1999-02-13 04:45:44 +00:00
troy%netscape.com 0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com 1c116ce1a6 Added GoToAnchor() 1999-02-12 05:39:33 +00:00
sfraser%netscape.com ef131779ca Fix selection bustage, which was a post-merge error on my part. 1999-02-12 00:27:44 +00:00
sfraser%netscape.com 2a8b787470 Add code to show a caret (#ifdeffed out for now) 1999-02-12 00:02:56 +00:00
akkana%netscape.com 7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
buster%netscape.com 83125f838e added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
mjudge%netscape.com d6da223dbd 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 034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 9d570499cf 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 2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com c0d9d4be04 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com c30862656d Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy%netscape.com b3b5969d0f #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
troy%netscape.com b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
vidur%netscape.com b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
mjudge%netscape.com cd2d3d137c 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
akkana%netscape.com eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com 55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
peterl%netscape.com 62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
troy%netscape.com efc7c95a53 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com 56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
mjudge%netscape.com 769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge%netscape.com dd0328320e selection should work now more or less 1999-01-19 06:42:39 +00:00
mjudge%netscape.com 34430366b2 Files for selection across frames. 1999-01-18 22:57:12 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy%netscape.com f332dc3305 Re-committing my fucking changes... 1999-01-13 00:38:29 +00:00
cltbld%netscape.com 89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com 72f689c40f Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release
1999-01-12 23:17:20 +00:00
troy%netscape.com b9a4ba7918 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
troy%netscape.com 487a0952b3 Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com 583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com 7b5cc03059 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
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge%netscape.com 2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com 57ae70eb65 When verify-reflow-all is enabled, update the display after each reflow and pause for a while 1998-12-12 19:21:05 +00:00
mjudge%netscape.com 948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
troy%netscape.com e89b2bc6c9 Added support for printing multiple pages 1998-12-07 03:43:02 +00:00
buster%netscape.com 58dc37167f added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
wtc%netscape.com 59b32f50ef This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
kipp%netscape.com 5b4b437bb3 Fixed verify reflow to avoid creating reflow commands during a verify reflow 1998-11-26 18:11:02 +00:00
peterl%netscape.com e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
kipp%netscape.com 2e9a075c19 Brought verify-reflow back to life 1998-11-25 18:41:02 +00:00
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
joki%netscape.com b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy%netscape.com 79aed9646d Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com 65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 77fd9c2652 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
vidur%netscape.com 026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00