Commit Graph

500 Commits

Author SHA1 Message Date
peterl%netscape.com
1460522396 comments on sheet/rule ordering 1998-09-02 02:00:24 +00:00
peterl%netscape.com
ef15112377 COMified 1998-09-02 02:00:05 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
warren%netscape.com
4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com
c983bef350 Fixed porting bug when porting to xpcom'd nsIContent API 1998-08-31 16:09:06 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
rods%netscape.com
ad87b994a1 Fixed up some of the selection methods 1998-08-28 16:02:33 +00:00
rods%netscape.com
78631b45db Added FindNext method 1998-08-28 15:59:24 +00:00
rods%netscape.com
40296b5ea1 Adjusted the method signatures on most of the Selection methods 1998-08-28 15:58:37 +00:00
rods%netscape.com
3e6872d273 Added FindNext Method for Find/Search 1998-08-28 15:57:59 +00:00
troy%netscape.com
6cb09b5132 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
michaelp%netscape.com
ca017f19d0 DeleteFrame() now takes a pres context. 1998-08-28 03:02:39 +00:00
michaelp%netscape.com
1be78b877e added support for view observer. 1998-08-28 02:54:06 +00:00
michaelp%netscape.com
b595789ff2 DeleteFrame() now takes a pres context. now uses view's setclientdata(). 1998-08-28 02:52:54 +00:00
michaelp%netscape.com
cccee92638 deleteframe() now takes a pres context. 1998-08-28 02:50:17 +00:00
michaelp%netscape.com
342c9f13ca made resizereflow() an ns_imethod. 1998-08-28 02:49:49 +00:00
michaelp%netscape.com
558f6ef045 changed to pass in prescontext to deleteframe(). 1998-08-28 02:49:15 +00:00
troy%netscape.com
cfeab4e543 More changes to nsIDeviceContext interface 1998-08-27 22:45:35 +00:00
troy%netscape.com
4b29cb414e API change to nsIDeviceContext 1998-08-27 20:45:56 +00:00
troy%netscape.com
c8e5750085 More API changes to nsIDeviceContext 1998-08-27 20:43:04 +00:00
troy%netscape.com
6d2245e203 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
troy%netscape.com
0d39ae026f Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
peterl%netscape.com
1361e6230c reversed sheet/rule ordering
added backstop rule count
1998-08-27 00:47:15 +00:00
peterl%netscape.com
0b78c480f4 commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
peterl%netscape.com
7924ed75b2 added backstop rule count 1998-08-27 00:46:13 +00:00
michaelp%netscape.com
dbd23b1190 killed viewmanager SetRootWindow() call. 1998-08-26 21:24:19 +00:00
joki%netscape.com
46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
troy%netscape.com
8f260929b1 Re-ordered code that adds loader object to the array of loaders 1998-08-19 18:07:27 +00:00
troy%netscape.com
c3adb596d7 Changed call to UpdateView() to be synchronous. This keeps us from
going re-entrant
1998-08-19 17:45:28 +00:00
troy%netscape.com
8b23990b90 Changed destructor to Interrupt() image group before realeasing reference 1998-08-18 01:43:35 +00:00
vidur%netscape.com
824d631d5e Implemented document.location. 1998-08-13 19:08:01 +00:00
joki%netscape.com
ec9313f3d7 Move disassociation of frame from view up from destructor to DeleteFrame to prevent event entrance during destruction 1998-08-10 02:28:23 +00:00
joki%netscape.com
b45f46d744 Partial fix for frame based and general memory leaks of webshells and prescontexts 1998-08-09 07:43:22 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
vidur%netscape.com
b1f5f748ae Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement. 1998-08-07 23:08:00 +00:00
rods%netscape.com
8dace2bf02 Shift click (without first clicking) no longer crashes the viewer 1998-08-07 20:15:36 +00:00
rods%netscape.com
41198541c5 Select All no turns on selection in the document and renders it selected. 1998-08-07 20:14:39 +00:00
kipp%netscape.com
8a88e31cb1 Landed changes made on branch (bug #312572) 1998-08-06 19:52:48 +00:00
rods%netscape.com
cc8fe3270d Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)
1998-08-06 16:29:45 +00:00
joki%netscape.com
98d57cce13 Fix links not working. 1998-08-06 07:55:05 +00:00
rods%netscape.com
7dcb5fc234 Additional selection changes 1998-08-05 22:38:24 +00:00
karnaze%netscape.com
8cdf00711c support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero 1998-08-05 22:24:56 +00:00
rods%netscape.com
34c7b49f32 Fixed a warning in SelectAll 1998-08-05 22:23:03 +00:00
karnaze%netscape.com
f76f781af8 form submission on carriage return in some cases; replaced NS_RELEASE with NS_IF_RELEASE in nsFrame destructor 1998-08-04 18:19:51 +00:00
vidur%netscape.com
856891ed81 Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection. 1998-08-04 00:05:22 +00:00
rods%netscape.com
d2d63295af Fixed the release problem on shell and doc and added a default paramenter to
Display Selection
1998-08-03 23:39:16 +00:00
rods%netscape.com
e5af87628b Small selection fix, force update when frane changes but content stays the same. 1998-08-03 22:53:27 +00:00
rods%netscape.com
283a8c963e Added ref counting for nsIContent and made a a lot of fixes to selection 1998-08-03 22:22:27 +00:00
rods%netscape.com
b2aa449610 Added ref counting on nsIContent and changed select all to only select the body
and it's content
1998-08-03 22:21:53 +00:00
rods%netscape.com
7ca2c5414e Added ref counting on nsIContent 1998-08-03 22:20:41 +00:00
rods%netscape.com
c09f6b9e1b Added ref counting 1998-08-03 22:19:40 +00:00
kipp%netscape.com
799ce8db71 Use FirstChild method so that implementation can be reused by subclasses 1998-08-03 17:06:42 +00:00
troy%netscape.com
09c36ef1f5 Device context changes 1998-08-03 04:51:17 +00:00
troy%netscape.com
7f199e117a Added NS_IF_RELEASE of mImage 1998-08-02 17:03:08 +00:00
joki%netscape.com
849a2287e6 Fix bug 311157, mouseover crashes release builds. 1998-08-02 04:15:08 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
joki%netscape.com
fa57426559 Filling out document event handlers, adding form events 1998-07-31 22:09:51 +00:00
joki%netscape.com
fe390a0803 Adding support for event handlers in html tags and moving event handler IIDs to central file. 1998-07-31 18:21:37 +00:00
peterl%netscape.com
094f51e1e6 renamed LoadImage 1998-07-31 05:59:31 +00:00
peterl%netscape.com
9dc8df6594 connected prefs
added compatibility mode
1998-07-31 05:54:59 +00:00
buster%netscape.com
1ed0f3ea0a LengthOf defined in both debug and non-debug builds 1998-07-31 01:40:21 +00:00
michaelp%netscape.com
4ce7ab5a99 improved performance of background rendering. 1998-07-30 23:31:42 +00:00
troy%netscape.com
97f44b821e Removed assertion in image complete code that assumed we have gotten at
least one pixmap update notification
1998-07-30 22:24:11 +00:00
buster%netscape.com
d0afc21169 fixed non-Debug build by making LengthOf part of both debug and non-Debug builds 1998-07-30 19:54:17 +00:00
troy%netscape.com
a4ab4c3b6f Added XXX comment about the lack of proper ref counting... 1998-07-30 17:30:44 +00:00
kipp%netscape.com
7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp%netscape.com
d36f453987 When debugging allow zero width/height frames to render; do not render show-borders around them however 1998-07-29 19:33:00 +00:00
rods%netscape.com
820bcabd0b removed DO_SELECTION #define 1998-07-27 23:20:35 +00:00
michaelp%netscape.com
b636c3052c made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
kostello%netscape.com
62bfa2bc37 Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces
1998-07-27 18:05:35 +00:00
kostello%netscape.com
72d5a37b2b Changed XIF interface 1998-07-27 18:04:04 +00:00
kostello%netscape.com
d6527ec8ad Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
1998-07-27 18:03:16 +00:00
kipp%netscape.com
657c9d59c5 Added NS_NewImageDocument 1998-07-27 17:51:42 +00:00
troy%netscape.com
7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
joki%netscape.com
98a6e7f5d1 Fix for missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:15 +00:00
peterl%netscape.com
d6a3e2103a added Nav's magic font scaler 1998-07-25 01:11:49 +00:00
vidur%netscape.com
92e85525b5 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes 1998-07-25 00:31:52 +00:00
joki%netscape.com
f85ed9ce71 Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
troy%netscape.com
bf11c1e307 CHanged Invalidate() to pass the NS_VMREFRESH_NO_SYNC flag. Temporary
measure to keep us from painting before the DidReflow() notifications
have been sent...
1998-07-24 00:01:53 +00:00
vidur%netscape.com
8547dd423c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
dcone%netscape.com
9d2025a71d added manifest file 1998-07-23 22:05:51 +00:00
dcone%netscape.com
8bd0bfe854 first version of manifest for this directory 1998-07-23 20:31:35 +00:00
peterl%netscape.com
b14b73ba93 added font flags 1998-07-23 17:57:16 +00:00
peterl%netscape.com
4ee7bc6970 added setters for default colors 1998-07-23 17:57:00 +00:00
peterl%netscape.com
1029878fc9 removed threed text hack, added font flags 1998-07-23 17:55:02 +00:00
joki%netscape.com
ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
vidur%netscape.com
ec8c40eeed Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName. 1998-07-22 23:32:19 +00:00
rods%netscape.com
4f54ff6d69 turning off debug 1998-07-22 22:01:46 +00:00
rods%netscape.com
cd71f097d6 selection improvements 1998-07-22 22:00:23 +00:00
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