From 23d958580a785ae265bb0a78f238093cc93cee85 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Sat, 4 Feb 2012 22:32:18 -0800 Subject: Setting up Chrome File System API class Chrome file system API will be used to copy over files from the sandboxed app into the sandboxed file system directory (in Chrome) to then be used by the core API and the cloud. --- node_modules/descriptor.json | 259 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 259 insertions(+) create mode 100644 node_modules/descriptor.json (limited to 'node_modules/descriptor.json') diff --git a/node_modules/descriptor.json b/node_modules/descriptor.json new file mode 100644 index 00000000..27342af7 --- /dev/null +++ b/node_modules/descriptor.json @@ -0,0 +1,259 @@ +{ + "copyright": "This file contains proprietary software owned by Motorola Mobility, Inc. No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder. (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.", + "version": "0.0.0.0", + "directories": [{"name": "core", + "children": [{"name": "converter"}, {"name": "event"}, {"name": "geometry"}, {"name": "shim"}] + }, + + {"name": "data", + "children": [{"name": "ldapaccess"}, {"name": "nosqlaccess"}, {"name": "restaccess"}, {"name": "sqlaccess"}] + }, + + {"name": "require"}, + + {"name": "service"}, + + {"name": "ui", + "children": [ {"name": "anchor.reel"}, + {"name": "bluemoon", + "children": [{"name": "button-group.reel"}, {"name": "button.reel"}, {"name": "checkbox.reel"}, {"name": "progress.reel"}, {"name": "slider.reel"}, {"name": "textarea.reel"}, {"name": "textfield.reel"}, {"name": "toggle.reel"}] + }, + {"name": "button.reel"}, + {"name": "checkbox.reel"}, + {"name": "component-group.reel"}, + {"name": "component-placeholder.reel"}, + {"name": "composer"}, + {"name": "condition.reel"}, + {"name": "controller"}, + {"name": "date-input.reel"}, + {"name": "dynamic-text.reel"}, + {"name": "flow.reel"}, + {"name": "image.reel"}, + {"name": "list.reel"}, + {"name": "loader.reel"}, + {"name": "loading-panel.reel"}, + {"name": "loading.reel"}, + {"name": "number-input.reel"}, + {"name": "popup", + "children": [{"name": "alert.reel"}, {"name": "confirm.reel"}, {"name": "notifier.reel"}, {"name": "popup.reel"}] + }, + {"name": "progress.reel"}, + {"name": "radio-button.reel"}, + {"name": "range-input.reel"}, + {"name": "repetition.reel"}, + {"name": "scroll-bars.reel"}, + {"name": "scroller.reel"}, + {"name": "scrollview.reel"}, + {"name": "select-input.reel"}, + {"name": "slot.reel"}, + {"name": "substitution.reel"}, + {"name": "tabs.reel"}, + {"name": "textarea.reel"}, + {"name": "textfield.reel"}, + {"name": "toggle-button.reel"}, + {"name": "toggle-switch.reel"}, + {"name": "video-player.reel", + "children": [{"name": "images"}] + } + ] + }], + "files": [ + "core/bitfield.js", + "core/converter/bytes-converter.js", + "core/converter/converter.js", + "core/converter/currency-converter.js", + "core/converter/date-converter.js", + "core/converter/lower-case-converter.js", + "core/converter/new-line-to-br-converter.js", + "core/converter/number-converter.js", + "core/converter/trim-converter.js", + "core/converter/upper-case-converter.js", + "core/core.js", + "core/deserializer.js", + "core/enum.js", + "core/event/action-event-listener.js", + "core/event/binding.js", + "core/event/event-manager.js", + "core/event/mutable-event.js", + "core/exception.js", + "core/gate.js", + "core/geometry/cubic-bezier.js", + "core/geometry/point.js", + "core/jshint.js", + "core/logger.js", + "core/next-tick.js", + "core/promise.js", + "core/serializer.js", + "core/shim/array.js", + "core/shim/immediate.js", + "core/shim/string.js", + "core/shim/structures.js", + "core/shim/weak-map.js", + "core/shim.js", + "core/state-chart.js", + "core/undo-manager.js", + "core/url.js", + "core/uuid.js", + "data/blueprint.js", + "data/context.js", + "data/controllistener.js", + "data/ldapaccess/ldapblueprint.js", + "data/ldapaccess/ldapobjectid.js", + "data/ldapaccess/ldapselectorevaluator.js", + "data/ldapaccess/ldapstore.js", + "data/nosqlaccess/nosqlblueprint.js", + "data/nosqlaccess/nosqlobjectid.js", + "data/nosqlaccess/nosqlselectorevaluator.js", + "data/nosqlaccess/nosqlstore.js", + "data/objectid.js", + "data/objectproperty.js", + "data/pledge.js", + "data/query.js", + "data/restaccess/restblueprint.js", + "data/restaccess/restobjectid.js", + "data/restaccess/restselectorevaluator.js", + "data/restaccess/reststore.js", + "data/restriction.js", + "data/selector.js", + "data/sqlaccess/sqlblueprint.js", + "data/sqlaccess/sqlobjectid.js", + "data/sqlaccess/sqlselectorevaluator.js", + "data/sqlaccess/sqlstore.js", + "data/store.js", + "data/transactionid.js", + "montage.js", + "node.js", + "package.json", + "require/browser.js", + "require/node.js", + "require/require.js", + "service/service.js", + "ui/anchor.reel/anchor.js", + "ui/application.js", + "ui/bluemoon/button-group.reel/button-group.css", + "ui/bluemoon/button-group.reel/button-group.html", + "ui/bluemoon/button-group.reel/button-group.js", + "ui/bluemoon/button.reel/button.css", + "ui/bluemoon/button.reel/button.html", + "ui/bluemoon/button.reel/button.js", + "ui/bluemoon/checkbox.reel/checkbox.css", + "ui/bluemoon/checkbox.reel/checkbox.html", + "ui/bluemoon/checkbox.reel/checkbox.js", + "ui/bluemoon/checkbox.reel/checkmark-dark-disabled.svg", + "ui/bluemoon/checkbox.reel/checkmark-dark.svg", + "ui/bluemoon/checkbox.reel/checkmark-light-disabled.svg", + "ui/bluemoon/checkbox.reel/checkmark.svg", + "ui/bluemoon/progress.reel/progress.css", + "ui/bluemoon/progress.reel/progress.html", + "ui/bluemoon/progress.reel/progress.js", + "ui/bluemoon/progress.reel/rule.png", + "ui/bluemoon/progress.reel/scroll.png", + "ui/bluemoon/slider.reel/slider.css", + "ui/bluemoon/slider.reel/slider.html", + "ui/bluemoon/slider.reel/slider.js", + "ui/bluemoon/textarea.reel/textarea.css", + "ui/bluemoon/textarea.reel/textarea.html", + "ui/bluemoon/textarea.reel/textarea.js", + "ui/bluemoon/textfield.reel/textfield.css", + "ui/bluemoon/textfield.reel/textfield.html", + "ui/bluemoon/textfield.reel/textfield.js", + "ui/bluemoon/toggle.reel/toggle.css", + "ui/bluemoon/toggle.reel/toggle.html", + "ui/bluemoon/toggle.reel/toggle.js", + "ui/button.reel/button.js", + "ui/check-input.js", + "ui/checkbox.reel/checkbox.js", + "ui/component-group.reel/component-group.js", + "ui/component-placeholder.reel/component-placeholder.js", + "ui/component.js", + "ui/composer/composer.js", + "ui/composer/long-press-composer.js", + "ui/composer/swipe-composer.js", + "ui/composer/translate-composer.js", + "ui/condition.reel/condition.js", + "ui/controller/array-controller.js", + "ui/controller/media-controller.js", + "ui/controller/object-controller.js", + "ui/controller/paged-array-controller.js", + "ui/date-input.reel/date-input.js", + "ui/dom.js", + "ui/dynamic-text.reel/dynamic-text.js", + "ui/editable-text.js", + "ui/flow-path-cubic.js", + "ui/flow-path-lerp.js", + "ui/flow-path-linear.js", + "ui/flow-path-sigmoid.js", + "ui/flow-path.js", + "ui/flow.reel/flow.html", + "ui/flow.reel/flow.js", + "ui/image.reel/image.js", + "ui/list.reel/list.html", + "ui/list.reel/list.js", + "ui/loader.reel/loader.js", + "ui/loading-panel.reel/loading-panel.css", + "ui/loading-panel.reel/loading-panel.html", + "ui/loading-panel.reel/loading-panel.js", + "ui/loading.reel/loading-0.svg", + "ui/loading.reel/loading-1.svg", + "ui/loading.reel/loading-2.svg", + "ui/loading.reel/loading-3.svg", + "ui/loading.reel/loading-4.svg", + "ui/loading.reel/loading-5.svg", + "ui/loading.reel/loading-bg.svg", + "ui/loading.reel/loading.css", + "ui/loading.reel/loading.html", + "ui/loading.reel/loading.js", + "ui/native-control.js", + "ui/nearest-neighbor-component-search.js", + "ui/number-input.reel/number-input.js", + "ui/popup/alert.reel/alert.css", + "ui/popup/alert.reel/alert.html", + "ui/popup/alert.reel/alert.js", + "ui/popup/confirm.reel/confirm.css", + "ui/popup/confirm.reel/confirm.html", + "ui/popup/confirm.reel/confirm.js", + "ui/popup/notifier.reel/notifier.css", + "ui/popup/notifier.reel/notifier.html", + "ui/popup/notifier.reel/notifier.js", + "ui/popup/popup.reel/popup.css", + "ui/popup/popup.reel/popup.html", + "ui/popup/popup.reel/popup.js", + "ui/progress.reel/progress.css", + "ui/progress.reel/progress.html", + "ui/progress.reel/progress.js", + "ui/progress.reel/rule.png", + "ui/progress.reel/scroll.png", + "ui/radio-button.reel/radio-button.js", + "ui/range-input.reel/range-input.js", + "ui/repetition.reel/repetition.js", + "ui/scroll-bars.reel/scroll-bars.html", + "ui/scroll-bars.reel/scroll-bars.js", + "ui/scroll.js", + "ui/scroller.reel/scroller.html", + "ui/scroller.reel/scroller.js", + "ui/scrollview.reel/scrollview.js", + "ui/select-input.reel/select-input.js", + "ui/slot.reel/slot.js", + "ui/substitution.reel/substitution.js", + "ui/tabs.reel/tabs.css", + "ui/tabs.reel/tabs.html", + "ui/tabs.reel/tabs.js", + "ui/template.js", + "ui/text-input.js", + "ui/textarea.reel/textarea.js", + "ui/textfield.reel/textfield.js", + "ui/toggle-button.reel/toggle-button.js", + "ui/toggle-switch.reel/toggle-switch.css", + "ui/toggle-switch.reel/toggle-switch.html", + "ui/toggle-switch.reel/toggle-switch.js", + "ui/video-player.reel/images/fullscreen-enter.png", + "ui/video-player.reel/images/fullscreen-exit.png", + "ui/video-player.reel/images/pause.png", + "ui/video-player.reel/images/play.png", + "ui/video-player.reel/images/volume-down.png", + "ui/video-player.reel/images/volume-up.png", + "ui/video-player.reel/video-player.css", + "ui/video-player.reel/video-player.html", + "ui/video-player.reel/video-player.js" + ] +} \ No newline at end of file -- cgit v1.2.3 From c4c5a8b49bb26d6344edceba73834754bb9930cf Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 7 Feb 2012 11:14:57 -0800 Subject: Adding ability to copy an entire library for Ninja Added the functionality to copy an entire directory/library from a JSON descriptor file into the app sandbox. Need to add logic to dispatch a 'synchronized' event for Ninja to know everything is up to date. --- node_modules/descriptor.json | 1 + 1 file changed, 1 insertion(+) (limited to 'node_modules/descriptor.json') diff --git a/node_modules/descriptor.json b/node_modules/descriptor.json index 27342af7..29273403 100644 --- a/node_modules/descriptor.json +++ b/node_modules/descriptor.json @@ -1,6 +1,7 @@ { "copyright": "This file contains proprietary software owned by Motorola Mobility, Inc. No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder. (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.", "version": "0.0.0.0", + "root": "/ninja-internal/node_modules/montage/", "directories": [{"name": "core", "children": [{"name": "converter"}, {"name": "event"}, {"name": "geometry"}, {"name": "shim"}] }, -- cgit v1.2.3 From b62b9d5b3dfd1dfacaf9111f85d40dd246d2b90e Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Wed, 8 Feb 2012 16:33:09 -0800 Subject: Adding a purge library method Added a delete libraries function to delete all libraries in Chrome sandbox (as in a force delete). Also updated descriptor files to go with new directory layout of files and relation to the relatives paths used by the packed app and it's manifest. --- node_modules/descriptor.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/descriptor.json') diff --git a/node_modules/descriptor.json b/node_modules/descriptor.json index 29273403..c460066c 100644 --- a/node_modules/descriptor.json +++ b/node_modules/descriptor.json @@ -1,7 +1,7 @@ { "copyright": "This file contains proprietary software owned by Motorola Mobility, Inc. No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder. (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.", "version": "0.0.0.0", - "root": "/ninja-internal/node_modules/montage/", + "root": "/node_modules/montage/", "directories": [{"name": "core", "children": [{"name": "converter"}, {"name": "event"}, {"name": "geometry"}, {"name": "shim"}] }, -- cgit v1.2.3