Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
af08bf5
Bundled assets restructure
webmaster442 May 8, 2025
f369ac8
Work on new Lib
webmaster442 May 9, 2025
a14cb4c
Work on core libary
webmaster442 May 9, 2025
61fabf4
Work on core libary
webmaster442 May 9, 2025
a68fad4
Merge branch 'NextGen' of github.com:webmaster442/BookGen into NextGen
webmaster442 May 9, 2025
65a3d13
App settings
webmaster442 May 10, 2025
a344277
Contents assembly and assets creation
webmaster442 May 10, 2025
e1fb8e4
Test project and some tests
webmaster442 May 10, 2025
6013f25
Work on Template engine
webmaster442 May 10, 2025
d2c27a7
Template engine tested
webmaster442 May 11, 2025
bdcb393
BookGen Shellprogs initial port
webmaster442 May 11, 2025
1329949
Booken Shell Helper ported
webmaster442 May 11, 2025
e83a0f0
Organize code
webmaster442 May 11, 2025
728574e
Organize command ported
webmaster442 May 11, 2025
45f9385
Old shell deleted
webmaster442 May 11, 2025
d5b1301
Code that will be not ported is deleted
webmaster442 May 11, 2025
ff79d87
Template engine continued
webmaster442 May 11, 2025
0d3689f
More cleanup
webmaster442 May 11, 2025
3b563b8
Img Service test
webmaster442 May 11, 2025
b42d5b9
Stricter editorconfig
webmaster442 May 11, 2025
3c57aa8
Old test cleanup
webmaster442 May 11, 2025
63aa626
Shell Autocomplete tests
webmaster442 May 11, 2025
74463a8
Markdown converter tests extended
webmaster442 May 11, 2025
0bbc480
BookGen porting started
webmaster442 May 11, 2025
51442be
BookGen cli: Validation abstraction
webmaster442 May 12, 2025
5754204
Ported Html2Pdf, Html2Png and Version command
webmaster442 May 12, 2025
a940c23
Bookgen porting
webmaster442 May 13, 2025
7f797d2
Bookgen porting
webmaster442 May 13, 2025
91b4357
Removed old code
webmaster442 May 13, 2025
181dc0c
Ported HTTP Server code
webmaster442 May 13, 2025
dd61511
Work on pipelines
webmaster442 May 13, 2025
c8020e6
Work on pipelines
webmaster442 May 13, 2025
d338389
Merge branch 'NextGen' of github.com:webmaster442/BookGen into NextGen
webmaster442 May 13, 2025
9e621c7
Json Schema exporting
webmaster442 May 15, 2025
7a66b1c
Removed assets that are not needed
webmaster442 May 15, 2025
60655f2
NewPage command
webmaster442 May 15, 2025
374d03a
Bunch of commands ported
webmaster442 May 15, 2025
84f2d55
Math2SVG port and QrCode command port
webmaster442 May 15, 2025
6a18aea
Work on Md2html port
webmaster442 May 15, 2025
a591b1a
Md2Html port
webmaster442 May 15, 2025
f1cdd87
Md2Html command
webmaster442 May 17, 2025
3551bc9
Md2Html test
webmaster442 May 17, 2025
50b59c7
Vfs: Sepparate lib, work in progress
webmaster442 May 17, 2025
7cc25fc
File system refactor
webmaster442 May 17, 2025
6bc9ee2
Md2html test fixes
webmaster442 May 17, 2025
956fbcd
Fix exception on load
webmaster442 May 17, 2025
c37be2d
Work on AddFrontMatter command
webmaster442 May 17, 2025
7cac8a8
Work on newbook command
webmaster442 May 17, 2025
13e7875
Newbook command, documentation update
webmaster442 May 17, 2025
3ed1eb9
Work on static page pipeline
webmaster442 May 17, 2025
31fcdf9
Work on pipeline
webmaster442 May 17, 2025
652a1eb
Work on static website pipeline
webmaster442 May 18, 2025
f1ed73d
Config command
webmaster442 May 18, 2025
41dd7e9
Render pages finished
webmaster442 May 18, 2025
7fc8751
Config validation
webmaster442 May 18, 2025
fe52982
Prepare for wordpress PipeLine
webmaster442 May 18, 2025
d239581
Work on Wordpress pipeline
webmaster442 May 18, 2025
3c5f5be
Work on wordpress pipeline
webmaster442 May 18, 2025
81eb928
Wordpress pipeline port
webmaster442 May 19, 2025
9403755
Wordpress generator pipeline ported
webmaster442 May 19, 2025
fe8b59f
Old code cleanup
webmaster442 May 19, 2025
d838973
Shell command
webmaster442 May 20, 2025
91c9533
IoC extension for optional arguments
webmaster442 May 20, 2025
b535219
Addfrontmatter fixes
webmaster442 May 20, 2025
9c6c409
Schemas command
webmaster442 May 20, 2025
b27ca23
SourceLink enabled and test sdk update
webmaster442 May 20, 2025
05b3827
Wordpress pipeline changes
webmaster442 May 20, 2025
97d18ea
PipeLine refactors
webmaster442 May 20, 2025
0814cdd
Validate command
webmaster442 May 22, 2025
39ce717
Command renaming
webmaster442 May 22, 2025
e4b371d
Gui command
webmaster442 May 22, 2025
96cb4bc
Command runner prory abstraction and crash fixes
webmaster442 May 23, 2025
2972d34
Command runner basic tests
webmaster442 May 23, 2025
daf2a34
Validate command fix
webmaster442 May 23, 2025
625a558
Command runner abstraction improvements
webmaster442 May 23, 2025
3c26fbf
Gui improvements
webmaster442 May 23, 2025
2c2a52a
Work on print pipeline
webmaster442 May 23, 2025
4903137
Editorconfig update
webmaster442 May 23, 2025
062c60c
Print and wordpress build commands
webmaster442 May 23, 2025
0f1fec8
Gui command fixes
webmaster442 May 23, 2025
403e078
Assets zip handling
webmaster442 May 23, 2025
35f8994
Schemas command fixes
webmaster442 May 23, 2025
d5fed2e
Md2html fixes
webmaster442 May 23, 2025
2a49381
Bootstappers
webmaster442 May 23, 2025
c2b14e4
Bootsrapper fixes
webmaster442 May 23, 2025
e0c13f5
Work on windows publish script
webmaster442 May 23, 2025
5c036c0
Cleanup of old setup and scripts
webmaster442 May 24, 2025
0d725f9
New Build scripts
webmaster442 May 24, 2025
0903de0
Static web rendering: read in all files
webmaster442 May 24, 2025
de17618
Legacy config port step 1
webmaster442 May 24, 2025
4f2b3e6
Legacy config classes
webmaster442 May 24, 2025
09e3268
Legacy upgrade pipeline started
webmaster442 May 24, 2025
98a437e
Legacy ToC loading
webmaster442 May 24, 2025
773d6c7
Bootstrappers slnx conversion
webmaster442 May 24, 2025
b4d6500
Migration backend completed
webmaster442 May 24, 2025
12d66e1
Migrate command
webmaster442 May 25, 2025
605ab31
Command execution time measured
webmaster442 May 26, 2025
d31cc53
Config handling upgraded
webmaster442 May 26, 2025
c4bb386
Migrate : Mostly working
webmaster442 May 26, 2025
e35fa75
Config files by default create schema with schema help
webmaster442 May 26, 2025
9b1f75b
Log level configuring via a hook
webmaster442 May 27, 2025
140fed3
no runtime printing toggling
webmaster442 May 27, 2025
6f7ad96
Print pipeline fixed, Frontmatter reading fails?
webmaster442 May 27, 2025
e30b98c
Fix failing tests
webmaster442 May 27, 2025
7eb5504
YAML Front matter reading fixed
webmaster442 May 27, 2025
abce402
Configuration for rendering table of contents
webmaster442 May 28, 2025
a3b93cf
Table of contents rendering for static pages
webmaster442 May 28, 2025
97c72f4
Assembly documenter
webmaster442 May 28, 2025
0fef060
Rerpoweb command
webmaster442 May 28, 2025
9fd1544
Standalone ToC file rendering
webmaster442 May 31, 2025
2409a58
Print template integrated
webmaster442 May 31, 2025
71cf417
Bookgen Css and script update
webmaster442 May 31, 2025
7d1087e
Templates update
webmaster442 May 31, 2025
39a5101
Post process build
webmaster442 May 31, 2025
6348d42
BookGenShell: Extended with WGet
webmaster442 Jun 1, 2025
17f1a85
Piplenine refactor
webmaster442 Jun 1, 2025
47d3798
CrashDump improvements
webmaster442 Jun 1, 2025
95dfce6
Progress on stat command
webmaster442 Jun 1, 2025
faa8952
Stats command
webmaster442 Jun 2, 2025
a49b21e
Git untrusted directory parsing
webmaster442 Jun 3, 2025
00607ba
Crash fixes in static website generation
webmaster442 Jun 7, 2025
f1c785d
ViewData extended with host
webmaster442 Jun 7, 2025
1155c35
Static pages: reference prism.js in template
webmaster442 Jun 7, 2025
0a987dd
Logger fix
webmaster442 Jun 7, 2025
0290e90
Folder protection fix
webmaster442 Jun 7, 2025
16deb93
Static page genration: Rendering of index.html
webmaster442 Jun 7, 2025
cbc07c1
Fix for page rendering
webmaster442 Jun 7, 2025
4c3b935
Gui command rework
webmaster442 Jun 7, 2025
d55a7b8
Toc Render fixes and Gui progress
webmaster442 Jun 7, 2025
79e549a
Command runner: Argument type finding improvements
webmaster442 Jun 8, 2025
ec773e9
Argument parser: Improve handling
webmaster442 Jun 8, 2025
47d6410
Static page rendering fixes
webmaster442 Jun 8, 2025
9829b74
MathJax interop
webmaster442 Jun 8, 2025
1b720e5
Assets restructure
webmaster442 Jun 9, 2025
08872b3
Math2Svg now uses MathJax
webmaster442 Jun 9, 2025
9dad6bf
Commands.md updated
webmaster442 Jun 9, 2025
12c3e45
QrCode command now runs local
webmaster442 Jun 9, 2025
9eb17d6
NuGet package updates
webmaster442 Jun 9, 2025
ab18a8a
Improved folder locking
webmaster442 Jun 14, 2025
130c47c
NuGet package updates
webmaster442 Jun 14, 2025
8dcb69b
Template engine functions
webmaster442 Jun 14, 2025
a338ef5
Fixes in Build command and gui command
webmaster442 Jun 15, 2025
74ca4fb
Static page generation: Toc rendering improved
webmaster442 Jun 15, 2025
616b6be
LastModified timeStamp added to ViewData
webmaster442 Jun 15, 2025
f79571d
Remove old code
webmaster442 Jun 15, 2025
15da0f3
HTTP server improvements
webmaster442 Jun 15, 2025
5a92b0f
Pager script generation
webmaster442 Jun 15, 2025
a2cb6bd
Threadding issue fix in static website generation
webmaster442 Jun 15, 2025
ebd9aee
Template engine improvements
webmaster442 Jun 16, 2025
54f977b
Fixes wordpress exprt file generation
webmaster442 Jun 17, 2025
fe7229a
Json schema improvements
webmaster442 Jun 19, 2025
a934344
Migration code fixes
webmaster442 Jun 26, 2025
0dff3ad
Shell improvements
webmaster442 Jun 26, 2025
86feb5d
Image convert command
webmaster442 Jun 26, 2025
35bee56
Youtube inline rendering
webmaster442 Jun 29, 2025
93beeee
Migration rework
webmaster442 Jun 29, 2025
9599896
Config ugrade
webmaster442 Jun 29, 2025
ef9f1f6
Namespace adjustments
webmaster442 Jun 29, 2025
af87cba
Config updater working
webmaster442 Jun 30, 2025
361ff55
Imgconvert documented
webmaster442 Jun 30, 2025
ecb1c6b
NuGet update
webmaster442 Jun 30, 2025
83a4cfd
VsTasks command
webmaster442 Jul 4, 2025
128dd42
Stats command improvements
webmaster442 Jul 4, 2025
df3fb32
Fixes vs code tasks generation
webmaster442 Jul 6, 2025
4e7ce82
Github release api types and API client
webmaster442 Jul 8, 2025
ad051eb
Tool downloader skeletons
webmaster442 Jul 8, 2025
2c922b0
Tool downloader base finished, Pandoc downloads correctly
webmaster442 Jul 8, 2025
db03eb8
Microsoft edit tool downloader
webmaster442 Jul 8, 2025
c5679c9
Tool downloader refinements
webmaster442 Jul 8, 2025
cd71af7
Epub domain classes
webmaster442 Jul 10, 2025
c0c2b44
Toggle mode for youtube embedding
webmaster442 Jul 14, 2025
47aec38
Image service: Refactors for epub output prepare
webmaster442 Jul 14, 2025
715e1b9
Epub rendering basics
webmaster442 Jul 15, 2025
54674fb
Image service refactors for epub creation
webmaster442 Jul 15, 2025
58cdc16
Epub rendering progress
webmaster442 Jul 15, 2025
5b4e45b
Work on Epub generation
webmaster442 Jul 15, 2025
791de9e
Addeb BuildEpub command
webmaster442 Jul 15, 2025
cb95962
Epub css and template
webmaster442 Jul 15, 2025
102e16d
Epub Generation progress
webmaster442 Jul 15, 2025
d54ba21
Epub generates, not valid file at this moment, has content.opf issues…
webmaster442 Jul 15, 2025
aadf29e
Epub generation improvements, content.opf fixes
webmaster442 Jul 16, 2025
f601b89
Epub 3.3 support - nav.xhtml is still invalid
webmaster442 Jul 16, 2025
d4a11bd
Valid EPUB generation
webmaster442 Jul 16, 2025
27ef0c8
Added validation notice
webmaster442 Jul 16, 2025
f10d83e
Epub images are now png
webmaster442 Jul 16, 2025
8a28a54
Updated todo document
webmaster442 Jul 16, 2025
3368419
Assets.zip as post build event
webmaster442 Jul 16, 2025
91204cb
Epub css adjustments
webmaster442 Jul 16, 2025
834038a
Some epub improvements
webmaster442 Jul 16, 2025
147af01
Package fixes
webmaster442 Jul 17, 2025
7c10a71
Index creation, fixes crash in kobo reader
webmaster442 Jul 17, 2025
49acd73
Config: Added language and author info
webmaster442 Jul 20, 2025
73cdb8d
Tool downloader improvements
webmaster442 Jul 24, 2025
ab2f7bd
Tool download: hash verify
webmaster442 Jul 25, 2025
2364130
Svg.Skia updated
webmaster442 Jul 26, 2025
ca0985e
Removed Github.SourceLink package
webmaster442 Jul 26, 2025
0b0cf20
Commands fix
webmaster442 Jul 26, 2025
e1ac07d
Fonts adjusted in styles and Epub font include
webmaster442 Aug 16, 2025
4d42226
Epub improvements
webmaster442 Aug 19, 2025
eef7bf6
Dependencies update
webmaster442 Aug 19, 2025
620dae4
Wordpress templating
webmaster442 Aug 21, 2025
e11893c
Feed config added
webmaster442 Aug 21, 2025
f0da003
RSS/Atom feed build commands
webmaster442 Aug 21, 2025
b079a94
ANSI escape code rendering in SyntaxRenderer for terminal output
webmaster442 Aug 21, 2025
25df087
Links command
webmaster442 Aug 22, 2025
6400c1b
Issue fixes, link exctraction buggy
webmaster442 Aug 22, 2025
b08d203
Links command working
webmaster442 Aug 22, 2025
1ff0c18
License headers
webmaster442 Aug 22, 2025
9168dac
SVG lib update
webmaster442 Aug 25, 2025
ee47c97
Shortcut command
webmaster442 Aug 27, 2025
81fe2cf
Added copyparty tool downloader
webmaster442 Aug 27, 2025
6e29d04
Shortcut command adjustments
webmaster442 Sep 1, 2025
44cbf54
Dependencies update
webmaster442 Sep 9, 2025
c658cb5
Updates markdig
webmaster442 Sep 12, 2025
198ef0d
License header update
webmaster442 Sep 16, 2025
7d71867
Package locking
webmaster442 Sep 19, 2025
548d94c
Package locking
webmaster442 Sep 19, 2025
743d0ab
Upgrade command
webmaster442 Sep 21, 2025
7672f42
Pipelines update
webmaster442 Sep 21, 2025
16e6a56
CodeQL update
webmaster442 Sep 21, 2025
c909ef9
.NET 10 peview install
webmaster442 Sep 27, 2025
f1410c4
Async Zip Api
webmaster442 Sep 28, 2025
96cfb5a
Removed unused cancellation token
webmaster442 Sep 28, 2025
b1dbcf6
Fix failing tests
webmaster442 Sep 30, 2025
e0ecb3a
Central package management
webmaster442 Sep 30, 2025
1eeca8c
Shortcut command reworked
webmaster442 Oct 1, 2025
45fdca4
Work on new release structure
webmaster442 Oct 1, 2025
a4ed21d
Work on installer
webmaster442 Oct 4, 2025
7588e0b
Commands update & test fixes
webmaster442 Oct 4, 2025
facf201
Refactor & Code cleanup
webmaster442 Oct 4, 2025
3a93c91
Single page html templates
webmaster442 Oct 5, 2025
9199e80
Shell update
webmaster442 Oct 5, 2025
3fbc1f8
Manual update
webmaster442 Oct 5, 2025
e8cb548
Small refactors
webmaster442 Oct 11, 2025
9de6ce4
Mediator cleanup: Not used at all
webmaster442 Oct 19, 2025
a57f822
Mediator cleanup: Not used at all
webmaster442 Oct 19, 2025
d82bf4a
Transition to use Microsoft DI
webmaster442 Oct 19, 2025
d10e59b
.NET Update
webmaster442 Oct 19, 2025
4f7f5ab
Weather command for shell
webmaster442 Nov 5, 2025
8afae48
Updated packages
webmaster442 Nov 5, 2025
7d680e4
Restructure Commands.md
webmaster442 Nov 5, 2025
5c25734
Fix failing tests?
webmaster442 Nov 5, 2025
8c3e6f7
Fix failing tests?
webmaster442 Nov 5, 2025
1079675
Merge branch 'NextGen' of github.com:webmaster442/BookGen into NextGen
webmaster442 Nov 5, 2025
e17f220
Fix tests
webmaster442 Nov 5, 2025
6363936
Fix tests
webmaster442 Nov 5, 2025
b148f79
Dotnet format
webmaster442 Nov 5, 2025
233723c
.NET 10 update
webmaster442 Nov 13, 2025
c0a4574
2025-11-16 Prerelease
webmaster442 Nov 16, 2025
fa16712
Pipeline updates
webmaster442 Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 47 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ root = true
# All files
[*]
indent_style = space
dotnet_diagnostic.CA1047.severity = error

