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

428 Коммитов

Автор SHA1 Сообщение Дата
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
peterl%netscape.com 09faabfab1 added include & class definitions to make include safe 1999-02-05 03:55:55 +00:00
troy%netscape.com bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com 57a05a9fe7 Added temporary method until sync i/o works 1999-02-04 16:26:01 +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
kipp%netscape.com 527870f36f Added ReflowDirty reflow command 1999-02-03 19:08:07 +00:00
peterl%netscape.com 763f6a8dde made visible an int instead of bool 1999-02-02 03:24:23 +00:00
sfraser%netscape.com dc69b753a1 Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp 1999-02-02 02:13:09 +00:00
mjudge%netscape.com d8dc98b1ba commas trailing on enum illegal even if vc50 says its ok 1999-02-02 01:16:57 +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
kipp%netscape.com 64610329f0 Cleaned up comments; removed ReplaceFrame from the API 1999-02-01 17:25:30 +00:00
akkana%netscape.com 6db99a172d Add IsCollapsed; add collapsed case to DeleteFromDocument 1999-01-30 01:02:44 +00:00
akkana%netscape.com 1f23bcc408 Fixing my build horkage ... forgot this file. Very sorry! 1999-01-29 20:08:38 +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 fd60d0f87e Added helper function IsAbsolutelyPositioned() to nsStylePosition 1999-01-27 05:35:54 +00:00
troy%netscape.com 303956b39c Added nsLayoutAtoms::fixedList for specifying the name of the additional
child list for 'fixed' elements
1999-01-27 03:48:39 +00:00
mjudge%netscape.com 5ac012630e 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
ftang%netscape.com 3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
mjudge%netscape.com 58db313754 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection 1999-01-25 01:42:34 +00:00
peterl%netscape.com 0a224a2382 simplified setting doc style sheets (set now manages ordering) 1999-01-23 07:01:02 +00:00
peterl%netscape.com 50635cc188 added accessors to get & set alternate style sheets 1999-01-23 07:00:39 +00:00
peterl%netscape.com b8cf627e7d added header data accesors 1999-01-23 07:00:10 +00:00
vidur%netscape.com ae6e5a8019 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 769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
kostello%netscape.com 20ddd08b9c Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
danm%netscape.com e90a90f02e build XUL 1999-01-21 03:40:21 +00:00
troy%netscape.com e875904fe9 Added additional parameter to GetNext() that allows peeking at the next
frame in the reflow command
1999-01-20 05:10:12 +00:00
vidur%netscape.com 5fed996e8a Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position 1999-01-19 03:54:26 +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
harishd%netscape.com 0c5b75e5d4 Added two new border style defines that
would be used later.
1999-01-15 22:24:29 +00:00
peterl%netscape.com 609b48d91d added GetBaseURL
Checkin during red tree approved by sar
1999-01-15 01:53:50 +00:00
peterl%netscape.com 9da8904e62 added style hint "none"
Checkin during red tree approved by sar
1999-01-15 01:53:03 +00:00
kipp%netscape.com 6302998324 Added append/insert/remove/replace methods 1999-01-15 01:28:28 +00:00
vidur%netscape.com 895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
troy%netscape.com 036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
vidur%netscape.com 274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
kipp%netscape.com 1de1edbd74 Added defines and comments indicating which parts of the frames reflow state are reserved 1999-01-09 00:11:40 +00:00
kipp%netscape.com 6d30c6dc81 Added missing forward decl of nsIAtom 1999-01-09 00:11:10 +00:00
karnaze%netscape.com c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com 53c57c79a1 Added BackgroundIsTransparent() member function to nsStyleColor 1999-01-08 01:13:34 +00:00
karnaze%netscape.com c111662c1f Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
troy%netscape.com 4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com b3ad196bb0 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
troy%netscape.com c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
jfrancis%netscape.com bb23b3dbd6 more dom range gravity work 1998-12-30 08:28:16 +00:00
buster%netscape.com 8ba2100bef added mInsideNeighbor to nsBorderEdge, allowing fast access for an outside edge to
it's neighboring inside edge.  value is undefined for inside edges.
1998-12-30 06:46:35 +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
buster%netscape.com cf19e79625 added mOutsideEdge to nsBorderEdges 1998-12-23 15:49:48 +00:00
brade%netscape.com 0dd08f1cf8 remove extra comma to reduce Macintosh compiler warnings 1998-12-21 16:40:46 +00:00
buster%netscape.com fd891ec74c added mLength to nsBorderEdge 1998-12-21 06:35:45 +00:00
peterl%netscape.com 3cf603abf4 added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +00:00
peterl%netscape.com 8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com babdb0cd05 changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy%netscape.com 452402c73d Fixed a compiler warning where there was an extra ',' after an enum
identifier
1998-12-18 05:46:00 +00:00
scc%netscape.com ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
buster%netscape.com 72c29a43f2 added nsBorderEdge and nsBorderEdges 1998-12-17 22:58:23 +00:00
kipp%netscape.com 7dd8fb7af7 Made nsBandTrapezoid::GetRect const 1998-12-17 18:49:39 +00:00
jfrancis%netscape.com 94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com 2917ee35b3 Add ; after class definition 1998-12-17 01:42:02 +00:00
buster%netscape.com f4e91e426d oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
shaver%netscape.com 30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
mjudge%netscape.com 2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
mjudge%netscape.com e10c799ca9 adding focus tracker 1998-12-14 18:31:13 +00:00
troy%netscape.com 0f30b926d8 Added isTopOfPage to nsIFrameReflow 1998-12-12 17:57:47 +00:00
kipp%netscape.com 6c31b2d1f4 Repaired frame-util IID 1998-12-11 15:47:09 +00:00
peterl%netscape.com e78daf2f3e added name space atoms 1998-12-11 02:31:51 +00:00
peterl%netscape.com fdc2207d84 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com c1e7017b88 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com 51b1c4ae5a added namespace accessor 1998-12-11 02:30:08 +00:00
kipp%netscape.com b19096bdb2 Added nsIFrameUtil to the exports 1998-12-10 18:03:26 +00:00
kipp%netscape.com 242fb3636f Added nsIFrameUtil.h 1998-12-10 18:01:29 +00:00
troy%netscape.com d5d22e04da Added print options for controlling whether odd and even pages are printed 1998-12-10 03:07:11 +00:00
buster%netscape.com e89fff43d2 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +00:00
troy%netscape.com 7ec6a2c281 Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
kipp%netscape.com e9ff25188b new 1998-12-09 03:31:08 +00:00
mjudge%netscape.com 35b965b62b changes to selection 1998-12-08 18:25:47 +00:00
harishd%netscape.com fd7938df80 Added NS_STYLE_HAS_BORDER_COLOR (0x80) 1998-12-07 18:46:02 +00:00
harishd%netscape.com cd4bfa41a8 Made mBorderStyle and mBorderColor arrays as protected members
and added functions GetBorderStyle(), GetBorderColor(), SetBorderStyle(),
SetBorderColor(), and ClearBorderStyleHightBit() in nsStyleSpacing.
1998-12-07 18:44:02 +00:00
troy%netscape.com 52b5bcc79f Initial check-in 1998-12-07 04:05:12 +00:00
troy%netscape.com e89b2bc6c9 Added support for printing multiple pages 1998-12-07 03:43:02 +00:00
kipp%netscape.com c1eb0f7ec4 Start enums at zero so that debug noise can map them to strings safely 1998-12-05 15:57:40 +00:00
ramiro%netscape.com e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
troy%netscape.com 4f5fc0524a Added a comment about view creation 1998-12-04 06:13:18 +00:00
mjudge%netscape.com 704c2833fe new collection export instead of nsISelection 1998-12-03 21:42:58 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
troy%netscape.com f5bcd75d8b Added PrintContext class and changed document viewer impl to use it instead
of a galley mode context
1998-12-02 03:21:55 +00:00
peterl%netscape.com 78bc2e40d8 added nslayoutatoms.h 1998-12-02 00:29:42 +00:00
peterl%netscape.com e224ac9762 new file 1998-12-02 00:29:29 +00:00
peterl%netscape.com 7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
peterl%netscape.com c60ac1b70f added medium accessor 1998-12-02 00:28:57 +00:00
akkana%netscape.com 0b7b85b6f7 nsIRangeList shouldn't have been here. Fix build bustage 1998-12-01 19:34:50 +00:00
leaf%mozilla.org 00a6607eaf adding nsIRangeList.h to exports list 1998-12-01 19:08:02 +00:00
mjudge%netscape.com dd4fb641ca removing nsIRangeList.h 1998-12-01 17:56:56 +00:00
mjudge%netscape.com 4924d1abcf removing nsIRangeList.h 1998-12-01 17:55:58 +00:00
mjudge%netscape.com f188fd1549 should fix unix 1998-11-30 02:11:00 +00:00
jfrancis%netscape.com dbcb515611 adding nsIRangeList.h 1998-11-29 22:45:27 +00:00
mjudge%netscape.com bb0f05ac0d nsIRangeList.h 1998-11-29 22:35:13 +00:00
mjudge%netscape.com 12c6c5946a exporting nsIRangeList.h 1998-11-29 22:02:50 +00:00
kipp%netscape.com 4635fb5dac XPCOMize more of the API; added Stop method 1998-11-26 18:08:44 +00:00
kipp%netscape.com bffc589afc whitespace tweak 1998-11-26 18:08:27 +00:00
peterl%netscape.com e2fb1e2c1e added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com 6c90c991c0 added style sheet properties 1998-11-26 01:24:32 +00:00
cyeh%netscape.com 65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +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
peterl%netscape.com 9d95cfa114 remove style_cursor_inherit 1998-11-18 02:08:45 +00:00
peterl%netscape.com 7675978299 fixed comment 1998-11-18 02:08:30 +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
buster%netscape.com e46627bcf6 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
michaelp%netscape.com 7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
buster%netscape.com f4b68564d6 col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur%netscape.com 8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
rickg%netscape.com c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
kipp%netscape.com d30dab65fb Removed the unused GetReflowMetrics method (it may come back in a different form some day) 1998-11-10 18:00:08 +00:00
troy%netscape.com 527ee073f8 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 6e8a40b6ce Added GetChildListName() member function 1998-11-10 04:31:02 +00:00
troy%netscape.com 9d8145f033 Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com 081c78e696 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
troy%netscape.com c58917a92f That part about the frame deleted reflow command being a list was a
bit overzealous. It can't be. Maybe at some point we'll have an
argument that specifies the number of frames to delete
1998-11-08 00:26:56 +00:00
troy%netscape.com 4fea1d817c Added some comments clarifying that appended, inserted, and deleted reflow
commands take a child list (i.e. more than one frame)
1998-11-08 00:24:40 +00:00
troy%netscape.com 3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
peterl%netscape.com bed7b77103 added min/max width/height 1998-11-06 00:48:14 +00:00
peterl%netscape.com ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 13bdbc9c30 decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
peterl%netscape.com 44408018b3 added pseudo element tag 1998-11-03 20:15:59 +00:00
peterl%netscape.com 2f5892eda7 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
kipp%netscape.com 413e835d6a Added NS_FRAME_OUTSIDE_CHILDREN bit 1998-10-30 22:04:56 +00:00
cls%seawood.org 411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
peterl%netscape.com 1f6f1f1426 added reparent method 1998-10-27 03:03:02 +00:00
vidur%netscape.com 68fbf6a357 Added additional parameter to nsIContent::SetDocument. The document now tells content to lose its weak reference before the document goes away. Elements and text now add their script objects as roots so they don't get collected prematurely. 1998-10-26 23:26:01 +00:00
peterl%netscape.com c881331d86 added defines for CSS2 properties 1998-10-26 23:13:44 +00:00
peterl%netscape.com f431cf0082 moved side defines to nsStyleConsts 1998-10-26 23:13:14 +00:00
michaelp%netscape.com 5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
kipp%netscape.com f13b83273b Revised API to use TextFragment's 1998-10-20 00:19:17 +00:00
kipp%netscape.com 3f35c2f7ed Added new header 1998-10-20 00:19:01 +00:00
kipp%netscape.com 206b0ecefe new 1998-10-20 00:17:17 +00:00
troy%netscape.com 6be0630937 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
peterl%netscape.com eab54339c6 Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value
1998-10-13 01:05:52 +00:00
dcone%netscape.com 5fdee83f89 update to include a file needed for nsBrowserWindow 1998-10-12 18:01:16 +00:00
troy%netscape.com de48854939 Moved nsStyleConsts.h from src->public, and reinstated IsBlockLevel()
member function
1998-10-09 20:54:22 +00:00
buster%netscape.com 16097e1a58 backed out troy's changes to fix the build 1998-10-09 19:55:02 +00:00
troy%netscape.com e6ef40f73f Added IsBlockLevel() inline member function 1998-10-09 17:53:36 +00:00
troy%netscape.com c724e3393f Rearranged member functions to better group child frame enumeration related
functions
1998-10-08 21:03:59 +00:00
troy%netscape.com d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00