Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev update #154

Merged
merged 504 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
504 commits
Select commit Hold shift + click to select a range
1403e1e
Fix tests to match new atomic syntax; add translation of ```|> ignore```
dpanfilyonok Aug 1, 2021
54e7bc6
Add some tests for atomics and for few new features
dpanfilyonok Aug 2, 2021
a369238
Add correct address space qualifier for atomics
dpanfilyonok Aug 3, 2021
e72afd5
Move and rename quotation transformers files
dpanfilyonok Aug 3, 2021
ff004cd
Make method translation polymorphic
dpanfilyonok Aug 4, 2021
32a8113
Fix bugs and cleanup code
dpanfilyonok Aug 5, 2021
b92eb6e
Cleanup code and add tests on common api
dpanfilyonok Aug 7, 2021
04caaa6
Merge branch 'master' into atomic_support_2
dpanfilyonok Aug 7, 2021
550ec40
Fix atomic lambda matching and cleanup code
dpanfilyonok Aug 9, 2021
a590724
Fix old tests
dpanfilyonok Aug 9, 2021
debede5
Add docs for atomic usage
dpanfilyonok Aug 10, 2021
9524df5
Fix tests
dpanfilyonok Aug 11, 2021
a544d0c
Draft of mailbox processor based design.
gsvgit Aug 12, 2021
b1f7259
Merge branch 'master' into gpu_as_a_mailboxprocessor
gsvgit Aug 12, 2021
8a325d7
Basic example of data transfer.
gsvgit Aug 13, 2021
5e8a76b
More than one queue for GPU. Example of buffers sharing.
gsvgit Aug 13, 2021
955dcc2
Allocation is a method of GPU. Messages are refactored.
gsvgit Aug 13, 2021
d27a8af
Cleanup.
gsvgit Aug 13, 2021
5eb4c8c
Basics for kernel.
gsvgit Aug 13, 2021
40edf87
Kernel compilation and running.
gsvgit Aug 13, 2021
e7a2971
Small code cleanup
gsvgit Aug 13, 2021
597b5df
Migrate projects to net5.0
dpanfilyonok Aug 13, 2021
3a436dd
Small code cleanup.
gsvgit Aug 13, 2021
190b9b2
A bit more cleanup.
gsvgit Aug 13, 2021
3f39a50
Format ```build.fsx```, fix bug with dup changelog and change default…
dpanfilyonok Aug 13, 2021
06e790a
Array->GpuArray. It can be typed. Does not work.
gsvgit Aug 14, 2021
40dc0a6
Kernel execution is done!
gsvgit Aug 14, 2021
d4192c1
A bit more complex example of kernel.
gsvgit Aug 14, 2021
f301163
An example of library function.
gsvgit Aug 15, 2021
bed0f36
Barriers, waiting, more complicated example.
gsvgit Aug 17, 2021
2ebc7eb
Small cleanup.
gsvgit Aug 17, 2021
0a5eba9
Small cleanup.
gsvgit Aug 17, 2021
7b49565
Small cleanup.
gsvgit Aug 17, 2021
d78eb34
First version of matrix-matrix add
gsvgit Aug 19, 2021
e2bff0e
Fix spinlock and mutex local array initialization
dpanfilyonok Aug 22, 2021
074f352
EWizeAdd is ok.
gsvgit Aug 28, 2021
fe024a9
Code cleanup. Missed Free added.
gsvgit Aug 28, 2021
0a5f61b
Merge pull request #118 from dpanfilyonok/atomic_support_2
gsvgit Aug 31, 2021
c94a95a
Merge branch 'master' into repo
dpanfilyonok Sep 2, 2021
e6910c3
Matrix-matrix addition works fine. Should be refactored now.
gsvgit Sep 7, 2021
a5a33a2
Restructured.
gsvgit Sep 7, 2021
153a302
Buffer (GpuArray) refactoring.
gsvgit Sep 7, 2021
37a1312
Messaging improved.
gsvgit Sep 7, 2021
037af68
Messaging improved.
gsvgit Sep 7, 2021
6ec8654
Improve ocl context creation for tests on CI
dpanfilyonok Sep 8, 2021
2382362
Add linux CI build job
dpanfilyonok Sep 8, 2021
4a5b078
Bugs in buffer handling fixed.
gsvgit Sep 8, 2021
621bc5e
Use Release by default
gsvgit Sep 8, 2021
2e31797
Cleanup, fixes, benchmarks.
gsvgit Sep 10, 2021
da479eb
Small improvements and debug output.
gsvgit Sep 14, 2021
b1b6a43
NDRanges moved to F#
gsvgit Sep 14, 2021
dd200f9
ClException is moved to F#.
gsvgit Sep 14, 2021
6a09825
Clean up. C# projects are removed. All except tests can be compiled.
gsvgit Sep 14, 2021
e493110
Compilation of tests fixed.
gsvgit Sep 14, 2021
62bef70
Tests fixed.
gsvgit Sep 14, 2021
536a20d
Update opencl.dll path resolving
dpanfilyonok Sep 15, 2021
290be6d
Turn analyzers off.
gsvgit Sep 15, 2021
23eb06c
Small experiments with performance. Not finished.
gsvgit Sep 15, 2021
640b8c0
Fix dll path resolving
dpanfilyonok Sep 15, 2021
c0b3c2b
Merge pull request #119 from dpanfilyonok/repo
gsvgit Sep 15, 2021
8751eb2
Merge branch 'master' into gpu_as_a_mailboxprocessor
gsvgit Sep 16, 2021
cdb4e06
Manual merge. First compilable version. Not all stuff is merged.
gsvgit Sep 17, 2021
38568d7
Old files removed.
gsvgit Sep 17, 2021
eab192d
Mutexes are merged.
gsvgit Sep 17, 2021
8885cac
Fix for AtomicTransfromer form Dmitriy.
gsvgit Sep 19, 2021
6dcfcc9
Fix translation tests.
Sep 20, 2021
4080d64
Buffers instead of arrays.
gsvgit Sep 23, 2021
de0ff0e
Type parameters for messages are simplified.
gsvgit Sep 24, 2021
08e5cd8
Unnecessary channels are removed. Return codes handling are added.
gsvgit Sep 24, 2021
443556e
Try to fix test on local memory.
gsvgit Sep 24, 2021
3adfab8
Atomic test is turned off
gsvgit Sep 24, 2021
a91d0ec
Ignore data for experiments.
gsvgit Sep 24, 2021
9f39551
Merge remote-tracking branch 'origin/master' into gpu_as_a_mailboxpro…
gsvgit Sep 24, 2021
08e1bb2
Demo project removed.
gsvgit Sep 27, 2021
d345937
Merge branch 'prepare_to_release'
gsvgit Sep 27, 2021
ff8da64
Bump version to 2.0.0-alpha8
gsvgit Sep 27, 2021
288e7cc
Version up.
gsvgit Sep 27, 2021
4900dc3
Recreate solution, fix vscode debug config
dpanfilyonok Oct 9, 2021
41d0ec4
[WIP] Add boolean representation as cl_uchar
dpanfilyonok Oct 9, 2021
3846cfa
Make refactoring, add opencl CE
dpanfilyonok Oct 9, 2021
ca67253
[WIP] Make refactor
dpanfilyonok Oct 10, 2021
920dae1
[WIP] Refactor ```ClKernel``` and improve range creating
dpanfilyonok Oct 10, 2021
6dc2361
Fix tests
dpanfilyonok Oct 12, 2021
f275617
Fix qt for setters; add ```inParallel``` function; add tests
dpanfilyonok Oct 14, 2021
fea6fb1
Fix api and tests
dpanfilyonok Oct 14, 2021
400f741
Merge branch 'boolean_support' of https://github.com/dpanfilyonok/Bra…
gsvgit Oct 15, 2021
d6f607b
Merge branch 'dpanfilyonok-boolean_support'
gsvgit Oct 15, 2021
52bab50
Bump version to 2.0.0-alpha9
gsvgit Oct 15, 2021
a57364d
Version up.
gsvgit Oct 15, 2021
312b02e
Fix memory disposing; fix api
dpanfilyonok Oct 15, 2021
3db367c
Merge pull request #122 from dpanfilyonok/fixes
gsvgit Oct 16, 2021
17d2f3e
Bump version to 2.0.0-alpha9.1
gsvgit Oct 16, 2021
58b8cf8
Version up.
gsvgit Oct 23, 2021
a573580
Sbyte support (issue #115) + test for it.
gsvgit Oct 23, 2021
9c523e6
Tests on DUs.
gsvgit Oct 23, 2021
498b1f9
Tests on printf in kernels are turned on.
gsvgit Oct 23, 2021
2c0107b
Some tests on structs are turned on.
gsvgit Oct 23, 2021
5dd6263
Kernel compilation and executable object creation split.
gsvgit Oct 26, 2021
3d4d8cd
Add support of clcell in translator
dpanfilyonok Oct 31, 2021
9fe082c
Add tests for clcell usage
dpanfilyonok Oct 31, 2021
ab18aa8
Remove ComputeProvider entity
dpanfilyonok Nov 2, 2021
90170b0
Fix atomic support for new api
dpanfilyonok Nov 3, 2021
5b59cb3
Fix spinlock generation
dpanfilyonok Nov 3, 2021
c875db9
Fix inParallel func; switch ndranges to ref type
dpanfilyonok Nov 3, 2021
39f54c2
Try to run tests on all available devices. Not finished.
gsvgit Nov 11, 2021
2507613
Make translation stateful
dpanfilyonok Nov 11, 2021
3a12a95
Fix state builder stack trace display; fix bugs
dpanfilyonok Nov 11, 2021
b6bcc50
clinfo installation removed from windows build.
gsvgit Nov 12, 2021
07600a7
Fix test for atomics
gsvgit Nov 12, 2021
26d73f9
Fix for test on structs.
gsvgit Nov 12, 2021
33146d7
More barriers in atomic tests!
gsvgit Nov 12, 2021
ef2c75a
Change translation context; fix type translation
dpanfilyonok Nov 12, 2021
c43ad92
Move and rename some files
dpanfilyonok Nov 13, 2021
42b9366
Formatting clean up.
gsvgit Nov 15, 2021
325ebf7
Tests naming fixed and simplified.
gsvgit Nov 15, 2021
0d7a35d
Print OpenCL build log on kernel compilation failure.
gsvgit Nov 15, 2021
2aed38d
[WIP] Add tuples marshaling
dpanfilyonok Nov 18, 2021
286052a
Add custom marshaler
dpanfilyonok Nov 18, 2021
7c44900
Add records support; add tests
dpanfilyonok Nov 24, 2021
1882bbc
Clean up
dpanfilyonok Nov 24, 2021
ec65e97
Fix composite types translation stage
dpanfilyonok Nov 25, 2021
19025ff
Merge branch 'master' into composite-types
dpanfilyonok Nov 25, 2021
dd0f021
Clean up
dpanfilyonok Nov 25, 2021
8ff410f
Fix exceptions types; comment nowarn
dpanfilyonok Nov 26, 2021
17f05e4
Merge pull request #128 from dpanfilyonok/composite-types
gsvgit Nov 26, 2021
ee1db66
Bump version to 2.0.0-alpha9.2
gsvgit Nov 27, 2021
d6730e0
Merge branch 'master' into ClExecutable
gsvgit Nov 27, 2021
02502db
Merge branch 'ClExecutable'
gsvgit Nov 27, 2021
143ebc4
Refactor ```ClProgram``` code and some else
dpanfilyonok Dec 1, 2021
021dbff
Add another types of barriers
dpanfilyonok Dec 1, 2021
d391c40
Add bitwise xor, negation; fix test on parallel execution
dpanfilyonok Dec 2, 2021
bf34765
Add support of steped and non-integer loops
dpanfilyonok Dec 3, 2021
1785a09
Relax OpenCL library path import
dpanfilyonok Dec 3, 2021
139e294
Add transformation for min and max functions
dpanfilyonok Dec 21, 2021
aefda01
Add struct transfer support
dpanfilyonok Dec 21, 2021
caa4587
Add du support inside kernels
dpanfilyonok Dec 22, 2021
1a61780
Add atomic inc and dec for suitable types
dpanfilyonok Dec 23, 2021
c1bcea8
Make mem read write in parallel
dpanfilyonok Dec 23, 2021
7aea127
Cleanup; add tests
dpanfilyonok Dec 23, 2021
e3b4690
Fix remarks
dpanfilyonok Jan 2, 2022
88be551
Merge pull request #129 from dpanfilyonok/fixes
gsvgit Jan 3, 2022
8ddb624
Add support of getting workSize inside kernel
dpanfilyonok Jan 9, 2022
6f865f6
Fix opencl dll import
dpanfilyonok Jan 10, 2022
d565a9e
[WIP] Split ClContext into compilation and runtime
dpanfilyonok Feb 9, 2022
17b9a7d
Clean up
dpanfilyonok Feb 10, 2022
f54ac82
Merge pull request #131 from dpanfilyonok/bug/dll-import
gsvgit Feb 22, 2022
4d8e65b
Improve performance on blittable types
dpanfilyonok Mar 6, 2022
e0a9b86
Add abstraction over opencl device
dpanfilyonok Mar 6, 2022
79aceef
Clean up
dpanfilyonok Mar 9, 2022
2577b43
Try add self-hosted runner
gsvgit Mar 11, 2022
d2904b9
Fix tests running
dpanfilyonok Mar 22, 2022
ee100a0
Merge pull request #134 from dpanfilyonok/fix-tests
gsvgit Mar 23, 2022
4058b51
Bump version to 2.0.0-alpha9.3
gsvgit Mar 24, 2022
2d475fa
Turn tests off on Win.
gsvgit Mar 25, 2022
490e02d
Update badges.
gsvgit Mar 25, 2022
772f3f4
Refactor tests
dpanfilyonok Mar 29, 2022
141afb1
Merge master
dpanfilyonok Mar 29, 2022
9eb9341
Update build.yml
dpanfilyonok Mar 29, 2022
6a23e6e
Fix translator bug
dpanfilyonok Apr 6, 2022
84e1148
Merge pull request #136 from dpanfilyonok/fix-translator
gsvgit Apr 7, 2022
2abdfbc
Tests on local memory are turned on.
gsvgit Apr 8, 2022
63ce7e5
Bump version to 2.0.0-alpha9.4
gsvgit Apr 8, 2022
b4e74f1
Separate levels of abstraction
dpanfilyonok Apr 18, 2022
0464262
Add tests
dpanfilyonok Apr 29, 2022
52bafc9
Merge master
dpanfilyonok May 1, 2022
2d72d3c
Fix tests .fsproj and build.yml
dpanfilyonok May 1, 2022
fd29e4f
Optimize ```ClKernel``` creation
dpanfilyonok May 3, 2022
3a1670d
Merge pull request #137 from dpanfilyonok/memory-management
gsvgit May 4, 2022
ec5f272
Run tests on Windows only for side repositories. Self-hosted runner o…
gsvgit May 5, 2022
e154939
Link to build status fixed.
gsvgit May 5, 2022
27d38ab
Fix generic to private space conversion
dpanfilyonok May 6, 2022
a2874aa
Fix ref type detection
dpanfilyonok May 7, 2022
b6bd6e9
Merge pull request #138 from dpanfilyonok/fix
gsvgit May 7, 2022
b76f786
Bump version to 2.0.0-alpha9.5
gsvgit May 7, 2022
edcdeb3
Update README.md
gsvgit May 9, 2022
cb3ef8e
[Docs] Example for 2.0
gsvgit May 13, 2022
7a3f77e
[Docs] Detailed description of Brahma.FSharp.
gsvgit May 13, 2022
6bf5b94
[Docs] Cleanup
gsvgit May 13, 2022
add1afd
Add 'brahma' benchmarks for data transfer
dpanfilyonok May 15, 2022
4a592bf
[Docs] Compilable.
gsvgit May 16, 2022
ecb5a2e
[Docs] Small fix in main page styling.
gsvgit May 16, 2022
4494d3f
[Docs]. More cross-references.
gsvgit May 16, 2022
4fd31b4
Add more benchmarks
dpanfilyonok May 20, 2022
e41ca7d
Optimize kernel prepare
dpanfilyonok May 24, 2022
bf311a9
Fix benchmarks
dpanfilyonok May 27, 2022
a8dfc19
Fix benchmarks
dpanfilyonok May 27, 2022
167db49
Clean up benchmarks
dpanfilyonok May 31, 2022
960f81a
Fix toHost blittable
dpanfilyonok Jun 3, 2022
8f2d83e
Merge branch 'master' into profiling
dpanfilyonok Jun 3, 2022
bb65067
Change README.md
dpanfilyonok Jun 3, 2022
2d051af
Clean up
dpanfilyonok Jun 3, 2022
f2729cb
Fix remarks
dpanfilyonok Jun 3, 2022
4e17f32
Merge pull request #139 from dpanfilyonok/profiling
gsvgit Jun 3, 2022
56ef344
Bump version to 2.0.0-alpha9.6
gsvgit Jun 3, 2022
c3d37fb
Try add build docs workflow.
gsvgit Jun 6, 2022
e962ab2
Build docs workflow description fixed.
gsvgit Jun 6, 2022
e19be81
Add docs
dpanfilyonok Jul 1, 2022
19c03ee
Merge pull request #140 from dpanfilyonok/docs
gsvgit Jul 1, 2022
603b925
Small improvements in Readme.
gsvgit Jul 4, 2022
82206d8
Docs restructured.
gsvgit Jul 4, 2022
60e4c91
Docs formatting fixed.
gsvgit Jul 4, 2022
1ce4492
Atomics goes experimental.
gsvgit Jul 5, 2022
c150177
Bump version to 2.0.0
gsvgit Jul 5, 2022
df8b536
Documentation release of version 2.0.0
gsvgit Jul 5, 2022
8dab10f
Bump version to 2.0.0
gsvgit Jul 5, 2022
34fdf0b
Fix using multiple local values in atomic operations
dpanfilyonok Aug 5, 2022
b560b4d
Merge pull request #143 from dpanfilyonok/fix
gsvgit Aug 5, 2022
e19a65d
Bump version to 2.0.1
gsvgit Aug 5, 2022
5cf79df
Metadata updated
gsvgit Aug 5, 2022
453a7f1
Typos in CustomMarshaller.
gsvgit Oct 11, 2022
852b3e0
Typos in Body.
gsvgit Oct 11, 2022
a35cc3d
A bit more typos fixed.
gsvgit Oct 11, 2022
8dd2acb
Switch to .NET 7
gsvgit Dec 28, 2022
55e1138
Bump version to 2.0.2
gsvgit Dec 28, 2022
8c7e40b
Bump version to 2.0.2
gsvgit Dec 28, 2022
24113ea
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Dec 28, 2022
35c38be
Update dependencies.
gsvgit Jan 2, 2023
f79197e
Documentation generation fixed.
gsvgit Jan 2, 2023
338d33b
Use binaries from Release folder.
gsvgit Jan 2, 2023
58781ca
Disallow parallel generation.
gsvgit Jan 2, 2023
0d64bea
Yet another attempt to generate docs on Windows
gsvgit Jan 2, 2023
bbc3c7c
Bump version to 2.0.3
gsvgit Jan 4, 2023
3cacee6
Bump version to 2.0.3
gsvgit Jan 4, 2023
a7cfae9
Fix build script.
gsvgit Jan 4, 2023
d89761f
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Jan 4, 2023
2e28727
[Readme] Small cleanup.
gsvgit Jan 10, 2023
d4eb990
LocalMemSize and GlobalMemSize are properties of Device (fix for #145)
gsvgit Jan 12, 2023
fde6177
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Jan 12, 2023
16bb4fe
Workflow to publish packages on CI, not local.
gsvgit Jan 13, 2023
1231406
Missed `isOnCI` function added.
gsvgit Jan 13, 2023
d255ce5
More fixes in build script.
gsvgit Jan 13, 2023
0439e54
Update actions version in build-docks
gsvgit Jan 13, 2023
edf84a3
Update actions versions in build-on-push
gsvgit Jan 13, 2023
eddec31
Update actions versions in build-on-pr
gsvgit Jan 13, 2023
f0dd0f5
Ignore local stuff.
gsvgit Jan 13, 2023
71a7295
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Jan 13, 2023
ad64cb8
Fix publish workflow
gsvgit Jan 13, 2023
b078fb0
Bump version to 2.0.4
gsvgit Jan 13, 2023
c16c27c
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Jan 13, 2023
67f188f
Du not update Changelog on nuget publishing
gsvgit Jan 13, 2023
e99427b
Remove ReleaseDocs step from NuGet packets publishing.
gsvgit Jan 13, 2023
a05df15
Add release docks on tag push.
gsvgit Jan 13, 2023
850940e
[Readme] Add release instructions
gsvgit Jan 16, 2023
6d40061
Build in Release mode when Publish
gsvgit Feb 10, 2023
73939ad
Typed device extensions
gsvgit Feb 10, 2023
c105fcb
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Feb 10, 2023
0f4a57e
[README] Fixes in release instructions.
gsvgit Feb 10, 2023
9d902ab
Merge branch 'master' of https://github.com/YaccConstructor/Brahma.FS…
gsvgit Feb 10, 2023
fdff43c
Bump version to 2.0.5
gsvgit Feb 10, 2023
7a8809a
update: paket deps
IgorErin Jul 24, 2023
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
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"version": 1,
"isRoot": true,
"tools": {
"sourcelink": {
"version": "3.1.1",
"commands": [
"sourcelink"
]
},
"dotnet-reportgenerator-globaltool": {
"version": "4.2.15",
"commands": [
"reportgenerator"
]
},
"fake-cli": {
"version": "6.0.0-beta001",
"commands": [
"fake"
]
},
"paket": {
"version": "7.2.0",
"commands": [
"paket"
]
},
"fcswatch-cli": {
"version": "0.7.14",
"commands": [
"fcswatch"
]
},
"fsharp-analyzers": {
"version": "0.9.0",
"commands": [
"fsharp-analyzers"
]
},
"fantomas": {
"version": "5.1.5",
"commands": [
"fantomas"
]
}
}
}
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM fsharp:netcore

# Copy endpoint specific user settings into container to specify
# .NET Core should be used as the runtime.
COPY settings.vscode.json /root/.vscode-remote/data/Machine/settings.json

# Install git, process tools
RUN apt-get update && apt-get -y install git procps
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "MiniScaffold",
"dockerFile": "Dockerfile",
"appPort": [8080],
"extensions": [
"ionide.ionide-fsharp",
"ms-dotnettools.csharp",
"editorconfig.editorconfig",
"ionide.ionide-paket",
"ionide.ionide-fake"
]
}
7 changes: 7 additions & 0 deletions .devcontainer/settings.vscode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"FSharp.fsacRuntime":"netcore",
"FSharp.enableAnalyzers": true,
"FSharp.analyzersPath": [
"./packages/analyzers"
]
}
72 changes: 72 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# EditorConfig is awesome:
http://EditorConfig.org

