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
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
Simon Montagu
16606db5c5
Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg
2010-03-18 10:37:12 +02:00
Daniel Holbert
34cb74310e
Bug 552805: Fix warning "overflow in implicit constant conversion" in TestEncoding.cpp. r=waldo
2010-03-17 01:54:17 -07:00
Daniel Holbert
8779011b89
Bug 552329: Fix compile warnings in xpcshell test TestOOM.cpp. r=dougt, test-only change on CLOSED TREE to see if tinderbox still wants to be red
2010-03-16 10:42:51 -07:00
Jonathan Watt
9380758ab8
Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
...
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Chris Jones
81b4a577bb
Bug 550425: Don't close the subprocess's stdout/stderr pipes until after it exits. r=bsmedberg
2010-03-11 01:35:25 -06:00
Brad Lassey
65e93ade37
follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
...
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Serge Gautherie
dfcd5d708d
Bug 551153 - ###!!! ASSERTION: Not a UTF-8 string when running TestUTF and TestAtoms; (Bv1) Make it fully explicit that Malformed8Strings[] is not to be used in debug builds.
...
r=jonas.
2010-03-10 21:03:23 +01:00
Brad Lassey
8857f4c08a
bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
...
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jonas Sicking
aafc11aca9
Bug 551129: Move tests in TestPermanentAtoms.cpp into the new shiny TestAtoms.cpp. Disable tests with known intentional assertions in debug builds. r=jst
2010-03-09 16:30:06 -08:00
Brad Lassey
cd471a77fa
bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg
2010-03-09 11:40:16 -05:00
Mark Banner
6dad682aa7
Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking
2010-03-09 09:51:43 +00:00
Jonas Sicking
e117cf60c1
Bug 534136 Part 7: Add tests for atoms. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
0baab851d8
Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00