Skip to content

Commit

Permalink
Add support for Simple File Verification (#6098)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis authored Oct 19, 2022
1 parent 0f17801 commit ab040f2
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 3 deletions.
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ vendor/grammars/language-etc:
- source.opts
- source.record-jar
- source.sexp
- source.sfv
- source.shellcheckrc
- source.sieve
- source.smpl
Expand All @@ -555,6 +556,7 @@ vendor/grammars/language-etc:
- text.openbsd-pkg.desc
- text.savane
- text.xml.svg
- text.youtube
vendor/grammars/language-faust:
- source.faust
vendor/grammars/language-fontforge:
Expand Down
15 changes: 14 additions & 1 deletion lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4112,7 +4112,7 @@ Move:
type: programming
color: "#4a137a"
extensions:
- ".move"
- ".move"
tm_scope: source.move
ace_mode: text
language_id: 638334599
Expand Down Expand Up @@ -6155,6 +6155,19 @@ Sieve:
codemirror_mode: sieve
codemirror_mime_type: application/sieve
language_id: 208976687
Simple File Verification:
type: data
group: Checksums
color: "#C9BFED"
extensions:
- ".sfv"
aliases:
- sfv
tm_scope: source.sfv
ace_mode: ini
codemirror_mode: properties
codemirror_mime_type: text/x-properties
language_id: 735623761
Singularity:
type: programming
color: "#64E6AD"
Expand Down
29 changes: 29 additions & 0 deletions samples/Simple File Verification/linguist.sfv
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
lib\linguist\samples.rb a68f334c
lib\linguist\blob.rb 64839a5b
lib\linguist\linguist.bundle f432fe86
lib\linguist\file_blob.rb 89f0611a
lib\linguist\popular.yml 3d7ec880
lib\linguist\repository.rb 509d211c
lib\linguist\heuristics.yml 0d891788
lib\linguist\lazy_blob.rb 0ba1b9c7
lib\linguist\language.rb d24f20c8
lib\linguist\samples.json 1ce080b4
lib\linguist\tokenizer.rb 52f84158
lib\linguist\generic.yml 0186ffd2
lib\linguist\vendor.yml 496c5e23
lib\linguist\shebang.rb d4920ba5
lib\linguist\VERSION f931284a
lib\linguist\sha256.rb 6ea81c50
lib\linguist\version.rb 47439f57
lib\linguist\classifier.rb dde8616f
lib\linguist\heuristics.rb cd388744
lib\linguist\grammars.rb 15132734
lib\linguist\generated.rb ee53378f
lib\linguist\blob_helper.rb 38a1bbac
lib\linguist\documentation.yml 49190aab
lib\linguist\languages.yml 66e15e3f
lib\linguist\strategy\filename.rb 7d2bbb51
lib\linguist\strategy\extension.rb 2a33913d
lib\linguist\strategy\xml.rb a72a15eb
lib\linguist\strategy\modeline.rb 71705eab
lib\linguist\strategy\manpage.rb 7200a66c
55 changes: 55 additions & 0 deletions samples/Simple File Verification/openbsd.sfv
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
; Generated by RHash v1.4.0 on 2022-09-29 at 13:24.03
; Written by Kravchenko Aleksey (Akademgorodok) - http://rhash.sf.net/
;
; 126464 09:46.52 2022-04-12 7.1/amd64/BOOTIA32.EFI
; 141838 09:46.52 2022-04-12 7.1/amd64/BOOTX64.EFI
; 54 10:10.09 2022-04-12 7.1/amd64/BUILDINFO
; 43495 10:10.08 2022-04-12 7.1/amd64/INSTALL.amd64
; 1992 10:39.17 2022-04-12 7.1/amd64/SHA256
; 2144 10:39.56 2022-04-12 7.1/amd64/SHA256.sig
; 346820017 10:05.02 2022-04-12 7.1/amd64/base71.tgz
; 22876084 10:04.06 2022-04-12 7.1/amd64/bsd
; 22977229 10:04.07 2022-04-12 7.1/amd64/bsd.mp
; 4606368 10:10.08 2022-04-12 7.1/amd64/bsd.rd
; 10717184 10:10.09 2022-04-12 7.1/amd64/cd71.iso
; 89300 09:46.51 2022-04-12 7.1/amd64/cdboot
; 2048 09:46.51 2022-04-12 7.1/amd64/cdbr
; 75127448 10:05.28 2022-04-12 7.1/amd64/comp71.tgz
; 1474560 10:10.09 2022-04-12 7.1/amd64/floppy71.img
; 2810632 10:05.36 2022-04-12 7.1/amd64/game71.tgz
; 1690 10:39.56 2022-04-12 7.1/amd64/index.txt
; 696745984 10:28.18 2022-04-12 7.1/amd64/install71.img
; 588500992 10:27.52 2022-04-12 7.1/amd64/install71.iso
; 7783788 10:05.36 2022-04-12 7.1/amd64/man71.tgz
; 5832704 10:10.08 2022-04-12 7.1/amd64/miniroot71.img
; 98652 09:46.51 2022-04-12 7.1/amd64/pxeboot
; 56506993 10:27.06 2022-04-12 7.1/amd64/xbase71.tgz
; 23516363 10:27.17 2022-04-12 7.1/amd64/xfont71.tgz
; 20600147 10:27.18 2022-04-12 7.1/amd64/xserv71.tgz
; 4653425 10:27.18 2022-04-12 7.1/amd64/xshare71.tgz
7.1/amd64/BOOTIA32.EFI CDB08B3E
7.1/amd64/BOOTX64.EFI 71E3C089
7.1/amd64/BUILDINFO FC2804F3
7.1/amd64/INSTALL.amd64 5C3724AD
7.1/amd64/SHA256 0A058594
7.1/amd64/SHA256.sig 5FAA53E0
7.1/amd64/base71.tgz 13B2179E
7.1/amd64/bsd A80438B0
7.1/amd64/bsd.mp 2EB0BB0F
7.1/amd64/bsd.rd 85486877
7.1/amd64/cd71.iso 6E7472B3
7.1/amd64/cdboot E7F94BEF
7.1/amd64/cdbr 9F51A0BC
7.1/amd64/comp71.tgz B61ED148
7.1/amd64/floppy71.img 69D61355
7.1/amd64/game71.tgz C82C5F13
7.1/amd64/index.txt A615F95F
7.1/amd64/install71.img 701E882D
7.1/amd64/install71.iso B9CA3606
7.1/amd64/man71.tgz 57B33255
7.1/amd64/miniroot71.img E9447B9B
7.1/amd64/pxeboot CAB04BB8
7.1/amd64/xbase71.tgz C9B24329
7.1/amd64/xfont71.tgz EE8F05F4
7.1/amd64/xserv71.tgz 9F1F9787
7.1/amd64/xshare71.tgz 00474C06
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **ShellSession:** [atom/language-shellscript](https://github.com/atom/language-shellscript)
- **Shen:** [rkoeninger/sublime-shen](https://github.com/rkoeninger/sublime-shen)
- **Sieve:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **Simple File Verification:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **Singularity:** [onnovalkering/vscode-singularity](https://github.com/onnovalkering/vscode-singularity)
- **Slash:** [slash-lang/Slash.tmbundle](https://github.com/slash-lang/Slash.tmbundle)
- **Slice:** [zeroc-ice/vscode-slice](https://github.com/zeroc-ice/vscode-slice)
Expand Down
2 changes: 1 addition & 1 deletion vendor/licenses/git_submodule/language-etc.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: language-etc
version: 2ab09f098fd13a84c391d726c977d6d187aee62f
version: 7f0f5daed430aa8d8b85c91850743beaff781909
type: git_submodule
homepage: https://github.com/Alhadis/language-etc
license: isc
Expand Down

0 comments on commit ab040f2

Please sign in to comment.