522 Commits

Author SHA1 Message Date
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
saari%netscape.com
d975dd1d01 Fix for PDT+ bug 21536. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56069 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:34:43 +00:00
mjudge%netscape.com
ed4df3718e oops forgot to remove 2ND! line from makefile
git-svn-id: svn://10.0.0.236/trunk@56037 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:22:07 +00:00
mjudge%netscape.com
4704ff3a85 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also.
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
akkana%netscape.com
ef0b5871a1 18033, 19981:
Adjust inputBindings keyset so that it can be overlaid with
  platformGlobalOverlay.xul.  Rewrite emacs keybindings in the
  unix overlay to track mjudge's latest changes. r=mjudge, a=jar


git-svn-id: svn://10.0.0.236/trunk@55890 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 01:28:07 +00:00
mjudge%netscape.com
78a1c7b0e7 massive changes a=jar.hoffman, r=akkana
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
vidur%netscape.com
0389d17f64 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55706 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:52:01 +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
jfrancis%netscape.com
edba5add24 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:30:19 +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
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
drapeau%eng.sun.com
1cd55fd548 Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).


git-svn-id: svn://10.0.0.236/trunk@55129 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:26:09 +00:00