Commit Graph

206 Commits

Author SHA1 Message Date
Felipe Gomes
fde9cfeb58 Bug 769955. Change the window name to 'default' as nsXULWindow uses the window name to search for the icon to display. r=myk 2012-07-05 15:02:21 -07:00
Drew Willcoxon
f3a88b80ef Bug 733631 - Create a unit test infrastructure for the webapp runtime. r=myk,felipc,ctalbert 2012-06-29 15:52:43 -07:00
Felipe Gomes
42a4082334 Bug 759619. Center webapp on screen on first run, and persist size and position values afterwards. r=myk 2012-06-28 22:27:09 -07:00
Chris Pearce
560d593c08 Bug 760102 - Enable fullscreen API for web apps. r=vingtetun 2012-06-28 20:55:33 +12:00
Felipe Gomes
3475561154 Bug 767672. Enable smooth scrolling on webapp runtime. r=myk 2012-06-27 17:14:58 -07:00
Blair McBride
3ded1531d3 Bug 767965 - Web App Runtime should disable installation of distribution extensions. r=gavin 2012-06-26 14:30:45 +12:00
Myk Melez
9fc44f9ba8 Bug 757678. Set IndexedDB permissions for desktop webapps. r=felipe 2012-06-22 15:19:24 -07:00
Edward Lee
1cac813e53 Bug 738832 - Allow desktop runtime to support webRT installs (mozApps.install API) [r=myk, r=felipe]
Use the runtime folder to get a reference to webapprt-stub instead of process folder, which is one level too deep from the runtime. Handle webapps install requests by showing a prompt like the geolocation prompt.
2012-06-21 14:06:24 -07:00
Benjamin Smedberg
ea4315c1ff Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Jeff Walden
09e6c025d8 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Myk Melez
4c94372bb9 bug 745980 followup - define MOZILLA_OFFICIAL in webapp runtime Makefile so Crash Reporter gets enabled in official builds; r=felipe
--HG--
extra : rebase_source : 19aa82a6a5120fa96883a263927f824f702da34a
2012-06-14 13:27:36 -07:00
Myk Melez
cf8e6d9e6f bug 763780 - remove unnecessary application flags from webapp runtime's components.manifest; r=bsmedberg
--HG--
extra : rebase_source : bd6e1e20c9311fe514583dbff4e2ad955ac12a01
2012-06-14 13:25:53 -07:00
Myk Melez
1c50af8c2e bug 763778 - use PREF_JS_EXPORTS to preprocess/install webapp runtime's default prefs file; r=bsmedberg
--HG--
extra : rebase_source : a654027913cfe4f5f08cfa73990bff6c10cbce14
2012-06-14 13:21:06 -07:00
Tim Abraldes
60f2bbc386 bug 763491. Change string to say "Firefox version 15" instead of "Firefox version 14," since WebappRT will first be released in version 15. r=myk 2012-06-13 12:47:31 -07:00
Marco Castelluccio
6df980cbde Bug 763358. Avoid early gtk initialization on webapprt that can happen when invoked from the command line. r=karlt 2012-06-13 14:25:52 -03:00
Myk Melez
29e57e06fc bug 755557 - support blocklisting flash versions; r=Unfocused 2012-06-13 08:50:15 -07:00
Edward Lee
1d07e0b2be Bug 762195 - Runtime has window.locationbar.visibility = true, so content can't detect to show navigation [r=myk]
Remove "all" flag to have various toolbar visibility default to false.
2012-06-12 18:18:23 -07:00
Felipe Gomes
da4dfbe697 Bug 761516. Rename webapprt/linux to webapprt/gtk2 as we are building for all gtk2 platforms. r=marco
--HG--
rename : webapprt/linux/Makefile.in => webapprt/gtk2/Makefile.in
rename : webapprt/linux/webapprt.cpp => webapprt/gtk2/webapprt.cpp
2012-06-12 17:47:40 -03:00
Myk Melez
ad14387243 bug 764127 - some return values in Windows runtime stub are wrong type or wrongly interpreted; r=felipe 2012-06-12 13:35:32 -07:00
Marco Castelluccio
183aa86f2e Bug 760747 - Wrong check in Mac and Windows webapp runtimes; r=myk 2012-06-12 13:01:01 -07:00
Myk Melez
5c589705fa bug 752666 - provide explicit mechanism to specify URL load target in webapp runtime; r=felipe 2012-06-11 12:22:08 -07:00
Landry Breuil
33679d4e33 Bug 761516 - Build linux webapprt on all gtk2 platforms, not only linux. r=jst 2012-06-11 20:50:18 +02:00
Chris Coulson
f425688f33 Bug 762641. Make the class name part of WM_CLASS unique to each webapp. r=karlt@mozbugz.karlt.net, jst@mozilla.com 2012-06-08 12:27:44 -07:00
Marco Castelluccio
78542e1d23 Bug 761496. Cannot launch multiple native webapps on Linux. r=felipe 2012-06-06 19:14:43 -03:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Marco Castelluccio
eced433e8d Bug 745018. Implement webapp runtime for Linux. r=jst 2012-06-03 22:54:38 -03:00
Edward Lee
6e85d10954 Bug 748214 - Cannot use the Geolocation API within the desktop web runtime [r=myk]
Show a prompt asking the user to share or not geolocation info with the option to remember.

