Benoit Jacob
b37acfee9b
Bug 583325; CheckedInt: beware of signed right shift; r=lw
2010-08-05 09:59:37 -04:00
Benoit Jacob
865570c6d5
Bug 580034; Some CheckedInt tweaks; r=jmuizelaar
2010-08-05 09:57:06 -04:00
Kyle Huey
682cc66d87
Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
...
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Mounir Lamouri
83d57fba16
Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
...
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Mark Banner
690af9f811
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
f6f3d95a90
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
dca1fdaf5b
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
af6bdfaeea
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
b11412ff34
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Benoit Jacob
7a44a33282
b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir
2010-07-03 18:33:05 -04:00
Benoit Jacob
9864671cab
b=576067; Let WebGL use CheckedInt; r=vladimir
2010-07-03 18:32:19 -04:00
Benjamin Smedberg
94ef4d2ac3
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
9feea3b281
b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir
2010-06-30 11:53:41 -04:00
Benjamin Smedberg
f63b092802
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
ffd485d1e5
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
dd5aa311e8
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
44d622fe89
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
a89e5e3db3
Fix the TestRegistrationOrder test: we no longer support deferred registration.
2010-06-22 13:26:23 -04:00
Benjamin Smedberg
cae1800556
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
432c4422b8
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
4d7e3ff7df
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
d461e7af31
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
01ec17a1f9
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
5d01c7f8a9
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Michael Wu
d127c73982
Fix and reenable jar xptload test
2010-06-16 10:22:33 -07:00
Michael Wu
ca65e32f94
Disable new jar xptload test due to failures
2010-06-14 20:47:55 -07:00
Michael Wu
f4f5f1649f
Fix new jar xptloading test
2010-06-14 18:53:38 -07:00
Benjamin Smedberg
c49b6a2dba
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
35b2d40320
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
2a7bf960a8
Bug 411511 - fixed mingw build. r=bsmedberg
...
--HG--
extra : rebase_source : 300ed0758f4abdf5bf4f2d151bdb3bb4e4e5e2d4
2010-04-07 05:05:00 -04:00
Michael Kohler
11a655ab7e
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
a042fcb159
Bug 565461: Implement nsTArray::operator==. r=bsmedberg
2010-05-22 14:35:41 -05:00
Daniel Holbert
9a9b975fa9
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
d8876c4e12
Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg
2010-05-14 12:05:14 -07:00
Michael Kohler
c00ff9684a
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu
db9dd1ff0d
Bug 537339 - Add heap functions to nsTArray, r=roc
2010-05-05 10:21:23 -07:00
Paolo Amadini
88ee7e98ec
Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg
2010-05-02 10:28:26 +02:00
Mike Hommey
aee189207e
Test for bug 561971 [r=dtownsend]
...
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Neil Rashbrook
76f69dcca4
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
b5cbfb9447
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
2c9fdf726a
Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests.
2010-04-16 00:29:15 -05:00
Ginn Chen
25e1ba8274
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
408cd19554
Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert
2010-04-14 21:09:35 -05:00
Dave Townsend
4122df726a
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
a405616b48
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
d8d8519e40
Bug 551254: Simple (disabled) test that the STL wrappers work correctly.
2010-04-02 12:58:12 -05:00
Chris Jones
1eb5b29baa
Backed out changeset ac5cbcb2feb2
2010-04-02 13:19:24 -05:00
Chris Jones
2533c1f73d
Bug 551254: Simple (disabled) test that the STL wrappers work correctly.
2010-04-02 12:58:12 -05:00
Daniel Holbert
6da6360cec
Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg
2010-04-02 09:34:31 -07:00
Daniel Holbert
addf7e62ea
(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