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
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
Michael Wu
f37039d236
Fix and reenable jar xptload test
2010-06-16 10:22:33 -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
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
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
Jacek Caban
e9d233bc23
Bug 411511 - fixed mingw build. r=bsmedberg
...
--HG--
extra : rebase_source : 300ed0758f4abdf5bf4f2d151bdb3bb4e4e5e2d4
2010-04-07 05:05:00 -04:00
Ehsan Akhgari
42bde816bb
Bug 569504 - Fix the spell checker leaking windows and documents; r=roc
2010-06-02 14:33:47 -04:00
Philip Prindeville
bf66838148
Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi
2010-06-02 22:25:01 -04:00
Michael Wu
f6b9e6e472
Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg
2010-06-01 12:02:42 -07:00
Yong
1bcc5e908c
Bug 552627. Align stack correctly in xptcall so we can use SSE2 without crashing. r=timeless
2010-06-01 11:55:49 +12:00
Taras Glek
fdd896ff6f
Bug 569137 - Avoid pgo bug in gcc4.5 r=ted
2010-05-31 10:13:30 -07:00
Makoto Kato
9de2c7762b
Bug 567707 - Crash in [@ nsThread::ProcessNextEvent] on x64 build with VC10 + --enable-optimize. r=timeless
2010-05-28 16:28:11 +09:00
Chris Jones
2a2ad8a179
Bug 557935: Show jemalloc stats in about:memory on linux. r=vlad
2010-05-26 14:40:52 -05:00
Brad Lassey
a15e734cc6
bug 559263 - implement jemalloc for android r=vlad
2010-05-25 11:28:14 -04: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
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
13c247559e
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Chris Jones
521f71cd9d
Bug 565461: Implement nsTArray::operator==. r=bsmedberg
2010-05-22 14:35:41 -05: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