Skip to content

Commit 423df21

Browse files
committed
updating third party wicked good xpath to e33a3876a6d592b824942751d86ba5f2b08a3dc5
removing the *_test.html files we don't care about Adding a README about where this is from Fixes #1040
1 parent b097242 commit 423df21

36 files changed

+665
-1013
lines changed

third_party/js/wgxpath/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
wgxpath - Wicked Good XPath
2+
3+
https://github.com/google/wicked-good-xpath
4+
5+
The source in this directory is from:
6+
7+
https://github.com/google/wicked-good-xpath/tree/e33a3876a6d592b824942751d86ba5f2b08a3dc5/src
8+
9+
excluding the *_test* files.

third_party/js/wgxpath/binaryExpr.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,34 @@
1-
// Copyright 2012 Google Inc. All Rights Reserved.
1+
/**
2+
* @license
3+
* The MIT License
4+
*
5+
* Copyright (c) 2007 Cybozu Labs, Inc.
6+
* Copyright (c) 2012 Google Inc.
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to
10+
* deal in the Software without restriction, including without limitation the
11+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12+
* sell copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24+
* IN THE SOFTWARE.
25+
*/
226

327
/**
428
* @fileoverview A class representing operations on binary expressions.
29+
* @author [email protected] (Michael Zhou)
530
*/
631

7-
832
goog.provide('wgxpath.BinaryExpr');
933

1034
goog.require('wgxpath.DataType');

third_party/js/wgxpath/binaryExpr_test.html

Lines changed: 0 additions & 134 deletions
This file was deleted.

third_party/js/wgxpath/compile.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
2-
python ../closure-library/closure/bin/calcdeps.py \
3-
--path ../closure-library \
4-
--path . \
5-
--input export.js \
2+
python ../closure-library/closure/bin/build/closurebuilder.py \
3+
--root ../closure-library \
4+
--root . \
5+
--namespace wgxpath \
66
--output_mode compiled \
77
--compiler_jar ../closure-compiler/build/compiler.jar \
8-
--compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" \
9-
--compiler_flags="--output_wrapper=(function(){%output%})()" \
10-
--compiler_flags="--use_types_for_optimization" \
11-
--compiler_flags="--warning_level=VERBOSE" \
8+
--compiler_flags "--compilation_level=ADVANCED_OPTIMIZATIONS" \
9+
--compiler_flags "--output_wrapper=(function(){%output%})()" \
10+
--compiler_flags "--use_types_for_optimization" \
11+
--compiler_flags "--warning_level=VERBOSE" \
1212
> wgxpath.install.js

third_party/js/wgxpath/context.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1-
// Copyright 2012 Google Inc. All Rights Reserved.
1+
/**
2+
* @license
3+
* The MIT License
4+
*
5+
* Copyright (c) 2007 Cybozu Labs, Inc.
6+
* Copyright (c) 2012 Google Inc.
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to
10+
* deal in the Software without restriction, including without limitation the
11+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12+
* sell copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24+
* IN THE SOFTWARE.
25+
*/
226

327
/**
428
* @fileoverview Context information about nodes in their nodeset.
29+
* @author [email protected] (Evan Thomas)
530
*/
631

732
goog.provide('wgxpath.Context');

third_party/js/wgxpath/context_test.html

Lines changed: 0 additions & 40 deletions
This file was deleted.

third_party/js/wgxpath/dataType.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1-
// Copyright 2012 Google Inc. All Rights Reserved.
1+
/**
2+
* @license
3+
* The MIT License
4+
*
5+
* Copyright (c) 2007 Cybozu Labs, Inc.
6+
* Copyright (c) 2012 Google Inc.
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to
10+
* deal in the Software without restriction, including without limitation the
11+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12+
* sell copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24+
* IN THE SOFTWARE.
25+
*/
226

327
/**
428
* @fileoverview Enumeration of internal data types.
29+
* @author [email protected] (Michael Zhou)
530
*/
631

732
goog.provide('wgxpath.DataType');

third_party/js/wgxpath/expr.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1-
// Copyright 2012 Google Inc. All Rights Reserved.
1+
/**
2+
* @license
3+
* The MIT License
4+
*
5+
* Copyright (c) 2007 Cybozu Labs, Inc.
6+
* Copyright (c) 2012 Google Inc.
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to
10+
* deal in the Software without restriction, including without limitation the
11+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12+
* sell copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24+
* IN THE SOFTWARE.
25+
*/
226

327
/**
428
* @fileoverview An abstract class representing basic expressions.
29+
* @author [email protected] (Michael Zhou)
530
*/
631

732
goog.provide('wgxpath.Expr');

third_party/js/wgxpath/filterExpr.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1-
// Copyright 2012 Google Inc. All Rights Reserved.
1+
/**
2+
* @license
3+
* The MIT License
4+
*
5+
* Copyright (c) 2007 Cybozu Labs, Inc.
6+
* Copyright (c) 2012 Google Inc.
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to
10+
* deal in the Software without restriction, including without limitation the
11+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12+
* sell copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24+
* IN THE SOFTWARE.
25+
*/
226

327
/**
428
* @fileoverview A class representing operations on filter expressions.
29+
* @author [email protected] (Michael Zhou)
530
*/
631

732
goog.provide('wgxpath.FilterExpr');

0 commit comments

Comments
 (0)