Commit Graph

125 Commits

Author SHA1 Message Date
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Wolfgang Germund
b4bcc00620 Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras 2011-09-28 16:14:45 -07:00
Boris Zbarsky
fa974d0e19 Bump XPCOM version to 10 on CLOSED TREE. 2011-09-27 13:15:52 -04:00
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Ted Mielczarek
e9454f8e7a bug 676589 - configure and xpcom changes for targeting iOS. r=khuey 2010-04-27 08:57:34 -04:00
Matheus Kerschbaum
887ff1b97a Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Ehsan Akhgari
62a7debec3 Bump the XPCOM version from 8 to 9
--HG--
extra : transplant_source : %DB%9E%D5%03%8D%D2%11%DDu%15%CF%A3%8A%BC%FFZ%D5%E6%26p
2011-08-16 14:18:30 -04:00
Philipp Kewisch
1728a832a2 Fix bug 672662 - Provide a chrome registration flag for the platform version. r=Mossop
--HG--
extra : rebase_source : d776a714c8f356a991286953b6bf15b5726ae5d5
2011-08-10 22:24:57 +02:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Hernan Rodriguez Colmeiro
f919e96062 Bug 564667: Allow bootstrapped add-ons to have chrome URLs. r=dtownsend, sr=bsmedberg 2011-07-29 11:20:47 +02:00
Justin Lebar
052b79f0ee Bug 657917 - Update nsIClassInfoImpl docs. r=peterv
--HG--
extra : rebase_source : 1815579133e03e9f1579ea5f1d3deb784be45e11
2011-05-20 12:37:32 -04:00
Boris Zbarsky
db0b1932e6 Bump the XPCOM module version number as well. 2011-07-05 16:10:52 -04:00
Benjamin Smedberg
18dc25c813 Bug 666938 - Add a console message when a binary component doesn't load because of a kVersion mismatch, r=Mossop
--HG--
extra : rebase_source : 7a950be04051e13c169af5d9852cef0e123d31a7
2011-06-24 14:08:13 -04:00
Benjamin Smedberg
e2e379caba Bump mozilla-central version numbers for the next release on a CLOSED TREE. 2011-05-24 13:51:50 -04:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Benjamin Smedberg
972a1f9e8c Bug 656331 - XPCOM binary component loading never checks mVersion, r=bz 2011-05-11 13:03:38 -04:00
Mark Finkle
ff7f53cc2b Bug 650390 - osversion in chrome.manifest files should query android os version [r=dtownsend] 2011-05-05 16:50:19 -04:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Benjamin Smedberg
19154d067a Revise the XPCOM version number for Firefox/Mozilla 6. I'm going to just use the same version number as the platform to keep things sane. 2011-04-29 10:53:33 -04:00
Kyle Huey
896ca84140 Backed out changeset aa200a803e07 2011-04-13 23:17:02 -07:00
Kyle Huey
1fabe6561c Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg 2011-04-13 19:41:34 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Benjamin Smedberg
fcee48bcb1 Bump the binary compatibility version post-branch. 2011-03-23 10:28:41 -04:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Benjamin Smedberg
6c167a9962 Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking 2010-12-03 15:24:22 -05:00
Mike Hommey
0d82fbd898 Bug 569629 - Remove static xpcom modules list static initializer. r=bsmedberg,a=bsmedberg 2010-11-07 09:25:38 +01:00
Michael Wu
4eff31a667 Bug 533038 - 1. Generalize manifest reading code and add api for reading manifests from jars, r=bsmedberg a=blocking-beta6 2010-09-08 20:37:11 -07:00
Michael Wu
5deede4de4 Bug 556644 - 6. Don't do slash fixup for omnijar, r=bsmedberg a=blocking2.0 2010-08-11 18:11:18 -07:00
Michael Wu
2abb47c1f1 Bug 556644 - 4. Fix tests, r=bsmedberg a=blocking2.0
--HG--
rename : caps/tests/mochitest/test_bug292789.html => caps/tests/mochitest/test_bug292789.html.in
2010-08-10 15:18:40 -07:00
Benjamin Smedberg
a46c0d7aca Fix omnijar from bug 579178 - move the manifest ziploader code into xpcom/components, and don't load the same JAR a bunch of times.
--HG--
rename : modules/libjar/nsManifestZIPLoader.cpp => xpcom/components/nsManifestZIPLoader.cpp
rename : modules/libjar/nsManifestZIPLoader.h => xpcom/components/nsManifestZIPLoader.h
2010-08-04 14:09:21 -04:00
Benjamin Smedberg
1f62db83d4 Bug 579178 part A - Code changes to add a "manifest" directive to read sub-manifests and read only the root chrome.manifest file, instead of enumerating components/*.manifest and chrome/*.manifest. Review comments by Mossop to be addressed in a followup commit. 2010-07-22 10:31:29 -04:00
Benjamin Smedberg
5ce2f52c66 Bug 579487 - Better error reporting when NS_CreateServicesFromCategory can't find a contract (especially to help extension developers with profile-after-change issues), r=Mossop 2010-07-20 09:28:45 -04:00
timeless@mozdev.org
3bf8ddc079 Bug 578219 Crash in [@ nsNativeModuleLoader::LoadModule ] when installing LastPass Password Manager addon
r=bsmedberg

--HG--
extra : rebase_source : fb97bc29e6a1e4b0abc1108555947edb4e1000a5
2010-07-15 15:55:05 +03:00
Philipp Wagner
29ed75147b Bug 578237: Fix error message in nsComponentManagerImpl::RegisterCIDEntry. r=bsmedberg 2010-07-13 10:02:22 -07:00
Neil Rashbrook
3ab5e497d0 Bug 568691 Further followup to actually register static components r=bsmedberg 2010-07-13 15:24:58 +01:00
Justin Wood (:Callek)
45d7c6f4ad Bug 573382 - No chrome package registered for chrome://inspector/content/tasksOverlay.xul
r=dtownsend
2010-07-04 21:54:35 -04:00