Commit Graph

70 Commits

Author SHA1 Message Date
Igor Bukanov
5220367ed1 Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.

The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Matthew Noorenberghe
31077ca4e3 Bug 723802 - Add telemetry for startup crash detection (2/2). r=dolske,taras
--HG--
extra : rebase_source : 60d3f26787475c0321392adfd53766d48158a142
2012-03-12 15:41:26 -07:00
Matthew Noorenberghe
9fe1536a0c Bug 726877 - Don't warn when startup crash tracking returns NS_ERROR_NOT_AVAILABLE. r=dolske
--HG--
extra : rebase_source : fe06f28abbdc4b39ac35f252aa72700589364fcd
2012-02-13 17:04:30 -08:00
Michael Wu
8c568e3281 Bug 712789 - Put packed xpi extensions in the extension lists, r=bsmedberg 2012-02-13 13:57:28 -05:00
Matthew Noorenberghe
ad086574ef Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop
--HG--
rename : toolkit/components/startup/tests/Makefile.in => toolkit/components/startup/tests/browser/Makefile.in
extra : rebase_source : 8df6b163173362ae80832eb3667e04bb817280b3
2011-11-07 21:20:42 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Neil Rashbrook
b3f03a8649 Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc 2011-11-02 14:51:39 +00:00
Zack Weinberg
d4654337a9 Bug 660687: Add configure switches that can override confvars.sh's choice of an app basename and disable all system extension directories. r=ted 2010-07-23 11:00:16 -07:00
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
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
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
arno renevier
c5e0b3a9a5 Bug 666220: remove unecessary kAppendChromeManifests definition. r=bsmedberg 2011-06-24 01:51:14 -07:00
Mike Hommey
06f58093ca Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
L. David Baron
5445f4ab8c Backout changeset 9df6e8117fe0 (Bug 620931 part 4) for causing bug 644790. 2011-03-24 21:06:44 -07:00
Mike Hommey
f25c0e8cc3 Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-03-24 15:28:31 +01: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
Brad Lassey
e17eb0cd1c bug 615519 - profile data should be stored on sd card when application is moved to sd card r=dougt a=blocking-fennec 2011-02-07 23:40:42 -05:00
Dave Townsend
df7aab2ff1 Bug 474289: Automatically install add-ons distributed with the application into the user's profile. r=bsmedberg, r=robstrong, a=beltner 2011-01-19 14:37:24 -08:00
Michael Wu
ff23778648 bug 620584 - add ANDROID_PACKAGE_NAME rather than hard code org.mozilla.@MOZ_APP_NAME@ r=ted,blassy a=stuart 2010-12-21 15:02:14 -05:00
Serge Gautherie
4e549d35db Bug 508760 - Remove MSVC6 support from the tree; (Iv1) /toolkit/xre/*.cpp.
r+a-2.0=benjamin.
DONTBUILD
2010-12-09 16:43:13 +01:00
Michael Wu
85b940bc47 Bug 533038 - 7. Extensions should not be extracted into the profile directory, but installed/stored as XPI file, r=Mossop a=blocking-beta6 2010-09-10 15:54:37 -07:00
Benjamin Smedberg
d6805bcab6 Bug 576492 - Load default preferences from extension defaults, r=Mossop 2010-07-02 12:45:20 -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
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -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
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
Benedict Hsieh
9ae1b68f3b Bug 573092: Fix a startup crash when the extension manager is unavailable. r=dtownsend 2010-06-22 10:23:01 -07: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
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
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
Benedict Hsieh
8ccea46362 Bug 568348 - The extension manager should do extension install activities and write extensions.ini before the profile is started. r=Mossop 2010-06-11 12:02:44 -07:00
Michael Wu
f7ea7a8b12 Bug 565142 - Support startup on Android, patch by vlad, blassey, alexp, and me. r=dougt
--HG--
extra : rebase_source : 1153c0a4fb1d73f29d8c9da78c66bf4bf21b8142
2010-06-03 18:16:20 -07:00
Michael Wu
a7bab5285a Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mike Hommey
80fbf8a463 Bug 538929 - Avoid creating XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and NS_APP_PREFS_OVERRIDE_DIR with wrong permissions [r=benjamin]
--HG--
extra : rebase_source : 4074ffcab5a32e2e78eabf2e8614a652e575a3b0
2010-04-19 10:15:31 +02:00
Neil Rashbrook
7849cfdd09 Bug 525725 -help crashes [@ LoadPlatformDirectory] r=bsmedberg 2009-11-04 21:34:16 +00:00
Vivien Nicolas
3a3b5233b1 Bug 519468: matchOS is read from default prefs at startup [r=benjamin] 2009-11-02 13:04:45 -05:00
Robert Strong
9494a0c363 Bug 521262 - XREDirProvider provides app chrome dir twice, making us parse manifests twice. r=bsmedberg 2009-10-12 12:12:19 -07:00
Robert Strong
75d676942c Bug 513958 - Firefox silently fails to start if %APPDATA% variable is missing. r=jmathies, r=bsmedberg 2009-10-08 20:03:09 -07:00
Robert Strong
56639f2d73 Bug 509161 - [WinCE] Remove support for XRE_UPDATE_ROOT_DIR on WinCE. r=sdwilsh 2009-08-10 19:59:00 -07:00
Vladimir Vukicevic
127485d199 b=499863; XREDirProvider gives wrong APPDATA dir on Windows CE; r=rs 2009-07-17 16:04:56 -07:00
Tomeu Vizoso
9db0682493 Bug 486679 - misleading embedding assertion about NS_APP_USER_PROFILE_50_DIR not being defined, r=bsmedberg 2009-04-13 13:34:01 -04:00
Ted Mielczarek
1610330c19 bug 475383 - load plugins from $profile/plugins. r=bsmedberg/josh 2009-02-02 08:53:24 -05:00
Brad Lassey
b4646a8413 Bug 461858 - windows mobile minor cleanup of xulrunner r=bsmedberg 2008-12-03 08:41:12 -05:00
Oleg Romashin
33ad3b765b Bug 455527 - In some cases Embedding startup crashes if gAppData == null. r=benjamin. 2008-09-20 03:59:55 -04:00
Shawn Wilsher
837500c108 Bug 452486 - Create components when we actually have a profile
This changeset allows components to register for the profile-after-change
category in the category manager such that they will be initialized when this
topic would normally be dispatched.
r=bsmedberg
2008-08-29 16:40:05 -04:00
romaxa
b9dd045b06 Bug 408925: XRE_InitEmbedding does not initialize properly profilelock and gDirServiceProvider. r=bsmedberg 2008-08-16 16:20:35 +01:00