Commit Graph

1577 Commits

Author SHA1 Message Date
Benjamin Smedberg
1d0844d671 Revert many of the interface changes from bug 568691, so that binaries can be made which are compatible with Firefox 3.6 and Firefox 4. Note that this is not an ongoing process: it will not be possible to make single binary components which are compatible with both Firefox 4 and Firefox 4.1, but you will be able to ship two components and select one based on the platform version. 2010-06-24 14:31:18 -04:00
Benjamin Smedberg
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg
2c8a0c3df0 Fix factory registration in test_unsafeBidiChars.xhtml to not override CIDs. 2010-06-23 16:18:08 -04:00
Benjamin Smedberg
76f5edb3bb Bug 568691 fixups: alter mockObjects.js so that it registers its mock by contractID but doesn't replace the CID. Fix the generic classinfo not to assert when code asks for the class description (which is no longer implemented). 2010-06-23 15:18:13 -04:00
Benjamin Smedberg
43047298dd Address review from bug 568691 comments 31 and 34 2010-06-23 13:43:02 -04:00
Benjamin Smedberg
c072919b32 Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Ginn Chen
91bd938a72 Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Benjamin Smedberg
785137fec6 Implement RereadChromeManifests for bug 568691. 2010-06-22 16:24:01 -04:00
Benjamin Smedberg
10da45b767 Fix non-debug bustage in nsNativeComponentLoader, this variable should not be debug-only. 2010-06-22 16:22:17 -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
4a738917da Bug 568691 - Move cycle collection earlier: XPConnect is initialized during component manager initialization and tries to register a CC language helper. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
202aa47626 Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
fcd5c36e9b Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils 2010-06-21 14:29:32 -04:00
Benjamin Smedberg
21bc9c724f Bug 568691 - build components.manifest instead of components.list, and switch the sample JS component to use standard EXTRA_COMPONENTS machinery. 2010-06-21 13:59:58 -04:00
Benjamin Smedberg
b205909598 Bug 568691 - register chrome/*.manifest in addition to components/*.manifest files, chrome appears to work in xpcshell again. 2010-06-21 13:49:38 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -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
c23f09c9bf Merge platform-specific branches of bug 568691. 2010-06-21 08:57:50 -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
ec3aefeff2 Fix review comments from Mossop, bug 570488 comment 5. 2010-06-11 13:35:25 -04:00
Benjamin Smedberg
f4b60bdbf4 Fix Linux-specific issues with static xpcom registration, bug 568691. 2010-06-11 12:47:31 -04:00
Benjamin Smedberg
0570e3db7e Fix Linux compile errors/warnings in xpcom/components 2010-06-11 12:03:06 -04:00
Chris Jones
ccb97b45d7 Bug 570912: Allow already_AddRefed<T> to be coerced to already_AddRefed<U> when T can be coerced to U. r=dbaron 2010-06-21 15:35:49 -05: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
Benjamin Smedberg
c020d3bdef Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -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
Ben Turner
8c6da83b49 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Olli Pettay
f48d7a4a08 Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Jacek Caban
f2c3c460bb Bug 508905 - /Zc:wchar_t- is no longer required (wince part) r=doug.turner
--HG--
extra : rebase_source : 13d6dadb676ca5e29b7e7bcfff5bbb1c964f78e4
2010-06-27 01:30:05 +02:00
Daniel Holbert
cb6a1a06d6 Bug 575014: cast pointer-subtraction in nsTArray to produce index_type instead of (64-bit) size_t, to fix build warning on Win64. (bustage fix) rs=timeless pending-r=bsmedberg 2010-06-26 17:50:36 -07:00
Ginn Chen
c919b6c6e2 Bug 574650 Fix xpcom/reflect/xptcall for gcc on Solaris r=jst 2010-06-27 00:56:47 +08:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
a73902aba6 Merge with mc 2010-06-29 20:10:23 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Eli Friedman
622dc3dd3c Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron 2010-06-30 23:11:43 +02:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Doug Turner
003acc6d48 Merge with mc 2010-05-25 13:48:25 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Steve Harper
9b9de75895 Bug 199473: Make downloads work if temporary directory is encrypted on Windows. r=jmathies
--HG--
extra : rebase_source : e88b316e071dd9bb8a57ab11e1bd13bc39d7d8eb
2010-05-23 10:48:21 -07:00
Robert Sayre
def349ad75 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07: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
Robert Sayre
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Daniel Holbert
ee5c59f86c Bug 573530: Remove unused variable in nsXPComInit.cpp. r=bsmedberg 2010-06-23 17:30:59 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Chris Jones
521f71cd9d Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Brad Lassey
a15e734cc6 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Mike Hommey
0fc23bb0d7 Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Mike Hommey
26856f4648 Bug 543441 - Avoid a race condition induced crash when trying to nsProcess::Kill() a terminated process [r=dtownsend]
--HG--
extra : rebase_source : eb04335b397772058c2c272736afb5604b09e0af
2010-04-29 07:24:32 +00:00
Michael Wu
a7bab5285a Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Benjamin Smedberg
68c4fe2172 Bug 549388 - Don't use refcounting for nsProxyObjectManager: create it once, and destroy it at shutdown after all the clients have finished with it, r=timeless
--HG--
extra : rebase_source : d4c0486a748675e29de713a8a55ee594764c4c9b
2010-05-21 11:50:05 -04:00
Mark Banner
c4ebbd68ad Fix bustage for non-libxul apps following bug 566467 - link xpcom-core against psapi.lib 2010-05-21 09:21:52 +01:00
Vladimir Vukicevic
dea7fa4278 b=566467; add win32 core memory reporters; r=jmathies 2010-05-20 22:58:53 -07:00
Josh Matthews
0328868a9f Bug 564689 - Signed/unsigned comparison warnings in nsComponentManager.cpp r=bsmedberg
--HG--
extra : rebase_source : 9d74a7a43a729ce9e0f96bd98992e6359da23322
2010-05-19 16:37:10 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Chris Jones
4567048351 Bug 564185: Centralize the breakpad-triggering abort code in mozalloc and use |*NULL| to abort on mac, since abort() doesn't trigger breakpad. r=ted 2010-05-18 20:53:52 -05:00
Michael Wu
3b29de38dd Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Jacek Caban
f8de08b4af Bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. [r=ted]
(transplanted from 0388c837c9867762bcc10a1fb88428050d158479)

--HG--
extra : transplant_source : %03%88%C87%C9%86wb%BC%C1%0A%1F%B8%84%28%05%0D%15%84y
2010-06-02 10:08:00 -04: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
Josh Matthews
0407707bdc Bug 540665 - Make nsIRunnable a function so JS can use it as such. r=benjamin
--HG--
extra : rebase_source : cadf70d8c68810167894c069fc73df01c5046b0a
2010-05-07 09:52:04 +02:00
Michael Wu
f37039d236 Fix and reenable jar xptload test 2010-06-16 10:22:33 -07:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones
f1ccfef3ce Bug 518881: Make Send/Call*() methods for IPDL parent actors warn_unused_result. r=bent 2010-04-27 00:43:00 -05:00
Chris Jones
4665be334c Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
ec00ae01fb Support __stdcall nsRunnableMethods (part 2/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:32 -07:00
Ben Newman
2b2bd4076f Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Vladimir Vukicevic
838f1fb2ff b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Mike Hommey
e25acdbb87 Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Neil Rashbrook
19df16de3a Bug 560715 Trying harder to fix nonlibxul build bustage 2010-04-22 00:40:27 +01:00
Neil Rashbrook
47abb294e5 Bug 560715 - "Windows trunk builds failing due to: storagecomps.dll : fatal error LNK1120: 2 unresolved externals" [r=bsmedberg] ok on a CLOSED TREE per sheriff 2010-04-21 01:08:00 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Vladimir Vukicevic
56684f1c17 split out declarations to work around MSVC bug 2010-04-20 14:44:39 -07:00
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Chris Jones
cedd844205 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Mike Hommey
51ff581ac6 Bug 532198 - Reimplement xptcinvoke for arm/linux in C [r=Jacob.Bramley, r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 683a17a26c486d6f6bf376ff93fb8a0567a8ab47
2010-04-19 22:55:45 +02:00
Mike Hommey
e38d0a6088 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey
0489be1020 Bug 486681 - Support more HPPA CHOSTs on HPPA/Linux [r=timeless]
--HG--
extra : rebase_source : a16f362e62a05ba7eecfc985155b6fc61853e174
2010-04-19 10:08:35 +02:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05: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
timeless@mozdev.org
2678bea297 Bug 559804 - nsGetInterface::operator() doesn't consistently set *aInstancePtr, r=bsmedberg
--HG--
extra : rebase_source : be81640ea16edd00e0898dafeb4c04c7fc511b24
2010-04-16 06:03:00 -07: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
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
L. David Baron
60a39f5bec Add mechanism for assertions that fire when a guard object is used as a temporary. (Bug 531460) r=bsmedberg 2010-03-26 10:12:39 -04:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Taras Glek
d3d1d47d7e Bug 516085 - C++ easy access for common global services r=bsmedberg 2010-04-02 11:38:25 -07:00
Michael Wu
17f4cad812 Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg 2010-06-15 12:38:46 -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
Michael Wu
985a8e30b4 Bug 552121 - Find xpts inside the omnijar [6/7], r=bsmedberg
--HG--
extra : rebase_source : f5a3c56972247e76dd9700665df915a10d994356
2010-06-14 16:13:14 -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
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Brad Lassey
4346c1fc9c bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Jacek Caban
bc7f2875ac Bug 569547 - fastcall useless on win64. r=benjamin 2010-06-14 12:12:48 +02:00
Matt Brubeck
c171261a8f Bug 571440 - Android build fails on new quota check from bug 520098 (nsLocalFileUnix.cpp), r=bsmedberg 2010-06-11 19:48:33 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
03a622ce80 Bug 434190 - Avoid hppa frame size issue in xptcstubs assembly with tail call optimization by disabling optimization [r=benjamin] 2010-05-13 09:04:46 +02:00
Ginn Chen
9df652824c Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek 2010-05-06 13:49:27 +08:00
Michael Wu
91093439df Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Ted Mielczarek
44de71fb26 Backed out changeset 510669ff9ba1 "bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. r=ted" for OS X bustage 2010-05-05 11:00:22 -04:00
Jacek Caban
c7bc54dc38 bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. r=ted 2010-04-16 17:25:29 +02:00
Daniel Holbert
d4bf1daecc Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
54c4f9b04b Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
4f32fce575 Bug 562522 - comparison between signed and unsigned integer expressions in nsStringAPI.cpp, r=bsmedberg
--HG--
extra : rebase_source : 0568e744cc020fbc8a725ec595213f21fe52681b
2010-04-28 17:30:00 -07:00
timeless@mozdev.org
9a289a56f1 Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org
f183d85605 Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
--HG--
extra : rebase_source : 995cb88bc3bdb692ea154be2ebee597b0f777e58
2010-04-28 17:58:00 -07:00
Dan Witte
404572ffab Merge. 2010-04-17 12:26:30 -07:00
Brian Hackett
cd6ae28e5f Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07: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
Chris Jones
926e2f746f Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Mike Hommey
c055a9cf6f Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-24 10:19:14 +01:00
Jason Orendorff
ee50fdd206 Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9 Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Ben Newman
552bebef15 Patch to fix bug 563573. r=bent
--HG--
extra : rebase_source : cc7f009be395bfc98ffcce4831e233dee1fa7480
2010-05-10 18:05:40 -07:00
Mike Hommey
7ef93c2266 Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin] 2010-04-24 09:39:53 +02: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
Brian Hackett
7977c3b1cb Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
L. David Baron
aebe5d267d Fix misspelling of implement. 2010-04-08 19:14:43 -07:00
Daniel Holbert
aa1625764a Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg 2010-04-08 12:26:29 -07: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
Chris Jones
da9eaa48df Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg 2010-04-08 13:05:02 -05:00
Ginn Chen
c3fc2f9d1c Bug 550371 mozalloc failed to build on Solaris r=bsmedberg 2010-04-07 14:16:32 +08: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
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Ben Newman
b3cb7ea79d Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08: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
Dão Gottwald
55d6554fde Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey
02861ae602 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
bjarne@runitsoft.com
3f4bfa2d27 Bug 529272 - Wrong loop in nsInputStreamTee, r=michal.novotny
--HG--
extra : rebase_source : d95b0280646c62c88354432c5920befeaf0424a4
2010-03-19 08:43:00 +01:00
Chris Jones
ecaab71939 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
a9301cdf81 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
d7b8ead1aa Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05: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
Robert Strong
e3958725d5 Bug 552602 - Open Containing Folder button on about:support(Troubleshooting Information) page does not work. Fallout from bug 548426. r=dougt 2010-03-17 16:12:00 -07: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
Uli Link
86f6901495 Bug 526457. Fix AIX compilation. r=bsmedberg 2010-03-15 14:43:16 +13:00
Brad Lassey
8a554159e8 bug 551882 - Windows Mobile should use the the WINAPI process model r=bsmedberg 2010-03-12 20:56:06 -05:00
timeless@mozdev.org
a590ecea7d Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg

--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01: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
Ginn Chen
3afa89d964 revert 43e12453336f, it was fixed by another changeset 2010-04-28 17:44:24 +08:00
Ginn Chen
314bd364fe Bug 560717 Linux FPE running make check r=bsmedberg 2010-04-28 17:40:03 +08:00
Ginn Chen
0ee7d0e921 Bug 561736 Add has_cpuid_bit support with Sun Studio compiler on Solaris r=dbaron 2010-04-28 17:39:12 +08:00
Mark Banner
bd82595d07 NS_COM_GLUE shouldn't be defined on function definitions/inline functions. Fixing non-libxul bustage on Windows builds from bug 558498. r=bsmedberg over irc 2010-04-27 14:48:25 +01:00
Mark Banner
ace073db56 Try and fix Windows non-libxul bustage from bug 518881 due to NS_COM_GLUE being in the wrong place. 2010-04-27 13:52:42 +01:00
Karl Tomlinson
88220b6f55 b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones 2010-03-24 16:39:15 +13:00
Hanspeter Niederstrasser
f675bd2dc2 Bug 520098 - Darwin build fails on new quota check from bug 72892 (nsLocalFileUnix.cpp). r=bsmedberg 2009-10-01 18:07:00 -04: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
Mike Hommey
7467611ddb Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01: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
Daniel Holbert
b00ca2405e Bug 556303: Fix unsigned/signed compiler warning in nsTArray.cpp. r=bsmedberg 2010-04-05 14:56:35 -07:00
L. David Baron
41cc87c278 Fire assertions when guard objects are used as temporaries. (Bug 531460) r=cjones 2010-04-04 11:15:18 -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
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -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
Chris Pearce
11fa7ac0dd Bug 556424 - mozilla::MonitorAutoEnter::NotifyAll() should notify all. r=cjones 2010-04-01 19:54:03 -07:00
Daniel Holbert
eb483b552f Bug 551298, patch A followup i: Add thread safety assertions to AddRef/Release implementations. r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
5192e33d44 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
56db19649c Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert
ef92ece024 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -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
Mark Banner
6dad682aa7 Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking 2010-03-09 09:51:43 +00:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08: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
3cfc98309e Bug 534136 Part 5: Clean up atomtable hash entries. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=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