# Xml files
[*.xml]
Expand Down Expand Up @@ -58,7 +59,7 @@ dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_prefer_auto_properties = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = false:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
Expand Down Expand Up @@ -86,7 +87,7 @@ csharp_style_var_when_type_is_apparent = false:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_lambdas = true:suggestion
csharp_style_expression_bodied_lambdas = when_on_single_line:error
csharp_style_expression_bodied_local_functions = false:silent
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_operators = false:silent
Expand Down Expand Up @@ -170,15 +171,32 @@ csharp_space_between_square_brackets = false
# Wrapping preferences
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true
csharp_style_namespace_declarations = file_scoped:silent
csharp_style_namespace_declarations = file_scoped:error
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = false:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
csharp_style_prefer_readonly_struct = true:suggestion
csharp_style_prefer_readonly_struct_member = true:suggestion
dotnet_diagnostic.CA1070.severity = error
dotnet_diagnostic.CA1032.severity = error
dotnet_diagnostic.CA1865.severity = error
dotnet_diagnostic.CA1866.severity = error
dotnet_diagnostic.CA1867.severity = error
dotnet_diagnostic.CA2014.severity = error
csharp_prefer_system_threading_lock = true:suggestion
csharp_style_prefer_unbound_generic_type_in_nameof = true:suggestion
csharp_style_prefer_implicitly_typed_lambda_expression = true:suggestion
csharp_style_prefer_simple_property_accessors = true:suggestion
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent

