You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2014/08/28 05:48:58 UTC
[51/51] [partial] git commit: rename folder /datajs into /odatajs. no
file modification.
rename folder /datajs into /odatajs. no file modification.
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/commit/d5ec5557
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/tree/d5ec5557
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/diff/d5ec5557
Branch: refs/heads/master
Commit: d5ec5557673b61c674ffb87118234ab52214193b
Parents: bd682f4
Author: challenh <ch...@microsoft.com>
Authored: Thu Aug 28 11:46:47 2014 +0800
Committer: challenh <ch...@microsoft.com>
Committed: Thu Aug 28 11:46:47 2014 +0800
----------------------------------------------------------------------
datajs/.gitignore | 9 -
datajs/Gruntfile.js | 227 -
datajs/JSLib.csproj | 186 -
datajs/JSLib.sln | 20 -
datajs/Web.config | 34 -
datajs/demo/mypage.html | 28 -
datajs/demo/scripts/.gitignore | 2 -
datajs/demo/scripts/datajs-1.1.1.js | 10710 -----------------
datajs/demo/scripts/datajs-1.1.1.min.js | 14 -
datajs/demo/scripts/datajs-1.1.2.js | 10577 ----------------
datajs/demo/scripts/datajs-1.1.2.min.js | 13 -
datajs/demo/scripts/datajs_demo.js | 124 -
datajs/demo/scripts/tools.js | 146 -
datajs/demo/tester.html | 217 -
datajs/demo/testerV2.html | 72 -
.../stripheader/package.json | 24 -
.../stripheader/stripheader.js | 21 -
.../grunt-config/custom-tasks/rat/package.json | 26 -
datajs/grunt-config/custom-tasks/rat/readme.md | 2 -
.../grunt-config/custom-tasks/rat/tasks/rat.js | 93 -
datajs/grunt-config/rat-config.js | 15 -
datajs/package.json | 42 -
datajs/packages.config | 7 -
datajs/readme.md | 20 -
datajs/src/banner.txt | 19 -
datajs/src/index.js | 33 -
datajs/src/lib/cache.js | 1447 ---
datajs/src/lib/cache/source.js | 206 -
datajs/src/lib/datajs.js | 32 -
datajs/src/lib/datajs/deferred.js | 189 -
datajs/src/lib/datajs/utils.js | 582 -
datajs/src/lib/datajs/xml.js | 816 --
datajs/src/lib/odata.js | 178 -
datajs/src/lib/odata/batch.js | 377 -
datajs/src/lib/odata/handler.js | 284 -
datajs/src/lib/odata/json.js | 918 --
datajs/src/lib/odata/metadata.js | 523 -
datajs/src/lib/odata/net.js | 340 -
datajs/src/lib/odata/utils.js | 1261 --
datajs/src/lib/store.js | 63 -
datajs/src/lib/store/dom.js | 330 -
datajs/src/lib/store/indexeddb.js | 445 -
datajs/src/lib/store/memory.js | 246 -
datajs/tests-tmp/b-cache-tests.js | 1191 --
...cache-large-collection-functional-tests.html | 53 -
...s-cache-large-collection-functional-tests.js | 187 -
datajs/tests-tmp/bn-odata-json-tests.js | 211 -
datajs/tests-tmp/common/ODataVerifiyReader.svc | 114 -
datajs/tests-tmp/common/djstest-browser.js | 142 -
datajs/tests-tmp/common/djstest.js | 412 -
datajs/tests-tmp/common/logging.js | 5 -
datajs/tests-tmp/common/mockHttpClient.js | 138 -
datajs/tests-tmp/common/node-test-setup.js | 30 -
datajs/tests-tmp/common/observableHttpClient.js | 84 -
datajs/tests-tmp/common/odataCacheVerifier.js | 241 -
datajs/tests-tmp/common/odataVerifyReader.js | 203 -
datajs/tests-tmp/done.txt | 29 -
.../endpoints/BasicAuthDataService.svc | 124 -
.../tests-tmp/endpoints/CustomAnnotations.xml | 121 -
.../tests-tmp/endpoints/CustomDataService.svc | 85 -
datajs/tests-tmp/endpoints/EpmDataService.svc | 336 -
datajs/tests-tmp/endpoints/ErrorDataService.svc | 78 -
.../endpoints/FoodStoreDataServiceV4.svc | 590 -
.../endpoints/LargeCollectionService.svc | 113 -
datajs/tests-tmp/endpoints/web.config | 46 -
.../tests-tmp/odata-json-tests-todo-analyse.js | 828 --
datajs/tests-tmp/odata-qunit-tests-launcher.htm | 61 -
datajs/tests/cache-tests.js | 1191 --
datajs/tests/code/ReflectionDataContext.cs | 743 --
datajs/tests/code/csdlreader.cs | 205 -
datajs/tests/code/jsdate.cs | 59 -
datajs/tests/code/jsonobject.cs | 99 -
datajs/tests/code/readerutils.cs | 87 -
datajs/tests/common/CacheOracle.js | 241 -
datajs/tests/common/Instrument.js | 55 -
datajs/tests/common/Instrument.svc | 77 -
datajs/tests/common/ODataReadOracle.js | 201 -
datajs/tests/common/ODataReadOracle.svc | 114 -
datajs/tests/common/ObservableHttpClient.js | 84 -
datajs/tests/common/TestLogger.svc | 852 --
datajs/tests/common/TestSynchronizerClient.js | 229 -
datajs/tests/common/common.js | 25 -
datajs/tests/common/djstest-browser.js | 150 -
datajs/tests/common/djstest.js | 419 -
datajs/tests/common/mockHttpClient.js | 137 -
datajs/tests/common/mockXMLHttpRequest.js | 213 -
datajs/tests/common/rx.js | 26 -
...cache-large-collection-functional-tests.html | 53 -
...s-cache-large-collection-functional-tests.js | 187 -
datajs/tests/datajs-cache-long-haul-tests.html | 194 -
datajs/tests/datajs-startup-perf-test.html | 109 -
datajs/tests/e2etest/Test.html | 44 -
datajs/tests/endpoints/BasicAuthDataService.svc | 124 -
datajs/tests/endpoints/CustomAnnotations.xml | 121 -
datajs/tests/endpoints/CustomDataService.svc | 85 -
datajs/tests/endpoints/EpmDataService.svc | 336 -
datajs/tests/endpoints/ErrorDataService.svc | 78 -
.../tests/endpoints/FoodStoreDataServiceV4.svc | 590 -
.../tests/endpoints/LargeCollectionService.svc | 113 -
datajs/tests/endpoints/web.config | 46 -
datajs/tests/node-test-setup.js | 30 -
datajs/tests/odata-batch-functional-tests.html | 49 -
datajs/tests/odata-batch-functional-tests.js | 291 -
datajs/tests/odata-batch-tests.js | 559 -
.../odata-cache-filter-functional-tests.html | 52 -
.../odata-cache-filter-functional-tests.js | 431 -
datajs/tests/odata-cache-fperf-tests.html | 50 -
datajs/tests/odata-cache-fperf-tests.js | 115 -
datajs/tests/odata-cache-functional-tests.html | 52 -
datajs/tests/odata-cache-functional-tests.js | 631 -
.../tests/odata-cache-rx-functional-tests.html | 50 -
datajs/tests/odata-cache-rx-functional-tests.js | 87 -
datajs/tests/odata-fuzz.html | 557 -
datajs/tests/odata-handler-tests.js | 364 -
datajs/tests/odata-json-light-tests.js | 2492 ----
datajs/tests/odata-json-parse-tests.html | 67 -
datajs/tests/odata-json-parse-tests.js | 110 -
datajs/tests/odata-json-tests.js | 986 --
datajs/tests/odata-links-functional-tests.html | 49 -
datajs/tests/odata-links-functional-tests.js | 274 -
...ata-metadata-awareness-functional-tests.html | 48 -
...odata-metadata-awareness-functional-tests.js | 243 -
datajs/tests/odata-metadata-tests.js | 499 -
datajs/tests/odata-net-tests.js | 301 -
datajs/tests/odata-perf-tests.html | 50 -
datajs/tests/odata-perf-tests.js | 242 -
datajs/tests/odata-qunit-tests.htm | 76 -
...odata-read-crossdomain-functional-tests.html | 49 -
.../odata-read-crossdomain-functional-tests.js | 151 -
datajs/tests/odata-read-functional-tests.html | 49 -
datajs/tests/odata-read-functional-tests.js | 594 -
.../tests/odata-request-functional-tests.html | 49 -
datajs/tests/odata-request-functional-tests.js | 399 -
.../tests/odata-roundtrip-functional-tests.js | 389 -
datajs/tests/odata-tests.js | 322 -
datajs/tests/odata-xml-tests.js | 275 -
datajs/tests/run-tests.wsf | 435 -
datajs/tests/store-indexeddb-tests.js | 262 -
datajs/tests/store-tests.js | 705 --
datajs/tests/test-list.js | 26 -
datajs/tests/test-manager.html | 108 -
odatajs/.gitignore | 9 +
odatajs/Gruntfile.js | 227 +
odatajs/JSLib.csproj | 186 +
odatajs/JSLib.sln | 20 +
odatajs/Web.config | 34 +
odatajs/demo/mypage.html | 28 +
odatajs/demo/scripts/.gitignore | 2 +
odatajs/demo/scripts/datajs-1.1.1.js | 10710 +++++++++++++++++
odatajs/demo/scripts/datajs-1.1.1.min.js | 14 +
odatajs/demo/scripts/datajs-1.1.2.js | 10577 ++++++++++++++++
odatajs/demo/scripts/datajs-1.1.2.min.js | 13 +
odatajs/demo/scripts/datajs_demo.js | 124 +
odatajs/demo/scripts/tools.js | 146 +
odatajs/demo/tester.html | 217 +
odatajs/demo/testerV2.html | 72 +
.../stripheader/package.json | 24 +
.../stripheader/stripheader.js | 21 +
.../grunt-config/custom-tasks/rat/package.json | 26 +
odatajs/grunt-config/custom-tasks/rat/readme.md | 2 +
.../grunt-config/custom-tasks/rat/tasks/rat.js | 93 +
odatajs/grunt-config/rat-config.js | 15 +
odatajs/package.json | 42 +
odatajs/packages.config | 7 +
odatajs/readme.md | 20 +
odatajs/src/banner.txt | 19 +
odatajs/src/index.js | 33 +
odatajs/src/lib/cache.js | 1447 +++
odatajs/src/lib/cache/source.js | 206 +
odatajs/src/lib/datajs.js | 32 +
odatajs/src/lib/datajs/deferred.js | 189 +
odatajs/src/lib/datajs/utils.js | 582 +
odatajs/src/lib/datajs/xml.js | 816 ++
odatajs/src/lib/odata.js | 178 +
odatajs/src/lib/odata/batch.js | 377 +
odatajs/src/lib/odata/handler.js | 284 +
odatajs/src/lib/odata/json.js | 918 ++
odatajs/src/lib/odata/metadata.js | 523 +
odatajs/src/lib/odata/net.js | 340 +
odatajs/src/lib/odata/utils.js | 1261 ++
odatajs/src/lib/store.js | 63 +
odatajs/src/lib/store/dom.js | 330 +
odatajs/src/lib/store/indexeddb.js | 445 +
odatajs/src/lib/store/memory.js | 246 +
odatajs/tests-tmp/b-cache-tests.js | 1191 ++
...cache-large-collection-functional-tests.html | 53 +
...s-cache-large-collection-functional-tests.js | 187 +
odatajs/tests-tmp/bn-odata-json-tests.js | 211 +
odatajs/tests-tmp/common/ODataVerifiyReader.svc | 114 +
odatajs/tests-tmp/common/djstest-browser.js | 142 +
odatajs/tests-tmp/common/djstest.js | 412 +
odatajs/tests-tmp/common/logging.js | 5 +
odatajs/tests-tmp/common/mockHttpClient.js | 138 +
odatajs/tests-tmp/common/node-test-setup.js | 30 +
.../tests-tmp/common/observableHttpClient.js | 84 +
odatajs/tests-tmp/common/odataCacheVerifier.js | 241 +
odatajs/tests-tmp/common/odataVerifyReader.js | 203 +
odatajs/tests-tmp/done.txt | 29 +
.../endpoints/BasicAuthDataService.svc | 124 +
.../tests-tmp/endpoints/CustomAnnotations.xml | 121 +
.../tests-tmp/endpoints/CustomDataService.svc | 85 +
odatajs/tests-tmp/endpoints/EpmDataService.svc | 336 +
.../tests-tmp/endpoints/ErrorDataService.svc | 78 +
.../endpoints/FoodStoreDataServiceV4.svc | 590 +
.../endpoints/LargeCollectionService.svc | 113 +
odatajs/tests-tmp/endpoints/web.config | 46 +
.../tests-tmp/odata-json-tests-todo-analyse.js | 828 ++
.../tests-tmp/odata-qunit-tests-launcher.htm | 61 +
odatajs/tests/cache-tests.js | 1191 ++
odatajs/tests/code/ReflectionDataContext.cs | 743 ++
odatajs/tests/code/csdlreader.cs | 205 +
odatajs/tests/code/jsdate.cs | 59 +
odatajs/tests/code/jsonobject.cs | 99 +
odatajs/tests/code/readerutils.cs | 87 +
odatajs/tests/common/CacheOracle.js | 241 +
odatajs/tests/common/Instrument.js | 55 +
odatajs/tests/common/Instrument.svc | 77 +
odatajs/tests/common/ODataReadOracle.js | 201 +
odatajs/tests/common/ODataReadOracle.svc | 114 +
odatajs/tests/common/ObservableHttpClient.js | 84 +
odatajs/tests/common/TestLogger.svc | 852 ++
odatajs/tests/common/TestSynchronizerClient.js | 229 +
odatajs/tests/common/common.js | 25 +
odatajs/tests/common/djstest-browser.js | 150 +
odatajs/tests/common/djstest.js | 419 +
odatajs/tests/common/mockHttpClient.js | 137 +
odatajs/tests/common/mockXMLHttpRequest.js | 213 +
odatajs/tests/common/rx.js | 26 +
...cache-large-collection-functional-tests.html | 53 +
...s-cache-large-collection-functional-tests.js | 187 +
odatajs/tests/datajs-cache-long-haul-tests.html | 194 +
odatajs/tests/datajs-startup-perf-test.html | 109 +
odatajs/tests/e2etest/Test.html | 44 +
.../tests/endpoints/BasicAuthDataService.svc | 124 +
odatajs/tests/endpoints/CustomAnnotations.xml | 121 +
odatajs/tests/endpoints/CustomDataService.svc | 85 +
odatajs/tests/endpoints/EpmDataService.svc | 336 +
odatajs/tests/endpoints/ErrorDataService.svc | 78 +
.../tests/endpoints/FoodStoreDataServiceV4.svc | 590 +
.../tests/endpoints/LargeCollectionService.svc | 113 +
odatajs/tests/endpoints/web.config | 46 +
odatajs/tests/node-test-setup.js | 30 +
odatajs/tests/odata-batch-functional-tests.html | 49 +
odatajs/tests/odata-batch-functional-tests.js | 291 +
odatajs/tests/odata-batch-tests.js | 559 +
.../odata-cache-filter-functional-tests.html | 52 +
.../odata-cache-filter-functional-tests.js | 431 +
odatajs/tests/odata-cache-fperf-tests.html | 50 +
odatajs/tests/odata-cache-fperf-tests.js | 115 +
odatajs/tests/odata-cache-functional-tests.html | 52 +
odatajs/tests/odata-cache-functional-tests.js | 631 +
.../tests/odata-cache-rx-functional-tests.html | 50 +
.../tests/odata-cache-rx-functional-tests.js | 87 +
odatajs/tests/odata-fuzz.html | 557 +
odatajs/tests/odata-handler-tests.js | 364 +
odatajs/tests/odata-json-light-tests.js | 2492 ++++
odatajs/tests/odata-json-parse-tests.html | 67 +
odatajs/tests/odata-json-parse-tests.js | 110 +
odatajs/tests/odata-json-tests.js | 986 ++
odatajs/tests/odata-links-functional-tests.html | 49 +
odatajs/tests/odata-links-functional-tests.js | 274 +
...ata-metadata-awareness-functional-tests.html | 48 +
...odata-metadata-awareness-functional-tests.js | 243 +
odatajs/tests/odata-metadata-tests.js | 499 +
odatajs/tests/odata-net-tests.js | 301 +
odatajs/tests/odata-perf-tests.html | 50 +
odatajs/tests/odata-perf-tests.js | 242 +
odatajs/tests/odata-qunit-tests.htm | 76 +
...odata-read-crossdomain-functional-tests.html | 49 +
.../odata-read-crossdomain-functional-tests.js | 151 +
odatajs/tests/odata-read-functional-tests.html | 49 +
odatajs/tests/odata-read-functional-tests.js | 594 +
.../tests/odata-request-functional-tests.html | 49 +
odatajs/tests/odata-request-functional-tests.js | 399 +
.../tests/odata-roundtrip-functional-tests.js | 389 +
odatajs/tests/odata-tests.js | 322 +
odatajs/tests/odata-xml-tests.js | 275 +
odatajs/tests/run-tests.wsf | 435 +
odatajs/tests/store-indexeddb-tests.js | 262 +
odatajs/tests/store-tests.js | 705 ++
odatajs/tests/test-list.js | 26 +
odatajs/tests/test-manager.html | 108 +
282 files changed, 56195 insertions(+), 56195 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/.gitignore
----------------------------------------------------------------------
diff --git a/datajs/.gitignore b/datajs/.gitignore
deleted file mode 100644
index d7c3df6..0000000
--- a/datajs/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-node_modules/
-build
-dist
-localgrunt.config
-bin/
-obj/
-packages/
-JSLib.suo
-JSLib.csproj.user
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/Gruntfile.js
----------------------------------------------------------------------
diff --git a/datajs/Gruntfile.js b/datajs/Gruntfile.js
deleted file mode 100644
index bc300e5..0000000
--- a/datajs/Gruntfile.js
+++ /dev/null
@@ -1,227 +0,0 @@
-module.exports = function(grunt) {
- 'use strict';
- var init = {
- pkg: grunt.file.readJSON('package.json'),
- banner: grunt.file.read('src/banner.txt'),
- filename : '<%= pkg.name %>-<%= pkg.version %>-<%= pkg.postfix %>',
-
- browserify: {
- // start with index.js and follow all required source in order pack them together
- datajs: {
- files: {
- 'build/<%= filename %>.js': ['src/index.js'],
- },
- options: {
- transform: ['./grunt-config/browserify_transforms/stripheader/stripheader.js'],
- browserifyOptions: {
- } ,
- bundleOptions: {
- },
- }
- }
- },
- uglify: {
- options: {
- sourceMap : true,
- sourceMapName : 'build/<%= filename %>.map',
- sourceMapIncludeSources :true,
- },
- // uglify and compress the packed sources
- build: {
- src: 'build/<%= filename %>.js',
- dest: 'build/<%= filename %>.min.js'
- }
- },
- concat : {
- options : {
- banner : '<%= banner %>'
- },
- licence_min: {
- src: 'build/<%= filename %>.min.js',
- dest: 'build/<%= filename %>.min.js',
- },
- licence: {
- src: 'build/<%= filename %>.js',
- dest: 'build/<%= filename %>.js',
- }
- },
- copy: {
- forDemo: {
- files: [
- // includes files within path
- {expand: true, cwd: 'build/', src: ['**'], dest: 'demo/scripts/', filter: 'isFile'},
- ]
- }
- },
- connect: {
- demo: {
- options: {
- port: 4001 ,
- hostname: "localhost",
- base: "demo",
- keepalive : true,
- middleware: function (connect, options) {
- return [
- require("grunt-connect-proxy/lib/utils").proxyRequest ,
- connect.static(options.base), // static content
- connect.directory(options.base) // browse directories
- ];
- },
- },
- },
- // start a node webserver with proxy to host the qunit-test html files
- 'test-browser': {
- options: {
- port: 4003 ,
- hostname: "localhost",
- base: "",
- keepalive : true,
- //changeOrigin: true,
- middleware: function (connect, options) {
- return [
- require("grunt-connect-proxy/lib/utils").proxyRequest ,
- connect.static(options.base), // static content
- connect.directory(options.base) // browse directories
- ];
- },
- },
- // proxy all request going to /tests/endpoints/ to the .net data services
- proxies: [{
- context: "/tests/endpoints/", // When the url contains this...
- host: "localhost",
- changeOrigin: true,
- https: false,
- port: 46541,
- rejectUnauthorized: false,
- }],
- },
- },
- 'node-qunit': {
- //used to run some background qunit test on node
- 'default-tests': {
- setup: {
- log: {
- summary: true,
- assertions: true,
- errors: true,
- globalSummary: true,
- coverage: false,
- globalCoverage: false,
- testing: true
- },
- coverage: false,
- deps: null,
- namespace: null
- },
- deps: '',
- code: './tests-tmp/common/node-test-setup.js',
- tests: ['./tests-tmp/odata-json-tests.js'],
- done: function(err, res){
- !err && publishResults("node", res, this.async());
- }
- },
- },
- jsdoc : {
- src : {
- src: ['src/**/*.js'],
- options: {
- destination: 'build/doc',
- verbose : false
- }
- },
- test : {
- src: ['tests/**/*.js'],
- options: {
- destination: 'build/doc-test',
- verbose : false
- }
- }
- },
- "npm-clean": {
- tmp: {
- src: [ "build/tmp"]
- },
- doc: {
- src: ["build/doc"],
- options: {
- force: true
- }
- },
- "doc-test": {
- src: ["build/doc-test"],
- options: {
- force: true
- }
- },
- },
- compress: {
- build: {
- options: {archive: 'dist/<%= filename %>-lib.zip'},
- files: [{expand: true, cwd: 'build/', src: ['*'], filter: 'isFile', dest: '<%= filename %>-lib/'}]
- },
- doc: {
- options: {archive: 'dist/<%= filename %>-doc.zip'},
- files: [{expand: true, cwd: 'build/doc/', src: ['**'], dest: '<%= filename %>-doc/'}]
- },
- src: {
- options: {archive: 'dist/<%= filename %>-source.zip'},
- files: [{expand: true, cwd: 'src/', src: ['**'], dest: '<%= filename %>-src/'}]
- }
- }
- };
-
- /*** Join local configuration for proxies and local test servers ***/
- if (grunt.file.exists('localgrunt.config')) {
- console.log("merge localgrunt.config");
- var localGrundConfig = grunt.file.read('localgrunt.config');
- init.connect['test-browser'].proxies = init.connect['test-browser'].proxies.concat(JSON.parse(localGrundConfig).proxies);
- }
-
- /*** Init ***/
- grunt.initConfig(init);
-
- /*** Load tasks from npm modules ***/
- grunt.loadNpmTasks('grunt-browserify');
- grunt.loadNpmTasks('grunt-contrib-uglify');
- grunt.loadNpmTasks("grunt-connect-proxy");
- grunt.loadNpmTasks("grunt-contrib-connect");
- grunt.loadNpmTasks("grunt-contrib-copy");
- grunt.loadNpmTasks("grunt-contrib-concat");
- grunt.loadNpmTasks('grunt-contrib-compress');
- grunt.loadNpmTasks("grunt-jsdoc");
-
-
- // Start Qunit tests direcly in node js, internally qunit (npm qunit)
- // is used, no phantomjs instance required
- grunt.loadNpmTasks('grunt-node-qunit');
- grunt.loadNpmTasks('grunt-contrib-clean');
-
- // Load the custom-* tasks from the grunt-config directory
- grunt.loadTasks('grunt-config');
-
- // rename some tasks to avoid name clashes with the user tasks
- grunt.renameTask('clean','npm-clean');
-
-
- /*** E N D U S E R T A S K S ***/
-
- grunt.registerTask('clean', ['npm-clean:doc','npm-clean:tmp']);
-
- // Runs the license header check to verify the any source file contains a license header
- grunt.registerTask('license-check', ['custom-license-check']);
-
- // Create documentation in /build/doc
- grunt.registerTask('doc', [/*'npm-clean:doc',*/'jsdoc:src']);
- grunt.registerTask('doc-test', [/*'npm-clean:doc-test',*/'jsdoc:test']);
-
- // Build the odatajs library
- grunt.registerTask('build', ['browserify:datajs', 'uglify:build', 'concat','copy:forDemo']);
-
-
- grunt.registerTask('test-browser', ['configureProxies:test-browser', 'connect:test-browser']);
- grunt.registerTask('test-node', ['node-qunit:default-tests']);
- grunt.registerTask('release', ['build','doc','compress']);
-
-
-};
-
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/JSLib.csproj
----------------------------------------------------------------------
diff --git a/datajs/JSLib.csproj b/datajs/JSLib.csproj
deleted file mode 100644
index c2c3906..0000000
--- a/datajs/JSLib.csproj
+++ /dev/null
@@ -1,186 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>
- </ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}</ProjectGuid>
- <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>JSLib</RootNamespace>
- <AssemblyName>JSLib</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <SccProjectName>SAK</SccProjectName>
- <SccLocalPath>SAK</SccLocalPath>
- <SccAuxPath>SAK</SccAuxPath>
- <SccProvider>SAK</SccProvider>
- <UseIISExpress>false</UseIISExpress>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Content Include="src\index.js" />
- <Content Include="src\banner.txt" />
- <Content Include="src\lib\cache.js" />
- <Content Include="src\lib\datajs.js" />
- <Content Include="src\lib\odata.js" />
- <Content Include="src\lib\store.js" />
- <Content Include="src\lib\cache\source.js" />
- <Content Include="src\lib\datajs\deferred.js" />
- <Content Include="src\lib\datajs\utils.js" />
- <Content Include="src\lib\datajs\xml.js" />
- <Content Include="src\lib\odata\batch.js" />
- <Content Include="src\lib\odata\handler.js" />
- <Content Include="src\lib\odata\json.js" />
- <Content Include="src\lib\odata\metadata.js" />
- <Content Include="src\lib\odata\net.js" />
- <Content Include="src\lib\odata\utils.js" />
- <Content Include="src\lib\store\dom.js" />
- <Content Include="src\lib\store\indexeddb.js" />
- <Content Include="src\lib\store\memory.js" />
- <Content Include="tests\cache-tests.js" />
- <Content Include="tests\common\CacheOracle.js" />
- <Content Include="tests\common\common.js" />
- <Content Include="tests\common\Instrument.svc" />
- <Content Include="tests\common\Instrument.js" />
- <Content Include="tests\common\mockXMLHttpRequest.js" />
- <Content Include="tests\common\mockHttpClient.js" />
- <Content Include="tests\common\djstest.js" />
- <Content Include="tests\common\gpo-ie8-tour-disable.reg" />
- <Content Include="tests\common\ObservableHttpClient.js" />
- <Content Include="tests\common\ODataReadOracle.js" />
- <Content Include="tests\common\ODataReadOracle.svc" />
- <Content Include="tests\common\rx.js" />
- <Content Include="tests\common\TestLogger.svc" />
- <Content Include="tests\common\TestSynchronizerClient.js" />
- <Content Include="tests\e2etest\Test.html" />
- <Content Include="tests\odata-json-light-tests.js" />
- <Content Include="tests\datajs-startup-perf-test.html" />
- <Content Include="tests\endpoints\BasicAuthDataService.svc" />
- <Content Include="tests\endpoints\FoodStoreDataServiceV4.svc" />
- <Content Include="tests\endpoints\CustomAnnotations.xml" />
- <Content Include="tests\endpoints\CustomDataService.svc" />
- <Content Include="tests\endpoints\EpmDataService.svc" />
- <Content Include="tests\endpoints\ErrorDataService.svc" />
- <Content Include="tests\endpoints\LargeCollectionService.svc" />
- <Content Include="tests\endpoints\web.config" />
- <Content Include="tests\datajs-cache-large-collection-functional-tests.html" />
- <Content Include="tests\datajs-cache-large-collection-functional-tests.js" />
- <Content Include="tests\datajs-cache-long-haul-tests.html" />
- <Content Include="tests\odata-batch-functional-tests.html" />
- <Content Include="tests\odata-batch-functional-tests.js" />
- <Content Include="tests\odata-batch-tests.js" />
- <Content Include="tests\odata-cache-filter-functional-tests.html" />
- <Content Include="tests\odata-cache-filter-functional-tests.js" />
- <Content Include="tests\odata-cache-fperf-tests.html" />
- <Content Include="tests\odata-cache-fperf-tests.js" />
- <Content Include="tests\odata-cache-functional-tests.html" />
- <Content Include="tests\odata-cache-functional-tests.js" />
- <Content Include="tests\odata-cache-rx-functional-tests.html" />
- <Content Include="tests\odata-cache-rx-functional-tests.js" />
- <Content Include="tests\odata-fuzz.html" />
- <Content Include="tests\odata-metadata-tests.js" />
- <Content Include="tests\odata-handler-tests.js" />
- <Content Include="tests\odata-json-tests.js" />
- <Content Include="tests\odata-links-functional-tests.html" />
- <Content Include="tests\odata-links-functional-tests.js" />
- <Content Include="tests\odata-metadata-awareness-functional-tests.html" />
- <Content Include="tests\odata-metadata-awareness-functional-tests.js" />
- <Content Include="tests\odata-net-tests.js" />
- <Content Include="tests\odata-perf-tests.html" />
- <Content Include="tests\odata-perf-tests.js" />
- <Content Include="tests\odata-read-crossdomain-functional-tests.html" />
- <Content Include="tests\odata-read-crossdomain-functional-tests.js" />
- <Content Include="tests\odata-read-functional-tests.html" />
- <Content Include="tests\odata-request-functional-tests.html" />
- <Content Include="tests\odata-request-functional-tests.js" />
- <Content Include="tests\odata-read-functional-tests.js" />
- <Content Include="tests\odata-qunit-tests.htm" />
- <Content Include="tests\odata-tests.js" />
- <Content Include="tests\odata-xml-tests.js" />
- <Content Include="tests\run-tests.wsf" />
- <Content Include="tests\store-indexeddb-tests.js" />
- <Content Include="tests\store-tests.js" />
- <Content Include="tests\test-list.js" />
- <Content Include="tests\test-manager.html" />
- <!-- Configuration file for the web project. -->
- <Content Include="Web.config">
- <SubType>Designer</SubType>
- </Content>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="tests\code\CsdlReader.cs" />
- <Compile Include="tests\code\JsDate.cs" />
- <Compile Include="tests\code\JsonObject.cs" />
- <Compile Include="tests\code\ReaderUtils.cs" />
- <Compile Include="tests\code\ReflectionDataContext.cs" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="packages.config" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="Microsoft.OData.Client, Version=6.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>packages\Microsoft.OData.Client.6.5.0\lib\net40\Microsoft.OData.Client.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.OData.Core">
- <HintPath>packages\Microsoft.OData.Core.6.5.0\lib\portable-net40+sl5+wp8+win8+wpa\Microsoft.OData.Core.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.OData.Edm">
- <HintPath>packages\Microsoft.OData.Edm.6.5.0\lib\portable-net40+sl5+wp8+win8+wpa\Microsoft.OData.Edm.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.OData.Service, Version=6.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>packages\Microsoft.OData.Service.6.5.0\lib\net40\Microsoft.OData.Service.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Spatial">
- <HintPath>packages\Microsoft.Spatial.6.5.0\lib\portable-net40+sl5+wp8+win8+wpa\Microsoft.Spatial.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Net" />
- <Reference Include="System.Runtime.Serialization" />
- <Reference Include="System.ServiceModel" />
- <Reference Include="System.ServiceModel.Activation" />
- <Reference Include="System.ServiceModel.Web" />
- <Reference Include="System.Web.Extensions" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Xml.Linq" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
- <WebProjectProperties>
- <UseIIS>False</UseIIS>
- <AutoAssignPort>True</AutoAssignPort>
- <DevelopmentServerPort>4002</DevelopmentServerPort>
- <DevelopmentServerVPath>/</DevelopmentServerVPath>
- <IISUrl>
- </IISUrl>
- <NTLMAuthentication>False</NTLMAuthentication>
- <UseCustomServer>False</UseCustomServer>
- <CustomServerUrl>
- </CustomServerUrl>
- <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
- </WebProjectProperties>
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
-</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/JSLib.sln
----------------------------------------------------------------------
diff --git a/datajs/JSLib.sln b/datajs/JSLib.sln
deleted file mode 100644
index d265e52..0000000
--- a/datajs/JSLib.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JSLib", "JSLib.csproj", "{73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {73ADF1A7-613B-4679-885B-2AE4AFAA9A6A}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/Web.config
----------------------------------------------------------------------
diff --git a/datajs/Web.config b/datajs/Web.config
deleted file mode 100644
index e45c79e..0000000
--- a/datajs/Web.config
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
- <system.web>
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="Microsoft.OData.Core, Version=6.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add assembly="Microsoft.OData.Service, Version=6.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add assembly="Microsoft.OData.Client, Version=6.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- </assemblies>
- </compilation>
- </system.web>
- <system.webServer>
- <directoryBrowse enabled="true" />
- </system.webServer>
- <system.codedom>
- <compilers>
- <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <providerOption name="CompilerVersion" value="v4.0" />
- </compiler>
- </compilers>
- </system.codedom>
- <system.net>
- <defaultProxy>
- <proxy autoDetect="True" />
- </defaultProxy>
- </system.net>
-</configuration>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/demo/mypage.html
----------------------------------------------------------------------
diff --git a/datajs/demo/mypage.html b/datajs/demo/mypage.html
deleted file mode 100644
index 16517a4..0000000
--- a/datajs/demo/mypage.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>data js demo</title>
- <script type="text/javascript" src="scripts/datajs-2.0.0.js"></script>
- <script type="text/javascript" src="scripts/jquery-2.0.3.js"></script>
- <script type="text/javascript" src="scripts/datajs_demo.js"></script>
- <style type="text/css">.title { font-size: 30px;font-style: italic;}</style>
-</head>
-<body onload="run()">
- <div>
- <span class="title">Simple Read</span>
- <pre id="simpleRead"></pre>
- </div>
- <div>
- <span class="title">Simple Read With Metadata</span>
- <pre id="simpleReadWithMetadata"></pre>
- </div>
- <div>
- <span class="title">Simple Read with JSONP</span>
- <pre id="simpleReadWithJSONP"></pre>
- </div>
- <div>
- <span class="title">Metadata</span>
- <pre id="metadata"></pre>
- </div>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/d5ec5557/datajs/demo/scripts/.gitignore
----------------------------------------------------------------------
diff --git a/datajs/demo/scripts/.gitignore b/datajs/demo/scripts/.gitignore
deleted file mode 100644
index f7f55d4..0000000
--- a/datajs/demo/scripts/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-datajs-2*
-tmp/