Commit Graph

46300 Commits

Author SHA1 Message Date
Benjamin Smedberg
28befc0794 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
43c2f8a8e4 On Windows and Mac, nsIFile.copyTo will fail if the file already exists. Use the .createUnique logic to create a unique name, but then remove it for the copy. 2010-06-29 23:24:09 -04:00
Benjamin Smedberg
b5d1f192d2 Unify should ensure that when a .manifest file is being compared, if the last line doesn't end with a newline, it should add one so that lines don't get munged together incorrectly. rs=ted 2010-06-29 19:19:23 -04:00
Benjamin Smedberg
f2fb85d435 Link all the component manifests together at package time. 2010-06-29 18:19:09 -04:00
Benjamin Smedberg
6da9e8c26a 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
681cd4f679 But 573290 - Intermittent (and not so intermittent with bug 568691!) failure in test_crashreporter_crash.js: the minidump callback is calling open(), which enters the dynamic loader and trashes memory, specifically the .extra file data. r=ted 2010-06-29 13:19:09 -04:00
Benjamin Smedberg
b83c7495d6 Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Benjamin Smedberg
d50a7d78b2 Add a newline to the end of satchel.manifest because, although I have no clue why and that scares me, the lines are being re-ordered during the mac install process and the unterminated line becomes a parse error. 2010-06-28 15:11:00 -04:00
Benjamin Smedberg
401ef41e7b Don't register appinfo twice in test_bug497578, required by XPCOM registration changes in bug 568691. 2010-06-28 14:47:39 -04:00
Benjamin Smedberg
449bc3f36e 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
54c6518755 Rename the "xpt" manifest directive to "interfaces", per bug 568691 comment 66. 2010-06-27 21:50:51 -04:00
Benjamin Smedberg
79be6b8325 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
3de93c4ae6 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
a4bcbea743 Add a classID check in generateNSGetFactory, from bug 568691 comment 62. 2010-06-27 21:05:47 -04:00
Benjamin Smedberg
d49707c7de Add a testcrasher manifest for packaged xpcshell tests. 2010-06-27 17:26:21 -04:00
Benjamin Smedberg
1a140494e8 Fixes for more test failures from bug 568691 - the RTL tests dynamically register chrome which must be un-done: to do this, I register a manifest for the life of the app, but truncate it after this test is complete. The toolkit tag-autocomplete tests were failing because of a missing close-brace. 2010-06-27 17:04:45 -04:00
Benjamin Smedberg
6669ee04a8 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
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
cf1a5985fd Add the new nsPlacesAutoComplete.manifest. 2010-06-25 23:40:15 -04:00
Benjamin Smedberg
7f6fc446a0 Revert debugging change accidentally introduced in revision 2514f32f65bc. 2010-06-25 22:20:46 -04:00
Benjamin Smedberg
9cadd0fe5f 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
d9a041918c Revert accidental change introduced in revision c66d8c0db184. 2010-06-25 22:16:15 -04:00
Benjamin Smedberg
5b4541cfe9 Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Benjamin Smedberg
56b39ce0c9 Typos in browser/components. 2010-06-25 20:49:44 -04:00
Benjamin Smedberg
63c0077443 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
3d83a9ad65 Merge various pieces of bug 568691. 2010-06-25 17:27:04 -04:00
Benjamin Smedberg
774bb7e0e8 Free the component-location arrays at shutdown. 2010-06-25 17:27:10 -04:00
Drew Willcoxon
bb224ec5ad Bug 573430 - nsIFaviconService.getFaviconData should not fail when passed the default favicon. r=mak 2010-06-25 14:06:14 -07:00
Benjamin Smedberg
4128ab60b1 Fix the nsBrowserGlue registration to be available even in non-Firefox, because there are places xpcshell tests which require it and don't forge the app ID. 2010-06-25 16:50:15 -04:00
Dão Gottwald
7c92a7650d Bug 574434 - Move Firefox button to the left of the tabstrip when not using aero glass. r=gavin 2010-06-25 22:41:04 +02:00
Michael Wu
8ded619d9e Bug 574120 - Add IPC support to android embedding code, r=blassey 2010-06-25 13:12:03 -07:00
Felipe Gomes
3f44ef431c Bug 574702: avoid initializing WindowDraggingUtils multiple times due to binding re-attachment (causes dragging jumpiness issues), r=enndeakin 2010-06-25 16:06:36 -04:00
Benjamin Smedberg
abe60b601a Fix XULRunner simple example from bug 568691. 2010-06-25 16:03:38 -04:00
Daniel Holbert
ed05c57d55 Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz 2010-06-25 12:38:57 -07:00
Benjamin Smedberg
cff856ae30 Stop trying (and failing) to build layout-debug as a standalone XULRunner app in XR builds: it has to be linked into libxul. 2010-06-25 15:13:29 -04:00
Benjamin Smedberg
e92cd2f48a Fix the reftest component to package itself and the httpserver correctly with a single chrome.manifest. 2010-06-25 13:56:51 -04:00
Benjamin Smedberg
59041fa6cd 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
76932518f4 Fix fuelApplication.manifest to register the correct category for the Application global. 2010-06-25 13:54:15 -04:00
Benjamin Smedberg
e57bd166ba Fix print-manifest-dirs.py when configuring with a relative source directory, r=ted 2010-06-25 13:53:31 -04:00
Benjamin Smedberg
2977e8aabd Fix XULRunner build to use a manifest for nsXULAppInstall.js, followup to bug 568691. 2010-06-25 11:37:23 -04:00
Benjamin Smedberg
ffb1f2f418 Don't override the filepicker CID, just the contractID in this test: required because of the changes in bug 568691. 2010-06-25 11:34:10 -04:00
Benjamin Smedberg
6734de67be Fix typo in BrowserFeeds.manifest 2010-06-25 11:25:41 -04:00
Benjamin Smedberg
225030afcc Sync js/src/{config,rules}.mk 2010-06-25 11:11:56 -04:00
Benjamin Smedberg
f3d3d3d97b 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
9d69948fbc 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
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Benjamin Smedberg
7e862cd535 Fix reftest so that components are registered in the root chrome.manifest when it is packaged as an extension instead of in-tree. 2010-06-25 08:27:10 -04:00
Benjamin Smedberg
77282b6432 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
5ab65cc447 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
Gavin Sharp
ef1133a3ca Bug 574137: move HUDService styling to toolkit/themes, avoid setting incorrect class names on toolbar buttons, and remove toolbar style rules that conflict with the browser styling, r=dao
--HG--
rename : toolkit/components/console/content/headsUpDisplay.css => toolkit/themes/pinstripe/global/headsUpDisplay.css
rename : toolkit/components/console/content/headsUpDisplay.css => toolkit/themes/winstripe/global/headsUpDisplay.css
extra : rebase_source : f99848fa59b700ed1503fddd9a08a4f34c3c8cb4
2010-06-24 20:16:35 -04:00