jst%netscape.com
7e93050721
Backing out my last change here, this change didn't do what it was supposed to do, not even close.
...
git-svn-id: svn://10.0.0.236/trunk@83622 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 06:16:39 +00:00
jst%netscape.com
dfa08e19a2
Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@83618 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:30:12 +00:00
vidur%netscape.com
33d6574ffe
Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
heikki%netscape.com
88d1b46226
Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@83497 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:21:06 +00:00
heikki%netscape.com
a02e205742
Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@82928 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:23:28 +00:00
jst%netscape.com
bba246348c
Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki
...
git-svn-id: svn://10.0.0.236/trunk@82357 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:22:44 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
heikki%netscape.com
eda004b171
Bug 57437, copied the implementation from HTML. r=adamlock, a=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@81633 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:03:31 +00:00
mstoltz%netscape.com
9351f77d32
Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
Peter.VanderBeken%pandora.be
2cabd6fa68
Enabling XSLT hooks in layout in default build. Bug #42228 . r=axel@pike.org, a=waterson@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@79394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 20:53:08 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jst%netscape.com
da36093404
Fixing nsbeta3+ bug 51562. Don't leak nsXMLProcessingInstructions... r=beard&dbaron
...
git-svn-id: svn://10.0.0.236/trunk@78823 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:51:02 +00:00
Peter.VanderBeken%pandora.be
cbec54eb6e
Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@78100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 05:55:00 +00:00
Peter.VanderBeken%pandora.be
cb5360f078
Fix XSLT hooks (Preparation for bug #42228 ). Remove GetAttributeValueAt (Fixes bug #47454 ). Clean up code. r=jst@netscape.com, a=waterson@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@78022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:34:07 +00:00
jst%netscape.com
0b04376254
Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
nisheeth%netscape.com
77a2d6896f
- Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
...
authors to use ID selectors to target elements in an XML document.
- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com )
git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +00:00
scc%mozilla.org
a0a2b1b7fe
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
heikki%netscape.com
4ab104dc0c
Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd).
...
git-svn-id: svn://10.0.0.236/trunk@75076 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:48:08 +00:00
nisheeth%netscape.com
ab324a8e94
Fix for bug 43019. Does not affect current build. Fixes a unix compile problem for XSL hooks in mozilla.
...
git-svn-id: svn://10.0.0.236/trunk@73269 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:12:44 +00:00
jst%netscape.com
52bb73928e
Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@73000 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:21:32 +00:00
vidur%netscape.com
dc0d9afb5a
Fix for bug 15118. XML content sink now processes the DOCTYPE. r=jst,nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72471 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:49:19 +00:00
nisheeth%netscape.com
72b21b2508
Checking in patch from Andreas to fix Mozilla's XSL hooks (bug 36038). Does not affect the default mozilla build.
...
git-svn-id: svn://10.0.0.236/trunk@72459 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:29:19 +00:00
dbaron%fas.harvard.edu
f42beb99b8
Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@72277 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:22:09 +00:00
axel%pike.org
b8a7545f4e
Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@72204 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:35:26 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
nisheeth%netscape.com
a03ea3a94a
Removing include of windows.h in and ifdef XSL section of the code. Does not affect mozilla build.
...
git-svn-id: svn://10.0.0.236/trunk@69364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:40:55 +00:00
axel%pike.org
c8db92cdb0
Get XSLT going for unix, patch by andreas.otte@primus-online.de,
...
r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:45:24 +00:00
jst%netscape.com
0f0b4d6367
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.
...
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
heikki%citec.fi
293cb0dc98
Implemented actuate=onLoad for simple XLinks. r=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@68835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:30:21 +00:00
nisheeth%netscape.com
8a6a52bef1
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.
git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
scc%netscape.com
b5432ec86e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
heikki%citec.fi
57ff046d84
Missing QI entry for an interface we inherit from. Found by ddediu@usa.net, thanks. r=me.
...
git-svn-id: svn://10.0.0.236/trunk@65810 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:19:50 +00:00
nisheeth%netscape.com
dea3118b7e
Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
...
git-svn-id: svn://10.0.0.236/trunk@64828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:15 +00:00
nisheeth%netscape.com
9c91417984
r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
...
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
git-svn-id: svn://10.0.0.236/trunk@64553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:41:48 +00:00
norris%netscape.com
eac4ea696c
Fix bug 7264 All JavaScript running with correct principals
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@64317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:59:46 +00:00
nisheeth%netscape.com
3b02feee33
r=pollmann. Fix for bug 17643.
...
- Rewrote GetQuotedAttributeValue() so that it handles whitespace and attribute names inside attribute values.
- The xml stylesheet PI now only needs a href attribute to work right. Other attributes like title, media, alternate, default to null. The type attribute defaults to "text/css".
git-svn-id: svn://10.0.0.236/trunk@64274 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:18:13 +00:00
scc%netscape.com
d88198c611
small changes to clients of string converting APIs
...
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
norris%netscape.com
953def32a1
Fix
...
32088 Circumventing Same Origin security policy using javascript: URLs
32040 about: can't be link
Also remove deprecated method
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@64066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:15:37 +00:00
nisheeth%netscape.com
9317eafd78
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.
...
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
rickg%netscape.com
8a2887eab8
remove calls to deprecated string methods
...
git-svn-id: svn://10.0.0.236/trunk@62711 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:02:40 +00:00
tbogard%aol.net
891750e638
Get the contentViewer from the docShell APIs rather than the webShell ones.
...
git-svn-id: svn://10.0.0.236/trunk@62566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:29:47 +00:00
norris%netscape.com
bf96355ad4
Fix 28612 META Refresh allowed in Mail/News
...
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
nisheeth%netscape.com
942cd9ee54
r=pollmann. Fix for PDT+ bug 28556. We were leaking nsIAtom's in the XML content sink. Thanks to Patrick Beard for providing the fix.
...
git-svn-id: svn://10.0.0.236/trunk@61520 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:16:03 +00:00
kmcclusk%netscape.com
31beeacc3d
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
git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
valeski%netscape.com
8abecb4b3e
r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
...
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
jst%citec.fi
d592dbb12a
Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@58345 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 02:30:02 +00:00
vidur%netscape.com
e66d7c18a4
a=chofmann. r=nisheeth, hyatt. Revised fix for bug 24442 and 24524. Switched
...
reference count handling for the content stack to use nsISupports. The previous
check introduced a leak.
git-svn-id: svn://10.0.0.236/trunk@58340 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 01:32:32 +00:00
vidur%netscape.com
80a6fe785d
a=chofmann. r=vidur, troy. This is Nisheeth checking in on Vidur's machine. This fixes
...
bug 24442 and bug 24524. The content stack wasn't addref'ing the content objects pushed
onto it while the content sink destructor was releasing the content objects. This caused
a crash because the root content object would get freed one too many times. Now,
PushContent() addrefs the content object before inserting it into the content stack.
git-svn-id: svn://10.0.0.236/trunk@58332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 00:05:36 +00:00