# top-most EditorConfig file
root = true

# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
indent_style = space
indent_size = 4

[*.{fs,fsi,fsx,config}]
charset = utf-8
trim_trailing_whitespace = true

[paket.*]
trim_trailing_whitespace = true
indent_size = 2

[*.paket.references]
trim_trailing_whitespace = true
indent_size = 2

[*.yml]
trim_trailing_whitespace = true
indent_size = 2

[*.fsproj]
trim_trailing_whitespace = true
indent_size = 2

# fantomas conf
[*.fs]
fsharp_semicolon_at_end_of_line=false
fsharp_space_before_parameter=true
fsharp_space_before_lowercase_invocation=true
fsharp_space_before_uppercase_invocation=false
fsharp_space_before_class_constructor=false
fsharp_space_before_member=false
fsharp_space_before_colon=false
fsharp_space_after_comma=true
fsharp_space_before_semicolon=false
fsharp_space_after_semicolon=true
fsharp_indent_on_try_with=false
fsharp_space_around_delimiter=true
fsharp_max_if_then_else_short_width=80
fsharp_max_infix_operator_expression=80
fsharp_max_record_width=80
fsharp_max_record_number_of_items=1
fsharp_record_multiline_formatter=character_width
fsharp_max_array_or_list_width=80
fsharp_max_array_or_list_number_of_items=1
fsharp_array_or_list_multiline_formatter=character_width
fsharp_max_value_binding_width=80
fsharp_max_function_binding_width=80
fsharp_max_dot_get_expression_width=80
fsharp_multiline_block_brackets_on_same_column=true
fsharp_newline_between_type_definition_and_members=false
fsharp_keep_if_then_in_same_line=true
fsharp_max_elmish_width=80
fsharp_single_argument_web_mode=true
fsharp_align_function_signature_to_indentation=false
fsharp_alternative_long_member_definitions=false
fsharp_multi_line_lambda_closing_newline=true
fsharp_disable_elmish_syntax=false
fsharp_keep_indent_in_branch=false
fsharp_blank_lines_around_nested_multiline_expressions=false
fsharp_bar_before_discriminated_union_declaration=false
fsharp_strict_mode=false
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Auto detect text files
* text=auto

