Commit Graph

50 Commits

Author SHA1 Message Date
Gregory Szorc
9d563862ca Bug 838717 - Import main.js before accessing Weave; r=rnewman 2013-02-06 10:32:00 -08:00
Gregory Szorc
3a3280675a Bug 836120 - Reduce memory overhead of Sync when it's not configured; r=rnewman
If Sync is (likely) not configured, the only loaded JS is for the XPCOM
service itself.

The UI code is now smart enough to initialize the Sync service if it
isn't yet loaded. This addresses bug 825728.
2013-01-30 07:05:12 -08:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
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
Gavin Sharp
3d2b804549 Bug 781323: fix about:sync-log, r=gps
--HG--
extra : rebase_source : 168339ad89dd0263b83deb7d9b028d59562cffe0
2012-08-14 15:37:04 -04:00
Jonas Sicking
b5d168a6b4 Bug 774585: Make about: redirectors reset channel owner to null rather than set an explicit principal so that we'll go through the normal code paths in GetChannelPrincipal. r=bz 2012-07-17 22:22:19 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Philipp von Weitershausen
379d494c7c Bug 610832 - Make about:sync-log a directory listing. r=rnewman,mconnor 2011-06-13 20:40:08 +02:00
Philipp von Weitershausen
a7f751f74a Bug 644905 - Set resource aliases in manifest. r=rnewman 2011-03-25 00:57:23 -07:00
Philipp von Weitershausen
564088e658 Bug 603388 - Merge fx-sync to mozilla-central. a=blockers
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-15 11:46:02 +02:00
Philipp von Weitershausen
adbb677fa2 Bug 562431 - Rewrite WeaveCrypto as a .jsm [r=mconnor]
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-14 21:17:35 +02:00
Mike Hommey
aa34147ec9 Bug 586867 - Use resource:///modules/services-sync/ instead of resource://gre/modules/services-sync, as it is an application (not GRE) module. [r=philikon] 2010-10-01 13:01:52 +02:00
Philipp von Weitershausen
395ec47fa6 Bug 587027 - Use as little memory as possible (part 5)
Avoid accessing Weave.Service (=importing service.js) at all cost.
2010-08-25 15:49:45 -07:00
Philipp von Weitershausen
9917708b82 Bug 584478 - Resource alias registered too early [r=mconnor] 2010-08-05 18:31:58 +02:00
Philipp von Weitershausen
4b8ea85cc0 Bug 601952 - Merge fx-sync to mozilla-central. a=blocking-beta7 2010-10-05 19:11:27 +02:00
Philipp von Weitershausen
b8eab15274 Bug 590633 - Merge fx-sync to mozilla-central 2010-09-08 03:37:07 +02:00
Philipp von Weitershausen
41a4891ba7 Bug 576554 - Need manifests to register XPCOM components on trunk, r=mconnor 2010-07-03 13:26:57 -04:00
Philipp von Weitershausen
bb6cc1d5bb Bug 576084 - Firefox Sync failing to load on Android: error creating resource://services-sync substitution, r=mconnor
No need for the file URI dance, just use the resource:// directly.
2010-07-01 16:44:32 -07:00
Philipp von Weitershausen
9b34f348c7 Bug 573740 - Register resource://services-sync before xpcshell tests get run [r=Mardak]
Don't try to create the alias too early, add-on chrome registration might not have happened yet, so do it during testing.
2010-06-23 16:28:10 +02:00
Edward Lee
86f538e41e Bug 573740 - Register resource://services-sync before xpcshell tests get run [r=mconnor]
Add the alias to resource://services-sync when loading the component instead of waiting for app-startup, which doesn't fire for xpcshell tests.
2010-06-22 19:11:20 -07:00
Edward Lee
fd877450e3 Bug 573691 - Flatten/split components and prefs for services vs ui separation [r=mconnor]
Move about:weave-tabs component to ui/firefox and flatten structure of the components. Split prefs for services vs firefox.
2010-06-22 08:14:15 -07:00
Edward Lee
bb5c971a25 Bug 573194 - AboutWeaveTabs still references chrome://weave/content/firefox/tabs.xul [r=Mardak]
Split off about: chrome aliasing from other services aliases.
2010-06-21 16:46:57 -07:00
Philipp von Weitershausen
fd72a7b27c Bug 571902 - Land sync and crypto components on trunk [r=mconnor]
If resource://services-sync isn't defined yet, alias it to resource://gre/modules/services-sync.
2010-06-18 14:11:14 -07:00
Edward Lee
4e55362a90 Bug 570636 - Decide how to co-exist as a sync add-on and built-in sync [r=mconnor]
Map the modules directory to services-sync instead of weave and update imports.
2010-06-16 14:30:08 -07:00
Edward Lee
0ef81dfdae Bug 569355 - source code reorg, redux [r=mconnor]
Split the code structure to service/{crypto,sync} and ui/{fennec,firefox}. Update the top level makefile to build the addon staging directory to merge various parts of directories.
2010-06-09 17:03:31 -07:00
Edward Lee
691c3ecd1f Bug 564533 - Register about: pages as sync instead of weave [r=mconnor]
Switch the component and uses in the UI to about:sync-*.

