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

289453 Коммитов

Автор SHA1 Сообщение Дата
Justin Lebar 572ced716f Bug 836654 - Part 11: Follow-up for b2g18; fix compile errors. r/a=me 2013-02-15 13:10:28 -05:00
Gregor Wagner 5ebad33409 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent, a=shira+ 2013-02-14 16:45:13 -08:00
Gregor Wagner b065ef65a1 Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap, a=tef+ 2013-02-13 17:07:28 -08:00
Chris Jones 95da242940 Bug 834639 - Use PREMULT blending for hwc layers. r=dwilson, a=cjones 2013-02-12 10:47:07 -08:00
Justin Lebar 996883d03b Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones, a=blocking-tef 2013-02-15 12:07:34 -05:00
Justin Lebar 60e37764e1 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones, a=blocking-tef 2013-02-15 12:07:34 -05:00
Justin Lebar c6eee1db0a Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones, a=blocking-tef
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-15 12:07:34 -05:00
Justin Lebar 63af8a94b6 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-15 12:07:34 -05:00
Justin Lebar de4bb013a1 Bug 836654 - Part 8: Inform the mozbrowser embedder when we're opening a frame that we expect to send a system message to. r=cjones 2013-02-15 12:07:34 -05:00
Justin Lebar fb22e05f5c Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-15 12:07:34 -05:00
Justin Lebar f44d60c8cc Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-15 12:07:33 -05:00
Justin Lebar ed1dc3281d Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-15 12:07:33 -05:00
Justin Lebar e8adf751fd Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-15 12:07:33 -05:00
Justin Lebar d8e79ada25 Bug 836654 - Part 3: Modify hal to accept a ContentParent ID in ModifyWakeLock(). r=cjones
Also return the list of processes holding the lock in GetWakeLockInfo
and in the wake-lock changed notification.
2013-02-15 12:07:33 -05:00
Justin Lebar 6c0a905fe0 Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones 2013-02-15 12:07:33 -05:00
Justin Lebar e215235a02 Bug 836654 - Part 1: Don't require the "power" permission to do GetWakeLockInfo from a child process. r=cjones 2013-02-15 12:07:33 -05:00
Justin Lebar d45eab2099 Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-15 12:07:33 -05:00
Justin Lebar 63e11b17c6 Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones, a=blocking-tef
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-15 12:07:32 -05:00
Justin Lebar 02fdf22c49 Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones, a=blocking-tef 2013-02-15 12:07:32 -05:00
Brian Hackett 3e1a463e55 Bug 822858. r=billm, a=bajaj 2013-01-08 16:51:43 -08:00
Andrew McCreight 5b823a66d6 Bug 830399. Add JSAutoCompartment in nsXMLHttpRequest::GetInterface. r=bz a=bajaj 2013-01-17 16:30:41 -08:00
Alexandre Poirot b253a8ffb1 Bug 834515 - Updating to a packaged app with a new name via introducing a locale override allows changing the app name. r=fabrice, a=tef+ 2013-02-14 09:23:58 -08:00
Eric Chou cc548c06ce Bug 834816 - Disconnect all ACL connections before disabling Bluetooth. r=qdot, a=tef+ 2013-02-14 23:16:37 +08:00
Justin Lebar ac7d315e49 Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones, a=lsblakk
Previously, it was possible to return a dead preallocated process.  This
patch eliminates or at least significantly reduces the likelihood of
this race.
2013-02-08 14:32:23 +00:00
Justin Lebar d2b128e0dc Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones, a=lsblakk 2013-02-08 14:32:23 +00:00
Vivien Nicolas 14750f963d Bug 839473 - Return early in form.js for non editable content. r=fabrice, a=lsblakk 2013-02-12 16:31:08 -08:00
Gregor Wagner 34eabcdc51 Bug 839094 - PhoneNumberJS: handle countries sharing the same meta-data correctly. r=gal, a=overholt 2013-02-07 17:42:36 -08:00
Julien Wajsberg e019a58ff4 Bug 838561 - If we try to start a download or check for updates but we are already downloading, ignore the call. r=fabrice, a=lsblakk 2013-02-08 10:40:52 +01:00
Bobby Holley 9d5b690e8a Bug 827870 - Do a better job of lying about the holder and make assertions fatal. r=mrbkap, a=lsblakk 2013-02-13 17:27:33 -05:00
Jonathan Griffin dc000b5506 Bug 831149 - Expose SpecialPowers to conent scripts via a lazy getter, r=philikon, a=approval-mozilla-b2g18 2013-01-23 11:26:33 -08:00
Rail Aliiev 99ea7b7796 Bug 840863 - Update the gonk snapshot for b2g v1-train. r=hwine, a=akeybl 2013-02-13 14:44:59 -05:00
Ryan VanderMeulen 5400ad0559 Bug 840999 - Set the version on mozilla-b2g18/v1-train to 1.1.0.0-prerelease. r=fabrice, a=leo+
DONTBUILD
2013-02-13 11:05:05 -05:00
Rail Aliiev 044d5bc959 Added tag B2G_1_0_1_20130213094222_BASE for changeset 3dbddbdc7a26 2013-02-13 09:56:04 -05:00
Jonathan Griffin efb967f8cf Bug 839675 - Prevent out-of-sync problems. r=mdas, a=akeybl 2013-02-12 10:10:03 -08:00
Fabrice Desré 880360faf6 Bug 840698 - Activities are broken r=cjones 2013-02-12 15:19:50 -08:00
Andrew Halberstadt fb102153d7 Bug 834382 - Disable failing crashtests on b2g18 branch, r=jgriffin, a=test-only,tracking-b2g18+ 2013-02-12 14:02:09 -05:00
Fabrice Desré ca5adf2973 Bug 838102 - Activities are saved in the manifest with a modified href after an update. r=julienw, a=tef+ 2013-02-10 10:54:13 -08:00
Ryan VanderMeulen 547562d6a5 Backed out 2 changesets (bug 838616) for bustage. a=backout 2013-02-12 12:38:15 -05:00
Julien Wajsberg 1b5b9e173e Bug 830463 - Download/update notification is showing up late on a weak connection in some cases. r=fabrice, a=lsblakk 2013-02-11 09:38:51 +01:00
Justin Lebar 0ce76f916d Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones, a=lsblakk
Previously, it was possible to return a dead preallocated process.  This
patch eliminates or at least significantly reduces the likelihood of
this race.
2013-02-08 14:32:23 +00:00
Justin Lebar 3c82811e7c Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones, a=lsblakk 2013-02-08 14:32:23 +00:00
Fabrice Desré a7f0a319c7 Bug 836605 - Use prototype to speed up cloneAsMozIApplication. r=genelian, a=tef+ 2013-02-06 15:21:15 -08:00
Gabriele Svelto d720ae5dce Bug 820438 - Immediately apply changes in maximum script runtime to make them visible in content processes. r=jst, a=lsblakk 2013-01-31 17:49:09 +01:00
Paul Adenot 70c8f2cf81 Bug 839038 - Put .opus as a valid extension in toolkit/content/devicestorage.properties. r=dougt a=lsblakk 2013-02-12 14:52:17 +01:00
Ryan VanderMeulen c605af7267 Backed out changeset 81305ec8beb4 (bug 835698) for causing bug 839256. a=backout 2013-02-11 17:43:09 -05:00
Ryan VanderMeulen cb007bcbaa Backout 638db02edad6 (bug 752982) for landing without proper review. a=backout 2013-02-11 14:34:53 -05:00
Armen Zambrano Gasparnian e86df153bc Bug 839291 - panda b2g18* builds are sendchanging gaia-tests.zip but not uploading it. r=aki a=akeybl 2013-02-11 09:35:24 -05:00
Julien Wajsberg 8ed37c2bc8 Bug 838823 - Restarting a stopped install of an app fails with NO_DOWNLOAD_AVAILABLE. r=fabrice, a=tef+ 2013-02-08 11:07:46 +01:00
Ben Turner 7288908c3a Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell, a=blocking-tef+. 2013-02-01 04:23:23 -08:00
Justin Lebar 625e4e3621 Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones, a=bajaj 2013-02-08 14:32:23 +00:00