41 Commits

Author SHA1 Message Date
rods%netscape.com
d1ce8ef517 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60598 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:24:19 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
rods%netscape.com
1107f1b419 returning the correct return code instead of NS_OK
r=dcone, no bug


git-svn-id: svn://10.0.0.236/trunk@59416 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:42:19 +00:00
pollmann%netscape.com
036af632b7 Bug 14419 (1 of 4): Fix typo!
git-svn-id: svn://10.0.0.236/trunk@57890 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:21:51 +00:00
pollmann%netscape.com
706c1afd62 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57873 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:42:56 +00:00
jdunn%netscape.com
b9ad524691 Fix somemore of slamm's warnings
r= rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57712 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:19:20 +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
rods%netscape.com
5f2a780227 Fixing the updating of the frame for when the label changes (i.e. via script)
sends back a reflow hint. It also checks to see if the primary frame is a combobox
and asks it to refresh its display
r=kmcclusk bug 19373 (PDT+)


git-svn-id: svn://10.0.0.236/trunk@55659 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:10:34 +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
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
warren%netscape.com
93c11dbc7d Added NS_LOG_RELEASE for bloat stats. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50393 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:28:14 +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
9352028510 Minor cleanup of nsHTMLOptionElement::SetSelected method.
git-svn-id: svn://10.0.0.236/trunk@47817 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 20:00:51 +00:00
rods%netscape.com
39f9de7ab3 changed the way white space was being compress when getting the value
now a value of all spaces does get compressed to nothing


git-svn-id: svn://10.0.0.236/trunk@46388 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:57:24 +00:00
pollmann%netscape.com
2908644b55 Opps!
git-svn-id: svn://10.0.0.236/trunk@44877 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:59:28 +00:00
pollmann%netscape.com
96e8d86713 Warning cleanups and Bug 12350
git-svn-id: svn://10.0.0.236/trunk@44735 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:59:49 +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
vidur%netscape.com
7251e24c58 Added nsISelectElement interface. Added support for nsIJSNativeInitializer interface for images and options. Fixed SELECT and OPTION relationship. Added support for the Option constructor.
git-svn-id: svn://10.0.0.236/trunk@30203 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:53:26 +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
pollmann%netscape.com
f72ee9a9a9 Fix Bug 3878: Get the form element from our containing select element.
Also, remove a spurioius NS_RELEASE that was causing crashes in GetSelected()


git-svn-id: svn://10.0.0.236/trunk@29481 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:58:15 +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
pollmann%netscape.com
0562064d12 Bugs 4714 4533 4387. A: Chofmann R: Harishd
git-svn-id: svn://10.0.0.236/trunk@26846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:47:49 +00:00
karnaze%netscape.com
445fa80194 bug 4382 - comments inside <option>
git-svn-id: svn://10.0.0.236/trunk@25677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:59:06 +00:00
kmcclusk%netscape.com
4bd141876c gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
pollmann%netscape.com
af6fe42eb6 Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame)
git-svn-id: svn://10.0.0.236/trunk@22516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:26:29 +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
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
pollmann%netscape.com
59abb71e8d Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex.
git-svn-id: svn://10.0.0.236/trunk@19063 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:28 +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
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
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
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
karnaze%netscape.com
ea20d275db initial fieldset, legend content classes. minor cleanup on form control content.
git-svn-id: svn://10.0.0.236/trunk@11476 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:42 +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