Commit Graph

193 Commits

Author SHA1 Message Date
Benjamin Smedberg
726d0cfc47 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
2ebeafd362 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. 2010-06-21 11:41:42 -04:00
Benedict Hsieh
a217c929bf Bug 573092: Fix a startup crash when the extension manager is unavailable. r=dtownsend 2010-06-22 10:23:01 -07:00
Benjamin Smedberg
0e824d90bb 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
206621b6a9 Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Benjamin Smedberg
e2f2c8891a Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop 2010-06-14 16:05:48 -07:00
Benedict Hsieh
3075f685f9 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
a1286a371f Bug 565142 - Support startup on Android, patch by vlad, blassey, alexp, and me. r=dougt 2010-06-03 18:16:20 -07:00
Michael Wu
45d4327409 Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Mitchell Field
033ca6df32 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
8f58b57b02 Bug 538929 - Avoid creating XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and NS_APP_PREFS_OVERRIDE_DIR with wrong permissions [r=benjamin] 2010-04-19 10:15:31 +02:00
Neil Rashbrook
674dc8d7bf Bug 525725 -help crashes [@ LoadPlatformDirectory] r=bsmedberg 2009-11-04 21:34:16 +00:00
Vivien Nicolas
e6a77c6cc0 Bug 519468: matchOS is read from default prefs at startup [r=benjamin] 2009-11-02 13:04:45 -05:00
Robert Strong
9bc901c364 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
804520ac91 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
f77c0414e8 Bug 509161 - [WinCE] Remove support for XRE_UPDATE_ROOT_DIR on WinCE. r=sdwilsh 2009-08-10 19:59:00 -07:00
Vladimir Vukicevic
9b6b09e7ab b=499863; XREDirProvider gives wrong APPDATA dir on Windows CE; r=rs 2009-07-17 16:04:56 -07:00
Tomeu Vizoso
d4ea53c6f7 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
6bee8c6c67 bug 475383 - load plugins from $profile/plugins. r=bsmedberg/josh 2009-02-02 08:53:24 -05:00
Brad Lassey
ab2456fdec Bug 461858 - windows mobile minor cleanup of xulrunner r=bsmedberg 2008-12-03 08:41:12 -05:00
Oleg Romashin
ba9bfac87a Bug 455527 - In some cases Embedding startup crashes if gAppData == null. r=benjamin. 2008-09-20 03:59:55 -04:00
Shawn Wilsher
501ba0e79a 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
3353c0be5b Bug 408925: XRE_InitEmbedding does not initialize properly profilelock and gDirServiceProvider. r=bsmedberg 2008-08-16 16:20:35 +01:00
romaxa
9ec35b7d6f Bug 441979: gAppData null check not required in nsXREDirProvider::GetUserDataDirectoryHome. r=bsmedberg 2008-08-16 16:13:35 +01:00
dd0d485bec Bug 420459 Move mailnews-specific profe code. r=benjamin,Neil,sr=dmose,a1.9=beltzner 2008-03-17 12:05:24 -07:00
3a484bab65 Bug 412449: Add standard install locations for OSX. r=bsmedberg, a=beltzner 2008-03-06 17:58:18 -08:00
970901f07a Bug 311008 Add standard install locations on filesystem for extensions r=mossop sr=bsmedberg a=beltzner 2008-01-15 07:13:59 -08:00
4f7a20c742 Bug 386748 - Warning on Startup: NS_ENSURE_TRUE(compMgr) failed. r=benjamin, a1.9=schrep 2008-01-09 22:01:38 -08:00
021c09da23 Bug 396209 - "Allow applications to specify a profile directory from application.ini". r=luser, a=bsmedberg. Also fixes bugs 396486, 396199, and 386164. 2007-09-26 11:35:21 -07:00
b931655a2d Re-enable the actual distribution/bundles loading code from bug 392251, now that the Ts regression is fixed. 2007-09-05 06:08:07 -07:00
02a1723464 Because of interactions between the XPCOM dirserviceprovider and the nsXREDirserviceProvider we were loading/registering components in appdir/components twice. Stop that. Followup from bug 392251 2007-09-04 07:29:14 -07:00
c60364c56e Trying to reland only the refactoring changes from bug 392251 without the actual distro bundles code, to see if that affects Ts (original r=dmills) 2007-09-04 05:55:29 -07:00
c2f626404e Bug 392967: Load app and extension prefs separately. r=bsmedberg 2007-08-31 19:16:47 -07:00
82b156c9f2 Backout bug 392251 again due to Ts regression. 2007-08-31 14:47:46 -07:00
1df8361a54 Oops, forgot to set the sentinel... this should help Ts. 2007-08-31 13:37:50 -07:00
f023ca4efc Bug 392251 - Load extensions from appdir/distribution/bundles, try #2 to avoid Ts regression, r=thunder 2007-08-31 12:30:13 -07:00
e2c067115c Backout bug 392251 due to Ts regression 2007-08-27 10:57:15 -07:00
22c50f9575 Followup to bug 392251 - try to fix Ts regression by checking for directory existence before trying to enumerate it, r=dcamp on IRC 2007-08-27 10:01:10 -07:00
3a6b918119 Bug 392251 - Load extensions from appdir/distribution/bundles, r=mfinkle 2007-08-27 08:03:10 -07:00
e56b85a96e b=390904. r=bsmedberg. a=bsmedberg. XREDirProvider will also check the application folder for a 'platform' subfolder so apps can do platform dependent skins and components. 2007-08-06 12:54:09 -07:00
58a0dfca5d Bug 364297: add a new per-profile default-pref directory and associated directory service keys, and a way to trigger pref service default pref reloading to facilitate the change of default prefs without affecting exisiting users, r=mconnor, sr=bsmedberg 2007-05-02 13:13:33 -07:00
034e43379c Bug 375710 - Firefox 2.0.0.3 wants to downgrade to 2.0.0.2, patch by Masatoshi Kimura (:emk), reworked by me a bit, r=rstrong 2007-04-20 08:22:17 -07:00
sspitzer@mozilla.org
8e81b77c46 supplimental fix for bug #364599:
Some new created profile files are write protected, for example bookmarks.html and localstore.rdf