--HG--
extra : rebase_source : 854bb69cab9e6527986790d38f282ed16c6b3b0c
2010-05-07 15:42:50 -07:00
Edward Lee
0bfce9e433 Bug 564494 - Only show the activity log menu item for dev-channel releases [r=mconnor]
Hide the item by default and show only for the dev channel. Also only show the separator and time if there's a time. Register about:weave-log to access the activity log.
2010-05-07 15:24:51 -07:00
Mike Connor
23d76a73c9 bug 539056 - Better Tab sync UI and discoverability, r=Mardak
--HG--
extra : rebase_source : d0c98d78b889ed74f5b130077a6ee1806bd81282
2010-03-12 16:14:09 -08:00
Edward Lee
cee1a6e884 Bug 534944 - Avoid loading/importing weave files until necessary to speed up fennec startup
Have importing service.js trigger startup instead of only starting up from Weave.js, which now is used as a backup kickstarter. Only call import(service.js) when necessary from various Fennec files.
2009-12-15 14:21:12 -08:00
Edward Lee
e47b2c42df Bug 524052 - Remove about:weave
Remove files under content/about and content/ext (jQuery) and about:weave service.
2009-10-22 23:46:50 -07:00
Edward Lee
4f31070301 Remove onStartup call from fennec overlay now that we listen to final-ui-startup. 2009-10-22 17:03:51 -07:00
Mike Connor
facf73523f land new Firefox prefs/wizard 2009-10-22 15:31:45 -04:00
Edward Lee
e3741b6774 Bug 513944 - Weave should not load / do anything until it absolutely needs to
Weave already triggers on a late notification and puts itself on the event loop, so just additionally delay startup based on the number of open tabs (which will all be busy at startup).
2009-09-25 08:13:12 -07:00
Edward Lee
7518b09ad6 Add a simpler-to-use nsITimer wrapper, Utils.delay, that can use a named property of an object to additionally delay or clear the timer. Get rid of Utils.EventListener and simplify/fix up users. 2009-09-24 22:51:38 -07:00
Edward Lee
0f5ee84542 Bug 506268 - Session restore fails halfway through, leaves tabs unloaded
Load Weave off of the event that triggered sessionstore so that it and its callers can finish loading before autoconnect does network activity.
2009-09-24 14:31:05 -07:00
Dan Mills
bd35370bb3 initial commit of new about:weave 2009-08-18 20:03:11 -07:00
Dan Mills
a4136cd013 initial about:weave impl (does nothing) 2009-05-26 14:18:45 -07:00
Dan Mills
240b30c4e5 register for the right event on firefox 2008-12-23 11:18:37 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
0b48a85dff Set Weave component back to using the 'sessionstore-windows-restored' event. Will use a different way of intializing on Fennec. 2008-12-19 18:43:36 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
7434a6f20d Changed tiny check box for large toggle icon for hiding/showing password/passphrase on the Fennec account-connect screen. Note: this icon was drawn by me and is excessively crappy. Please replace with a professional icon. 2008-12-19 18:35:39 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
db2f178cf0 Changed components/Weave.js to start up the service on the 'profile-after-change' event instead of the 'sessionstore-windows-restored' event, since the latter doesn't exist on Fennec. 2008-12-19 16:13:00 -08:00
Dan Mills
6e413049b4 move startup code to happen after the UI comes up 2008-12-18 15:10:33 -08:00
Dan Mills
3c6b6db3d3 small module to get an event at startup 2008-11-06 17:37:48 -08:00
Philipp von Weitershausen
5c0030737b Re-merge fx-sync to mozilla-central 2010-08-12 17:03:58 +02:00
Paul O’Shannessy
f10fef5b32 Bug 577383 - Merge fx-sync to mozilla-central [r=mconnor] 2010-07-07 17:39:40 -07:00
Philipp von Weitershausen
16ae597a3a Bug 576084 - Firefox Sync failing to load on Android: error creating resource://services-sync substitution, r=mconnor
No need for the file URI dance, just use the resource:// directly.
2010-07-01 16:44:32 -07:00
Benjamin Smedberg
d73012c1c2 Registration changes for services/sync and services/crypto required from bug 568691, landing on a CLOSED TREE to fix mobile bustage. 2010-07-01 15:08:13 -04:00