Граф коммитов

2067 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com fbf4bfcbf3 Anchors now reg and unreg their access keys in SetDocument
Bug 959 r=joki (verbally)
2000-05-17 03:11:47 +00:00
jst%netscape.com ba107f4775 Redo to fix for 35321 and fix 35319. 2000-05-17 03:09:00 +00:00
akkana%netscape.com 0f8537dc64 Build ender-lite files if MOZ_ENDER_LITE is defined 2000-05-17 03:05:11 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sfraser%netscape.com 280b9c7ce9 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown. 2000-05-17 02:23:59 +00:00
jst%netscape.com 0e663a2153 Fixing nsbeta2+ bug #35321 (button.setAttribute('disabled', false) disables button instead of enabling it). 2000-05-17 02:03:10 +00:00
attinasi%netscape.com dd5ffceab5 Fixed a problem where background color could not be cleared once set. b=9151 r=rickg 2000-05-17 01:44:49 +00:00
rickg%netscape.com 254958d0b8 one more tweak to entity redction code 2000-05-17 00:51:26 +00:00
jst%netscape.com 930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
mjudge%netscape.com 107a430682 adding switch. not throwing yet 2000-05-16 23:48:45 +00:00
mjudge%netscape.com f16704b1d2 adding ender_lite to the build 2000-05-16 23:30:00 +00:00
pollmann%netscape.com 79732e0849 Bug 32746 (2 of 3): Make iframe borders respond to both css and frameborder attribute. r=harishd 2000-05-16 21:56:02 +00:00
rickg%netscape.com efb8525da7 checking in fix for 39281 2000-05-16 20:27:45 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
joki%netscape.com d7557a57a5 Adding accesskey support. Bug 959. 2000-05-16 10:22:20 +00:00
jst%netscape.com 780fa4b8f1 Cleaning up GetNodeName() in preparation for swiching mozilla over to a DOM Level 2 compliant .nodeName property. 2000-05-16 03:22:25 +00:00
shaver%mozilla.org 2da0ab457d Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
jst%netscape.com 62324c1e44 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
attinasi%netscape.com 14623c747b Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron 2000-05-15 22:30:27 +00:00
rickg%netscape.com c3c9c9c825 fixed edge case in entity reduction code 2000-05-15 20:37:01 +00:00
jst%netscape.com 798ded8a8e Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
mjudge%netscape.com 61fbed4f1b removing comment on code 2000-05-15 14:25:52 +00:00
mjudge%netscape.com f67e2e21a7 typedef before switch gets thrown 2000-05-15 14:24:02 +00:00
jst%netscape.com df963dfb2a Fix .innerHTML regression (from the XIF converter update), and add a null document check. 2000-05-15 14:07:36 +00:00
rickg%netscape.com cb303580f6 fixed bugs: 37417 and 26023 2000-05-15 07:27:55 +00:00
jst%netscape.com 1ecefec3cc More WIP on getComputedStyle(), not part of the build yet. 2000-05-15 01:59:05 +00:00
jst%netscape.com b9c54d8a6a Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet. 2000-05-15 01:58:26 +00:00
jst%netscape.com 3ef6dbd214 WIP for getComputedStyle(). 2000-05-15 01:33:27 +00:00
harishd%netscape.com 991ed3414f Enabling NOLAYERS by default ( since we don't support LAYER tag ).
r=vidur

Putting webshellservice into parser bundle for use by observer base.

r=nisheeth
2000-05-14 19:25:06 +00:00
mjudge%netscape.com fa4088842d fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
jst%netscape.com e0f24c4de8 In stead of throwing an exception when the user asks for the owner rule of style sheet we return null. 2000-05-13 18:10:24 +00:00
mjudge%netscape.com d3823b7654 changing nsXifconverter to nsIXifConverter 2000-05-13 08:11:29 +00:00
mjudge%netscape.com b007525646 nsIXifconverter from nsXifConverter 2000-05-13 08:11:07 +00:00
mjudge%netscape.com 2a9f26fef3 changing nsXifconverter to nsIXIFconverter 2000-05-13 08:09:25 +00:00
jst%netscape.com f9fe8d6f06 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com f0dce37b28 Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
pollmann%netscape.com 43db39e1cb Bug 35573: Fix part of a webshell leak, r=nisheeth 2000-05-12 00:53:38 +00:00
sfraser%netscape.com ea15ca6fcd Fix 38949 -- setSelectionRange broken by mjudge checking in nsGfxTextControlFrame2 stuff prematurely. 2000-05-11 22:47:19 +00:00
jst%netscape.com 8fff1cbbbd Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201. 2000-05-11 21:49:16 +00:00
mjudge%netscape.com 55912eddb8 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
jst%netscape.com ee4b181034 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
attinasi%netscape.com 5a58add342 Preventing processing of style links if the HREF is empty. b=30817, r=harishd 2000-05-09 23:05:13 +00:00
hyatt%netscape.com 334e31b473 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
jst%netscape.com 9908615c3b XPCOM methods that return a success call *must* set their output parameters, this fixes part of the crash in bug 35257 (crash setting selectedIndex for SELECT not in DOM tree). 2000-05-09 21:01:25 +00:00
jst%netscape.com 168af52a62 Fixing the .value and .defaultValue properties on textarea's, this fixes bugs 32795 and 32799. 2000-05-09 19:11:27 +00:00
jst%netscape.com 0a27ccc601 Input element type names are now all lower case, this is required for mozilla to be compatible with all other existing browsers (even if the DOM spec says otherwize). This fixes bug 32368. 2000-05-09 13:56:40 +00:00
buster%netscape.com 0e193a8fad fixed bug 24770 2000-05-09 05:09:55 +00:00
karnaze%netscape.com 468f2bd6da bug 33976 - make non numeric border value 1. 2000-05-07 17:15:56 +00:00
michael.lowe%bigfoot.com 468689c637 Implement CSS3 cursors on Windows 2000-05-07 05:14:43 +00:00
attinasi%netscape.com 010ad97dcd Fixed the BodyBackground rule to propagate the backgound color when the background color is cleared as well as set. b=11491 2000-05-06 05:56:02 +00:00
attinasi%netscape.com bd33a7a095 QuirkMode: support for background="" to override the table inheriting the background down to the cells. 2000-05-06 05:48:38 +00:00
jst%netscape.com c75b332f44 Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser. 2000-05-06 00:05:19 +00:00
jst%netscape.com ae0694d136 Fixing bug 35598, HTMLInputElement.click() wasn't working properly. r=joki 2000-05-05 23:44:43 +00:00
erik%netscape.com 0f1eec05eb bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
harishd%netscape.com 8b82778676 Changed a parameter ( nsVector to nsVoidArray ).
to add support for KEYGEN.
2000-05-05 20:39:12 +00:00
jst%netscape.com 23f7ceff9c Fixing bug 35276, flush all pending reflow notifications before requsting geometry from the frames, this makes the HTML element properties offsetXXX correct values even if requested immediately after a reflow was generated. 2000-05-05 14:25:49 +00:00
pierre%netscape.com 11c4b101fd 18817 and 35872 "Compatibility mode testing should be reviewed". eDTDMode_noquirks was used instead of eDTDMode_strict. Another fix from VYV03354@nifty.ne.jp, r=pierre. 2000-05-04 21:53:18 +00:00
attinasi%netscape.com c862485d34 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838 2000-05-04 21:41:02 +00:00
attinasi%netscape.com 78953ce816 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com 2000-05-04 21:36:49 +00:00
rods%netscape.com 9a59e55f40 button and input button content nodes now cancel all mouse click events except mouse up/down
b=38083
2000-05-04 13:57:35 +00:00
rickg%netscape.com f058c29eb4 fixed DTDMode regression 2000-05-04 05:54:04 +00:00
jst%netscape.com 5f7ae78da1 New files needed for getComputedStyle(). Not part of the build yet. 2000-05-04 00:07:33 +00:00
attinasi%netscape.com 9a31e62375 Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800. 2000-05-03 22:12:58 +00:00
jst%netscape.com ef8e746fdd WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre. 2000-05-03 21:42:00 +00:00
waterson%netscape.com 47909284f5 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi 2000-05-03 21:21:30 +00:00
karnaze%netscape.com 902ff895ab bug 9271 - correctly insert cells, rows when insertion index equals number of elements. 2000-05-03 14:57:00 +00:00
mkaply%us.ibm.com 23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
jst%netscape.com 800ac9c0bd The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name. 2000-05-02 00:24:45 +00:00
jst%netscape.com c1edfd2e87 Fix for bug #30492 and last part of #9876. Setting a style property to an empty string through the DOM now removes the property. 2000-05-01 22:59:54 +00:00
sfraser%netscape.com 035965297d Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
nisheeth%netscape.com 7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
dbaron%fas.harvard.edu 6175b3560e Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28). 2000-05-01 00:26:37 +00:00
rods%netscape.com 0d4e28381b when an option gets dsabled it will now notify the frame so it can be deselected 2000-04-28 23:29:35 +00:00
jst%netscape.com 55f7d8f3a4 Hooking up document.getSelection() for html documents to return a string so that we're compatible with 4.x. 2000-04-28 14:05:45 +00:00
pierre%netscape.com ef1931a1f8 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node. 2000-04-28 10:02:12 +00:00
pierre%netscape.com a8dbb57e7f 9876. Implemented CSSStyleDeclaration removeProperty. r=jst. 2000-04-28 08:35:40 +00:00
scc%netscape.com 4e1b0eaca0 making string conversions explicit 2000-04-27 20:38:50 +00:00
attinasi%netscape.com 3bc70b17e4 Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208 2000-04-27 00:51:06 +00:00
mstoltz%netscape.com 2d56321f9e Removed getOwner() function from nsIStreamLoader. getChannel() now fulfills this function. 2000-04-27 00:30:27 +00:00
dbaron%fas.harvard.edu 2ac24b8966 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com 2000-04-27 00:12:25 +00:00
dbaron%fas.harvard.edu 9c16f212b1 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com 2000-04-27 00:07:12 +00:00
attinasi%netscape.com aaef34704e Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre 2000-04-26 23:36:45 +00:00
jst%netscape.com 70304a6c16 Initialize mRefCnt in the constructor, duh! 2000-04-26 23:24:30 +00:00
jst%netscape.com af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
mstoltz%netscape.com 9bb975256e Fixes for 27010, 32878, and 32948. 2000-04-26 03:50:07 +00:00
rods%netscape.com 174947fa4a Changing notify from false to true for AppendChildTo in SetText
this is where the block doesn't have any children and a text element gets
created for it.
b=36900, r=pollmann
2000-04-26 03:48:58 +00:00
troy%netscape.com 6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com e25d9a73e7 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:21:56 +00:00
joki%netscape.com bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
pollmann%netscape.com bb2c0ba6dd Bug 36830: Revert a small part of the fix for bug 33203 that was breaking observer notification. 2000-04-23 23:54:29 +00:00
mstoltz%netscape.com 57feeae5ec Backing out changes until I can figure out why it's crashing on startup. 2000-04-23 21:25:39 +00:00
mstoltz%netscape.com 62bffdd26e Fixes for bugs 27010, 32878, 32948. 2000-04-23 20:30:29 +00:00
attinasi%netscape.com af2c4a7c11 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
scc%netscape.com 1177150f2e making string conversions explicit 2000-04-23 19:04:37 +00:00
attinasi%netscape.com 31410d2cca Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500 2000-04-23 02:01:40 +00:00
troy%netscape.com 9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
scc%netscape.com 9978338519 making string conversions explicit 2000-04-22 10:31:38 +00:00
pollmann%netscape.com 9b52ac7328 Bug 33203: Form submit observer changes for psm-glue; r=dougt 2000-04-22 03:29:50 +00:00
dbaron%fas.harvard.edu ed9c5e00ef Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com 2000-04-22 00:47:18 +00:00
rods%netscape.com d01a3c8d69 It now uses the nsHTMLContent->GetHTMLAttribute to get the value and/or label
The code now lso checks to see if the attr actually exists before it moves to the label or the content
bug 36459
2000-04-21 22:28:07 +00:00
rods%netscape.com bbea2867ad The value in the GetAttribute will no longer have the space stripped in front and back 2000-04-21 21:59:53 +00:00
pierre%netscape.com 0a1b7cc547 Implemented i18n list-style-types. Thanks to bakibon@yahoo.com. 2000-04-21 08:05:29 +00:00
nisheeth%netscape.com 793252e617 Fix for bug 36362. We no longer null out the ref count of form elements in their Release() methods before deleting them. This fixes the crashes on www.cnn.com and www.msn.com. 2000-04-21 01:03:20 +00:00
anthonyd%netscape.com 815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
akkana%netscape.com e3b5588b8f 19137: <u> wasn't in the list of inline tags. 2000-04-20 22:31:14 +00:00
jst%netscape.com 65686de7fb Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
jst%netscape.com 8515630b3f Adding GetIID() to nsICSSDeclaration. 2000-04-20 13:00:08 +00:00
jst%netscape.com 5dd95df31c Fix build warnings. 2000-04-20 12:40:35 +00:00
jst%netscape.com e09c50e601 Fixing bug #32376. Mozilla now populates a select list with new empty options if it's length is set to a bigger number than it already is, this is against the DOM but we need this to be compatible with older browsers. 2000-04-20 12:34:35 +00:00
rickg%netscape.com c9729abd05 try to fix tinderbox bustage for nisheeth 2000-04-19 08:45:45 +00:00
nisheeth%netscape.com e4b10a0922 Fix for bug 30091. nsFormControlList::NamedItem() was doing a linear walk through the form control list. Now it uses a hash table lookup. This greatly reduces the time for the screen to update when one clicks on the Program list box on the Bugzilla query page. 2000-04-19 07:49:07 +00:00
jst%netscape.com b28d0d6298 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2. 2000-04-18 23:00:58 +00:00
jst%netscape.com a4ce9e598d Updating the HTMLObjectElement interface to DOM Level 2. 2000-04-18 22:57:42 +00:00
jband%netscape.com 96089ebbb0 egads! lost the return type declaration in a copy/paste goofup. 2000-04-18 22:46:48 +00:00
waterson%netscape.com 548a65c864 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
scc%netscape.com b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
braddr%puremagic.com 857f0905f7 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com ffe4551746 attempting to fix bustage 2000-04-15 21:13:55 +00:00
scc%netscape.com 0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
pierre%netscape.com 614a9a491c 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set. 2000-04-15 10:38:13 +00:00
pierre%netscape.com 94bc484b60 32063: <font size=""> makes font tiny 2000-04-15 04:28:12 +00:00
mstoltz%netscape.com 6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
jband%netscape.com 87704af1b7 fix bug 32150. Expose to JavaScript the scriptable interfaces on plugin objects implementing nsIPluginInstance. Given an embed tag with a plugin named 'foo' that has an xpcom interface named 'nsIFoo' with a method 'bar', this fix allows JS code (with the UniversalXPConnect privilege) to call document.foo.nsIFoo.bar() 2000-04-14 22:54:48 +00:00
jbetak%netscape.com b03088efe8 r=ftang 32604 Trunk fix for illegal use of nsString-external JavaScript 2000-04-14 02:47:28 +00:00
waterson%netscape.com a06a8ee723 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre 2000-04-13 19:55:47 +00:00
jst%netscape.com 6656f5324e Fixing #35605, avoid accessing a null pointer in GetOffsetParent()! 2000-04-13 12:52:03 +00:00
jst%netscape.com 801bd7da0e If a class claims to support an interface in QueryInterface() it *really* should inherit from that interface then! Fixes #35398. 2000-04-13 12:02:58 +00:00
sfraser%netscape.com e18fe941f0 Adding methods to allow control of the selection in text widgets. 2000-04-13 05:15:59 +00:00
sfraser%netscape.com 0aa03ae3da Use an nsCOMPtr in the Select call. 2000-04-13 05:14:08 +00:00
ducarroz%netscape.com 245059c4ee Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
waterson%netscape.com f1df479af5 Bug 29507. Clean up PresShell refcounting. r=troy 2000-04-05 05:58:06 +00:00
attinasi%netscape.com d88879f70c Fixed regression bug 34257 and also contributed toward fixing 17309 by making external style sheets load blocking the parser, unless they are alternates. r=pierre b=34257, 17309 2000-04-05 04:02:38 +00:00
jbetak%netscape.com 981fc06b33 crash when loading external JS files - bug 33029 2000-04-05 03:18:41 +00:00
jst%netscape.com f523d9cb3a Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260. 2000-04-05 01:46:48 +00:00
jst%netscape.com 5f23170b41 Removing #include and unused static IID, not part of the build quite yet. 2000-04-05 00:37:51 +00:00
jst%netscape.com 070035f14e Adding class for unknown elements, not part of the build quite yet. 2000-04-05 00:35:54 +00:00
hyatt%netscape.com aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
jst%netscape.com 84b020c1aa document.write() speedup, fixes (at least partly) #29805. 2000-04-04 14:13:46 +00:00
hyatt%netscape.com 220a5faae0 Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
scc%netscape.com c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
jst%netscape.com 94e684ba9d Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
jst%netscape.com ae22dfeb8b Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame. 2000-04-02 14:04:19 +00:00
jst%netscape.com 9f4e5b9940 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jst%netscape.com 7df53c3963 Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606. 2000-04-01 12:36:16 +00:00
pierre%netscape.com f54b3c443f 17309: set the default timeout in the previous checkin to 2 minutes 2000-03-31 10:04:48 +00:00
attinasi%netscape.com 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
attinasi%netscape.com 0735cef009 Implemented a timer for loading CSS style sheets to allow content to be displayed if the sheet is taking too long to load. b=17309 r=nisheeth 2000-03-31 01:57:54 +00:00
mstoltz%netscape.com efa5624e14 Fixed bug 30915 using nsAggregatePrincipal. r=norris 2000-03-31 00:31:18 +00:00
jst%netscape.com 01d3066654 Fixing bug #32839, HTMLButtonElement.type now returns the correct value. 2000-03-30 22:37:12 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
harishd%netscape.com fee30604d5 Fix for 22786 - sink side fix for HTML attributes 2000-03-30 01:07:02 +00:00
pierre%netscape.com bdf9e8f750 #33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent". 2000-03-29 06:55:15 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com 6d041e211b Fix for bug #32853, we now support setting the 'for' attribute with the name 'htmlFor'. 2000-03-29 00:19:00 +00:00
jst%netscape.com 78e56ebbd1 Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020. 2000-03-28 23:25:26 +00:00
scc%netscape.com 0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pierre%netscape.com a367200997 Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser. 2000-03-25 21:26:14 +00:00
pierre%netscape.com 924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
pierre%netscape.com 96aa05bdae Related to #18136. Enable the IE-compatible font size table in strict mode. It required to pass the nsFontSizeType to FindNextSmaller/LargerFontSize. 2000-03-25 13:48:50 +00:00
jbetak%netscape.com db135e810b r=rickg, ftang fix for 32604 Trunk fix for illegal use of nsString-external JavaScript convert charset incorrectly 2000-03-25 01:21:21 +00:00
norris%netscape.com 4eb52aa84b Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
rods%netscape.com 62ac30090d added psuedoCheck 2000-03-24 16:21:47 +00:00
pollmann%netscape.com 5e8273ffd7 Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth 2000-03-24 03:36:55 +00:00
pierre%netscape.com ae30bfa13f Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types. 2000-03-23 14:45:04 +00:00
mstoltz%netscape.com 319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
jst%netscape.com 12bed16d77 Make the value of "dir" attributes more accessible through the DOM, this fixes #32617. r=troy 2000-03-22 23:46:33 +00:00
jst%netscape.com 2745ce2c5d Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
rods%netscape.com 334ec47056 GetSelectedIndex now always returns a value and NS_OK
The value first comes from the frame, then from the presstate then
from the default selection in the content
it's checked into the branch, this is the tip check in
r=mscott b=32726
2000-03-22 14:45:20 +00:00
dbaron%fas.harvard.edu da2d99d54e Fix miscellaneous form element leaks. r=pollmann@netscape.com 2000-03-22 02:21:33 +00:00
pollmann%netscape.com 5b0432fb33 Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar 2000-03-21 15:46:43 +00:00
jst%netscape.com 48b2155a46 Fixing the remaining part of #12559. r=gagan 2000-03-21 12:22:07 +00:00
norris%netscape.com a4082ab0c1 Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)
2000-03-21 04:12:56 +00:00
nisheeth%netscape.com 77b74c100d r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
karnaze%netscape.com e68861558c bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods. 2000-03-20 23:39:22 +00:00
attinasi%netscape.com 11934b336b Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze 2000-03-20 22:49:42 +00:00
dbaron%fas.harvard.edu 5b982b687a Fix leak statistics by logging all releases, and fix one extra release. r=pollmann@netscape.com 2000-03-18 21:35:22 +00:00
dbaron%fas.harvard.edu b5f3961347 Fix leak of style contexts. r=karnaze@netscape.com 2000-03-18 21:26:13 +00:00
jim_nance%yahoo.com 931645f019 Fix for uninitialized variable
r=waterson
2000-03-18 19:07:35 +00:00
norris%netscape.com d2401d0be5 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
rods%netscape.com 9f60e09b37 Fixed GetSelectedIndex so it gets it out of the pressate when there is no frame.
for PDT+ bug 32119, I am checking in the fix in on the Tip,
ducarroz will check it in on the branch
r=kmcclusk
2000-03-18 15:29:48 +00:00
jst%netscape.com a6ead832c1 Fixing what (at least used to) crashes #28489. r=vidur@netscape.com 2000-03-18 02:10:28 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
akkana%netscape.com c46c0ab7a8 nsCOMPtr tainting problem -- need to include nsIParserService.h 2000-03-17 01:12:11 +00:00
akkana%netscape.com 8fedbb449f 29032, 29239: linebreaks in <pre> and in plaintext mail.
19137: preserve style of copied text.          r=mjudge
2000-03-17 00:08:27 +00:00
karnaze%netscape.com 85da8712af bug 7112 - do not convert align=center on table into text-align=center, r=kmcclusk. 2000-03-16 23:52:21 +00:00
karnaze%netscape.com 24c946401a bug 27993, 30332 - treat rowspan/colspan=0 like Nav in quirks mode rather than according to html 4. 2000-03-16 23:50:57 +00:00
attinasi%netscape.com 03c290f510 Fixed build breakage - local API change snuck in to my checkin. 2000-03-16 23:37:00 +00:00
attinasi%netscape.com dded5aac1d Removed code that was causing a reframe when the class of an element changed. This is unnecessary and causes performance problems (reframes are expensive). b=21225 r=dcone,pierre 2000-03-16 23:04:21 +00:00
attinasi%netscape.com e6819d15f6 Fixed a problem where loading an image into second browser window was not updating the dimensions. Also added temporary code to put the image type in the title, even though the image type is not really accurate yet. b=24478 r=dcone 2000-03-16 22:58:12 +00:00
attinasi%netscape.com 38475a4dc7 Removed NavQuirk where FONT tags were ignored if an element was explicitly sized, since we couldn't know if it was explicitly sized by an *implicit* style rule or by another FONT tag. b=25810 r=dcone 2000-03-16 22:54:36 +00:00
pierre%netscape.com 9b423612d8 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided. 2000-03-16 11:44:00 +00:00
dbaron%fas.harvard.edu b07eae2b6f 1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com
2000-03-16 01:14:57 +00:00
blizzard%redhat.com 804ec67bf8 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson 2000-03-15 03:08:28 +00:00
pierre%netscape.com b8fda14b1b #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face. 2000-03-14 07:30:29 +00:00
joki%netscape.com 91f1550db4 Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur 2000-03-14 03:18:43 +00:00
rickg%netscape.com 194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com 5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com 69f36f72eb more WIP to remove nsStr references 2000-03-12 10:07:57 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
valeski%netscape.com 8bb7a9728f r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem 2000-03-12 01:11:41 +00:00
troy%netscape.com c038391890 r=troy@netscape.com Patch from pnunn@netscape.com that eliminates asserts
in the xpcom ref counting macros that the class should have threadsafe
addref/release functions but doesn't
2000-03-11 16:59:16 +00:00
hyatt%netscape.com 6ead515970 Improving XBL support. 2000-03-11 10:38:36 +00:00
norris%netscape.com 060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
norris%netscape.com 9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net 4edb593950 Converted a number of places to use the docShell APIs instead of the webShell ones. 2000-03-11 00:37:07 +00:00
tbogard%aol.net bf3db61d02 Converted a number of places to talk in terms of the docShell APIs instead of the webShell ones. 2000-03-11 00:35:36 +00:00
tbogard%aol.net 9f6deed611 Get the contentViewer through the docShell APIs instead of the webShell ones. 2000-03-11 00:34:54 +00:00
jevering%netscape.com f0398a8427 this is valeski in jevering's tree. a=jevering. r=ltabb (nice!), r=vidur. forcing cache bypass for inline JS url loads. this is a workaround, not a final fix 2000-03-10 06:25:13 +00:00
jst%netscape.com 4c01b9bde8 Checking in fix for PDT+ bug 17489, now the HTML content sink correctly notifies the document about new content that apper after style/link tags that appear in the document content and not in the document head. r=vidur@netscape.com, a=jevering@netscape.com 2000-03-10 02:00:42 +00:00
pierre%netscape.com 7674bfdbfa 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar. 2000-03-09 04:37:01 +00:00
norris%netscape.com c35e39f713 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com
2000-03-07 21:08:46 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
cata%netscape.com 639f9aae98 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
valeski%netscape.com 942c0cbea5 r=gagan. 29870. We weren't handling a malformed http-equiv refresh header. 2000-03-04 00:32:30 +00:00
cata%netscape.com eaf963e925 activating charset override. bug #7886, r=ftang, a=bobj 2000-03-03 02:20:53 +00:00
rods%netscape.com bd41b08f63 added new atom for the combobox
b 28593, r=kmcclusk,buster a=jar
2000-03-03 00:22:30 +00:00
jst%citec.fi 882da396f0 Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann 2000-03-02 15:06:05 +00:00
tbogard%aol.net 4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
pollmann%netscape.com 982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
rods%netscape.com 7ca7d07fe5 Makes it so select tag are monolithic, this means the sink doesn't get flushed
until the end tag of a select. This helps performance a great deal. If it gets flushed
inbetween then the remaining options are added one at a time using the AddOption
and this is a lot less effecient.
b 28593, r=vidur
2000-02-28 21:38:30 +00:00
rods%netscape.com 113deee43f when the value attr is set the hint needs to be reflow.
b 28593, r=buster
2000-02-28 21:35:51 +00:00
rods%netscape.com 0e37b361bd turned off the flushing of reflows when an option item is removed
b 28593, r=vidur,troy
2000-02-28 21:33:41 +00:00
erik%netscape.com 281e53e9b1 bug 18136; new table of font sizes for HTML sizes 1-7, based on testing
Nav4's fixed width fonts; r=pierre; a=rickg
2000-02-25 23:02:46 +00:00
erik%netscape.com 28f23d520d bug 18136; added new font size table, but currently #if'ed out; r=pierre;
a=rickg
2000-02-25 04:00:53 +00:00
pierre%netscape.com 6875bf641b Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pollmann%netscape.com 2ed06994e0 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
troy%netscape.com 2cab23cc6c b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated
2000-02-23 15:45:43 +00:00
saari%netscape.com c255519e95 Fix for 12051. Two one line fixes to make focus memory work with text input fields and text areas. r=hyatt a=jar 2000-02-23 08:10:36 +00:00
dbaron%fas.harvard.edu 8438b1f02d Bug 28555: fix large leak of StyleContextImpl's. r=karnaze@netscape.com a=jar@netscape.com 2000-02-20 15:18:04 +00:00
pollmann%netscape.com d4d5eb5bcd Bug 14827: Removing code that wrongly set scrolling to auto for every document r=harishd a=rickg 2000-02-19 02:34:20 +00:00
jdunn%netscape.com 080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
troy%netscape.com 96857ad3ab b=27056 a=jar@netscape.com r=troy@netscape.com Change made by Vidur.
Avoid notifications in the middle of a table row
2000-02-16 23:43:59 +00:00
joki%netscape.com c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
attinasi%netscape.com 3a072761b8 Made external stylesheets load synchronously, always. Controlled by a define in case we want to re-enable asynch external stylesheets later. r=pierre,troy b=17309 2000-02-16 06:50:39 +00:00
vidur%netscape.com f2e50f5059 Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann 2000-02-16 02:25:07 +00:00
sfraser%netscape.com a4e6c94818 Call the new Init() method on nsIEditorController for bug 18395. r=pinkerton 2000-02-16 01:41:17 +00:00
pierre%netscape.com 731ac166e2 Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content. 2000-02-16 01:09:36 +00:00
karnaze%netscape.com c75793821e bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
rods%netscape.com e0e813fecd radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com 2ab7d2fccc setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498
2000-02-15 22:45:26 +00:00
nisheeth%netscape.com fa0d00d0b4 r=harishd. Fix for bug 27507. Removed a bogus assert. 2000-02-15 22:03:05 +00:00
pollmann%netscape.com eefd0eb663 Bug 27327: Input::SetAttribute('value') now updates content model, r=buster 2000-02-15 21:56:04 +00:00
rods%netscape.com 1acec82129 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
ftang%netscape.com 189f468495 fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block. 2000-02-15 09:15:18 +00:00
av%netscape.com 45b74a09a8 Fixing 17278, r=vidur 2000-02-15 01:16:04 +00:00
karnaze%netscape.com e7fcf79431 bug 27652, fix loss of border on <table border>, r=mcafee 2000-02-14 06:06:03 +00:00
evaughan%netscape.com 5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
attinasi%netscape.com 57628f4c8c Image title is now set after load is completed so the dimensions will be valid.r=pnunn b=27365 2000-02-12 18:09:40 +00:00
rods%netscape.com 4afe837157 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
2000-02-12 16:26:24 +00:00
rods%netscape.com efb50a3f08 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann
2000-02-12 16:24:19 +00:00
karnaze%netscape.com 2e709d5d79 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
harishd%netscape.com d6aeb5f954 21008 - Handling NOTAGS in HEAD.
r=vidur - For changes in content sink.
2000-02-11 22:07:12 +00:00
rickg%netscape.com 75be200f2d fixed bug24346; r=harishd 2000-02-11 12:10:40 +00:00
vidur%netscape.com d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
attinasi%netscape.com 4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com 0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
pollmann%netscape.com 04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
pollmann%netscape.com fa1dd2cd6c Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
mjudge%netscape.com b32999a1de 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. 2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jst%citec.fi 48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
tbogard%aol.net 840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
vidur%netscape.com 7b323ad68c Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com 0970222b53 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 2000-02-08 01:12:59 +00:00
buster%netscape.com 2b193cb97b bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
valeski%netscape.com 384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
waterson%netscape.com 0624ff054a Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
warren%netscape.com eb18579d03 Propagating return code. r=vidur,joki 2000-02-04 03:06:56 +00:00
vidur%netscape.com 8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
akkana%netscape.com a06aa3ece0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me 2000-02-02 22:47:24 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
attinasi%netscape.com 3dcb1df4fd 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
2000-02-02 01:15:04 +00:00
rods%netscape.com 0fc9226d56 returning the correct return code instead of NS_OK
r=dcone, no bug
2000-02-01 22:42:19 +00:00
hyatt%netscape.com d8922c0918 Fix for 25883. 2000-02-01 00:20:26 +00:00
vidur%netscape.com ee7036593f Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth 2000-01-31 23:39:19 +00:00
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