828 Commits

Author SHA1 Message Date
pollmann%netscape.com
9a16283fc1 Bug 10434: legend.form now returns form that legend is contained in. r=buster
git-svn-id: svn://10.0.0.236/trunk@60380 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:17:31 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
jst%citec.fi
57a7c3b745 Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:58:26 +00:00
vidur%netscape.com
9198644f07 Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60029 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:32:23 +00:00
vidur%netscape.com
f2c41d8947 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
git-svn-id: svn://10.0.0.236/trunk@60016 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:12:59 +00:00
buster%netscape.com
9445b8c79b bug 26241
all I did was initialize an out-param.  no reviewer.


git-svn-id: svn://10.0.0.236/trunk@59994 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 15:50:25 +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
warren%netscape.com
f4aedeeabf Propagating return code. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59724 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:06:56 +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
attinasi%netscape.com
3be1b31aba Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze


git-svn-id: svn://10.0.0.236/trunk@59456 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:15:04 +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
saari%netscape.com
8b71d64469 Fix for bug 22264. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59150 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:05:03 +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
pollmann%netscape.com
9ba6b9f387 Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods
git-svn-id: svn://10.0.0.236/trunk@59108 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:36 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
hyatt%netscape.com
6ab345a11d Making input and text area elements bindable using XBL.
git-svn-id: svn://10.0.0.236/trunk@58911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:01:49 +00:00
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
vidur%netscape.com
d762cfe609 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki
git-svn-id: svn://10.0.0.236/trunk@58790 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:52:41 +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
0fc1688c1d changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58605 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:38:49 +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
hyatt%netscape.com
000188b782 Fix for a minor little bug I introduced into GetChecked (that only happened with
trees).  Thanks to jdunn for spotting it.  r=matejka, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@58260 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:18:57 +00:00
vidur%netscape.com
3d5874d107 Missed necessary cleanup in last checkin. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58193 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:34:07 +00:00
vidur%netscape.com
f935ba8afa Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58192 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:29:04 +00:00
tor%cs.brown.edu
88a2a05091 build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
git-svn-id: svn://10.0.0.236/trunk@57971 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 17:06:08 +00:00
brade%netscape.com
d11ba75c81 initialize all fields of mouseEvent; r=joki
git-svn-id: svn://10.0.0.236/trunk@57945 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:22:09 +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
vidur%netscape.com
0a0f3496b6 Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
git-svn-id: svn://10.0.0.236/trunk@57888 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:02:27 +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
pollmann%netscape.com
c082b8b9d4 Fix warning r=harishd
git-svn-id: svn://10.0.0.236/trunk@57871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:41:27 +00:00
hyatt%netscape.com
f9a7976334 Partial fix for 18604. r=pav
git-svn-id: svn://10.0.0.236/trunk@57814 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:57:31 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +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
karnaze%netscape.com
ff253260b5 bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
git-svn-id: svn://10.0.0.236/trunk@57635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:29:38 +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
rods%netscape.com
81946ff625 click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@57417 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:33:36 +00:00
pollmann%netscape.com
9184319076 Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd
git-svn-id: svn://10.0.0.236/trunk@57077 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:54:23 +00:00
pollmann%netscape.com
87cfdd40c4 Bug 21768: always release mForm in SetForm to prevent leak. r=harishd
git-svn-id: svn://10.0.0.236/trunk@57073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:41:51 +00:00
vidur%netscape.com
64f5d889e2 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57043 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:19:41 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
54d2a3169c Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56917 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:10:06 +00:00
jfrancis%netscape.com
798e103ac4 fixing unix horkage
git-svn-id: svn://10.0.0.236/trunk@56716 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 04:03:28 +00:00
vidur%netscape.com
7bc5864a19 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
git-svn-id: svn://10.0.0.236/trunk@56711 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:13 +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
7807cb01cf Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@56334 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:55:38 +00:00
vidur%netscape.com
c34925bd34 Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@56332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:51:58 +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
mscott%netscape.com
283b96bec8 fix a memory leak involving the global context
git-svn-id: svn://10.0.0.236/trunk@56123 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:46:11 +00:00