645 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
a01db6ee2c Bug 319374, XPath should ignore changes to anonymous content, r+sr=sicking, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@232375 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 05:53:03 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
asqueella%gmail.com
cf57b4c15a Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas


git-svn-id: svn://10.0.0.236/trunk@230140 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:15:50 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
07b1a00bfc Fix for bug 384440 (txHandlerTable leaks). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228055 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 16:54:34 +00:00
jonas%sicking.cc
8aac19d83c Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
bzbarsky%mit.edu
9c1042b2f2 Store the charset we had when we were written into when document.open()
happens.  Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16.  Bug 255820, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
9b9e29922e Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
dbaron%dbaron.org
5948490569 Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222463 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:34:15 +00:00
tor%cs.brown.edu
624fbcce20 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@221698 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 13:49:43 +00:00
jonas%sicking.cc
8c63998a0e Bug 371576: Execute scripts syncronously when inserted in the tree whenever possible. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@221142 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 08:11:40 +00:00
Olli.Pettay%helsinki.fi
e9ed4c38ab Bug 369753, remove nsIXMLContent, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@219798 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 00:15:14 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
peterv%propagandism.org
a501b993d3 Part 2 of the fix for bug 306539 (Error during XSLT transformation: (null)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@218196 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 13:48:57 +00:00
peterv%propagandism.org
76d5d4ba9f Fix for bug 366029 (xsl:copy doesn't instantiate its content as a template for children). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@218111 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 12:41:55 +00:00
peterv%propagandism.org
5934551e2b Fix for bug 365597 (Crash [@ nsINodeInfo::NodeInfoManager]). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217685 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 13:36:18 +00:00
peterv%propagandism.org
dd03cc794a Fix for bug 364037 (xsl:copy-of a xsl:variable which contains a node crashes mozilla). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217461 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:24:21 +00:00
peterv%propagandism.org
7809c17869 First part of fix for bug 306539 (Error during XSLT transformation: (null)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217366 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:22:18 +00:00
peterv%propagandism.org
faa9bb5fb6 Fix for bug 363656 (regexp:match returns results out of order). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217364 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 16:15:15 +00:00
cvshook%sicking.cc
10146a5b87 Fix long lines in previous patch. b=363789
git-svn-id: svn://10.0.0.236/trunk@217333 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:58:00 +00:00
cvshook%sicking.cc
d3f8d240a0 Implement more exslt functions. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@217330 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:19:34 +00:00
cvshook%sicking.cc
2eec67b7b3 fix bustage for optimized builds
git-svn-id: svn://10.0.0.236/trunk@216906 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:05:47 +00:00
cvshook%sicking.cc
120424502b Bug 210528: Fix ownership models of some functioncalls in the XPath code and replace some txLists with owning nsTArrays. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216902 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:20:15 +00:00
cvshook%sicking.cc
1a3376514d Bug 363242: Make txExpandedNameMap typesafe. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216867 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 01:59:30 +00:00
peterv%propagandism.org
859f63854e Fix part of bug 226124 (Cleanup transformiix walkers). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@216482 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:59:04 +00:00
peterv%propagandism.org
4249846cc7 Fix for bug 354886 (implement EXSLT - Regular Expressions module). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@216415 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 15:11:40 +00:00
cvshook%sicking.cc
38f3bfff89 Bug 361442: Evaluate context independent expressions at optimize time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216312 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:01:45 +00:00
cvshook%sicking.cc
5c446ec16a properly initialize the result recycler when evaluating xslt PI params. r/sr=peterv b=362297 a=stuart
git-svn-id: svn://10.0.0.236/trunk@216167 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 19:33:29 +00:00
cvshook%sicking.cc
63363e3091 Bug 361399: txXPathOptimizer::optimizePath is horked. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215589 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 22:48:21 +00:00
benjamin%smedbergs.us
e6f5a47e35 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215468 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:03:38 +00:00
peterv%propagandism.org
07e7060f29 Try to fix bustage, it's all sicking's fault\!
git-svn-id: svn://10.0.0.236/trunk@215378 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:40:34 +00:00
peterv%propagandism.org
2cec917790 Fix for bug 193678 (support exslt:common - exslt:common functions implementation). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@215371 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:42:25 +00:00
benjamin%smedbergs.us
ea38317460 Backout xptcall because linux tboxes are stupid, I think.
git-svn-id: svn://10.0.0.236/trunk@215369 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us
d7078cf86a Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215364 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:29:33 +00:00
peterv%propagandism.org
a2c2023c89 Try to fix ports bustage.
git-svn-id: svn://10.0.0.236/trunk@215305 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:38:31 +00:00
peterv%propagandism.org
f57752e9b2 Try to uninline constructor and destructor again to reduce codesize increase.
git-svn-id: svn://10.0.0.236/trunk@215301 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 00:31:52 +00:00
peterv%propagandism.org
0c7d5f0dc4 Part of the fix for bug 193678 (support exslt:common - allow txXPathNode to hold a strong ref to its root). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@215296 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:23:20 +00:00
peterv%propagandism.org
35583114f4 Additional fix for bug 352601 (XSLT forwards compatible processing enabled when it shouldn't). rs=sicking.
git-svn-id: svn://10.0.0.236/trunk@215140 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:49:10 +00:00
cvshook%sicking.cc
e67ffd2e25 Fix inconsistencies in colon at end of macro. rs=peterv. No bug
git-svn-id: svn://10.0.0.236/trunk@215127 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:29:55 +00:00
cvshook%sicking.cc
82abeafc72 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215123 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 22:33:56 +00:00
cvshook%sicking.cc
d19b6c4635 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215121 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 21:47:13 +00:00
cvshook%sicking.cc
0b1c3b4909 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215119 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:52:59 +00:00
cvshook%sicking.cc
1f787980fa Bug 357345: Add more optimizations to the XPath optimizer. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:44:08 +00:00
cvshook%sicking.cc
676346874b Bug 357345: Add more optimizations to the XPath optimizer. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215117 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:31:59 +00:00
gavin%gavinsharp.com
b189f41dd5 Bug 333704: fix leak of key in txNodeSorter::addSortElement, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@214770 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 14:54:01 +00:00