Commit Graph

187 Commits

Author SHA1 Message Date
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Brian R. Bondy
6a5c2170f7 Bug 801853. r=rstrong 2012-10-25 22:07:04 -04:00
Fabrice Desré
74db4fd985 Bug 777204 - Webapps.jsm broadcasts information to all content processes [r=gwagner] 2012-09-18 10:34:55 -07:00
Ms2ger
0744280d18 Bug 787971 - Fix warnings about function pointers in gtk2 webapprt; r=glandium 2012-09-06 09:25:05 +02:00
Marco Castelluccio
bfad7fe004 Bug 780530 - Notification after webapp uninstallation. r=mhommey 2012-08-18 08:25:48 -04:00
Myk Melez
782fce224f bug 770770: refactor webapp runtime test harness to reduce complexity/special-casing; r=adw
--HG--
extra : rebase_source : 183331b565d8c0577c9ba60a89f3c1ea6b11af9a
2012-08-14 15:27:26 -07:00
Mike Hommey
1a653fcf79 Bug 776325 - Set nsXREAppData::name instead of using g_set_prgname is Linux webapprt. r=karlt 2012-08-09 16:34:26 +02:00
Marco Castelluccio
c3543b66ba Bug 774142. Support webapp uninstallation on Linux through mozApps.uninstall function. r=felipe 2012-08-08 18:04:48 -07:00
William Chen
edb1043b3e Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00
Myk Melez
9bfdd9fd9d bug 772299 - <browser> widget's addProgressListener method should pass through aNotifyMask argument; r=gavin 2012-08-07 13:55:38 -07:00
Ryan VanderMeulen
063e6430c9 Backout 4e54a6eb43d2 (bug 780686) and f10e4ac36ed2 (bug 772299) due to mochitest-other permaorange on a CLOSED TREE. 2012-08-07 20:32:09 -04:00
Marco Castelluccio
dba622d895 Bug 761806 - Support webapp uninstallation on Linux. r=myk 2012-08-07 16:20:10 -07:00
John Schoenick
cdcbdd57ac Bug 778858 - Enable OOP plugins in webapprt by default. r=myk 2012-08-07 15:15:18 -07:00
Myk Melez
e664149de2 bug 772299 - <browser> widget's addProgressListener method should pass through aNotifyMask argument; r=gavin
--HG--
extra : rebase_source : 10c623c2adcb771312bb85896dbe7d4d9fc4d83c
2012-08-07 13:55:38 -07:00
Mike Hommey
fd7fe8283e Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Myk Melez
94debc4dc7 Bug 773784 - Update error messages to say FF 16 when launching an app with no version of FF installed. r=felipc 2012-07-20 20:19:38 -04:00
Felipe Gomes
01264f0997 Bug 759502. Include URL of active window in URL field of webapp runtime crash reporter. r=gavin 2012-07-19 18:02:48 -07:00
Etienne Segonzac
ae3aabc3d4 Bug 774216. Can't launch apps on B2G since it's seen as XP_UNIX by WebappOSUtils. r=felipe 2012-07-16 11:22:16 -07:00
Marco Castelluccio
19474c25e7 Bug 770772 - Implement WebappRT test framework on Linux. r=adw 2012-07-14 19:16:58 -04:00
Marco Castelluccio
3ca19ffd57 bug 770771 - Implement WebappRT test framework on Windows; r=adw 2012-07-13 15:49:40 -07:00
Marco Castelluccio
79e2847e7e Bug 768768 - Launch app from shell, close, then launch it from terminal results in no icon showing up in task bar in ubuntu; r=karlt
--HG--
extra : rebase_source : f44a483b2f927576cf87c858120826c007d6504f
2012-07-13 11:27:49 -07:00
Myk Melez
2dcbf16323 bug 755554 - enable only flash in the desktop webapp runtime; r=felipe 2012-07-12 14:02:30 -07:00
Myk Melez
09c7a9bbc1 bug 773411 - when running tests, freeze WebappRT config object after calling confirmInstall(); r=adw 2012-07-12 13:59:45 -07:00
Myk Melez
57348ad64e bug 771395 - show origin of page in window title when it is different from webapp's origin; r=felipe 2012-07-10 15:07:31 -07:00
Blair McBride
c18a92d4e5 Bug 771817 - Add-on compatibility dialog appears when launching app using different version from that previously run. r=gavin 2012-07-11 02:05:58 +12:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Bill Walker
ccafc3db47 Bug 768927: Revised Web Runtime error messages for Mac and Win for consistency; r=myk 2012-07-05 10:59:27 -07:00
Marco Castelluccio
2e674fa34a Bug 763365 - Launching an installed web application with no supported version of Firefox installed for web apps results in a not so useful error message to the user. r=myk 2012-07-05 21:08:01 -04:00
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