Benjamin Smedberg
6344332d14
Revert accidental change to XPCOMUtils.jsm introduced in revision 731d52e5b732
2010-06-23 15:19:18 -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
Benjamin Smedberg
87b751cfc8
Bug 568691 - Register extension components/chrome again. This doesn't remove the EM restart yet, because there's some weirdness about reading default prefs from extensions that needs to be solved first.
2010-06-23 12:18:32 -04:00
Benjamin Smedberg
360af69e24
Package toolkitplaces.manifest, which I apparently forgot the first time.
2010-06-23 12:10:29 -04:00
Benjamin Smedberg
14d48fb99a
Fix typo from bug 568691, revision 90afd1e80d77
2010-06-23 09:29:21 -04:00
Benjamin Smedberg
8a8835638e
Fix test packaging and execution from bug 568691.
2010-06-22 20:44:44 -04:00
Benjamin Smedberg
ed6b2301fe
Rename NSGetModule to NSModule in various build scripts for bug 568691.
2010-06-22 20:21:34 -04:00
Benjamin Smedberg
4588c2f4bf
Fix --disable-crashreporter build in nsAppRunner.cpp
2010-06-22 20:18:45 -04:00
Benjamin Smedberg
38b1ff6d7b
Fix crash running leaktest --register because nNativeAppSupport hasn't been set yet.
2010-06-22 20:11:32 -04:00
Benjamin Smedberg
0003952661
Fix incorrect quoting introduced in revision 90afd1e80d77 for bug 568691.
2010-06-22 17:08:24 -04:00
Benjamin Smedberg
785137fec6
Implement RereadChromeManifests for bug 568691.
2010-06-22 16:24:01 -04:00
Benjamin Smedberg
1a3cd9981f
Fix syntax error in httpd.js
2010-06-22 16:22:33 -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
bea2c316a7
Sync js/src/rules.mk from bug 568691
2010-06-22 13:05:06 -04:00
Benjamin Smedberg
31e2b381e5
Bug 568691 - Mac-specific changes to binary components.
2010-06-22 13:05:00 -04:00
Benjamin Smedberg
6b0b22699b
Bug 573739 - Don't get the private browing service during layout module initialization: delay until profile-after-change.
2010-06-22 12:59:57 -04:00
Benjamin Smedberg
bf2719edde
Bug 568691 - Add components that were lost during the merge of layout/build/nsLayoutModule.cpp
2010-06-22 12:59:57 -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
6e45dd655f
Merge bug 573557 into static-xpcom-registration branch.
2010-06-21 16:58:53 -04:00
Benjamin Smedberg
ce1372d9d4
Bug 573557 - Rename the category names for script globals to avoid spaces, r=jst
2010-06-21 16:57:44 -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
Alexander Surkov
6a7ad7f253
Bug 572394 - cache links within hypertext accessible, r=davidb, marcoz, sr=neil
...
--HG--
rename : accessible/src/base/nsAccIterator.cpp => accessible/src/base/AccIterator.cpp
rename : accessible/src/base/nsAccIterator.h => accessible/src/base/AccIterator.h
2010-06-21 22:08:27 +09:00
Benjamin Smedberg
c23f09c9bf
Merge platform-specific branches of bug 568691.
2010-06-21 08:57:50 -04:00
Neil Deakin
192637c8dc
Bug 533714, use a size of (0,0) for placeholders, prevents popups from taking up space when not open, r=bz
2010-06-21 08:37:35 -04:00
Neil Deakin
53ac2d5dcb
Bug 572823, clear button open state when its popup is destroyed, r=neil
2010-06-21 08:37:35 -04:00
Neil Deakin
f4a7533d50
Bug 554810, use transparent resizer images, also fixes bugs 553752, 553796, 558201, 558203 and 563085, r=roc
2010-06-21 08:37:35 -04:00
Neil Deakin
847d6ce201
Bug 564277, fix up various focus ring issues for html elements, r=smaug
2010-06-21 08:37:34 -04:00
Simon Montagu
1650207417
Do Hankaku to Zenkaku conversion in the ISO-2022-JP encoder. Bug 563283, r=Masatoshi Kimura <VYV03354@nifty.ne.jp>
2010-06-21 15:34:11 +03:00
Benjamin Smedberg
fbb3845fac
Mac-specific mechanical fixup for registration data, bug 568691.
2010-06-13 15:02:38 -04:00
Benjamin Smedberg
3fbca784cb
More Linux-specific fixup from bug 568691
2010-06-12 20:50:56 -04:00
Benjamin Smedberg
ee1ebf9837
Bug 568691 - Fix up gtkmozembed for static XPCOM registration
2010-06-12 20:50:29 -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
78481b5e53
Added tag bsmedberg-static-xpcom-registration-base for changeset 0327e126ea24
2010-06-10 14:58:38 -04:00
Benjamin Smedberg
f13550a209
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -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
Benjamin Smedberg
80b423e0a0
Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz
2010-06-10 12:42:16 -04:00