# Custom for Visual Studio
*.cs diff=csharp text=auto eol=lf
*.vb diff=csharp text=auto eol=lf
*.fs diff=csharp text=auto eol=lf
*.fsi diff=csharp text=auto eol=lf
*.fsx diff=csharp text=auto eol=lf
*.sln text eol=crlf merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
*.sh text eol=lf

# Standard to msysgit
*.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
39 changes: 20 additions & 19 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
### Description
## Description

Please provide a succinct description of your issue.
Please insert a description of your problem or question.

### Repro steps
## Error messages, screenshots

Please provide the steps required to reproduce the problem
Please add any error logs or screenshots if available.

1. Step A
## Failing test, failing GitHub repo, or reproduction steps

2. Step B
Please add either a failing test, a GitHub repo of the problem or detailed reproduction steps.

### Expected behavior
## Expected Behavior

Please provide a description of the behavior you expect.
Please define what you would expect the behavior to be like.

### Actual behavior

Please provide a description of the actual behavior you observe.

### Known workarounds
## Known workarounds

Please provide a description of any known workarounds.

### Related information

* Operating system
* Branch
* .NET Runtime, CoreCLR or Mono Version
* Performance information, links to performance testing scripts
## Other information

* Operating System:
- [ ] windows [insert version here]
- [ ] macOs [insert version]
- [ ] linux [insert flavor/version here]
* Platform
- [ ] dotnet core
- [ ] dotnet full
- [ ] mono
* Branch or release version:
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Proposed Changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

## Types of changes

What types of changes does your code introduce to Brahma.FSharp?
_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)


## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._

- [ ] Build and tests pass locally
- [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
- [ ] I have added necessary documentation (if appropriate)

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
48 changes: 48 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: BuildDocs

on:
push:
pull_request:
workflow_dispatch:

jobs:
win-build:
name: Windows Build Docs
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- name: System Info
run: systeminfo

- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: ./build.cmd BuildDocs
env:
CI: true

linux-build:
name: Linux Build Docs
runs-on: ubuntu-latest
steps:
- name: System Info
run: lscpu

- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: |
chmod +x ./build.sh
./build.sh BuildDocs
env:
CI: true
Loading
Loading