Commit Graph

1535 Commits

Author SHA1 Message Date
pierre%netscape.com
421af19ae9 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
warren%netscape.com
20da4f3233 Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
e455fbcd9f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver
2000-01-28 04:37:13 +00:00
karnaze%netscape.com
bce1929fcf 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.
2000-01-28 02:19:45 +00:00
hyatt%netscape.com
1c22fd031b Making input and text area elements bindable using XBL. 2000-01-27 09:01:49 +00:00
vidur%netscape.com
94e7ff67cd Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki 2000-01-27 08:51:54 +00:00
jim_nance%yahoo.com
a77a2365a0 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson
2000-01-27 02:28:52 +00:00
attinasi%netscape.com
1f1bc14154 Title is now set in the Title Bar. b=24478 r=rickg 2000-01-27 02:15:19 +00:00
vidur%netscape.com
bc7a946fe0 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki 2000-01-26 15:52:41 +00:00
norris%netscape.com
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
danm%netscape.com
bc85a078d1 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 2000-01-26 01:24:41 +00:00
rods%netscape.com
8cfebc4bd7 changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk
2000-01-25 15:38:49 +00:00
norris%netscape.com
8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
pierre%netscape.com
0ff017366d Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
nisheeth%netscape.com
22a5959edb 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. 2000-01-24 06:43:15 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
hyatt%netscape.com
4c802430de 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
2000-01-19 22:18:57 +00:00
hyatt%netscape.com
0684563f95 Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
vidur%netscape.com
139af65fa1 Missed necessary cleanup in last checkin. r=pollmann 2000-01-19 01:34:07 +00:00
vidur%netscape.com
84b751a2f5 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 2000-01-19 01:29:04 +00:00
vidur%netscape.com
7aa3c33c9c Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
pollmann%netscape.com
572e8726ef Bug 20315: Adding comment r=buster 2000-01-18 02:40:45 +00:00
tor%cs.brown.edu
28e11c285f build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls 2000-01-16 17:06:08 +00:00
brade%netscape.com
b027afa2cf initialize all fields of mouseEvent; r=joki 2000-01-15 17:22:09 +00:00
pollmann%netscape.com
70ac93177d Bug 14419 (1 of 4): Fix typo! 2000-01-15 02:21:51 +00:00
vidur%netscape.com
e296114aae 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 2000-01-15 02:02:27 +00:00
pollmann%netscape.com
64687ce411 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd 2000-01-15 01:42:56 +00:00
pollmann%netscape.com
72bb036628 Fix warning r=harishd 2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
0ca3802c6a r=pollmann. Fix for bug 22237. 2000-01-15 01:41:22 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
hyatt%netscape.com
69df0c827f Partial fix for 18604. r=pav 2000-01-14 09:57:31 +00:00
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
jdunn%netscape.com
4298ad260d Fix somemore of slamm's warnings
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
karnaze%netscape.com
d41822031d bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
rods%netscape.com
8c47faf8b8 the call to Init was in the wrong place
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
pierre%netscape.com
51f04bcd0c 17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp) 2000-01-12 00:19:14 +00:00
rods%netscape.com
7660b3c8ea click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
pollmann%netscape.com
6386c5da71 Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd 2000-01-11 07:21:24 +00:00
hyatt%netscape.com
21a48fa26a adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
akkana%netscape.com
4a587b7765 Use if instead of switch, to eliminate warnings. r=slamm 2000-01-11 02:24:29 +00:00
pierre%netscape.com
4951a0cfe4 12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical. 2000-01-10 03:23:44 +00:00
pierre%netscape.com
f1d11fe977 Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix 2000-01-08 10:11:10 +00:00
pierre%netscape.com
e3c8ebdcf3 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored). 2000-01-08 10:09:00 +00:00
akkana%netscape.com
6bd97592f1 Fix a huge slew of warnings. r=pavlov 2000-01-08 01:20:58 +00:00
pollmann%netscape.com
503e31aa83 Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd 2000-01-07 05:54:23 +00:00
pollmann%netscape.com
f4fabef2c3 Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd 2000-01-07 05:44:42 +00:00
pollmann%netscape.com
bf4a2db81e Bug 21768: always release mForm in SetForm to prevent leak. r=harishd 2000-01-07 05:41:51 +00:00
vidur%netscape.com
c215dee1c7 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann 2000-01-07 00:19:41 +00:00
vidur%netscape.com
b845753fb6 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
vidur%netscape.com
61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
vidur%netscape.com
d82bc260b2 Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann 2000-01-06 01:10:06 +00:00
jfrancis%netscape.com
e639415da3 fixing unix horkage 2000-01-04 04:03:28 +00:00
vidur%netscape.com
bd52d69467 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd 2000-01-04 03:06:13 +00:00
sspitzer%netscape.com
0f984615d6 bulletproofing fix for crash reported in #22811 1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
8f529ac7b8 fix for pierre's warnings. r=bienvenu 1999-12-23 18:35:35 +00:00
vidur%netscape.com
33e0ceef3c Removing warnings. a=don r=waqar 1999-12-22 22:47:15 +00:00
pierre%netscape.com
bdf8bc768d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
pierre%netscape.com
855dc040ea Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet. 1999-12-22 05:00:47 +00:00
vidur%netscape.com
9e76aeb0ba 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 1999-12-22 01:55:38 +00:00
vidur%netscape.com
272db862ac 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 1999-12-22 01:51:58 +00:00
vidur%netscape.com
70de582cc6 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 1999-12-22 01:48:47 +00:00
waterson%netscape.com
44416b6765 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley 1999-12-22 01:41:42 +00:00
jband%netscape.com
ef9c82db1e 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
1999-12-18 20:29:29 +00:00
mscott%netscape.com
ab9aa71baa fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
mccabe%netscape.com
74f7b8e000 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
saari%netscape.com
720f6babe8 Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
mjudge%netscape.com
1748e117b2 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
mjudge%netscape.com
7831406607 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. 1999-12-15 03:54:52 +00:00
vidur%netscape.com
1ad5cd8dd9 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur%netscape.com
f05a2f0ff4 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
pollmann%netscape.com
5c697ae32f Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
ftang%netscape.com
2a8449664a fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00
sfraser%netscape.com
0a90ef3b34 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428). 1999-12-10 22:47:39 +00:00
vidur%netscape.com
81f434990e Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann. 1999-12-10 03:36:50 +00:00
buster%netscape.com
dbc3d6a9e9 bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann
1999-12-09 07:18:38 +00:00
vidur%netscape.com
90dcdc1539 Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg 1999-12-09 03:10:22 +00:00
rickg%netscape.com
da80c1d2de unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
rickg%netscape.com
471d34af10 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
vidur%netscape.com
68f79c1ca8 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
vidur%netscape.com
978b7586dd Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy 1999-12-08 03:47:05 +00:00
akkana%netscape.com
ede359f291 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser
1999-12-08 02:05:16 +00:00
rods%netscape.com
83b5ade6c9 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+)
1999-12-08 00:10:34 +00:00
rickg%netscape.com
bd8e9acd7e WIP on fixing <noscript> bug for real -- post dogfood. r=syd 1999-12-07 07:25:56 +00:00
joki%netscape.com
1e9397058e Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +00:00
vidur%netscape.com
9f1fe721c3 For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth. 1999-12-04 01:27:46 +00:00
vidur%netscape.com
62f646032b For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre. 1999-12-04 01:27:14 +00:00
tbogard%aol.net
eb96099e6d 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.
1999-12-03 09:24:22 +00:00
drapeau%eng.sun.com
b12618788f 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).
1999-12-03 00:26:09 +00:00
sfraser%netscape.com
db82916641 Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg. 1999-12-01 23:05:58 +00:00
buster%netscape.com
d3c10d15ba bug 2253. added controller to html text input
r = kmcclusk
1999-12-01 15:12:49 +00:00
waterson%netscape.com
0698de9566 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
waterson%netscape.com
dd64fd7ca1 Add focus pseudo-class atoms. r=hyatt 1999-11-30 00:54:45 +00:00
valeski%netscape.com
6379f3162c r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout). 1999-11-29 23:02:14 +00:00
brendan%mozilla.org
63f8bf1ffe Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net
305e287b28 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
shaver%netscape.com
89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00