Commit Graph

360 Commits

Author SHA1 Message Date
rods%netscape.com
7ddb2ebda5 selection improvements 1998-07-22 21:56:48 +00:00
troy%netscape.com
302ac6c6d4 Fixed it so backgrounds are properly tiled again 1998-07-22 18:34:14 +00:00
troy%netscape.com
048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com
789a2dbe45 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
troy%netscape.com
25d601cd32 Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines
1998-07-21 09:30:03 +00:00
troy%netscape.com
6fb2009eec Changed it so image frames don't have a view, and turned on transparent
images
1998-07-19 05:48:46 +00:00
kipp%netscape.com
1476a300de Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com
bcda4bfa7d Disabled selection noise with an ifdef 1998-07-18 21:44:11 +00:00
rods%netscape.com
85654e2b32 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +00:00
rods%netscape.com
54786e9833 made minor changes to selection 1998-07-18 18:18:20 +00:00
rods%netscape.com
5c972347e3 exported nsSelectionPoint.h 1998-07-18 18:17:08 +00:00
troy%netscape.com
adf40001e6 Eliminated some unnecessary image rendering 1998-07-18 15:26:03 +00:00
rods%netscape.com
f05c4a6bf9 turned off selection 1998-07-18 14:03:43 +00:00
kostello%netscape.com
e7dee8f2f4 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
rpotts%netscape.com
589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
peterl%netscape.com
d2bf561219 added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
peterl%netscape.com
2122fae9c9 added default fixed pitch font & default colors 1998-07-17 05:41:41 +00:00
peterl%netscape.com
a0fe56c7cd added fixed pitch font, added content pointer 1998-07-17 05:41:02 +00:00
joki%netscape.com
db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
troy%netscape.com
43549900ba Added a #if 0 around the code to turn on transparent images 1998-07-17 04:41:35 +00:00
troy%netscape.com
20e203fb53 Sets the frame's view to indicate transparency if an image
associated with the frame is transparent
1998-07-17 03:43:46 +00:00
troy%netscape.com
0f8921d050 Fixed some more nsColor.h captitalization problems 1998-07-16 17:09:26 +00:00
kipp%netscape.com
a030caaa7d Fixed include 1998-07-16 05:04:01 +00:00
troy%netscape.com
8a3882d546 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
troy%netscape.com
a90f1b6cbd Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created
1998-07-16 02:32:08 +00:00
troy
d660868bc2 Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
711c31863c Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy
a90fe8e1de Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp
847827aa89 Handle null pointers better 1998-07-15 00:23:31 +00:00
kostello
213a328a93 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
kostello
33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kostello
f9fa8c6055 Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
vidur
1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
kipp
e531368a89 Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp
8ff38eadd5 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp
21059331cd Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp
2432218467 updated a few comments 1998-07-13 19:49:07 +00:00
kipp
473f3e0175 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp
bdc1ff0f5b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
kipp
3fdb071728 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views 1998-07-10 20:27:43 +00:00
kipp
7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy
97ae834b23 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
troy
6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
kipp
5bb77d7e59 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
jevering
afde6be6e3 Fixed optimized build. 1998-07-07 22:07:35 +00:00
kipp
37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp
7125b57c68 Fixed up logging to use the frame logging 1998-07-02 21:26:00 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
kipp
93a84a0358 Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage. 1998-06-30 20:12:23 +00:00
kipp
925e12fa74 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
kipp
b04bd31883 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
kipp
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp
b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl
b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
kipp
52519ae680 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp
e23973dc33 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp
fc85edd770 Revised page size computation 1998-06-25 15:05:35 +00:00
kipp
03930d69e0 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp
3147b0e1a7 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
troy
fb859a6264 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur
e25cc5bd2b Added js dependency 1998-06-23 19:11:22 +00:00
vidur
b5f413930d Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
rpotts
58123235cc Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
troy
a89d59bb51 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
karnaze
505cf9d7ac fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
troy
948d7d756a Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
troy
b66023d41f Reduced the number of polygon calls 1998-06-17 22:14:20 +00:00
buster
288d645ae3 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
atotic
5b6d6015b1 First Checked In. 1998-06-15 22:13:46 +00:00
spider
ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
buster
f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl
91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl
cddb45ae76 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl
9c18b6fa69 added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
peterl
2c0fe9653c changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
peterl
29b60dc6ff added flag to force return of unique style context 1998-06-05 05:58:20 +00:00
kipp
e058ce04b6 Removed ReflowChild that handles space manager (troy can stop nagging me now :-) 1998-06-04 23:08:24 +00:00
kipp
748fce93e0 removed blather code 1998-06-04 20:41:14 +00:00
kipp
10364f001e Draw a different colored border when showing visual frame boundaries if the frame has a view 1998-06-04 17:47:30 +00:00
kmcclusk
ec03ab29c7 Added nsFrameImageLoader to the unix make 1998-06-03 23:44:08 +00:00
michaelp
9f71c8886e added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kipp
d6d26b8295 Added logging events 1998-06-03 18:55:23 +00:00
kipp
c900a1196c declare and implement revised content api 1998-06-03 15:48:14 +00:00
kipp
f31e8fd941 Init fEntireContent 1998-06-03 15:47:48 +00:00
kipp
55edd67670 Declare factory here for now 1998-06-03 15:47:34 +00:00
kipp
1493956e90 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
kipp
ddc78890a7 Implement COMized document observer API; added logging of doc observer methods 1998-06-03 15:46:54 +00:00
kipp
349cdb5768 Tell document that content changed not shell's 1998-06-03 15:46:04 +00:00
kipp
2d08a4ac14 Display view during listings 1998-06-03 15:45:48 +00:00
kipp
5aac2c535d Decleare BeginLoad/EndLoad 1998-06-03 15:45:36 +00:00
kipp
81d74eee6a Pass on Begin/End Load to observers; removed selection factory method 1998-06-03 15:45:25 +00:00