#### Naming styles ####
[*.{cs,vb}]
Expand Down Expand Up @@ -370,10 +388,32 @@ dotnet_naming_style.s_camelcase.required_prefix = s_
dotnet_naming_style.s_camelcase.required_suffix =
dotnet_naming_style.s_camelcase.word_separator =
dotnet_naming_style.s_camelcase.capitalization = camel_case
dotnet_style_prefer_collection_expression = when_types_exactly_match:suggestion
dotnet_style_namespace_match_folder = true:error
tab_width = 4
indent_size = 4
end_of_line = crlf
dotnet_style_namespace_match_folder = true:suggestion
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
dotnet_diagnostic.CA2253.severity = error
dotnet_diagnostic.CA1000.severity = silent
dotnet_diagnostic.CA1001.severity = warning
dotnet_diagnostic.CA1002.severity = suggestion
dotnet_diagnostic.CA1008.severity = error
dotnet_diagnostic.CA1061.severity = error
dotnet_diagnostic.CA1063.severity = error
dotnet_diagnostic.CA2000.severity = error
dotnet_diagnostic.CA1816.severity = error
dotnet_diagnostic.CA2213.severity = error
dotnet_diagnostic.CA2215.severity = error
dotnet_diagnostic.CA1064.severity = error
dotnet_diagnostic.CA1069.severity = error
dotnet_diagnostic.CA1401.severity = error
dotnet_diagnostic.CA1501.severity = error
dotnet_diagnostic.CA1700.severity = error
dotnet_diagnostic.CA1821.severity = error
dotnet_diagnostic.CA1836.severity = error
dotnet_diagnostic.CA1843.severity = error
dotnet_diagnostic.CA1842.severity = error
dotnet_diagnostic.CA2011.severity = error
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
insert_final_newline = true

