rods%netscape.com
c76178e6cd
turned off the flushing of reflows when an option item is removed
...
b 28593, r=vidur,troy
git-svn-id: svn://10.0.0.236/trunk@61803 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:33:41 +00:00
pollmann%netscape.com
a3b50445fa
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
rods%netscape.com
b9030c84e0
setting flush flag to false, so it doesn't flush everytime an item is added
...
r=vidur b=27498
git-svn-id: svn://10.0.0.236/trunk@60949 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:45:26 +00:00
rods%netscape.com
503225ca70
They now cache their state properly in the PresState
...
b 21945 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:04:38 +00:00
rods%netscape.com
b7b372274e
now remembers single selects correctly, have not implemented it for mulitple
...
selects yet, but this check in get mail work, multiple is needed for bugzilla
b=21945, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60599 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:26:24 +00:00
waterson%netscape.com
e0f132e842
Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@59757 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:41:03 +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
vidur%netscape.com
825e97e024
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
...
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +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
rods%netscape.com
1dd43b69a7
the call to Init was in the wrong place
...
b 23697 r=dcone
git-svn-id: svn://10.0.0.236/trunk@57552 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:02:12 +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
joki%netscape.com
46824fda78
Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55265 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:22:21 +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
rods%netscape.com
73b63eb2a5
added boolean in DoneAddingContent method
...
git-svn-id: svn://10.0.0.236/trunk@54013 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 16:09:32 +00:00
rods%netscape.com
aff2ad4caa
Should always return true, the caching of the "true" value is most important. Failing on getting the
...
preshell or frames should not be passed back.
r=self, bug 18784
git-svn-id: svn://10.0.0.236/trunk@53440 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 00:35:35 +00:00
rods%netscape.com
77cd5a0de0
Added method "DoneAddingContent" to notify the select that all the chiild are there
...
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
git-svn-id: svn://10.0.0.236/trunk@53257 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:13:20 +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
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
affe441405
Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1, even before widget created.
...
git-svn-id: svn://10.0.0.236/trunk@47947 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:24:02 +00:00
rods%netscape.com
276489690c
No retreievs item 0 when nothing is selected and return the proper value, or lable or content when item is selected
...
git-svn-id: svn://10.0.0.236/trunk@46858 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:54:24 +00:00
pollmann%netscape.com
d57cbacf48
Removing some dead code.
...
git-svn-id: svn://10.0.0.236/trunk@46187 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 18:35:30 +00:00
rods%netscape.com
a3696c4a31
Put in check for null a mOptions and return zero for GetLength
...
git-svn-id: svn://10.0.0.236/trunk@44675 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:48:59 +00:00
rods%netscape.com
9b3d301a91
The index of the option being deleted needs to be remembered before the it is removed from the list
...
git-svn-id: svn://10.0.0.236/trunk@44496 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:44:49 +00:00
pollmann%netscape.com
b351bc6391
Split out AddOption/RemoveOption(), plus warning cleanups.
...
git-svn-id: svn://10.0.0.236/trunk@44370 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:02:42 +00:00
pollmann%netscape.com
1aaebcf448
Bug 3285: Update impl files to return correct type
...
git-svn-id: svn://10.0.0.236/trunk@43965 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 02:57:29 +00:00
pollmann%netscape.com
77b365a874
Bug 3256: Scroll frame into view when form element receives focus.
...
git-svn-id: svn://10.0.0.236/trunk@43917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:19:34 +00:00
vidur%netscape.com
3c5bfb7cde
Added form searching for form controls that are newly created and added to the tree.
...
git-svn-id: svn://10.0.0.236/trunk@41432 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:26:55 +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
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
pollmann%netscape.com
7ff45ac8f5
Bug 2195: select[n] == select.options[n], new implementation for nonstandard DOM interface
...
git-svn-id: svn://10.0.0.236/trunk@35675 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:19:08 +00:00
vidur%netscape.com
9c6cbaff82
Implemented Set/GetValue for Select elements
...
git-svn-id: svn://10.0.0.236/trunk@35269 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:14:17 +00:00
vidur%netscape.com
518d3ab653
Fix for bug 4050 - problem with HTMLSelectElement::Add(). Fix reviewed by Eric Pollmann and approved by CYeh.
...
git-svn-id: svn://10.0.0.236/trunk@32424 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 21:50:14 +00:00
pollmann%netscape.com
b6fa9960a1
Bug 3187: Add frame notification on option creation and destruction.
...
git-svn-id: svn://10.0.0.236/trunk@32252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:46:25 +00:00
pollmann%netscape.com
d11280c6a1
Bug 3187: Adding an IndexOf method to nsOptionList. We'll use this in the option constructor and destructor (1 of 3)
...
git-svn-id: svn://10.0.0.236/trunk@32215 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:11:48 +00:00
pollmann%netscape.com
90b1164b81
Enabling SIZE attribute change for selects.
...
git-svn-id: svn://10.0.0.236/trunk@32211 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:03:02 +00:00
pollmann%netscape.com
56257e3041
Enabling MULTIPLE attribute change for selects.
...
git-svn-id: svn://10.0.0.236/trunk@32210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:59:06 +00:00
kmcclusk%netscape.com
7972adcafd
bug #5993 . Removed references to nsIWidget in form HTML content elements. the form elements
...
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
git-svn-id: svn://10.0.0.236/trunk@31518 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:45:40 +00:00
vidur%netscape.com
84b015a4c2
Added precaching of images for script constructed images.
...
git-svn-id: svn://10.0.0.236/trunk@30607 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:08:21 +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
d669c2bb5b
Crash fix: Kill an extra NS_RELEASE in GetSelectedIndex
...
git-svn-id: svn://10.0.0.236/trunk@29560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:17:57 +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
joki%netscape.com
6c59f19391
New api's into nsEventStateManager for content state change (hover,focus,active)
...
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
joki%netscape.com
e62bbe65fe
Adding new tab handling and focus support.
...
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
pollmann%netscape.com
2aa51a7e02
Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340
...
git-svn-id: svn://10.0.0.236/trunk@22517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:31:17 +00:00