Benjamin Smedberg
585a9bcb38
Bug 666938 - Add a console message when a binary component doesn't load because of a kVersion mismatch, r=Mossop
...
--HG--
extra : rebase_source : 7a950be04051e13c169af5d9852cef0e123d31a7
2011-06-24 14:08:13 -04:00
Taras Glek
fe42dd7cc0
bug 661574: Move nsITelemetry into toolkit r=Mossop
...
--HG--
rename : xpcom/base/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : xpcom/base/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : xpcom/tests/unit/test_nsITelemetry.js => toolkit/components/telemetry/tests/unit/test_nsITelemetry.js
2011-06-20 14:47:55 -07:00
Kyle Huey
7e26c9b708
Bustage fix for *nix platforms.
2011-06-08 12:52:42 -07:00
Kyle Huey
49833f0950
Bustage fix for *nix platforms.
2011-06-08 12:50:14 -07:00
Kyle Huey
e44f63ef14
Bug 661529: Add an API in xpcom/ for encoding input streams to base64. r=bsmedberg sr=bz
...
--HG--
extra : rebase_source : 673ed4d1a0ab6dd62a4cf0fb2b25b190ecc0b012
2011-06-08 11:08:31 -07:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Matheus Kerschbaum
6eb93f7dd3
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Joel Maher
193c66083d
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Taras Glek
d90141cfac
Bug 657709: Cleanup histogram API r=mrbkap
...
--HG--
rename : xpcom/base/nsTelemetry.cpp => xpcom/base/Telemetry.cpp
2011-05-19 19:33:05 -07:00
Ed Morley
91238e76b1
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Alex Vincent
0679b2f21a
Test for bug 656331 - make sure we don't load version-incompatible components.
...
--HG--
extra : rebase_source : b97dbd772c903e0f567d2c811ad2d2440a536646
2011-05-12 10:54:08 -04:00
Ed Morley
33aac194a8
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Chris Jones
31aa2c4e77
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Taras Glek
5fba39075d
bug 649502: Expose histograms to JS r=mrbkap
2011-04-27 11:07:02 -07:00
Dave Townsend
68289c6545
Bug 566787: Use the windows API to get the home directory when possible. r=jimm, sr=bsmedberg
2011-04-21 09:36:44 -07:00
Phil Ringnalda
22ed1678cb
Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg
2011-04-10 13:23:45 -07:00
Mike Hommey
6de32c8fa9
Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek
2011-04-15 11:03:17 +02:00
Ehsan Akhgari
cb5cc4ef6b
Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg
2011-04-14 10:18:02 -04:00
Mike Hommey
2e34091c98
Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted
2011-04-14 11:23:13 +02:00
Mounir Lamouri
6e945be67b
Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg
2011-03-25 12:13:59 +01:00
Neil Rashbrook
f0721f4c06
Bug 540322 Add some missing methods to the external string API r=bsmedberg
2011-03-25 11:39:38 +00:00
Mounir Lamouri
3dc7fe104c
Bug 637325 - Fix a typo in xpcom/tests/TestStrings.cpp:test_strip_chars. r=bsmedberg a=tests
2011-03-18 15:13:40 +01:00
Serge Gautherie
5fe584f0a6
Bug 619350 - Better identify the 2 'Deadlock detector correctness' tests; (Av1) Remove unwanted ";" at end of macros, Make test names and (failed) result logs more explicit, Add a log when skipping TestDeadlockDetectorScalability tests.
...
r=jones.chris.g a=(test only).
2011-02-03 10:57:00 +01:00
Chris Leary
04ffe6d2a0
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Andreas Gal
f5c9522e86
Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer).
2011-01-14 17:58:40 -08:00
Masatoshi Kimura
ca09a83e1c
Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg
2011-01-17 12:33:34 -05:00
Mark Banner
efbea798e6
Follow up to bug 620101 put the consume pending events functionality inside the for loop where it was originally intended to be. a=test-only fix.
2011-01-14 15:09:34 +00:00
Mats Palmgren
d8e85c2924
Bug 615147. r=dbaron a=blocking2.0:final
2011-01-14 01:22:26 +01:00
Chris Jones
227698aa53
Bug 594263: Bump up timeout to try to make orange go away. r=sdwilsh a=t
2011-01-13 18:07:43 -06:00
Mark Banner
93e1b98628
Bug 620101 - Intermittent failing in test_nsIProcess.js | TEST-UNEXPECTED-FAIL | Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProcess.run]; r=glandium,a=test-only fix
2011-01-13 17:51:40 +00:00
Justin Lebar
32d92cb466
Bug 585708 - Part 1: Rework SSE.h so that it supports and encourages putting intrinsics in a file separate from the main code. r,a2.0=dbaron
...
--HG--
extra : rebase_source : 6bc2169ba4e451e1d8a36540614024fe40902e62
2010-08-11 16:49:42 -07:00
Benjamin Smedberg
8f0a5c5510
Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking
2010-12-03 15:24:22 -05:00
Josh Aas
42b9381c9d
Bug 599478: Fix incorrect exit code for unhandled signal termination in nsIProcess on Mac OS X. r=bsmedberg a=blocking2.0betaN+
2010-10-25 16:57:18 -04:00
Nick Thomas
27a5084bee
Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE
2010-09-27 12:14:47 +13:00
Michael Wu
ef808d0528
Bug 533038 - 1. Generalize manifest reading code and add api for reading manifests from jars, r=bsmedberg a=blocking-beta6
2010-09-08 20:37:11 -07:00
Doug Turner
2676d1a495
Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0
2010-09-02 19:02:06 -03:00
Dan Witte
6aec1f053e
Merge m-c -> e10s.
2010-08-28 13:39:42 -07:00
Joel Maher
adaba45072
Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB
2010-08-26 14:47:28 -07:00
bhsieh@mozilla.com
df2049724f
bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg
2010-08-12 12:37:44 -07:00
Clint Talbert
4fa6358e1b
Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
...
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6
Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field
2010-08-25 11:47:39 -07:00
Dan Witte
27ff77fa19
Back out bug 520309 part 1. a=#developers for checkin on CLOSED TREE.
2010-08-24 07:59:57 -07:00
bhsieh@mozilla.com
ee7804329f
bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg
2010-08-12 12:37:44 -07:00
Jonas Sicking
32a03526e0
Backout bugs 586754, 574189, 584611 due to orange. a=backout
2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b
Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB
2010-08-20 09:32:58 -07:00
Ehren Metcalfe
b970560e98
Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras
2010-08-18 18:06:05 -07:00
Ehren Metcalfe
eefb380a24
Bug 576214 - fix NS_STACK_CLASS analysis for Dehydra with GCC 4.5 r=taras
2010-08-18 18:05:49 -07:00
Ehren Metcalfe
9082c6c811
Bug 573786 - Script to detect static initializers r=taras
2010-08-18 18:04:39 -07:00
timeless@mozdev.org
a484089327
Bug 577921 mark DEBUG only variables as ifdef DEBUG in xpcom
...
r=bsmedberg
a=bsmedberg
a=sheriff for landing
2010-07-11 16:00:19 +03:00
Benjamin Smedberg
7c3e8bf65e
Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted
2010-08-09 10:04:10 -04:00
Benjamin Smedberg
9e2bdfd15c
Merge mozilla-central into single-chrome-manifest.
2010-08-04 14:23:04 -04:00
Benjamin Smedberg
0736255572
Bug 579178 followup - Fix TestRegistrationOrder to load manifests instead of directories.
2010-07-22 10:43:27 -04:00
Mounir Lamouri
d55a633ca1
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
Benoit Jacob
0ed4ed63bc
Bug 583325; CheckedInt: beware of signed right shift; r=lw
2010-08-05 09:59:37 -04:00
Benoit Jacob
295cb5f473
Bug 580034; Some CheckedInt tweaks; r=jmuizelaar
2010-08-05 09:57:06 -04:00
Mark Banner
8dea639db1
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
5fd0dc220f
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
Kyle Huey
ef8a1429c9
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
Saint Wesonga
4bd9280674
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Benoit Jacob
c84a062c1e
b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir
2010-07-03 18:33:05 -04:00
Benoit Jacob
e6358a2cb1
b=576067; Let WebGL use CheckedInt; r=vladimir
2010-07-03 18:32:19 -04:00
Benjamin Smedberg
e17740e1ab
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
8f98b1fc9c
b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir
2010-06-30 11:53:41 -04:00
Benjamin Smedberg
a2161fd0a8
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
47235edc30
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
67fa2b02d6
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
6a6ee9e7df
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
f6058a77e6
Fix the TestRegistrationOrder test: we no longer support deferred registration.
2010-06-22 13:26:23 -04:00
Benjamin Smedberg
0df0345c66
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
edbd474f05
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
c611ebcd81
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
8ce4ecd19a
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
0978149cf3
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c81affe35c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Michael Wu
1131c96727
Fix and reenable jar xptload test
2010-06-16 10:22:33 -07:00
Michael Wu
5f7ccf2f6c
Disable new jar xptload test due to failures
2010-06-14 20:47:55 -07:00
Michael Wu
2516fe7f2d
Fix new jar xptloading test
2010-06-14 18:53:38 -07:00
Benjamin Smedberg
754a66798f
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
6bfd4c53f7
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
6ecb6205b8
Bug 411511 - fixed mingw build. r=bsmedberg
...
--HG--
extra : rebase_source : 300ed0758f4abdf5bf4f2d151bdb3bb4e4e5e2d4
2010-04-07 05:05:00 -04:00
Michael Kohler
8550fb091a
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
30bb6770cb
Bug 565461: Implement nsTArray::operator==. r=bsmedberg
2010-05-22 14:35:41 -05:00
Daniel Holbert
160320f2c5
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
cbeb3a19cd
Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg
2010-05-14 12:05:14 -07:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu
01e4c19b42
Bug 537339 - Add heap functions to nsTArray, r=roc
2010-05-05 10:21:23 -07:00
Paolo Amadini
8818dd9408
Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg
2010-05-02 10:28:26 +02:00
Mike Hommey
6444a901bf
Test for bug 561971 [r=dtownsend]
...
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Neil Rashbrook
4f222ef14b
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
c931463a89
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
46bad591ca
Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests.
2010-04-16 00:29:15 -05:00
Ginn Chen
ed54387efd
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
fc4f48bcf2
Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert
2010-04-14 21:09:35 -05:00
Dave Townsend
1ba52b15f5
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
8dbd0f9902
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
732c02bb31
Bug 551254: Simple (disabled) test that the STL wrappers work correctly.
2010-04-02 12:58:12 -05:00
Chris Jones
a6d985aeaa
Backed out changeset ac5cbcb2feb2
2010-04-02 13:19:24 -05:00
Chris Jones
23b3beae10
Bug 551254: Simple (disabled) test that the STL wrappers work correctly.
2010-04-02 12:58:12 -05:00
Daniel Holbert
b5eb8254ec
Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg
2010-04-02 09:34:31 -07:00
Daniel Holbert
059379486c
(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
4bc037366d
Bug 551286: Add a per function 'final' keyword in C++. r=tglek
2010-03-28 11:44:33 -04:00
Chris Jones
76eec45c74
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
604b5b7d56
Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend
2010-03-24 10:19:14 +01:00
Daniel Holbert
010ceb4326
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
719c7d651d
Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg
2010-03-18 10:37:12 +02:00
Daniel Holbert
c6edb70d58
Bug 552805: Fix warning "overflow in implicit constant conversion" in TestEncoding.cpp. r=waldo
2010-03-17 01:54:17 -07:00
Daniel Holbert
55a1277c49
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
b6427fd0a3
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
d740a7c97a
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
aa2a6e2a6a
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
f54b79a4a5
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
4257e0473f
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
e7e19006fb
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
61564a8d73
bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg
2010-03-09 11:40:16 -05:00
Mark Banner
3fff3e1706
Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking
2010-03-09 09:51:43 +00:00
Jonas Sicking
ef799a2e75
Bug 534136 Part 7: Add tests for atoms. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
8b548b942e
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
c7c7514f75
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
c24e5442a9
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Daniel Holbert
59c5b6d0cc
Bug 539585: Fix warning "warning: format '%p' expects type 'void *'" in xpcom directory. r=bsmedberg
2010-03-05 10:41:25 -08:00
Dão Gottwald
54cbc60d3a
Backed out changeset 4c8952703e77
2010-03-05 13:34:44 +01:00
Mike Hommey
1c240791e6
Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend
2010-03-05 13:02:22 +01:00
Mike Hommey
ca86f42a9a
Bug 543464 - Cleanup after make check in xpcom/tests. r=bsemdberg
2010-03-03 16:25:14 +01:00
Chris Jones
29f7a03ce4
Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc
2010-03-01 15:44:05 -06:00
Jonas Sicking
89ab174884
Bug 549098: Work around expected asserts by disabling tests in debug builds. r=dbaron
2010-02-27 13:15:51 -08:00
Neil Rashbrook
b8cb130a03
Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron
2010-02-27 16:01:53 +00:00
Jonas Sicking
21ba749fb2
Bug 541245 part 4: Be consistent about prohibited characters such as 0xFFFE in UTF8<->UTF16 conversion code. r=smontagu
2010-02-23 09:38:10 -08:00
Jonas Sicking
912342472e
Bug 541245 part 3: Add UTF8/UTF16 encoding/decoding/comparison tests. r=smontagu
2010-02-23 09:38:10 -08:00
Saint Wesonga
5d2c924b93
Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst
2010-02-22 18:41:21 +01:00
Neil Rashbrook
342037afb9
Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg
2010-02-20 15:26:12 +00:00
Justin Dolske
3e1253bd35
Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske
2010-02-09 17:05:31 -08:00
Jae-Seong Lee-Russo
082e12c87c
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Daniel Holbert
b9edc442d1
fix for thunderbird bustage from Bug 474743. (need <stdio.h> in new xpcshell test for 'printf' usage)
2010-01-12 12:56:16 -08:00
Brian Birtles
888c897c0d
Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg
2010-01-12 12:00:49 -08:00
Neil Rashbrook
b871244cc3
Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg
2010-01-08 23:43:50 +00:00
Chris Jones
c10f70f476
Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc
2010-01-07 11:21:23 -06:00
Metal Sonic
80ae9b3620
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
L. David Baron
531cd50e74
Run ShowSSEConfig as a unit test so that the output shows up in unit test logs.
2009-12-13 19:40:55 -08:00
L. David Baron
7b16d7e3f7
Add SSE.h to consolidate code for Intel CPU feature detection at both compile-time and run-time. (Bug 513422) r=vlad
2009-12-11 08:13:19 -08:00
Henri Sivonen
3ad04b51a7
Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
...
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Chris Jones
84a1bad070
Fix build bustage
2009-11-16 14:32:03 -06:00
Chris Jones
213fbd7685
bug 525573: in --enable-tracemalloc builds, initialize tracemalloc in XPCOM unit tests so as to support multi-threaded tests. r=jwalden
2009-11-16 12:55:39 -06:00
Jae-Seong Lee-Russo
d9a2b38712
xpcom/tests/unit/test_localfile.js.
...
Bug 524781 - xpcshell-tests: turn on strict & werror by default.
r=doug.turner.
2009-11-15 12:20:38 +01:00
Neil Rashbrook
63ff447dc4
Bug 520366 AppendInt only handles 32 bit signed ints r=bsmedberg
2009-11-04 21:33:23 +00:00
Marco Bonardo
86d4f8bdcf
Bug 525245 - system-info should expose hardware specs to JS consumers, r=bsmedberg
2009-11-04 15:41:37 +01:00
Josh Aas
c4da1c3e8e
Implement nsIFile::IsHidden without FSRefs on Mac OS X. Fixes failures on virtual file system objects. b=491688 r=bsmedberg
2009-11-02 16:15:40 -05:00
Ginn Chen
f4c4e9adf3
Bug 522157 Make -D__FUNCTION__=__func__ global for Sun Studio on Solaris r=benjamin
2009-10-26 14:25:40 +08:00
Ted Mielczarek
5860669cc9
bug 523378 - TestDeadlockDetector failing on OS X. disable it for now.
2009-10-20 13:57:48 -04:00
Karsten Düsterloh
2320dc79db
Backed out changeset 8dfd3a7cab91 (Bug 364864) due to Leak test red
2009-10-05 23:33:06 +02:00
Karsten Düsterloh
bc55115201
Bug 364864: binary testcase; r=bsmedberg
2009-10-05 21:12:43 +02:00
Benjamin Smedberg
9a64b9ce7e
Fix the static analysis error: m.isVirtual is a tri-state undefined, true, or "pure", and I didn't take that into account when writing the original NS_OVERRIDE analysis.
2009-10-04 14:35:33 -04:00
Shawn Wilsher
d646dc8afa
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Shawn Wilsher
1b0b7b4269
Backed out changeset 467f14a11325 (bug 517604)
2009-09-30 17:03:37 -07:00
Shawn Wilsher
a431274454
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Josh Aas
c823d59870
Fix test_symlinks.js failure on Mac OS X, match UNIX native target code (use readlink, not realpath). b=516799 r=bsmedberg
2009-09-22 13:37:30 -04:00
Benjamin Smedberg
b4cc34446e
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Taras Glek
a7a24a1627
Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg
...
--HG--
extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
2009-09-18 10:26:13 -07:00
Josh Aas
dbba764d30
Disable test_symlinks.js temporarily as it fails under the 10.5 SDK. b=516799
2009-09-15 16:46:46 -04:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Neil Rashbrook
16b1fe13c8
Bug 499027 Copying an empty string to a new string allocates a buffer r=dbaron sr=jst
2009-08-14 12:03:05 +01:00
Benjamin Smedberg
6863d9f3f4
Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR.
2009-07-27 10:47:22 -04:00
Makoto Kato
152810b974
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Shawn Wilsher
4c6bbe05cc
Bug 494828 - Stop using our own mutexes and use SQLite's where possible.
...
Part 1: Create helper objects to make using sqlite3_mutex safer and easier.
r=cjones
2009-07-22 15:18:33 -07:00
Chris Jones
0c29675086
bug 490072: upgrade XPCOM unit tests to new thread sync API. drop nsAutoLock test. r=bsmedberg
2009-07-22 22:55:02 -05:00
Chris Jones
e79c9a7275
Bug 505586: use the right String::Find() function from external API code. r=bsmedberg
2009-07-22 15:47:14 -05:00
Josh Aas
06262a54a5
Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg
2009-07-08 11:26:07 -04:00
Dave Townsend
99b44d9574
Test arguments with spaces and quotes in nsIProcess. r=robstrong
2009-06-23 11:33:41 +01:00
Arpad Borsos
2c52e03fad
Back out 7d502207183d (Bug 493701), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 1c08b3767508bc359d395560b08248fcaa71f511
2009-06-16 14:37:35 +02:00
Arpad Borsos
451e5accfb
Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz
2009-06-11 11:03:40 +02:00
Hiroyuki Ikezoe
177d91f354
Bug 487694 - "unable to build ssltunnel and some xpcom/test files due to CxxFrameHandler linkage" (Patch for nsIFileEnumerator.exe) [r=benjamin]
2009-06-14 01:51:12 -07:00
Arpad Borsos
736ae13a3d
Back out bug 493701, suspected of causing dhtml and tp3 regression
2009-06-12 23:19:20 +02:00
Arpad Borsos
2b0b982fdf
Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz
...
--HG--
extra : rebase_source : 0caea074b95767f83063892d74b7c372976c366e
2009-06-11 11:03:40 +02:00
Arpad Borsos
a56370e043
Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron
2009-05-26 10:53:15 +02:00
Ginn Chen
15183dceab
Bug 489299 TestSynchronization.cpp failed to compile with Sun Studio r=benjamin, jones.chris.g
2009-06-11 14:46:13 +08:00
Josh Aas
ca207c2111
Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc
2009-06-10 22:23:57 -07:00
Dave Townsend
71630ca251
Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong
2009-06-10 13:40:29 +01:00
Jesse Ruderman
13ce09dcd1
Change tabs to spaces (followup to the checkin bz just made)
2009-06-09 21:13:36 -07:00
Boris Zbarsky
3a023164e4
Adding test for nsTObserverArray
2009-06-09 22:57:41 -04:00
Benjamin Smedberg
6df221580d
Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
...
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Hiroyuki Ikezoe
c27b02e4cb
Bug 483819. iostream is not needed or wanted in WinCE build. r=bsmedberg
2009-05-18 10:29:54 +12:00
Chris Jones
98311e5904
bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg
2009-05-14 13:07:30 -07:00
Phil Ringnalda
fcdc4de2b2
Bug 115334 - Remove long long dead StringFactoring tests, and the last .mcp in mozilla-central in the bargain, r=bsmedberg
2009-05-12 19:50:35 -07:00
Boris Zbarsky
612e9ad4e4
Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg.
2009-05-07 15:21:54 -04:00
Benjamin Smedberg
c71b7fc5e0
Bug 491550 - Fix TestDeadlockDetector on debug+libxul configurations r=bustage fix
2009-05-06 10:33:58 -04:00
Serge Gautherie
325564e9cb
Bug 482942 - Implement NS_LOCALFILE_DELETE_ON_CLOSE flag for nsILocalFile::OpenNSPRFileDesc; (Cv1) TestHarness.h: s/PRBool/PRUint32/; r=benjamin
2009-05-06 01:11:16 +02:00
Chris Jones
24b939e504
Bug 456272: deadlock detector improvements
2009-05-04 21:57:15 -07:00
Chris Jones
6fa9921e11
Backed out changeset 3deeb3c83c77
2009-05-02 21:13:57 -07:00
Chris Jones
47a7c89e54
Bug 456272: deadlock detector improvements r=brendan
2009-05-02 20:54:05 -07:00
Chris Jones
e8322d6258
bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg
2009-04-24 14:47:45 -07:00
Jim Mathies
53e42ad861
Bug 489285 - Disable file attrib tests for Bug 403014 due to unit test failure.
2009-04-21 01:47:54 -05:00
Jim Mathies
b253ceb46a
Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt)
2009-04-20 20:06:03 -05:00
Chris Jones
18c52db5ae
Bug 58904: Create strong types for synchronization primitives. r=bsmedberg.
2009-04-18 18:54:23 -07:00
Dave Townsend
a6ed3ddf12
Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg
2009-04-16 16:46:10 +01:00
Andrew Sutherland
d6ed9baeaa
Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. unit test that fails without patch, succeeds with patch. r=bsmedberg
2009-04-10 18:08:08 -07:00
Peter Annema
c2228f83ec
Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg
2009-04-07 04:38:41 -07:00
Peter Annema
633a7c9dfd
Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg
2009-04-07 04:38:23 -07:00
Peter Annema
c552abb51a
Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg
2009-04-07 02:20:05 -07:00
Robert O'Callahan
b815eff029
Fix libxul test bustage, really
2009-04-06 14:19:41 +12:00