Commit Graph

1689 Commits

Author SHA1 Message Date
attinasi%netscape.com
b1eb24a0ce Removed unused argument statements for elimination of warnings. No functional changes. 2000-01-31 13:54:39 +00:00
saari%netscape.com
d9e9b714fd Fix for bug 22264. r=hyatt 2000-01-29 04:05:03 +00:00
vidur%netscape.com
e8157b30cb 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 2000-01-28 23:43:12 +00:00
pollmann%netscape.com
c0d425d34b Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods 2000-01-28 23:29:36 +00:00
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
vidur%netscape.com
dd88339f19 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
tbogard%aol.net
9de401c5e3 Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:42:49 +00:00
pierre%netscape.com
5d2edcd002 8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur. 1999-11-23 01:08:44 +00:00
pierre%netscape.com
cf8d1c8fe2 12737: removed the 'moz-fixed' NavQuirk 1999-11-23 01:07:26 +00:00
sfraser%netscape.com
2b2403eb47 Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me) 1999-11-22 23:46:30 +00:00
rickg%netscape.com
e5c3b91656 landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
rods%netscape.com
72b3dd4e85 added boolean in DoneAddingContent method 1999-11-19 16:09:32 +00:00
rods%netscape.com
be77076de6 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
buster%netscape.com
45693ed36c fixed a typo that compiles on win32 but not on linux 1999-11-19 08:30:02 +00:00
buster%netscape.com
93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com
2c36996496 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
harishd%netscape.com
c836a3ed47 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
vidur%netscape.com
3b0f268fc3 fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki. 1999-11-17 01:01:12 +00:00
vidur%netscape.com
e45ce5d5e4 Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy 1999-11-16 23:09:31 +00:00
norris%netscape.com
5b4b0169aa * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
rods%netscape.com
3989b4018f It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
rods%netscape.com
9908d1fd0b 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
1999-11-14 00:35:35 +00:00
rods%netscape.com
744098909e Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
vidur%netscape.com
5c6aaac40c Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur%netscape.com
d04f1c5fe8 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
vidur%netscape.com
375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
rods%netscape.com
0e5779e8b4 notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com
717706a90f 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
1999-11-11 22:13:20 +00:00
rods%netscape.com
5ea1ca4cf6 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
jdunn%netscape.com
0c7a249849 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
sspitzer%netscape.com
3c1562a510 fix warning. 1999-11-10 00:09:32 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
norris%netscape.com
0871585c3d Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
pollmann%netscape.com
056ef7fb35 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com
332749d6fa Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
kipp%netscape.com
2ac80aba87 Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
beard%netscape.com
6b91420f5a MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com
01db582cb9 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com
3dc0567e83 added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
vidur%netscape.com
da899667a9 Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd 1999-10-29 19:07:24 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
vidur%netscape.com
49f38b3cca Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki. 1999-10-27 14:03:15 +00:00
norris%netscape.com
cc328d32e6 Fix 16836 "Security error accessing DOM elements inside an IFrame"
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
1999-10-26 22:45:32 +00:00
vidur%netscape.com
1d327f48d2 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com
94bd218ec3 Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp 1999-10-26 14:55:51 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kmcclusk%netscape.com
23414862b3 First time checked in. Used to provide data during form submission. bug 17060. r=karnaze@netscape.com 1999-10-25 21:59:39 +00:00
rickg%netscape.com
ff94ca16ce fixed infinite-loop bug 17045 by conditioning control loop. r=buster 1999-10-23 03:06:19 +00:00
nisheeth%netscape.com
ef75c33b3c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
pollmann%netscape.com
312e7468d9 Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
pierre%netscape.com
bfe52a8e4e Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann. 1999-10-19 00:31:45 +00:00
rods%netscape.com
297e3bd9c3 Links will now scroll into view when they get focus and anchors now respond
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com
6ff5998968 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
peterl%netscape.com
ed18a01643 Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com
15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com
bf91cebfba Wiped out another warning 1999-10-15 23:29:21 +00:00
peterl%netscape.com
27d06db43a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
buster%netscape.com
9c89a6b52d bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com
102c1fb55e bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
rods%netscape.com
7130df81ee Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
pepper%netscape.com
2e9499e739 Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
karnaze%netscape.com
97bc7cdc28 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
peterl%netscape.com
5cf3f40b06 moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com
9005fd85a5 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
karnaze%netscape.com
91b4aeefdd added comments 1999-10-13 14:36:28 +00:00
peterl%netscape.com
cc76d235e4 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
peterl%netscape.com
ca5306ed74 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com
48b4a9d06e Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
nisheeth%netscape.com
b052eec318 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
av%netscape.com
9e949e98fe Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com
a3aede8c1c First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
harishd%netscape.com
43f91fa145 Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
kipp%netscape.com
cfa92fd85e Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects 1999-10-07 00:35:04 +00:00
kipp%netscape.com
790ccf8ff7 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +00:00
norris%netscape.com
93538eafc8 Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
Reviewed by vidur.
1999-10-06 21:13:37 +00:00
mgleeson1%netscape.com
675530c17a r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
kipp%netscape.com
3eaba4f422 Support SizeOf methods 1999-10-05 23:47:46 +00:00
kipp%netscape.com
8274ae09b1 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com
9996b80dd5 r=troy; Added some atoms to help eliminate global ctors 1999-10-05 14:51:02 +00:00
kipp%netscape.com
a3d7e7cf09 r=vidur; fixed a memory of a script content object 1999-10-05 00:05:38 +00:00
peterl%netscape.com
2fb6714797 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
norris%netscape.com
d21c5596fd Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
kipp%netscape.com
d26d687ef6 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
law%netscape.com
b6d2de1cb0 Context menu updates 1999-10-01 04:43:45 +00:00
beard%netscape.com
6a85f40725 fixed non-debug breakage. r=vidur 1999-10-01 01:11:40 +00:00
vidur%netscape.com
140612e133 Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
kipp%netscape.com
c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
kipp%netscape.com
da75f9061f Fixed atom memory leaks and HTMLAttribute memory leaks (for unmapped attrs only) 1999-09-30 21:17:06 +00:00
rods%netscape.com
441488d899 Backed out 1.54, this is 1.53 1999-09-30 16:43:11 +00:00
rods%netscape.com
3ff1376604 Completely changed the way focus is handled, both from JS and from the events mgr notifications.
These changes do not help the problems we have with gfxtextfields because they have an embbeded wehshell with a native window
1999-09-30 11:57:45 +00:00
peterl%netscape.com
efe3761c38 made child sheet loads of agent sheets be optionally synchronous 1999-09-30 01:39:57 +00:00
warren%netscape.com
70c80e647e Fixed uninitialized variables 1999-09-26 10:07:16 +00:00
warren%netscape.com
867ac7d1f0 Fixed mismatched free problem. 1999-09-26 07:05:02 +00:00
ftang%netscape.com
d24411b9af fix bug 14802. reviewed by harishd. 1999-09-24 21:50:49 +00:00
nisheeth%netscape.com
38d524ab94 Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
8c1a201503 Move the message that announces that time is being measured for layout processes from the content sink to the webshell. 1999-09-24 07:19:44 +00:00
peterl%netscape.com
7b9a8f64d4 Remember: always remove mapped attributes from hashtable before modifying them.
Fix bug 13589
1999-09-23 03:54:12 +00:00
ftang%netscape.com
2b923e10df fix crash when the pref callback get call. Part of bug 14219 1999-09-23 02:10:15 +00:00
ftang%netscape.com
ec30802e8f add pref callback for charset detectors 1999-09-22 08:49:28 +00:00
peterl%netscape.com
341ec82a84 reset pushback buffer when creating a new scanner
factored scanner creation code
1999-09-22 01:19:29 +00:00
vidur%netscape.com
0420636fbc Fix for bug 14109. Corrected dir getter. 1999-09-21 23:23:53 +00:00
vidur%netscape.com
324706ee56 Fix for bug 14105 - correct processing of area tabindex 1999-09-21 22:19:29 +00:00
buster%netscape.com
0bb4192dde fixed link handling in editor by making links only grab focus when
the pres context has a link handler.  bug 14455
1999-09-21 21:10:34 +00:00
joki%netscape.com
7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
rpotts%netscape.com
452584594d The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
nisheeth%netscape.com
f097b55cdb Add prefix string to content creation timer output. 1999-09-21 06:24:58 +00:00
pollmann%netscape.com
7cb9686716 Bug 14223: Typo, I'm sure. 1999-09-21 00:18:49 +00:00
kipp%netscape.com
e1df6bb1f5 Fixed up argument parsing issue with table align=left/right (bug 7352) 1999-09-21 00:12:09 +00:00
nisheeth%netscape.com
660585d0d8 Stop the content creation stopwatch before it is printed. 1999-09-20 06:48:33 +00:00
rpotts%netscape.com
69eebbead3 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
kipp%netscape.com
d63ca4aef1 Squish a warning or two 1999-09-17 20:16:37 +00:00
pollmann%netscape.com
a759a5df4e Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1, even before widget created. 1999-09-17 07:24:02 +00:00
vidur%netscape.com
0b96c440d1 Implemented nsIDOMHTMLDocument::GetReferrer. The referrer is obtained from the request header of the document channel 1999-09-17 06:56:39 +00:00
karnaze%netscape.com
9557749da7 bug 13526 - allowed cellpadding, cellspacing to be percent value 1999-09-17 04:38:06 +00:00
kipp%netscape.com
3ced381a1a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com
2157ff841e Don't evaluate script tags inside an IFRAME tag since we support IFRAME's (partial fix for bug #5847) 1999-09-16 23:30:51 +00:00
pollmann%netscape.com
beb970a988 Bug 12348: Setting DefaultChecked now also updates Checked, per DOM Errata 1999-09-16 20:03:04 +00:00
pollmann%netscape.com
bd5a9ff755 Minor cleanup of nsHTMLOptionElement::SetSelected method. 1999-09-16 20:00:51 +00:00
kipp%netscape.com
aed7845101 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
vidur%netscape.com
8ab04ef069 Memory leak fix and #ifdef NECKO removals from shaver. Thanks to bruce@cybersight.com for the MLK identification. 1999-09-16 00:10:54 +00:00
harishd%netscape.com
32458c9067 Added support for setting DOCTYPE and DTD mode. 1999-09-15 17:57:16 +00:00
nisheeth%netscape.com
b7d6bb7da6 The stopwatch macros got converted to macros that accept an argument. Changed all macro calls in the content sink to play with that change. 1999-09-15 00:39:41 +00:00
briano%netscape.com
987374301c Fixed the stopwatch macro definitions and usage that was breaking some of the Unix native compiler builds. 1999-09-14 22:10:13 +00:00
nisheeth%netscape.com
cd8a6da86e Added start/stop calls for the stopwatch in the nsIContentSink and nsIHTMLContentSink method implementations. Added printing of content creation time in DidBuildModel(). 1999-09-14 19:24:42 +00:00
bienvenu%netscape.com
788aa269e4 fix release mode build bustage 1999-09-14 16:25:59 +00:00
slamm%netscape.com
51ec568ce4 Start defines in first column. 1999-09-14 16:17:55 +00:00
nisheeth%netscape.com
7ee3e87d55 First cut to start measuring content creation time in the content sink. Only enabled if MOZ_PERF is set to 1 in the environment at build time. 1999-09-14 14:38:52 +00:00
vidur%netscape.com
ccf398a6f7 Fix for bug 13192. Document is parented by the global object of the container context, not the calling context. 1999-09-14 04:17:07 +00:00
briano%netscape.com
97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
karnaze%netscape.com
6fcbeab32d bug 13105 - removed code which set frames style to "all" 1999-09-13 22:51:10 +00:00
rods%netscape.com
6a26defabe Removing temporary fixes for option issues 1999-09-13 22:30:36 +00:00
karnaze%netscape.com
c4410378e1 bug 7604 - limit colspan to max of 1000 1999-09-13 20:18:33 +00:00
pollmann%netscape.com
d8d1504d60 Fix for bug 10013 - Call the JS onclick event handlers when the DOM click method is invoked on an input element. 1999-09-13 06:22:40 +00:00
pollmann%netscape.com
13244b3237 Leak fix. 1999-09-13 06:18:09 +00:00
rods%netscape.com
6c54a44b78 It now checks to see if option elements have a "\n" in them and it strips them out 1999-09-11 17:28:36 +00:00
rods%netscape.com
f6e0510a05 when <option></option> no text node gets created for the option element
it now checks and makes sure one gets created
1999-09-11 14:55:33 +00:00
peterl%netscape.com
2c450d66f9 added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
rods%netscape.com
593a8e8ba7 No retreievs item 0 when nothing is selected and return the proper value, or lable or content when item is selected 1999-09-10 22:54:24 +00:00
peterl%netscape.com
2a0c2b13f1 re-added last changes (in a mac safe way)
better font weight
system color handling
1999-09-10 05:56:19 +00:00
peterl%netscape.com
03b11a90a5 added system color parsing
fixed font weight parsing to be more strict
1999-09-10 05:55:36 +00:00
peterl%netscape.com
5559820b53 added system color support 1999-09-10 05:54:46 +00:00