Commit Graph

311 Commits

Author SHA1 Message Date
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
rods%netscape.com
cdc4c9ba17 Added better default processing of hint 1998-12-21 13:29:32 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
michaelp%netscape.com
166576867e Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.
1998-12-18 19:02:36 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
karnaze%netscape.com
00b411a715 added remaining dom methods 1998-12-18 17:05:17 +00:00
jfrancis%netscape.com
22ca77073e More range gravity work 1998-12-18 02:51:34 +00:00
rods%netscape.com
3612ea4cf4 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods%netscape.com
5cf287a727 Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
jfrancis%netscape.com
94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
rods%netscape.com
fc330ef44a Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +00:00
kipp%netscape.com
b4dfff8ca9 Added absmiddle to table halign values 1998-12-15 17:58:59 +00:00
kipp%netscape.com
a39ac58396 Map align=center to auto side margins 1998-12-15 17:58:45 +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
peterl%netscape.com
89bc03aa78 added namespace support 1998-12-11 02:42:38 +00:00
nisheeth%netscape.com
c6ed34297d Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes. 1998-12-10 23:52:46 +00:00
kipp%netscape.com
c6165333cd Added some code to handle illegal color values more compatabibly 1998-12-10 17:50:43 +00:00
buster%netscape.com
5c7381007f an even cleaner implementation of InsertRow 1998-12-09 23:30:06 +00:00
buster%netscape.com
519de93eaa fixed nsHTMLTableElement::InsertRow() 1998-12-09 23:19:12 +00:00
buster%netscape.com
80cbbfefb7 cellspacing split out into x and y, HTML attribute sets both to same value 1998-12-09 06:36:32 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
harishd%netscape.com
267a36eda9 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 18:56:29 +00:00
harishd%netscape.com
555757d651 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:55:19 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
mjudge%netscape.com
ee9dc5ef18 changing use of selection 1998-12-03 21:45:26 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
vidur%netscape.com
83b0609315 Fixed unitialized value problem. 1998-12-03 00:34:44 +00:00
peterl%netscape.com
12fda54c43 added inline style rule accessor 1998-12-02 00:34:31 +00:00
peterl%netscape.com
70114e4809 moved body fixup rule into content 1998-12-02 00:34:06 +00:00
vidur%netscape.com
6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
vidur%netscape.com
0057b5d23e Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag. 1998-11-28 23:51:06 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
karnaze%netscape.com
0a820f9aa3 fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +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
rickg%netscape.com
e0364847d4 fixed call to ToInteger() to respect the error code 1998-11-24 02:39:36 +00:00
kipp%netscape.com
c4b343a879 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's) 1998-11-24 00:11:54 +00:00
kipp%netscape.com
ac882d2ee0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
kipp%netscape.com
987a73cf0a Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events 1998-11-23 17:45:00 +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
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
kipp%netscape.com
c73e99e135 Removed a compiler warning 1998-11-20 17:21:22 +00:00
buster%netscape.com
90252c33df handles "height" attribute 1998-11-20 01:03:45 +00:00
buster%netscape.com
3795eaac7c Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.
1998-11-18 22:10:02 +00:00
buster%netscape.com
da354a499c impl of DOM table.deleteRow 1998-11-18 06:30:13 +00:00
buster%netscape.com
9f0bc3a6db impl for DOM table.InsertRow 1998-11-18 06:06:37 +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
buster%netscape.com
387c75adf8 impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption 1998-11-17 23:09:59 +00:00
buster%netscape.com
63d84c5b52 new module 1998-11-17 22:20:59 +00:00
buster%netscape.com
148fd4ca84 renamed TableElementCollection to GenericElementCollection, and factored it into
it's own module for reuse.
1998-11-17 21:40:38 +00:00
buster%netscape.com
d14f0035d3 implementation of rows() and tBodies() 1998-11-17 16:32:29 +00:00
buster%netscape.com
573ce4b643 work in progress for full DOM support for tables 1998-11-16 23:31:24 +00:00
kipp%netscape.com
aadaf47fc1 Added some more null-pointer checking to DOM methods 1998-11-14 22:51:43 +00:00
kipp%netscape.com
973c0a528c Eliminated NewFrame 1998-11-14 19:28:34 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
karnaze%netscape.com
1eafba94d2 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
vidur%netscape.com
d011a88573 Generic HTML collection base class 1998-11-13 22:30:23 +00:00
kipp%netscape.com
9fb85819e5 Fixed a memory leak with text editing 1998-11-12 23:31:38 +00:00
joki%netscape.com
b1ee1a8ae9 Fix bug where the DOM event bubbling process was overriding previous event status codes. 1998-11-12 21:35: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
f1f2518804 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes. 1998-11-12 07:54:12 +00:00
vidur%netscape.com
c896ffad62 Got rid of bogus dependency on XMLContent 1998-11-12 07:06:47 +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
buster%netscape.com
ce19ab8f3c support for frame and rules attribute 1998-11-11 19:56:02 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
vidur%netscape.com
c23c7bfe96 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi) 1998-11-09 17:51:18 +00:00
kipp%netscape.com
0332290e01 Repaired marginwidth/marginheight handling code 1998-11-09 17:51:05 +00:00
kipp%netscape.com
4cfeba185c Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html 1998-11-09 16:21:18 +00:00
troy%netscape.com
bb2f772b6d Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy%netscape.com
386299e3aa Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
kipp%netscape.com
f221b92e8c Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros 1998-11-03 01:08:02 +00:00
joki%netscape.com
7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
kipp%netscape.com
3216b924ef Support hspace/vspace properly 1998-10-31 22:45:39 +00:00
troy%netscape.com
b6d7f0aa2f Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak
1998-10-31 04:00:25 +00:00
karnaze%netscape.com
30d32c04dc preliminary support to keep text, radio, checkbox dom access in sync with widgets 1998-10-30 20:41:01 +00:00
buster%netscape.com
03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +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
troy%netscape.com
5e7aaac2fc Attempt to fix Unix builds. Evidently the #define copied from a VC++ header
file is particular to Microsoft's compiler. Bastards...
1998-10-23 17:14:27 +00:00
troy%netscape.com
d5a29f7d19 Turned back on support for LAYER element 1998-10-23 04:20:08 +00:00
karnaze%netscape.com
2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
vidur%netscape.com
f9e3760137 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
kipp%netscape.com
bd1e15f745 Revised to use a nsTextFragment to store the content 1998-10-20 00:20:04 +00:00
karnaze%netscape.com
98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
kipp%netscape.com
ffeabc6d7d Removed unused include 1998-10-15 22:37:38 +00:00
buster%netscape.com
e28895d594 fixed queryInterface to return *DOM interface 1998-10-14 16:30:24 +00:00
karnaze%netscape.com
c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
peterl%netscape.com
3e2cfb20c5 set correct border style 1998-10-13 19:10:25 +00:00
kipp%netscape.com
13e54f058a Work around another unitialized-memory-read bug where sometimes (not sure why!) aEventStatus would not get set ever 1998-10-09 22:59:41 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
peterl%netscape.com
a2308e718a use loose hex to rgb color conversion for color parsing 1998-10-08 01:28:18 +00:00
vidur%netscape.com
a0254879da Reimplemented nsiDOMNSHTMLFormElement interface on form class 1998-10-06 21:41:47 +00:00
kipp%netscape.com
e3978b70e8 Support onPaint 1998-10-06 21:01:59 +00:00
vidur%netscape.com
7cff1485c8 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
peterl%netscape.com
6a3deaaf54 use new get value as string api 1998-09-30 01:09:19 +00:00
karnaze%netscape.com
1ff298f608 fixed case sensitive include for unix 1998-09-30 00:55:03 +00:00
peterl%netscape.com
f822141a76 added hint to attribute change notification 1998-09-29 23:48:38 +00:00
karnaze%netscape.com
7ee57f6697 initial fieldset, legend content classes. minor cleanup on form control content. 1998-09-29 23:22:42 +00:00
kipp%netscape.com
67ed81afc4 Parse OL/UL type=A|a|I|i properly 1998-09-29 22:34:30 +00:00
vidur%netscape.com
446dec40b6 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged. 1998-09-28 21:22:31 +00:00
kipp%netscape.com
7f13524496 Only set margins if auto/undefined margins are present 1998-09-28 18:51:23 +00:00
vidur%netscape.com
d97097b600 More leak fixes 1998-09-26 00:44:40 +00:00
vidur%netscape.com
b4fc446c94 Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com
30286f0567 Fixed attribute atom typo 1998-09-25 00:01:08 +00:00
kipp%netscape.com
a7c647f26c Eliminate SetAttr/UnsetAttr; use standard 3arg version now; leave the attribute impl macros alone for now; pass on attribute changes to the document when aNotify is PR_TRUE 1998-09-24 21:35:52 +00:00
kipp%netscape.com
a53b4e8abb Pass through notify argument with UnsetAttribute method 1998-09-24 21:34:56 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
kipp%netscape.com
1b4505ed58 Added a reminder XXX 1998-09-23 02:33:04 +00:00
kipp%netscape.com
855bc5bdea Removed dead includes 1998-09-23 02:32:43 +00:00
buster%netscape.com
6b5085a487 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
buster%netscape.com
259db0bd26 added "center" to table horizontal align attribute as a legal value, although the HTML4 spec
says "middle" for h-align and "center" for v-align.  But Nav4 and IE both accept "center" as
well as "middle", so now we do too.
1998-09-21 18:34:30 +00:00
buster%netscape.com
0b05aed482 made sure that all attributes respect their minimum values as per HTML 4 spec.
fixed some comments.
1998-09-18 22:39:16 +00:00
troy%netscape.com
fcf1a1dcdb Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com
f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
troy%netscape.com
29e5156e14 Removed nsIContentDelegate.h 1998-09-18 17:34:48 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
rpotts%netscape.com
1a83dade2e Fixed up usage of the NS_RELEASE2(...) macro. 1998-09-17 05:40:57 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
vidur%netscape.com
4e3024a5f9 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
peterl%netscape.com
bf2b6c453c fixed bugs dealing with string color values 1998-09-17 00:18:57 +00:00
joki%netscape.com
357c55b191 More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
buster%netscape.com
0c4fcf7d17 added table content interfaces 1998-09-15 18:07:54 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
vidur%netscape.com
d60e612731 Got rid of Construct method from nsIJSScriptObject interface. Added first-pass implementation of reflow case to nsGenericHTMLElement::SetAttr. 1998-09-14 23:02:32 +00:00
rpotts%netscape.com
63abdfe9cb Fixed some reference counting problems introduced by the rev 1.20 check in... 1998-09-14 05:43:54 +00:00
kipp%netscape.com
ec78a6e659 Work around crash bug with content delegate 1998-09-12 23:30:23 +00:00
kipp%netscape.com
f877659693 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
peterl%netscape.com
d02547b4ea properly release doc & style sheet when setting attributes 1998-09-12 02:42:44 +00:00
kipp%netscape.com
1ea6fd9a4e inlined IsSynthetic implementation AND made it work 1998-09-11 05:38:25 +00:00
kipp%netscape.com
a375a19cac Check in of somewhat bogus handling of the notify values (which is going away!) 1998-09-11 04:16:18 +00:00
peterl%netscape.com
4701208437 added strength api to style rule 1998-09-11 02:07:58 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
vidur%netscape.com
8269741cd1 Got rid of extra release in Item() method of childNodes array of nsGenericHTMLContent 1998-09-10 17:51:30 +00:00
vidur%netscape.com
c9f606883d Fixes to get Rotate.html working 1998-09-10 17:11:46 +00:00
peterl%netscape.com
edfb66c664 added to string support for style= attributes 1998-09-10 01:15:23 +00:00
karnaze%netscape.com
1c1a6dacaf converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
vidur%netscape.com
71ddfaa36d Added nsIJSScriptObject interface to nsGenericHTMLContent class and fixed element.childNodes 1998-09-09 21:02:42 +00:00
rods%netscape.com
4a4b4a34b2 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com
6f9831d646 Implement HandleDOMEvent properly; clean up whitespace 1998-09-08 22:37:46 +00:00
kipp%netscape.com
320b3c0b16 Use NS_NewBodyFrame and NS_NewHTMLFrame 1998-09-08 22:37:24 +00:00
kipp%netscape.com
a35948217a Fixed linux compiling bugs 1998-09-06 04:16:22 +00:00
kipp%netscape.com
6f9dedccda Cleaned up some whitespace 1998-09-06 00:19:49 +00:00
kipp%netscape.com
833260255c Expose NS_QuoteForHTML; remove duplicate frame ctor method decls 1998-09-06 00:19:14 +00:00
kipp%netscape.com
ecd28a1c73 Layer on top of nsGenericDOMData for full implementation 1998-09-06 00:18:43 +00:00
kipp%netscape.com
620e6b4220 Added nsTextNode 1998-09-06 00:18:26 +00:00
kipp%netscape.com
b4eebb5585 new 1998-09-06 00:16:36 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
vidur%netscape.com
ab080b4586 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00