mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Compare commits
	
		
			29 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 7174130e46 | ||
|  | 59f64c47b1 | ||
|  | f3655e8a1e | ||
|  | f97d796f90 | ||
|  | d342aa4841 | ||
|  | 5c655e3b20 | ||
|  | 9a0ac4a477 | ||
|  | 8ea9632ccf | ||
|  | 03ef4f30e8 | ||
|  | 12228fb525 | ||
|  | 92897046ed | ||
|  | 91aa843a4e | ||
|  | c3145d3c08 | ||
|  | 1ad2123896 | ||
|  | 9b9a256c60 | ||
|  | 0f3644d23a | ||
|  | 04d3023f76 | ||
|  | 5c7aa5406a | ||
|  | bce676e902 | ||
|  | 7c9fd59a99 | ||
|  | b89d1a2e77 | ||
|  | f8c5015b20 | ||
|  | f28cdc8a15 | ||
|  | 0e147f1f66 | ||
|  | a91705724d | ||
|  | 5e3e8133fb | ||
|  | 5a3758f1c7 | ||
|  | 57237106f3 | ||
|  | 99ad2368b0 | 
							
								
								
									
										18
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							| @@ -479,9 +479,6 @@ | ||||
| [submodule "vendor/grammars/Modelica"] | ||||
| 	path = vendor/grammars/Modelica | ||||
| 	url = https://github.com/BorisChumichev/modelicaSublimeTextPackage | ||||
| [submodule "vendor/grammars/sublime-apl"] | ||||
| 	path = vendor/grammars/sublime-apl | ||||
| 	url = https://github.com/StoneCypher/sublime-apl | ||||
| [submodule "vendor/grammars/sublime-golo"] | ||||
| 	path = vendor/grammars/sublime-golo | ||||
| 	url = https://github.com/TypeUnsafe/sublime-golo | ||||
| @@ -701,3 +698,18 @@ | ||||
| [submodule "vendor/grammars/nix"] | ||||
| 	path = vendor/grammars/nix | ||||
| 	url = https://github.com/wmertens/sublime-nix | ||||
| [submodule "vendor/grammars/idris"] | ||||
| 	path = vendor/grammars/idris | ||||
| 	url = https://github.com/idris-hackers/idris-sublime.git | ||||
| [submodule "vendor/grammars/atomic-dreams"] | ||||
| 	path = vendor/grammars/atomic-dreams | ||||
| 	url = https://github.com/PJB3005/atomic-dreams | ||||
| [submodule "vendor/grammars/language-apl"] | ||||
| 	path = vendor/grammars/language-apl | ||||
| 	url = https://github.com/Alhadis/language-apl.git | ||||
| [submodule "vendor/grammars/language-graphql"] | ||||
| 	path = vendor/grammars/language-graphql | ||||
| 	url = https://github.com/rmosolgo/language-graphql | ||||
| [submodule "vendor/grammars/sublime-autoit"] | ||||
| 	path = vendor/grammars/sublime-autoit | ||||
| 	url = https://github.com/AutoIt/SublimeAutoItScript | ||||
|   | ||||
| @@ -6,6 +6,9 @@ addons: | ||||
|     - libicu-dev | ||||
|     - libicu48 | ||||
| before_install: script/travis/before_install | ||||
| script: | ||||
|   - bundle exec rake | ||||
|   - script/licensed verify | ||||
| rvm: | ||||
|   - 2.0.0 | ||||
|   - 2.1 | ||||
|   | ||||
| @@ -33,6 +33,7 @@ To add support for a new language: | ||||
| 0. Add a grammar for your language. Please only add grammars that have a license that permits redistribution. | ||||
|   0. Add your grammar as a submodule: `git submodule add https://github.com/JaneSmith/MyGrammar vendor/grammars/MyGrammar`. | ||||
|   0. Add your grammar to [`grammars.yml`][grammars] by running `script/convert-grammars --add vendor/grammars/MyGrammar`. | ||||
|   0. Download the license for the grammar: `script/licensed`. Be careful to only commit the file for the new grammar, as this script may update licenses for other grammars as well. | ||||
| 0. Add samples for your language to the [samples directory][samples] in the correct subdirectory. | ||||
| 0. Open a pull request, linking to a [GitHub search result](https://github.com/search?utf8=%E2%9C%93&q=extension%3Aboot+NOT+nothack&type=Code&ref=searchresults) showing in-the-wild usage. | ||||
|  | ||||
|   | ||||
							
								
								
									
										14
									
								
								grammars.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								grammars.yml
									
									
									
									
									
								
							| @@ -124,6 +124,7 @@ vendor/grammars/SublimeBrainfuck: | ||||
| vendor/grammars/SublimeClarion/: | ||||
| - source.clarion | ||||
| vendor/grammars/SublimePapyrus/: | ||||
| - source.papyrus.fallout4 | ||||
| - source.papyrus.skyrim | ||||
| vendor/grammars/SublimePuppet/: | ||||
| - source.puppet | ||||
| @@ -183,6 +184,9 @@ vendor/grammars/atom-language-stan/: | ||||
| vendor/grammars/atom-salt: | ||||
| - source.python.salt | ||||
| - source.yaml.salt | ||||
| vendor/grammars/atomic-dreams/: | ||||
| - source.dm | ||||
| - source.dmf | ||||
| vendor/grammars/ats: | ||||
| - source.ats | ||||
| vendor/grammars/awk-sublime: | ||||
| @@ -290,6 +294,8 @@ vendor/grammars/idl.tmbundle: | ||||
| - source.idl | ||||
| - source.idl-dlm | ||||
| - text.idl-idldoc | ||||
| vendor/grammars/idris/: | ||||
| - source.idris | ||||
| vendor/grammars/ini.tmbundle: | ||||
| - source.ini | ||||
| vendor/grammars/io.tmbundle: | ||||
| @@ -314,6 +320,8 @@ vendor/grammars/json.tmbundle: | ||||
| - source.json | ||||
| vendor/grammars/kotlin-sublime-package: | ||||
| - source.Kotlin | ||||
| vendor/grammars/language-apl: | ||||
| - source.apl | ||||
| vendor/grammars/language-babel/: | ||||
| - source.js.jsx | ||||
| - source.regexp.babel | ||||
| @@ -333,6 +341,8 @@ vendor/grammars/language-csharp: | ||||
| - source.nant-build | ||||
| vendor/grammars/language-gfm: | ||||
| - source.gfm | ||||
| vendor/grammars/language-graphql: | ||||
| - source.graphql | ||||
| vendor/grammars/language-hy: | ||||
| - source.hy | ||||
| vendor/grammars/language-inform7: | ||||
| @@ -501,10 +511,10 @@ vendor/grammars/standard-ml.tmbundle: | ||||
| - source.ml | ||||
| vendor/grammars/sublime-MuPAD: | ||||
| - source.mupad | ||||
| vendor/grammars/sublime-apl/: | ||||
| - source.apl | ||||
| vendor/grammars/sublime-aspectj/: | ||||
| - source.aspectj | ||||
| vendor/grammars/sublime-autoit/: | ||||
| - source.autoit | ||||
| vendor/grammars/sublime-befunge: | ||||
| - source.befunge | ||||
| vendor/grammars/sublime-bsv: | ||||
|   | ||||
| @@ -86,6 +86,14 @@ module Linguist | ||||
|       end | ||||
|     end | ||||
|  | ||||
|     disambiguate ".builds" do |data| | ||||
|       if /^(\s*)(<Project|<Import|<Property|<?xml|xmlns)/i.match(data) | ||||
|         Language["XML"] | ||||
|       else | ||||
|         Language["Text"] | ||||
|       end | ||||
|     end | ||||
|  | ||||
|     disambiguate ".ch" do |data| | ||||
|       if /^\s*#\s*(if|ifdef|ifndef|define|command|xcommand|translate|xtranslate|include|pragma|undef)\b/i.match(data) | ||||
|         Language["xBase"] | ||||
|   | ||||
| @@ -260,7 +260,7 @@ AutoIt: | ||||
|   - AutoItScript | ||||
|   extensions: | ||||
|   - .au3 | ||||
|   tm_scope: none | ||||
|   tm_scope: source.autoit | ||||
|   ace_mode: autohotkey | ||||
|  | ||||
| Awk: | ||||
| @@ -772,7 +772,7 @@ DM: | ||||
|   - .dm | ||||
|   aliases: | ||||
|   - byond | ||||
|   tm_scope: source.c++ | ||||
|   tm_scope: source.dm | ||||
|   ace_mode: c_cpp | ||||
|  | ||||
| DNS Zone: | ||||
| @@ -948,6 +948,7 @@ Erlang: | ||||
|   color: "#B83998" | ||||
|   extensions: | ||||
|   - .erl | ||||
|   - .app.src | ||||
|   - .es | ||||
|   - .escript | ||||
|   - .hrl | ||||
| @@ -1125,6 +1126,7 @@ GLSL: | ||||
|   - .frag | ||||
|   - .frg | ||||
|   - .fs | ||||
|   - .fsh | ||||
|   - .fshader | ||||
|   - .geo | ||||
|   - .geom | ||||
| @@ -1133,6 +1135,7 @@ GLSL: | ||||
|   - .shader | ||||
|   - .vert | ||||
|   - .vrx | ||||
|   - .vsh | ||||
|   - .vshader | ||||
|   ace_mode: glsl | ||||
|  | ||||
| @@ -1262,6 +1265,14 @@ Graph Modeling Language: | ||||
|   tm_scope: none | ||||
|   ace_mode: text | ||||
|  | ||||
| GraphQL: | ||||
|   type: data | ||||
|   extensions: | ||||
|     - .graphql | ||||
|   color: "#E535AB" | ||||
|   tm_scope: source.graphql | ||||
|   ace_mode: text | ||||
|  | ||||
| Graphviz (DOT): | ||||
|   type: data | ||||
|   tm_scope: source.dot | ||||
| @@ -1532,7 +1543,7 @@ Idris: | ||||
|   - .idr | ||||
|   - .lidr | ||||
|   ace_mode: text | ||||
|   tm_scope: none | ||||
|   tm_scope: source.idris | ||||
|  | ||||
| Inform 7: | ||||
|   type: programming | ||||
| @@ -1617,6 +1628,7 @@ JSON: | ||||
|   filenames: | ||||
|   - .jshintrc | ||||
|   - composer.lock | ||||
|   - mcmod.info | ||||
|  | ||||
| JSON5: | ||||
|   type: data | ||||
| @@ -2068,14 +2080,17 @@ Makefile: | ||||
|   - .mak | ||||
|   - .d | ||||
|   - .mk | ||||
|   - .mkfile | ||||
|   filenames: | ||||
|   - GNUmakefile | ||||
|   - Kbuild | ||||
|   - Makefile | ||||
|   - Makefile.am | ||||
|   - Makefile.frag | ||||
|   - Makefile.in | ||||
|   - Makefile.inc | ||||
|   - makefile | ||||
|   - mkfile | ||||
|   interpreters: | ||||
|   - make | ||||
|   ace_mode: makefile | ||||
| @@ -3351,6 +3366,13 @@ Shell: | ||||
|   - .tmux | ||||
|   - .tool | ||||
|   - .zsh | ||||
|   filenames: | ||||
|   - .bash_history | ||||
|   - .bash_logout | ||||
|   - .bash_profile | ||||
|   - .bashrc | ||||
|   - PKGBUILD | ||||
|   - gradlew | ||||
|   interpreters: | ||||
|   - bash | ||||
|   - rc | ||||
| @@ -3838,6 +3860,7 @@ XML: | ||||
|   - .xml | ||||
|   - .ant | ||||
|   - .axml | ||||
|   - .builds | ||||
|   - .ccxml | ||||
|   - .clixml | ||||
|   - .cproject | ||||
| @@ -3869,6 +3892,7 @@ XML: | ||||
|   - .nuspec | ||||
|   - .odd | ||||
|   - .osm | ||||
|   - .pkgproj | ||||
|   - .plist | ||||
|   - .pluginspec | ||||
|   - .props | ||||
| @@ -3876,8 +3900,10 @@ XML: | ||||
|   - .psc1 | ||||
|   - .pt | ||||
|   - .rdf | ||||
|   - .resx | ||||
|   - .rss | ||||
|   - .scxml | ||||
|   - .sfproj | ||||
|   - .srdf | ||||
|   - .storyboard | ||||
|   - .stTheme | ||||
|   | ||||
| @@ -1,3 +1,3 @@ | ||||
| module Linguist | ||||
|   VERSION = "4.8.2" | ||||
|   VERSION = "4.8.4" | ||||
| end | ||||
|   | ||||
							
								
								
									
										8
									
								
								samples/Erlang/sample.app.src
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								samples/Erlang/sample.app.src
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| {application, sample, | ||||
|  [{description, "sample app"}, | ||||
|   {vsn, "1.0.0"}, | ||||
|   {registered, []}, | ||||
|   {mod, {sample_app, []}}, | ||||
|   {applications, [kernel, stdlib]}, | ||||
|   {env, []}, | ||||
|   {modules, []}]}. | ||||
							
								
								
									
										20
									
								
								samples/GLSL/gbuffers_textured_lit.fsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								samples/GLSL/gbuffers_textured_lit.fsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| #version 120 | ||||
|  | ||||
| uniform sampler2D texture; | ||||
|  | ||||
| varying vec3 color; | ||||
| varying vec2 texcoord; | ||||
|  | ||||
| vec4 GetDiffuse() { | ||||
| 	vec4 diffuse = vec4(color.rgb, 1.0); | ||||
| 	     diffuse *= texture2D(texture, texcoord); | ||||
| 	 | ||||
| 	return diffuse; | ||||
| } | ||||
|  | ||||
|  | ||||
| void main() { | ||||
| 	vec4 diffuse = GetDiffuse(); | ||||
| 	 | ||||
| 	gl_FragData[0] = diffuse; | ||||
| } | ||||
							
								
								
									
										11
									
								
								samples/GLSL/gbuffers_textured_lit.vsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								samples/GLSL/gbuffers_textured_lit.vsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| #version 120 | ||||
|  | ||||
| varying vec3 color; | ||||
| varying vec2 texcoord; | ||||
|  | ||||
| void main() { | ||||
| 	color    = gl_Color.rgb; | ||||
| 	texcoord = gl_MultiTexCoord0.st; | ||||
| 	 | ||||
| 	gl_Position = ftransform(); | ||||
| } | ||||
							
								
								
									
										57
									
								
								samples/GraphQL/kitchen-sink.graphql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								samples/GraphQL/kitchen-sink.graphql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | ||||
| # Copyright (c) 2015, Facebook, Inc. | ||||
| # All rights reserved. | ||||
| # | ||||
| # This source code is licensed under the BSD-style license found in the | ||||
| # LICENSE file in the root directory of this source tree. An additional grant | ||||
| # of patent rights can be found in the PATENTS file in the same directory. | ||||
|  | ||||
| query queryName($foo: ComplexType, $site: Site = MOBILE) { | ||||
|   whoever123is: node(id: [123, 456]) { | ||||
|     id , | ||||
|     ... on User @defer { | ||||
|       field2 { | ||||
|         id , | ||||
|         alias: field1(first:10, after:$foo,) @include(if: $foo) { | ||||
|           id, | ||||
|           ...frag | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|     ... @skip(unless: $foo) { | ||||
|       id | ||||
|     } | ||||
|     ... { | ||||
|       id | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| mutation likeStory { | ||||
|   like(story: 123) @defer { | ||||
|     story { | ||||
|       id | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| subscription StoryLikeSubscription($input: StoryLikeSubscribeInput) { | ||||
|   storyLikeSubscribe(input: $input) { | ||||
|     story { | ||||
|       likers { | ||||
|         count | ||||
|       } | ||||
|       likeSentence { | ||||
|         text | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| fragment frag on Friend { | ||||
|   foo(size: $size, bar: $b, obj: {key: "value"}) | ||||
| } | ||||
|  | ||||
| { | ||||
|   unnamed(truthy: true, falsey: false), | ||||
|   query | ||||
| } | ||||
							
								
								
									
										50
									
								
								samples/GraphQL/schema-kitchen-sink.graphql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								samples/GraphQL/schema-kitchen-sink.graphql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | ||||
| # Copyright (c) 2015, Facebook, Inc. | ||||
| # All rights reserved. | ||||
| # | ||||
| # This source code is licensed under the BSD-style license found in the | ||||
| # LICENSE file in the root directory of this source tree. An additional grant | ||||
| # of patent rights can be found in the PATENTS file in the same directory. | ||||
|  | ||||
| schema { | ||||
|   query: QueryType | ||||
|   mutation: MutationType | ||||
| } | ||||
|  | ||||
| type Foo implements Bar { | ||||
|   one: Type | ||||
|   two(argument: InputType!): Type | ||||
|   three(argument: InputType, other: String): Int | ||||
|   four(argument: String = "string"): String | ||||
|   five(argument: [String] = ["string", "string"]): String | ||||
|   six(argument: InputType = {key: "value"}): Type | ||||
| } | ||||
|  | ||||
| interface Bar { | ||||
|   one: Type | ||||
|   four(argument: String = "string"): String | ||||
| } | ||||
|  | ||||
| union Feed = Story | Article | Advert | ||||
|  | ||||
| scalar CustomScalar | ||||
|  | ||||
| enum Site { | ||||
|   DESKTOP | ||||
|   MOBILE | ||||
| } | ||||
|  | ||||
| input InputType { | ||||
|   key: String! | ||||
|   answer: Int = 42 | ||||
| } | ||||
|  | ||||
| extend type Foo { | ||||
|   seven(argument: [String]): Type | ||||
| } | ||||
|  | ||||
| directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT | ||||
|  | ||||
| directive @include(if: Boolean!) | ||||
|   on FIELD | ||||
|    | FRAGMENT_SPREAD | ||||
|    | INLINE_FRAGMENT | ||||
							
								
								
									
										16
									
								
								samples/JSON/filenames/mcmod.info
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								samples/JSON/filenames/mcmod.info
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| [ | ||||
| { | ||||
|   "modid": "examplemod", | ||||
|   "name": "Example Mod", | ||||
|   "description": "Example placeholder mod.", | ||||
|   "version": "${version}", | ||||
|   "mcversion": "${mcversion}", | ||||
|   "url": "", | ||||
|   "updateUrl": "", | ||||
|   "authorList": ["ExampleDude"], | ||||
|   "credits": "The Forge and FML guys, for making this example", | ||||
|   "logoFile": "", | ||||
|   "screenshots": [], | ||||
|   "dependencies": [] | ||||
| } | ||||
| ] | ||||
							
								
								
									
										77
									
								
								samples/Makefile/filenames/Makefile.frag
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								samples/Makefile/filenames/Makefile.frag
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,77 @@ | ||||
| all: link-php-objects index-php-objects $(all_targets) | ||||
| 	@echo | ||||
| 	@echo "Build complete." | ||||
| 	@echo "Don't forget to run 'make test'." | ||||
| 	@echo | ||||
|  | ||||
| generate-php-objects: | ||||
| 	@echo "Generating PHP objects in $(PHP_DIR)" | ||||
| 	@for f in `ls $(PHP_DIR)/*.php`; do \ | ||||
| 		objcopy --input binary --output elf64-x86-64 --binary-architecture i386 $$f $$f.o; \ | ||||
| 	done; | ||||
|  | ||||
| link-php-objects: generate-php-objects | ||||
| 	@echo "Linking PHP objects in $(PHP_DIR)" | ||||
| 	@for f in `ls $(PHP_DIR)/*.php`; do \ | ||||
| 		ar rcs $(PHP_DIR)/lib$(PHP_LIB).a $$f.o; \ | ||||
| 	done; | ||||
|  | ||||
| index-php-objects: link-php-objects | ||||
| 	@echo "Indexing PHP objects in $(PHP_DIR)" | ||||
| 	@echo "#ifndef HAVE_PHP_$(PHP_LIB)_H" 																	> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "#define HAVE_PHP_$(PHP_LIB)_H" 																	>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "/* I AM GENERATED | DO NOT EDIT | I AM GENERATED */"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@for f in `ls $(PHP_DIR)/*.php`; do \ | ||||
| 		name=`echo $$f | sed 's/[^a-z]/_/g'`; \ | ||||
| 		echo "extern char _binary_"$$name"_start;" 															>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "static inline char* php_index_$(PHP_LIB)_"$$name"() {" 										>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "	return (char*) &_binary_"$$name"_start;"													>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "}"																							>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "extern char _binary_"$$name"_end;" 															>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "static inline char* php_index_$(PHP_LIB)_"$$name"_end() {" 									>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "	return (char*) &_binary_"$$name"_end;"														>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "}"																							>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "static inline size_t php_index_$(PHP_LIB)_"$$name"_size() {" 									>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "	return (size_t) (php_index_$(PHP_LIB)_"$$name"_end() - php_index_$(PHP_LIB)_"$$name"());"	>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "}"																							>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 	done; | ||||
| 	@echo "static inline php_$(PHP_LIB)_init(HashTable *index, HashTable *includes) {"						>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zval val;"																						>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_hash_init(index, 8, NULL, ZVAL_PTR_DTOR, 0);"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_hash_init(includes, 8, NULL, NULL, 0);"													>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@for f in `ls $(PHP_DIR)/*.php`; do \ | ||||
| 		name=`echo $$f | sed 's/[^a-z]/_/g'`; \ | ||||
| 		echo "	ZVAL_NEW_STR(&val, zend_string_init(\ | ||||
| 					php_index_$(PHP_LIB)_"$$name"(), \ | ||||
| 						php_index_$(PHP_LIB)_"$$name"_size(), 0));"											>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 		echo "	zend_hash_str_add(index, \""$$f"\", sizeof(\""$$f"\")-1, &val);"							>> $(PHP_DIR)/$(PHP_LIB).h; \ | ||||
| 	done; | ||||
| 	@echo "}"																								>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "static inline void php_$(PHP_LIB)_include(HashTable *index, HashTable *includes, \ | ||||
| 					char *path, size_t len, zval *retval) {"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_string *key = zend_string_init(path, len, 0);"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zval *code = zend_hash_find(index, key);"														>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	if (code && !zend_hash_exists(includes, key)) {"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		zend_string *prepared = zend_string_alloc(Z_STRLEN_P(code) + (sizeof(\";\")-1), 0);"		>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo																									>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		memcpy(&ZSTR_VAL(prepared)[0], \";\", sizeof(\";\")-1);"									>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		if (Z_STRLEN_P(code) > (sizeof(\"<?php\") -1) && "											>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "			memcmp(Z_STRVAL_P(code), \"<?php\", sizeof(\"<?php\")-1) == SUCCESS) {"					>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "				memcpy(&ZSTR_VAL(prepared)[1], &Z_STRVAL_P(code)[5], \ | ||||
| 							Z_STRLEN_P(code) - (sizeof(\"<?php\") - 1));"									>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "				ZSTR_LEN(prepared) -= (sizeof(\"<?php\") - 1);"										>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "				ZSTR_VAL(prepared)[ZSTR_LEN(prepared)] = 0;"										>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		} else {"																					>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "			memcpy(&ZSTR_VAL(prepared)[1], Z_STRVAL_P(code), Z_STRLEN_P(code));"					>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		}"																							>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		zend_eval_stringl(ZSTR_VAL(prepared), ZSTR_LEN(prepared), retval, path);"					>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		zend_hash_add_empty_element(includes, key);"												>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "		zend_string_release(prepared);"																>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	}"																								>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_string_release(key);"																		>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "}"																								>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "static inline void php_$(PHP_LIB)_shutdown(HashTable *index, HashTable *includes) {"				>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_hash_destroy(index);"																		>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "	zend_hash_destroy(includes);"																	>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "}"																								>> $(PHP_DIR)/$(PHP_LIB).h | ||||
| 	@echo "#endif"																							>> $(PHP_DIR)/$(PHP_LIB).h | ||||
							
								
								
									
										9
									
								
								samples/Makefile/filenames/mkfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								samples/Makefile/filenames/mkfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| GREETINGS=hello gday bonjour hola ola kaixo tag hoi konnichiwa nihao dobredan namaste salaam | ||||
|  | ||||
| all:V: | ||||
| 	mk greet.^($GREETINGS) | ||||
| 	for(i in $GREETINGS) | ||||
| 		mk $i | ||||
|  | ||||
| greet.%: text-folder | ||||
| 	/n/$printer $stem >[2=1] | ||||
							
								
								
									
										161
									
								
								samples/Shell/filenames/gradlew
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										161
									
								
								samples/Shell/filenames/gradlew
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,161 @@ | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| ############################################################################## | ||||
| ## | ||||
| ##  Gradle start up script for UN*X | ||||
| ## | ||||
| ############################################################################## | ||||
|  | ||||
| # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||||
| DEFAULT_JVM_OPTS="" | ||||
|  | ||||
| APP_NAME="Gradle" | ||||
| APP_BASE_NAME=`basename "$0"` | ||||
|  | ||||
| # Use the maximum available, or set MAX_FD != -1 to use that value. | ||||
| MAX_FD="maximum" | ||||
|  | ||||
| warn ( ) { | ||||
|     echo "$*" | ||||
| } | ||||
|  | ||||
| die ( ) { | ||||
|     echo | ||||
|     echo "$*" | ||||
|     echo | ||||
|     exit 1 | ||||
| } | ||||
|  | ||||
| # OS specific support (must be 'true' or 'false'). | ||||
| cygwin=false | ||||
| msys=false | ||||
| darwin=false | ||||
| case "`uname`" in | ||||
|   CYGWIN* ) | ||||
|     cygwin=true | ||||
|     ;; | ||||
|   Darwin* ) | ||||
|     darwin=true | ||||
|     ;; | ||||
|   MINGW* ) | ||||
|     msys=true | ||||
|     ;; | ||||
| esac | ||||
|  | ||||
| # Attempt to set APP_HOME | ||||
| # Resolve links: $0 may be a link | ||||
| PRG="$0" | ||||
| # Need this for relative symlinks. | ||||
| while [ -h "$PRG" ] ; do | ||||
|     ls=`ls -ld "$PRG"` | ||||
|     link=`expr "$ls" : '.*-> \(.*\)$'` | ||||
|     if expr "$link" : '/.*' > /dev/null; then | ||||
|         PRG="$link" | ||||
|     else | ||||
|         PRG=`dirname "$PRG"`"/$link" | ||||
|     fi | ||||
| done | ||||
| SAVED="`pwd`" | ||||
| cd "`dirname \"$PRG\"`/" >/dev/null | ||||
| APP_HOME="`pwd -P`" | ||||
| cd "$SAVED" >/dev/null | ||||
|  | ||||
| CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | ||||
|  | ||||
| # Determine the Java command to use to start the JVM. | ||||
| if [ -n "$JAVA_HOME" ] ; then | ||||
|     if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | ||||
|         # IBM's JDK on AIX uses strange locations for the executables | ||||
|         JAVACMD="$JAVA_HOME/jre/sh/java" | ||||
|     else | ||||
|         JAVACMD="$JAVA_HOME/bin/java" | ||||
|     fi | ||||
|     if [ ! -x "$JAVACMD" ] ; then | ||||
|         die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME | ||||
|  | ||||
| Please set the JAVA_HOME variable in your environment to match the | ||||
| location of your Java installation." | ||||
|     fi | ||||
| else | ||||
|     JAVACMD="java" | ||||
|     which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||||
|  | ||||
| Please set the JAVA_HOME variable in your environment to match the | ||||
| location of your Java installation." | ||||
| fi | ||||
|  | ||||
| # Increase the maximum file descriptors if we can. | ||||
| if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then | ||||
|     MAX_FD_LIMIT=`ulimit -H -n` | ||||
|     if [ $? -eq 0 ] ; then | ||||
|         if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then | ||||
|             MAX_FD="$MAX_FD_LIMIT" | ||||
|         fi | ||||
|         ulimit -n $MAX_FD | ||||
|         if [ $? -ne 0 ] ; then | ||||
|             warn "Could not set maximum file descriptor limit: $MAX_FD" | ||||
|         fi | ||||
|     else | ||||
|         warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" | ||||
|     fi | ||||
| fi | ||||
|  | ||||
| # For Darwin, add options to specify how the application appears in the dock | ||||
| if $darwin; then | ||||
|     GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" | ||||
| fi | ||||
|  | ||||
| # For Cygwin, switch paths to Windows format before running java | ||||
| if $cygwin ; then | ||||
|     APP_HOME=`cygpath --path --mixed "$APP_HOME"` | ||||
|     CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | ||||
|     JAVACMD=`cygpath --unix "$JAVACMD"` | ||||
|  | ||||
|     # We build the pattern for arguments to be converted via cygpath | ||||
|     ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` | ||||
|     SEP="" | ||||
|     for dir in $ROOTDIRSRAW ; do | ||||
|         ROOTDIRS="$ROOTDIRS$SEP$dir" | ||||
|         SEP="|" | ||||
|     done | ||||
|     OURCYGPATTERN="(^($ROOTDIRS))" | ||||
|     # Add a user-defined pattern to the cygpath arguments | ||||
|     if [ "$GRADLE_CYGPATTERN" != "" ] ; then | ||||
|         OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" | ||||
|     fi | ||||
|     # Now convert the arguments - kludge to limit ourselves to /bin/sh | ||||
|     i=0 | ||||
|     for arg in "$@" ; do | ||||
|         CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` | ||||
|         CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option | ||||
|  | ||||
|         if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition | ||||
|             eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` | ||||
|         else | ||||
|             eval `echo args$i`="\"$arg\"" | ||||
|         fi | ||||
|         i=$((i+1)) | ||||
|     done | ||||
|     case $i in | ||||
|         (0) set -- ;; | ||||
|         (1) set -- "$args0" ;; | ||||
|         (2) set -- "$args0" "$args1" ;; | ||||
|         (3) set -- "$args0" "$args1" "$args2" ;; | ||||
|         (4) set -- "$args0" "$args1" "$args2" "$args3" ;; | ||||
|         (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | ||||
|         (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | ||||
|         (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | ||||
|         (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; | ||||
|         (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; | ||||
|     esac | ||||
| fi | ||||
|  | ||||
| # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules | ||||
| function splitJvmOpts() { | ||||
|     JVM_OPTS=("$@") | ||||
| } | ||||
| eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS | ||||
| JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" | ||||
|  | ||||
| exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" | ||||
|  | ||||
							
								
								
									
										23
									
								
								samples/XML/Demo.sfproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								samples/XML/Demo.sfproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Service Fabric Tools\Microsoft.VisualStudio.Azure.Fabric.ApplicationProject.props" /> | ||||
|   <PropertyGroup Label="Globals"> | ||||
|     <ProjectGuid>93d81507-bccc-43d6-8667-2d42473f0c32</ProjectGuid> | ||||
|     <ProjectVersion>1.0</ProjectVersion> | ||||
|   </PropertyGroup> | ||||
|   <ItemGroup> | ||||
|     <None Include="Scripts\Deploy-FabricApplication.ps1" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <ProjectReference Include="..\ChaosTest.ChaosService\ChaosTest.ChaosService.csproj" /> | ||||
|     <ProjectReference Include="..\ChaosTest.WebService\ChaosTest.WebService.csproj" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Content Include="ApplicationPackageRoot\ApplicationManifest.xml" /> | ||||
|     <Content Include="ApplicationParameters\Cloud.xml" /> | ||||
|     <Content Include="ApplicationParameters\Local.xml" /> | ||||
|     <Content Include="PublishProfiles\Cloud.xml" /> | ||||
|     <Content Include="PublishProfiles\Local.xml" /> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Service Fabric Tools\Microsoft.VisualStudio.Azure.Fabric.ApplicationProject.targets" /> | ||||
| </Project> | ||||
							
								
								
									
										104
									
								
								samples/XML/Strings.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										104
									
								
								samples/XML/Strings.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,104 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
| 	<!--  | ||||
| 		Microsoft ResX Schema | ||||
|  | ||||
| 		Version 1.3 | ||||
|  | ||||
| 		The primary goals of this format is to allow a simple XML format  | ||||
| 		that is mostly human readable. The generation and parsing of the  | ||||
| 		various data types are done through the TypeConverter classes  | ||||
| 		associated with the data types. | ||||
|  | ||||
| 		Example: | ||||
|  | ||||
| 		... ado.net/XML headers & schema ... | ||||
| 		<resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
| 		<resheader name="version">1.3</resheader> | ||||
| 		<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
| 		<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
| 		<data name="Name1">this is my long string</data> | ||||
| 		<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
| 		<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
| 			[base64 mime encoded serialized .NET Framework object] | ||||
| 		</data> | ||||
| 		<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| 			[base64 mime encoded string representing a byte array form of the .NET Framework object] | ||||
| 		</data> | ||||
|  | ||||
| 		There are any number of "resheader" rows that contain simple  | ||||
| 		name/value pairs. | ||||
|  | ||||
| 		Each data row contains a name, and value. The row also contains a  | ||||
| 		type or mimetype. Type corresponds to a .NET class that support  | ||||
| 		text/value conversion through the TypeConverter architecture.  | ||||
| 		Classes that don't support this are serialized and stored with the  | ||||
| 		mimetype set. | ||||
|  | ||||
| 		The mimetype is used for serialized objects, and tells the  | ||||
| 		ResXResourceReader how to depersist the object. This is currently not  | ||||
| 		extensible. For a given mimetype the value must be set accordingly: | ||||
|  | ||||
| 		Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
| 		that the ResXResourceWriter will generate, however the reader can  | ||||
| 		read any of the formats listed below. | ||||
|  | ||||
| 		mimetype: application/x-microsoft.net.object.binary.base64 | ||||
| 		value   : The object must be serialized with  | ||||
| 			: System.Serialization.Formatters.Binary.BinaryFormatter | ||||
| 			: and then encoded with base64 encoding. | ||||
|  | ||||
| 		mimetype: application/x-microsoft.net.object.soap.base64 | ||||
| 		value   : The object must be serialized with  | ||||
| 			: System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
| 			: and then encoded with base64 encoding. | ||||
|  | ||||
| 		mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
| 		value   : The object must be serialized into a byte array  | ||||
| 			: using a System.ComponentModel.TypeConverter | ||||
| 			: and then encoded with base64 encoding. | ||||
| 	--> | ||||
| 	 | ||||
| 	<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
| 		<xsd:element name="root" msdata:IsDataSet="true"> | ||||
| 			<xsd:complexType> | ||||
| 				<xsd:choice maxOccurs="unbounded"> | ||||
| 					<xsd:element name="data"> | ||||
| 						<xsd:complexType> | ||||
| 							<xsd:sequence> | ||||
| 								<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
| 								<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
| 							</xsd:sequence> | ||||
| 							<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | ||||
| 							<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
| 							<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
| 						</xsd:complexType> | ||||
| 					</xsd:element> | ||||
| 					<xsd:element name="resheader"> | ||||
| 						<xsd:complexType> | ||||
| 							<xsd:sequence> | ||||
| 								<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
| 							</xsd:sequence> | ||||
| 							<xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
| 						</xsd:complexType> | ||||
| 					</xsd:element> | ||||
| 				</xsd:choice> | ||||
| 			</xsd:complexType> | ||||
| 		</xsd:element> | ||||
| 	</xsd:schema> | ||||
| 	<resheader name="resmimetype"> | ||||
| 		<value>text/microsoft-resx</value> | ||||
| 	</resheader> | ||||
| 	<resheader name="version"> | ||||
| 		<value>1.3</value> | ||||
| 	</resheader> | ||||
| 	<resheader name="reader"> | ||||
| 		<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
| 	</resheader> | ||||
| 	<resheader name="writer"> | ||||
| 		<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
| 	</resheader> | ||||
|   <data name="Argument_InvalidPathChars" xml:space="preserve"> | ||||
|     <value>Illegal characters in path.</value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										12
									
								
								samples/XML/System.Buffers.pkgproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								samples/XML/System.Buffers.pkgproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <ProjectReference Include="..\src\System.Buffers.builds"> | ||||
|       <SupportedFramework>net45;netcore45;netstandardapp1.5;wpa81</SupportedFramework> | ||||
|     </ProjectReference> | ||||
|   </ItemGroup> | ||||
|  | ||||
|   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> | ||||
| </Project> | ||||
							
								
								
									
										8
									
								
								samples/XML/src.builds
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								samples/XML/src.builds
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> | ||||
|   <ItemGroup> | ||||
|     <Project Include="*\src\*.builds" /> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" /> | ||||
| </Project> | ||||
| @@ -36,8 +36,11 @@ source = Licensed::Source::Filesystem.new("vendor/grammars/*/", type: "grammar") | ||||
| config = Licensed::Configuration.new | ||||
| config.sources << source | ||||
|  | ||||
| if ARGV[0] == "verify" | ||||
|   Licensed::Command::Verify.new(config).run | ||||
| command = if ARGV[0] == "verify" | ||||
|   Licensed::Command::Verify.new(config) | ||||
| else | ||||
|   Licensed::Command::Cache.new(config).run(force: true) | ||||
|   Licensed::Command::Cache.new(config) | ||||
| end | ||||
|  | ||||
| command.run | ||||
| exit command.success? | ||||
|   | ||||
| @@ -15,6 +15,7 @@ class TestGrammars < Minitest::Test | ||||
|     apache-2.0 | ||||
|     bsd-2-clause | ||||
|     bsd-3-clause | ||||
|     isc | ||||
|     mit | ||||
|     mpl-2.0 | ||||
|     public | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/grammars/AutoHotkey
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/AutoHotkey
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/AutoHotkey updated: d31adb9184...f66b9bb923
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/MagicPython
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/MagicPython
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/MagicPython updated: e90c9ce78c...fd23525656
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/NSIS
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/NSIS
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/NSIS updated: 68a4534dde...e052400204
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/Stylus
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/Stylus
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/Stylus updated: 9766d8d936...61bab33f37
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/Sublime-SQF-Language
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/Sublime-SQF-Language
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/Sublime-SQF-Language updated: 81c5be35bf...777931999d
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/SublimePapyrus
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/SublimePapyrus
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/SublimePapyrus updated: eeecf1eb6f...2d0b0b4cbf
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/SublimePuppet
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/SublimePuppet
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/SublimePuppet updated: 2eab0a7679...a90d5a4e08
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/atom-fsharp
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/atom-fsharp
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/atom-fsharp updated: 13eb4d4347...6470266565
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/atom-language-purescript
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/atom-language-purescript
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/atom-language-purescript updated: a84db1fd17...83d188103f
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/atomic-dreams
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/atomic-dreams
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/atomic-dreams added at 4384f94ff3
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/c.tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/c.tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/c.tmbundle updated: 5b5d366309...d26c35164a
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/d.tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/d.tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/d.tmbundle updated: bc27d5e552...9b7d4a8e44
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/idris
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/idris
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/idris added at 1089032af6
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/jade-tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/jade-tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/jade-tmbundle updated: 81093433d6...7c1304aa5a
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/language-apl
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/language-apl
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/language-apl added at 37552fbbf9
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-babel
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-babel
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-babel updated: 73da886093...58636d52f0
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-clojure
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-clojure
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-clojure updated: fa482c39a3...bf4ad48378
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-coffee-script
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-coffee-script
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-coffee-script updated: 93e935ec1d...3f79112bb2
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-csharp
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-csharp
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-csharp updated: 96ab79f45b...efac6d4865
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-gfm
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-gfm
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-gfm updated: 1472c976c5...0e5e65d205
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/language-graphql
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/language-graphql
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/language-graphql added at 037e5d46ea
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-javascript
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-javascript
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-javascript updated: b28af094cc...55af017874
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-less
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-less
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-less updated: 30c6864d5d...ac726d84f2
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-shellscript
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-shellscript
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-shellscript updated: ef3c7d2091...401b372fd1
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/language-yaml
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/language-yaml
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/language-yaml updated: 4e88894a66...2f64544195
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/pascal.tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/pascal.tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/pascal.tmbundle updated: a7d124ef9b...3b11b78236
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/pawn-sublime-language
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/pawn-sublime-language
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/pawn-sublime-language updated: 56264a1ae8...f49e709a23
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/perl6fe
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/perl6fe
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/perl6fe updated: f38ac75c7d...f3fe47aa8d
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/ruby-slim.tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/ruby-slim.tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/ruby-slim.tmbundle updated: 599768b404...0baf7a453c
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/ruby.tmbundle
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/ruby.tmbundle
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/ruby.tmbundle updated: 4636a30231...4bb5c2e315
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/sublime-apl
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/sublime-apl
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/sublime-apl deleted from a8c36775d5
									
								
							
							
								
								
									
										1
									
								
								vendor/grammars/sublime-autoit
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/sublime-autoit
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/sublime-autoit added at d4e742a73a
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/sublime-typescript
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/sublime-typescript
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/sublime-typescript updated: 2da61f59d2...7709dd317f
									
								
							
							
								
								
									
										2
									
								
								vendor/grammars/vue-syntax-highlight
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								vendor/grammars/vue-syntax-highlight
									
									
									
									
										vendored
									
									
								
							 Submodule vendor/grammars/vue-syntax-highlight updated: de8e8453ff...16b6051f20
									
								
							
							
								
								
									
										3
									
								
								vendor/licenses/config.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/licenses/config.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,6 +4,7 @@ whitelist: | ||||
|   - bsd-3-clause | ||||
|   - permissive | ||||
|   - mit | ||||
|   - isc | ||||
|   - mpl-2.0 | ||||
|   - unlicense | ||||
|   - wtfpl | ||||
| @@ -23,4 +24,4 @@ reviewed: | ||||
|  | ||||
| sources: | ||||
|   npm: false | ||||
|   rubygem: true | ||||
|   rubygem: false | ||||
|   | ||||
							
								
								
									
										14
									
								
								vendor/licenses/grammar/atomic-dreams.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/licenses/grammar/atomic-dreams.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: atomic-dreams | ||||
| license: mit | ||||
| curated: true | ||||
| --- | ||||
|  | ||||
| Copyright (c) 2016 Pieter-Jan Briers, Kyle J. Kemp | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
| @@ -1,14 +1,11 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: rugged | ||||
| version: 0.24.0 | ||||
| summary: Rugged is a Ruby binding to the libgit2 linkable library | ||||
| homepage: https://github.com/libgit2/rugged | ||||
| type: grammar | ||||
| name: idris | ||||
| license: mit | ||||
| --- | ||||
| The MIT License | ||||
| 
 | ||||
| Copyright (c) 2015 GitHub, Inc | ||||
| Copyright (c) 2013-2015 Alexey Alekhin, Niklas Larsson | ||||
| 
 | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
							
								
								
									
										18
									
								
								vendor/licenses/grammar/language-apl.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/licenses/grammar/language-apl.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: language-apl | ||||
| license: isc | ||||
| --- | ||||
| Copyright (c) 2016, John Gardner | ||||
|  | ||||
| Permission to use, copy, modify, and/or distribute this software for any | ||||
| purpose with or without fee is hereby granted, provided that the above | ||||
| copyright notice and this permission notice appear in all copies. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||||
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||||
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||||
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||||
| WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||||
| ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||||
| OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||
							
								
								
									
										27
									
								
								vendor/licenses/grammar/language-graphql.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/licenses/grammar/language-graphql.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: language-graphql | ||||
| license: mit | ||||
| curated: true | ||||
| --- | ||||
|  | ||||
| The MIT License (MIT) | ||||
|  | ||||
| Copyright (c) Robert Mosolgo | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||||
| this software and associated documentation files (the "Software"), to deal in | ||||
| the Software without restriction, including without limitation the rights to | ||||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||||
| the Software, and to permit persons to whom the Software is furnished to do so, | ||||
| subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||||
| FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||||
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||||
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||||
| CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
							
								
								
									
										9
									
								
								vendor/licenses/grammar/prolog.tmbundle.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/licenses/grammar/prolog.tmbundle.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,9 +0,0 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: prolog.tmbundle | ||||
| license: mpl-2.0 | ||||
| --- | ||||
|  | ||||
| License | ||||
|  | ||||
| This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||||
							
								
								
									
										26
									
								
								vendor/licenses/grammar/sublime-apl.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								vendor/licenses/grammar/sublime-apl.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,26 +0,0 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: sublime-apl | ||||
| license: mit | ||||
| --- | ||||
| The MIT License (MIT) | ||||
|  | ||||
| Copyright (c) 2014 John Haugeland | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										12
									
								
								vendor/licenses/grammar/sublime-autoit.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								vendor/licenses/grammar/sublime-autoit.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: sublime-autoit | ||||
| license: mit | ||||
| --- | ||||
| Copyright (c) 2016 AutoIt | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
							
								
								
									
										31
									
								
								vendor/licenses/rubygem/byebug.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								vendor/licenses/rubygem/byebug.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,31 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: byebug | ||||
| version: 8.2.2 | ||||
| summary: Ruby 2.0 fast debugger - base + CLI | ||||
| homepage: http://github.com/deivid-rodriguez/byebug | ||||
| license: bsd-2-clause | ||||
| --- | ||||
| Copyright (c) David Rodríguez <deivid.rodriguez@gmail.com> | ||||
| All rights reserved. | ||||
|  | ||||
| Redistribution and use in source and binary forms, with or without | ||||
| modification, are permitted provided that the following conditions | ||||
| are met: | ||||
| 1. Redistributions of source code must retain the above copyright | ||||
|    notice, this list of conditions and the following disclaimer. | ||||
| 2. Redistributions in binary form must reproduce the above copyright | ||||
|    notice, this list of conditions and the following disclaimer in the | ||||
|    documentation and/or other materials provided with the distribution. | ||||
|  | ||||
| THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||
| ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||
| ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||
| FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||
| DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
| OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
| HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
| LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
| OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
| SUCH DAMAGE. | ||||
							
								
								
									
										28
									
								
								vendor/licenses/rubygem/charlock_holmes.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								vendor/licenses/rubygem/charlock_holmes.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,28 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: charlock_holmes | ||||
| version: 0.7.3 | ||||
| summary: Character encoding detection, brought to you by ICU | ||||
| homepage: https://github.com/brianmario/charlock_holmes | ||||
| license: mit | ||||
| --- | ||||
| Copyright (c) 2011 Brian Lopez - https://github.com/brianmario | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining | ||||
| a copy of this software and associated documentation files (the | ||||
| "Software"), to deal in the Software without restriction, including | ||||
| without limitation the rights to use, copy, modify, merge, publish, | ||||
| distribute, sublicense, and/or sell copies of the Software, and to | ||||
| permit persons to whom the Software is furnished to do so, subject to | ||||
| the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be | ||||
| included in all copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||||
| NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||||
| LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||||
| OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||||
| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
							
								
								
									
										29
									
								
								vendor/licenses/rubygem/escape_utils.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										29
									
								
								vendor/licenses/rubygem/escape_utils.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,29 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: escape_utils | ||||
| version: 1.1.0 | ||||
| summary: Faster string escaping routines for your web apps | ||||
| homepage: https://github.com/brianmario/escape_utils | ||||
| license: mit | ||||
| --- | ||||
| The MIT License (MIT) | ||||
|  | ||||
| Copyright (c) 2014 Brian Lopez | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										30
									
								
								vendor/licenses/rubygem/github-linguist.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								vendor/licenses/rubygem/github-linguist.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,30 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: github-linguist | ||||
| version: 4.8.1 | ||||
| summary: GitHub Language detection | ||||
| homepage: https://github.com/github/linguist | ||||
| license: mit | ||||
| --- | ||||
| Copyright (c) 2011-2016 GitHub, Inc. | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person | ||||
| obtaining a copy of this software and associated documentation | ||||
| files (the "Software"), to deal in the Software without | ||||
| restriction, including without limitation the rights to use, | ||||
| copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the | ||||
| Software is furnished to do so, subject to the following | ||||
| conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be | ||||
| included in all copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||||
| OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||||
| NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||||
| HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||||
| WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||||
| FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||||
| OTHER DEALINGS IN THE SOFTWARE. | ||||
							
								
								
									
										34
									
								
								vendor/licenses/rubygem/mime-types-data.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										34
									
								
								vendor/licenses/rubygem/mime-types-data.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,34 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: mime-types-data | ||||
| version: 3.2016.0221 | ||||
| summary: mime-types-data provides a registry for information about MIME media type | ||||
|   definitions | ||||
| homepage: https://github.com/mime-types/mime-types-data/ | ||||
| license: mit | ||||
| --- | ||||
| ## Licence | ||||
|  | ||||
| *   Copyright 2003–2015 Austin Ziegler. | ||||
|  | ||||
| The software in this repository is made available under the MIT license. | ||||
|  | ||||
| ### MIT License | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||||
| this software and associated documentation files (the "Software"), to deal in | ||||
| the Software without restriction, including without limitation the rights to | ||||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||||
| of the Software, and to permit persons to whom the Software is furnished to do | ||||
| so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										34
									
								
								vendor/licenses/rubygem/mime-types.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										34
									
								
								vendor/licenses/rubygem/mime-types.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,34 +0,0 @@ | ||||
| --- | ||||
| type: rubygem | ||||
| name: mime-types | ||||
| version: '3.0' | ||||
| summary: The mime-types library provides a library and registry for information about | ||||
|   MIME content type definitions | ||||
| homepage: https://github.com/mime-types/ruby-mime-types/ | ||||
| license: mit | ||||
| --- | ||||
| == Licence | ||||
|  | ||||
| *   Copyright 2003–2015 Austin Ziegler. | ||||
|  | ||||
| The software in this repository is made available under the MIT license. | ||||
|  | ||||
| === MIT License | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||||
| this software and associated documentation files (the "Software"), to deal in | ||||
| the Software without restriction, including without limitation the rights to | ||||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||||
| of the Software, and to permit persons to whom the Software is furnished to do | ||||
| so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
		Reference in New Issue
	
	Block a user