Граф коммитов

9778 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky c73bd48306 Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking 2010-07-21 11:33:31 -04:00
Dave Townsend 28febf05d3 Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Mitchell Field dae810b5e1 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg be33fdb1a8 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Benjamin Smedberg 45886119d2 Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Benjamin Stover 3a3323a62a Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg c242fc8d1e Fix generic classinfo objects so that they are allocated statically, to avoid leak-detector annoyances, but not initialized statically, because compilers are stupid and won't const-data-initialize an object with a vtable, even if they could. 2010-07-01 12:11:42 -04:00
Benjamin Smedberg dfed11844b Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -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 973c7b2613 Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Benjamin Smedberg c8c55836ed Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Ted Mielczarek fda2c14ff8 fix minor type name output in xpt_dump. r=timeless (no bug) 2010-06-29 10:03:47 -04:00
Benjamin Stover c5addef517 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover a793d4943c Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07: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 12f63e9d18 Rename the "xpt" manifest directive to "interfaces", per bug 568691 comment 66. 2010-06-27 21:50:51 -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 0b07ce44c1 Implement the aReplace parameter to nsICategoryManager.addCategoryEntry which I inadvertently dropped, from bug 568691 comment 63. 2010-06-27 21:14:54 -04:00
Benjamin Smedberg bf0fd5d898 Bug 568691 - Add an ABI chrome registration modifier so that platform-specific directories can be implemented directly in chrome.manifest. 2010-06-27 15:13:04 -04:00
Benjamin Smedberg d0d2a00112 Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg b36b007a07 Revert accidental change introduced in revision c66d8c0db184. 2010-06-25 22:16:15 -04:00
Benjamin Smedberg 5e385ab6ea Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Benjamin Smedberg b54a384bb8 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg 325a0ee192 Free the component-location arrays at shutdown. 2010-06-25 17:27:10 -04:00
Benjamin Smedberg 04335ce5d3 Bug 568691 - Normalize relative paths on Windows to use back slashes, and add a manifest processing directive for XPT files so that extension chrome.manifest can point to them and we don't have to troll around in extension components/ directories. 2010-06-25 13:55:46 -04:00
Benjamin Smedberg 7e44244288 Bug 568691 followup - Clear the static module table at shutdown to fix leaks.
--HG--
extra : rebase_source : cc01ea1ae837f5b917d44006dde72484f3ffd104
2010-06-25 10:02:17 -04:00
Benjamin Smedberg 42e11a8c9a Bug 568691, followup to RegisterFactory implementation: make the nsFactoryEntry hold a CIDEntry with the proper CID, because code elsewhere expects that to be present (ContractIDToCID and the pending-CID checks). 2010-06-25 10:44:35 -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 b5d1f6d854 Don't check the persist value for DeleteCategoryEntry, because the original behavior didn't work right anyway, so everybody passes "true". 2010-06-24 22:05:20 -04:00
Benjamin Smedberg 27dd21bd1d Implement compatibility wrapper so that binary components can be compatible with both Firefox 3.6 and Firefox 4, as a result of registration changes from bug 568691.
--HG--
rename : xpcom/components/GenericFactory.cpp => xpcom/glue/GenericFactory.cpp
rename : xpcom/components/GenericFactory.h => xpcom/glue/GenericFactory.h
2010-06-24 16:36:27 -04:00
Benjamin Smedberg c4c13393d2 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 e11d27932e Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg f56445a420 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg 30b3a3322e Fix factory registration in test_unsafeBidiChars.xhtml to not override CIDs. 2010-06-23 16:18:08 -04:00
Benjamin Smedberg bbb63fe5cd 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 acf7a08f1c Address review from bug 568691 comments 31 and 34 2010-06-23 13:43:02 -04:00
Benjamin Smedberg 5e26d06f6c Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Ginn Chen cdcd107eee Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Benjamin Smedberg 73fb8e51d8 Implement RereadChromeManifests for bug 568691. 2010-06-22 16:24:01 -04:00
Benjamin Smedberg 188e02c1fd Fix non-debug bustage in nsNativeComponentLoader, this variable should not be debug-only. 2010-06-22 16:22:17 -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 75d0fa80fd 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 54fa052991 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 549d6ed5fd 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 fdb6fe6003 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 753fa71615 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 6cb29acab4 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 d597cfbb3f 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 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 69b11ac2b1 Merge platform-specific branches of bug 568691. 2010-06-21 08:57:50 -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 c4665dea9d Fix review comments from Mossop, bug 570488 comment 5. 2010-06-11 13:35:25 -04:00
Benjamin Smedberg 36dce4f616 Fix Linux-specific issues with static xpcom registration, bug 568691. 2010-06-11 12:47:31 -04:00
Benjamin Smedberg bc1f80e8ca Fix Linux compile errors/warnings in xpcom/components 2010-06-11 12:03:06 -04:00
Chris Jones 0dcf14275c 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 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
Benjamin Smedberg 0b24d4d8e9 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 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
Ben Turner a6a3778b55 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Olli Pettay 295f30a37e Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Jacek Caban 2a0ed36a96 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 710f9de58f 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 cd6484309a Bug 574650 Fix xpcom/reflect/xptcall for gcc on Solaris r=jst 2010-06-27 00:56:47 +08:00
Doug Turner 50a666bdd5 Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Benjamin Stover cf1760cbfb Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Doug Turner 42ac78defe Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner dd7ab04f73 merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner 3e7c8151e4 Merge with mc 2010-06-29 20:10:23 -07:00
Doug Turner 2f59dbe27b Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner c7c3407599 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 c1b97654d7 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Eli Friedman 11e066b71e 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 549ae22a9e 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 6e5944e4fe 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 251c051e26 Merge with mc 2010-05-25 13:48:25 -07:00
Oleg Romashin 91d5a62423 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay 3fed591ba3 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Steve Harper 096f6f9d9b 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 c1d8e8dd2e Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07: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
Robert Sayre 58f0e99f4d Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Doug Turner 6f853bbfda 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 fea6936df1 Merged m-c 2010-05-13 18:04:53 -05:00
Daniel Holbert a169dc68ec Bug 573530: Remove unused variable in nsXPComInit.cpp. r=bsmedberg 2010-06-23 17:30:59 -07:00
Doug Turner 7492065872 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 a042fcb159 Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Brad Lassey d34a8f6578 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Doug Turner ddd12dbe18 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Mike Hommey aee189207e Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Mike Hommey 6dfa925097 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 be55204793 Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Benjamin Smedberg 5ff9ae27f9 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 f474d7e612 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 886d747048 b=566467; add win32 core memory reporters; r=jmathies 2010-05-20 22:58:53 -07:00
Josh Matthews 149adda913 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 cb3b3e8e7b Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Chris Jones 672a077bbd 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 485bf66bbc Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Jacek Caban 3939cff12e 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 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
Josh Matthews 903d7d380b 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 d127c73982 Fix and reenable jar xptload test 2010-06-16 10:22:33 -07:00
Chris Jones 63ca8b65c6 Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones 784888920c 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 30361f401e Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Doug Turner 6126049649 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman a2d75cb968 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 2f85d87cfe Support __stdcall nsRunnableMethods (part 2/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:32 -07:00
Ben Newman 5149e63e78 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 4610653595 b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic 03d4046479 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 dc47e440f0 Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Mike Hommey ca68bde7fa Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Neil Rashbrook 9c5f3969de Bug 560715 Trying harder to fix nonlibxul build bustage 2010-04-22 00:40:27 +01:00
Neil Rashbrook edb8778a23 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 5350023988 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Vladimir Vukicevic a6debc0029 split out declarations to work around MSVC bug 2010-04-20 14:44:39 -07:00
Vladimir Vukicevic b8445307a8 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Chris Jones 0a2e06e4bb 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 66bec4216b 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 65480f1f3f Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey 8a4e0d96e3 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 2918f2e692 Merge mozilla-central 2010-04-16 01:34:35 -05: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
timeless@mozdev.org df39cb6ad8 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 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
Oleg Romashin f3e3834d75 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner 55aabe42b5 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 f7e208ca96 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 2bc1382cb9 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Taras Glek 8608d2611e Bug 516085 - C++ easy access for common global services r=bsmedberg 2010-04-02 11:38:25 -07:00
Michael Wu 10d6291886 Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg 2010-06-15 12:38:46 -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
Michael Wu 2fefdac3e8 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 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
Benjamin Smedberg 9ce2a28dc4 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 8ee5049518 bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Jacek Caban 2d3f9841cc Bug 569547 - fastcall useless on win64. r=benjamin 2010-06-14 12:12:48 +02:00
Matt Brubeck ba646d71c9 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 c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey 144a53759f 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 b28bd2533f Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek 2010-05-06 13:49:27 +08:00
Michael Wu db9dd1ff0d Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Ted Mielczarek e92c51453d 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 0e43bd3ac8 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 d8c03cfc2a Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert 1fabb10c87 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 7b7fa1a8bd 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 896cbb4622 Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 3596c0d738 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 008a7becb5 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 db1ec67578 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 2064ff736f 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 9c45c39bea 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 089e7f47a5 Merge. 2010-04-17 12:26:30 -07:00
Brian Hackett 1200ff0de0 Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Chris Jones 354f579ec3 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 2e38d1fe43 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 45f7983658 Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-24 10:19:14 +01:00
Jason Orendorff a4dd60cb56 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 70d486e6b1 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 7eef5278c8 Patch to fix bug 563573. r=bent
--HG--
extra : rebase_source : cc7f009be395bfc98ffcce4831e233dee1fa7480
2010-05-10 18:05:40 -07:00
Mike Hommey 788fd0adf4 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 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
Brian Hackett 170b671cef Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
L. David Baron 070184f791 Fix misspelling of implement. 2010-04-08 19:14:43 -07:00
Daniel Holbert 5cddfb69e9 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 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
Chris Jones 02d4f4790c 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 ffc14831c5 Bug 550371 mozalloc failed to build on Solaris r=bsmedberg 2010-04-07 14:16:32 +08: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
Mitchell Field 895792930a 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
Ehsan Akhgari 3757389d74 Bug 612356 - Add NS_SetDllDirectory to dlldeps.cpp; r=khuey a=NPOTB 2010-11-15 15:16:34 -05:00
Doug Turner bfc6486c41 [Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec 2010-11-17 12:52:59 -08:00
Stuart Parmenter a693e7cf5a Bug 613321. Backing out bug 604712 (rev 6cfd43067a07) to fix hang on Galaxy S phones. a=blocking-fennec 2010-11-20 01:02:55 -08:00
Ben Turner 0a7053612e Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+. 2010-11-18 14:19:19 -08:00
Benjamin Smedberg cbf90f95e2 Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h> 2010-11-17 18:14:11 -05:00
Robert Sayre 6351a5a62a Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Benjamin Smedberg 7ed3293fc8 Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
--HG--
extra : rebase_source : e445ee4db34c68fd9f9c8844f62d879708733eff
2010-11-17 15:58:48 -05:00
Robert Sayre ce08dcb337 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Ben Turner b31bd393ef Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Benjamin Smedberg 66c912a28e Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Doug Turner 4ed6899196 [Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec
--HG--
extra : rebase_source : 1a58215923ced152b82852b0cbd9194bde885561
2010-11-17 12:52:59 -08:00
Ben Newman 8543260519 Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Josh Matthews 33d17004e2 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo b8363c8da8 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Mounir Lamouri df11244706 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny 193d18fb5f Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Steve Krulewitz d709a4ea24 Bug 323376 - nsTextFormatter::ssprintf adds extra '\0' to result; Patch by Steve Krulewitz, updated by Jonathan Protzenko; r=darin approval2.0=beltzner 2010-10-21 11:56:33 +01:00
Boris Zbarsky 02e280deea Bug 605492 part 2. Add a way to get an outer window object given its window id via windowutils. r=mrbkap 2010-10-20 20:24:16 -04:00
Dan Witte de6d8ff419 Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Josh Matthews 2836986309 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo e4d607cff8 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00