Commit Graph

289 Commits

Author SHA1 Message Date
Mark Banner
f619756d6a Disable part of TestAtoms which is only run in non-libxul builds and is permantely failing on Windows there. Bug 577500 will investigate getting this re-enabled. 2010-07-19 14:35:16 +01:00
Mark Banner
00ba9c9b57 Disable TestStaticAtoms which is only run in non-libxul builds and is permantely failing there. Bug 577500 will investigate getting this re-enabled. 2010-07-16 07:39:54 +01:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
e43682cb4c b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir 2010-06-30 11:53:41 -04:00
Benjamin Smedberg
28befc0794 Disable the xpt-in-JAR test because that code is changing and running the test with a .manifest isn't worth it. 2010-06-30 09:50:04 -04:00
Benjamin Smedberg
449bc3f36e Fix and test logging of manifest parsing and registration. I discovered that the outer loop doesn't track line numbers correctly when there are multiple newlines in a row, which requires manual looping instead of using nsCRT::strtok. 2010-06-28 13:55:57 -04:00
Benjamin Smedberg
79be6b8325 Rename XRE_AddComponentLocation to XRE_AddManifestLocation to better-convey what it actually does now (it still auto-registers XPT files when passed a directory, but we may get rid of that as well and just fold those into components.manifest), as noted in bug 568691 comment 58. 2010-06-27 21:26:38 -04:00
Benjamin Smedberg
77282b6432 Allow a manifest to register contracts and cids in any order, by deferring processing of contracts until the manifest is completely parsed. This is needed for extension author sanity, and also because jar.mn packaging doesn't place registration lines in order by default. 2010-06-25 08:19:48 -04:00
Benjamin Smedberg
5311231038 Fix the TestRegistrationOrder test: we no longer support deferred registration. 2010-06-22 13:26:23 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
492155b10e Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.

Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
c729bcd681 Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Michael Wu
f37039d236 Fix and reenable jar xptload test 2010-06-16 10:22:33 -07:00
Michael Wu
604a658f5c Disable new jar xptload test due to failures 2010-06-14 20:47:55 -07:00
Michael Wu
1ab55bc44d Fix new jar xptloading test 2010-06-14 18:53:38 -07:00
Benjamin Smedberg
3fcaf094f4 Bug 570488 - Fix loading of XPTs nested in JARs [2/2] r=mwu
--HG--
extra : rebase_source : b97a591c0260daed1f2ef2eba69e60ff82acd18f
2010-06-14 16:10:04 -07:00
Ehsan Akhgari
80e08706f6 Bug 570657 - Make the order of releasing objects and removing them in nsCOMArray's consistent; r=shaver
--HG--
extra : rebase_source : 16f05bbfbd31bc01e0545af111dc4e4adbac8e33
2010-06-09 14:13:16 -04:00
Jacek Caban
e9d233bc23 Bug 411511 - fixed mingw build. r=bsmedberg
--HG--
extra : rebase_source : 300ed0758f4abdf5bf4f2d151bdb3bb4e4e5e2d4
2010-04-07 05:05:00 -04:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Chris Jones
521f71cd9d Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Daniel Holbert
9c9b232086 Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg 2010-05-17 16:36:31 -07:00
L. David Baron
62fab3b136 Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg 2010-05-14 12:05:14 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu
91093439df Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Paolo Amadini
b54f24971a Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02:00
Mike Hommey
0fc23bb0d7 Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Neil Rashbrook
176e5fc212 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Daniel Holbert
3acdc0af07 Bug 552330: Remove NS_ARRAY_LENGTH redefinition in TestObserverArray.cpp to fix compile warning. r=dbaron a=dholbert_sheriff 2010-04-23 13:45:51 -07:00
Jacek Caban
e33b8ea4c5 Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests. 2010-04-16 00:29:15 -05:00
Ginn Chen
bcf64f198e Bug 557470 make check in xpcom/tests/ is not portable on Solaris r=ted.mielczarek 2010-04-15 18:47:25 +08:00
Chris Jones
286a291a3e Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert 2010-04-14 21:09:35 -05:00
Dave Townsend
42dcecd548 Bug 557539: Trying to set nsILocalFile.lastModifiedTime for a directory on windows throws NS_ERROR_ACCESS_DENIED. r=jimm 2010-04-08 12:12:19 -07:00
Daniel Holbert
34666ded61 Bug 557380: Add missing arg to printf in TestUnicodeArguments.cpp, to fix build warning. r=smontagu 2010-04-06 00:09:44 -07:00
Chris Jones
2e823a2ee5 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones
1b4aa00d53 Backed out changeset ac5cbcb2feb2 2010-04-02 13:19:24 -05:00
Chris Jones
2e3a88b480 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Daniel Holbert
301cdef742 Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
Daniel Holbert
6abe703f9b (no bug) Unset executable flag on a few .cpp & .h files in /xpcom/tests. (no review; just a "chmod -x") 2010-04-02 09:34:30 -07:00
Josh Matthews
dc961dbb27 Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
Chris Jones
014cb688de Bug 550425: Bump up the timeout for expensive deadlock tests and print more info on failures. r=bsmedberg,sdwilsh 2010-03-24 19:12:32 -05:00
Mike Hommey
c055a9cf6f Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-24 10:19:14 +01:00
Daniel Holbert
987f9c2297 Bug 552798: fix 'suggest parentheses around comparison in operand of &' in TestAtoms.cpp. r=sicking 2010-03-22 11:57:40 -07:00