Skip to content

Commit

Permalink
Fix .gitattributes to use working-tree-encoding and renormalize files
Browse files Browse the repository at this point in the history
c:> git add . --renormalize
  • Loading branch information
wqweto committed Dec 2, 2022
1 parent 138cea2 commit a6a5c17
Show file tree
Hide file tree
Showing 7 changed files with 2,008 additions and 1,962 deletions.
127 changes: 86 additions & 41 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,41 +1,86 @@
# Default to binary (no diff)

#* binary

# VB6 source files (show diff + keep CRLF in zip download)

.bas text=auto eol=crlf
.cls text=auto eol=crlf
.ctl text=auto eol=crlf
.dob text=auto eol=crlf
.dsr text=auto eol=crlf
.frm text=auto eol=crlf
.pag text=auto eol=crlf
.vbg text=auto eol=crlf
.vbl text=auto eol=crlf
.vbp text=auto eol=crlf
.vbr text=auto eol=crlf
.vbw text=auto eol=crlf

# Other source files (show diff + LF only in zip download)

.asm text=auto
.asp text=auto
.bat text=auto
.c text=auto
.cpp text=auto
.dsp text=auto
.dsw text=auto
.h text=auto
.idl text=auto
.java text=auto
.js text=auto
.manifest text=auto
.odl text=auto
.php text=auto
.php3 text=auto
.rc text=auto
.sln text=auto
.sql text=auto
.vb text=auto
.vbs text=auto
# VB6 source files (show diff + keep CRLF in zip download)

*.bas working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.cls working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.ctl working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.dob working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.dsr working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.frm working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.pag working-tree-encoding=CP1252 text eol=crlf linguist-language=Visual-Basic-6.0
*.vbg working-tree-encoding=CP1252 text eol=crlf
*.vbl working-tree-encoding=CP1252 text eol=crlf
*.vbp working-tree-encoding=CP1252 text eol=crlf
*.vbr working-tree-encoding=CP1252 text eol=crlf
*.vbw working-tree-encoding=CP1252 text eol=crlf

# Other source files (show diff + LF only in zip download)

*.asm text
*.asp text
*.bat text
*.c text
*.cpp text
*.dsp text
*.dsw text
*.h text
*.idl text
*.java text
*.js text
*.manifest text
*.odl text
*.php text
*.php3 text
*.rc text
*.sln text
*.sql text
*.vb text
*.vbs text

# Binary

*.res binary
*.frx binary
*.ctx binary
*.dsx binary
*.exe binary
*.dll binary
*.ocx binary
*.cmp binary
*.pdb binary
*.tlb binary
*.xls binary
*.doc binary
*.ppt binary
*.xlsx binary
*.docx binary
*.pptx binary
*.chm binary
*.hlp binary
*.jpg binary
*.png binary
*.bmp binary
*.gif binary
*.ico binary
*.zip binary
*.cab binary
*.7z binary
*.gz binary

# Text files but keep as binary (no diff)

# *.cfg text
# *.conf text
# *.csi text
# *.css text
# *.csv text
# *.def text
# *.htm text
# *.html text
# *.inf text
# *.ini text
# *.log text
# *.reg text
# *.rtf text
# *.txt text
# *.url text
# *.xml text
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.scc
*.dca
*.oca
*.obj
vb*.tmp
*.vbw
*.scc
*.dca
*.oca
*.obj
vb*.tmp
*.vbw
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License
Copyright (c) 2022 Vladimir Vissoultchev
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.
MIT License

Copyright (c) 2022 Vladimir Vissoultchev

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 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div align="center">
<img width="407" height="463" src="https://dl.unicontsoft.com/upload/pix/ss_qr_code3.png">

## VbQRCodegen
QR Code generator library for VB6/VBA
</div>

### Description

A single file QR Code generator based on https://www.nayuki.io/page/qr-code-generator-library

### Usage

Just add `mdQRCodegen.bas` to your project and call `QRCodegenBarcode` function to retrieve an StdPicture from a text or a byte-array.

<div align="center">
<img width="407" height="463" src="https://dl.unicontsoft.com/upload/pix/ss_qr_code3.png">

## VbQRCodegen
QR Code generator library for VB6/VBA
</div>

### Description

A single file QR Code generator based on https://www.nayuki.io/page/qr-code-generator-library

### Usage

Just add `mdQRCodegen.bas` to your project and call `QRCodegenBarcode` function to retrieve an StdPicture from a text or a byte-array.

Loading

0 comments on commit a6a5c17

Please sign in to comment.