vidur%netscape.com
db8c33a342
Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@58908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:51:54 +00:00
danm%netscape.com
612df1ea60
notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands
...
git-svn-id: svn://10.0.0.236/trunk@58685 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:24:41 +00:00
nisheeth%netscape.com
26ad5f5255
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
vidur%netscape.com
d562441874
Removing warnings. a=don r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@56444 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:47:15 +00:00
vidur%netscape.com
e8816c32e3
Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
jband%netscape.com
191411b358
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
tbogard%aol.net
067920c238
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
peterl%netscape.com
f3c05f912b
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
git-svn-id: svn://10.0.0.236/trunk@50919 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 04:05:59 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
99aaa55232
Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
...
git-svn-id: svn://10.0.0.236/trunk@50066 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:04 +00:00
pollmann%netscape.com
aa3c74501a
Leak fix.
...
git-svn-id: svn://10.0.0.236/trunk@47103 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 06:18:09 +00:00
kipp%netscape.com
ee40827af0
Nuked some warnings
...
git-svn-id: svn://10.0.0.236/trunk@44917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:43:33 +00:00
pollmann%netscape.com
553c2ed0ef
Warning cleanups.
...
git-svn-id: svn://10.0.0.236/trunk@44371 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:03:34 +00:00
pollmann%netscape.com
02711c3435
Bug 3285: Implement Item() method on Form Element content object.
...
git-svn-id: svn://10.0.0.236/trunk@43889 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:15:40 +00:00
peterl%netscape.com
4c73c7609e
Cleaned up attribute parsing so that illegal values are preserved as strings
...
git-svn-id: svn://10.0.0.236/trunk@40994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:55:35 +00:00
vidur%netscape.com
ec6663824d
Forms can now be container content.
...
git-svn-id: svn://10.0.0.236/trunk@40735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:28:16 +00:00
peterl%netscape.com
c4bfbf18ff
reworked attribute storage to seperate attributes mapped in to style from
...
those that aren't
This lets the style system optimize style contexts better.
git-svn-id: svn://10.0.0.236/trunk@38541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:24:40 +00:00
sfraser%netscape.com
171ff185dc
Comment out nsTraceRefCnt lines, which should really be debug only.
...
git-svn-id: svn://10.0.0.236/trunk@35919 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:51:14 +00:00
vidur%netscape.com
3035417772
Fix for bug 6154. Unqualified references in the context of a form are now resolved.
...
git-svn-id: svn://10.0.0.236/trunk@35215 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:09:25 +00:00
dp%netscape.com
f626086d60
XPCOM: Addref() and Release() usage fixed.
...
git-svn-id: svn://10.0.0.236/trunk@30132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:38:21 +00:00
peterl%netscape.com
ae015c0f0f
split font style mapping from regular style mapping
...
git-svn-id: svn://10.0.0.236/trunk@27701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:23:05 +00:00
nisheeth%netscape.com
e3f2944049
- Changed name of getter function for style hints to GetStyleHintForAttributeChange().
...
- Plugged in style hint for changes to the <HR NOSHADE> attribute.
git-svn-id: svn://10.0.0.236/trunk@20724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 06:42:44 +00:00
troy%netscape.com
176116b148
Fixed some errors related to switch to using nsCOMPtr
...
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
vidur%netscape.com
d81e61b1ff
Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
...
git-svn-id: svn://10.0.0.236/trunk@17775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:14:02 +00:00
troy%netscape.com
43b0f05bb3
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
...
git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:18 +00:00
peterl%netscape.com
52a0043631
sync to new attribute api
...
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
nisheeth%netscape.com
51147256cd
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.
...
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
vidur%netscape.com
c0cd474b21
Fixed unitialized value problem.
...
git-svn-id: svn://10.0.0.236/trunk@15655 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:34:44 +00:00
karnaze%netscape.com
dbdc6ce081
fixed bug 1504 (memory leak of select elements)
...
git-svn-id: svn://10.0.0.236/trunk@15254 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 18:54:26 +00:00
kipp%netscape.com
f797cb3825
Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros
...
git-svn-id: svn://10.0.0.236/trunk@13946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:08:02 +00:00
karnaze%netscape.com
d89b691fba
implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
...
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 23:00:37 +00:00
vidur%netscape.com
a0e09b1568
Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs
...
git-svn-id: svn://10.0.0.236/trunk@13207 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:07:23 +00:00
vidur%netscape.com
78019ab5b6
Reimplemented nsiDOMNSHTMLFormElement interface on form class
...
git-svn-id: svn://10.0.0.236/trunk@12090 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:41:47 +00:00
karnaze%netscape.com
ea90ff591e
Converted forms to use the new content model classes and better separate content from layout.
...
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00
peterl%netscape.com
c728b9f01f
changed the way map attributes into is connected
...
git-svn-id: svn://10.0.0.236/trunk@9412 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:00:06 +00:00
kipp%netscape.com
18a14d6bf5
Implement StringToAttribute/AttributeToString/MapAttributesInto; fix up name of embedded object
...
git-svn-id: svn://10.0.0.236/trunk@9261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:21:32 +00:00
kipp%netscape.com
af61e4b99f
Spanked
...
git-svn-id: svn://10.0.0.236/trunk@9173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:53:16 +00:00