--HG--
extra : rebase_source : f6fdf84a3d675ad52e973cd5f4b4d1cf84394fb1
2012-05-31 10:04:52 -07:00
Myk Melez
10977c4e9d bug 749029 - set appcache permissions on webapp firstrun so apps can use the appcache to run offline; r=felipe 2012-05-31 13:30:40 -07:00
Myk Melez
947fddf773 bug 747645 - move webapp-uninstaller.properties to browser/locales/ to make it easier to localize; r=felipe 2012-05-31 00:13:00 -07:00
Myk Melez
eebdb9e840 bug 745980 - integrate crash reporting into webapp runtime; r=bsmedberg
--HG--
extra : rebase_source : 65411fbe2d150b919262489bae81e8f44119fe13
2012-05-29 14:25:15 -07:00
Jim Mathies
bd3f82ea02 Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg 2012-05-25 05:01:29 -05:00
Gavin Sharp
e4abff6fb4 Bug 754915: auto-disable profile loaded add-ons, and disable web-triggered XPI installation, r=myk, f=Unfocused
--HG--
extra : transplant_source : j%7C%3A%EB%5C%C9%9C%93%15%AD%ED%82%7B%29p%8D%8B%40%1A%C2
2012-05-21 13:50:51 -07:00
Jim Mathies
b02ab82aae Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
13a12c52ea Bug 748967: disable non-profile install locations for add-ons for the Web app runtime, r=myk
--HG--
extra : rebase_source : 3abb4911060f76936f2aa01c4f8a9b0fb1be4522
2012-05-13 22:25:19 -07:00
Gavin Sharp
2e5be804a1 Bug 747990 part 2: make use of UAName attribute to have the web app runtime use the associated application's UA string, r=myk
--HG--
extra : rebase_source : 2b7cdba3c31cfd65a5b4e560a7854c83c460ab08
2012-05-01 00:24:38 -04:00
Myk Melez
e5fd923f3d bug 751375 - structure webapp runtime Makefiles correctly; r=bsmedberg 2012-05-07 10:45:53 -07:00
Matt Brubeck
e3b7b8e191 Merge mozilla-central and mozilla-inbound 2012-05-02 15:58:11 -07:00
Edward Lee
190bd34819 Bug 749047 - Cannot save downloaded files from within the desktop web runtime [r=myk]
Default downloads to the Downloads directory set by the platform just like Firefox.
2012-04-30 19:24:24 -07:00
Edward Lee
19ed215332 Bug 750568 - Cannot use twitter or google accounts within the desktop runtime - Needs to be whitelisted on origins allowed [r=myk, a=js-only]
Also allow plain https twitter.com
2012-05-02 10:35:31 -07:00
Myk Melez
42c5d63acd bug 750568 - whitelist twitter and google identity providers in webapp runtime; r=myk, a=js-only 2012-05-02 00:09:10 -07:00
Phil Ringnalda
1f0b033b16 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Tim Abraldes
6469dfddbe Bug 747470. Statically link the CRT in webapprt.exe. r=bsmedberg 2012-04-24 16:44:36 -04:00
Edward Lee
0be5fb2ea0 Bug 729853 - Cannot launch pop-up dialog not on the same origin of the app when running app natively [r=myk]
Explicitly allow Persona https://browserid.org and Facebook Connect https://www.facebook.com for now.
2012-04-26 16:55:28 -07:00
Edward Lee
fbdf5128bc Bug 707836 - Handle URI navigation outside app domain for native apps [r=myk]
Add a content policy to detect off-origin navigation to redirect to the default browser.
2012-04-26 16:55:27 -07:00
Edward Lee
78584a19aa Bug 732631 - Selecting to a open a new window within an app, then exiting the app does not shut down the application [r=myk]
Switch browser type to content-primary so the frame loader triggers the right behavior for adding a content shell.
Also fixes Bug 746217 - Cannot open windows even from the same domain
2012-04-26 16:55:25 -07:00
Myk Melez
34b6d6c000 bug 748085 - continue starting up webapp after exception initializing optional registry; r=felipe 2012-04-26 11:39:49 -07:00
Tim Abraldes
33ce82f43f bug 747409. Use a unique-per-webapp value for the "name" of the nsXREAppData struct. This way, webapps will not get confused about whether existing webapp windows are their windows. r=myk. a=desktop-only 2012-04-23 18:18:14 -04:00
Phil Ringnalda
56db9fcd16 Merge the last green PGO changeset from mozilla-inbound to mozilla-central; a=merge 2012-04-21 23:21:24 -07:00
Myk Melez
ea215ab726 bug 747394 - rename webapprt/application.ini to webapprt/webapprt.ini to work around an issue in a build script that looks for Firefox's application.ini, which busted nightly partial updates, on a CLOSED TREE; r=bsmedberg, a=khuey 2012-04-21 11:41:50 -07:00
Felipe Gomes
d08d0c6c4b Bug 747205. Webapps installer follow-ups. r=timA a=desktop-only 2012-04-19 18:47:54 -07:00
Myk Melez
fd7a6dd8f7 bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl 2012-04-19 00:39:52 -07:00
Tim Abraldes
d284980eb9 Bug 745995. Natively-installed webapps should yse the app's icon for their taskbar and system menu icons. r=bsmedberg a=gavin 2012-04-18 15:17:49 -07:00
Myk Melez
0e8cb8852d bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Edward Lee
ea1093b524 Bug 747451 - Desktop web runtime user agent breaks apps expecting "Firefox" in the UA [f=myk, r=felipe, a=desktop-only]
Use the compatibility mode to include Firefox/<version> with WebappRuntime/<version>.

--HG--
extra : rebase_source : 3e8a5bbeb50ef3cca68c2a8bc618ded968449039
2012-04-20 15:56:11 -07:00
Edward Lee
570f3ee78a Bug 746213 - Support mozApps.getSelf/getInstalled in desktop runtime to allow apps to access receipts [r=felipe, a=desktop-only]
Import Webapps.jsm to initialize DOMApplicationRegistry, which handles Webapps:GetSelf, etc. messages.

--HG--
extra : rebase_source : 429c9c48e54e39ff0c403d926c5ac35c49b28c3f
2012-04-20 15:56:06 -07:00