OR existing perms with 0600 instead of 0644 and fix some line endings from my first patch.

r=dveditz
2007-01-19 03:21:40 +00:00
sspitzer@mozilla.org
4a973f9a52 fix for bug #364599: some newly created profile files are write protected.
For Firefox 2.0.0.1-de, the default bookmarks.html, localstore.rdf, and mimeTypes.rdf (as well as search.rdf, but that is unused) files had the wrong permissions, which caused several problems.

Going forward, bsmedberg has made it so the build system will fix this problem if it happens again.  But for those 2.0.0.1-de users who were affected, this change will fix the permissions on these files.

r=bsmedberg
2007-01-10 21:48:07 +00:00
benjamin@smedbergs.us
3ecc3a6826 Bug 319843 - XULRunner windows are grouped in the taskbar (and all XULRunner apps have the same firewall settings), r=darin 2006-08-17 14:22:04 +00:00
benjamin@smedbergs.us
fbac713199 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
jshin@mailaps.org
6b845d1f75 bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
bsmedberg@covad.net
1b2f3e689c Bustage from bug 321359 - check for success before falling through to GetProfileDir 2006-01-12 17:16:15 +00:00
bsmedberg@covad.net
f5c2310daa Bug 321359 - Give embedders the ability to lock and use profiles through the XRE_InitEmbedding API, r=darin 2006-01-12 15:29:10 +00:00
bsmedberg@covad.net
16f7548134 Bug 321237 - Make NS_OS_CURRENT_PROCESS_DIR point to the application directory for XULRunner apps, r=robstrong 2005-12-23 14:51:39 +00:00