160 changes: 101 additions & 59 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,65 +1,107 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
## Set Git attributes for paths including line ending
## normalization, diff behavior, etc.
##
## Get latest from `dotnet new gitattributes`

# Auto detect text files and perform LF normalization
* text=auto
*.sh text eol=lf
/Scripts/BookGen text eol=lf

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
# The above will handle all files NOT found below
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
*.cs text diff=csharp
*.cshtml text diff=html
*.csx text diff=csharp
*.sln text eol=crlf

# Content below from: https://github.com/gitattributes/gitattributes/blob/master/Common.gitattributes

# Documents
*.bibtex text diff=bibtex
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text diff=markdown
*.mdx text diff=markdown
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
# Per RFC 4180, .csv should be CRLF
*.csv text eol=crlf
*.tab text
*.tsv text
*.txt text
*.sql text
*.epub diff=astextplain

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as text by default.
*.svg text
# If you want to treat it as binary,
# use the following line instead.
# *.svg binary
*.eps binary

# Scripts
# Force Unix scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work
*.bash text eol=lf
*.fish text eol=lf
*.ksh text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
# Likewise, force cmd and batch scripts to always use crlf
*.bat text eol=crlf
*.cmd text eol=crlf

# Serialization
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.bz binary
*.bz2 binary
*.bzip2 binary
*.gz binary
*.lz binary
*.lzma binary
*.rar binary
*.tar binary
*.taz binary
*.tbz binary
*.tbz2 binary
*.tgz binary
*.tlz binary
*.txz binary
*.xz binary
*.Z binary
*.zip binary
*.zst binary

# Text files where line endings should be preserved
*.patch -text

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
11 changes: 6 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ jobs:

#https://github.com/actions/setup-dotnet/blob/main/README.md
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
dotnet-version: 10.0.x
dotnet-quality: 'ga'
#dotnet-quality: 'preview'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-extended
Expand All @@ -67,7 +68,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -80,6 +81,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
7 changes: 5 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ jobs:
submodules: recursive
#https://github.com/actions/setup-dotnet/blob/main/README.md
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
dotnet-version: 10.0.x
dotnet-quality: 'ga'
#dotnet-quality: 'preview'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
Loading
Loading