Skip to content

JS Impl #186

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

Open
wants to merge 45 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
63738af
First stab at V8 Implementation
alexanderoster Oct 21, 2022
e7934d9
Added lowercase binding methods
alexanderoster Dec 8, 2022
1acead7
Compile fix
alexanderoster Dec 9, 2022
fe350e8
Fix class return values
martinweismann Feb 16, 2023
7b0f50d
Fix enum return values
martinweismann Feb 16, 2023
f45c320
Fix order
martinweismann Feb 16, 2023
1adbbc2
Fix optionalclass return parameters
martinweismann Feb 27, 2023
aff2cee
JSImpl: In/Out/Return of basicarrays
alexanderoster Apr 17, 2023
2c6ee0e
CppImpl/Header: Allow basicarray return types
alexanderoster Apr 17, 2023
8dc63ce
Added First Stab at JavaScript Documentation
alexanderoster Apr 25, 2023
bd71cbd
Inheritance in JS Implementation
alexanderoster May 3, 2023
f81072f
add buildimplementationjs.go to the list of sources mac
edkilday May 23, 2023
33013d8
fixes for mac port
edkilday Jun 20, 2023
5001fd4
controversial lowercase enum values'
edkilday Jun 20, 2023
ba81d32
just a trial
edkilday Jun 27, 2023
fc084d8
class as template parameter to cache
edkilday Jun 27, 2023
0f75586
dont reload script library?
edkilday Jun 28, 2023
e17f2e4
add check back in
edkilday Jun 28, 2023
dee9d84
oops
edkilday Jun 29, 2023
a3b97f5
revert lowercase enums and trimmed description
edkilday Jul 4, 2023
529515b
Mac port for windows only functionality (#187)
edkilday Jul 5, 2023
95f174b
Update build-machines
martinweismann Jul 5, 2023
6f414d4
out args
edkilday Jul 10, 2023
543eb24
Merge branch 'Autodesk:JSImpl' into JSImpl
edkilday Jul 11, 2023
606fd1e
formatting
edkilday Jul 13, 2023
3b1e745
squash
edkilday Jul 13, 2023
37c95ce
v8 arguments check
edkilday Jul 19, 2023
76a111d
formatting
edkilday Jul 20, 2023
da06c96
optional args
edkilday Jul 20, 2023
2b862ba
Merge pull request #190 from edkilday/out-args
martinweismann Jul 20, 2023
747f990
Merge branch 'JSImpl' into properties-typescript
edkilday Jul 20, 2023
31bdcff
Merge pull request #193 from edkilday/properties-typescript
martinweismann Jul 20, 2023
a4559de
Merge pull request #194 from edkilday/args-check
martinweismann Jul 20, 2023
d89136b
Merge branch 'JSImpl' into default-values
edkilday Jul 20, 2023
38bbc57
Merge pull request #195 from edkilday/default-values
martinweismann Jul 25, 2023
bbfcebe
format go files
edkilday Sep 4, 2023
c4de763
case stuff
edkilday Jul 20, 2023
ea9be9a
remove copy script
edkilday Jul 21, 2023
236d6fb
better methods
edkilday Jul 21, 2023
fd28237
fix camel case
edkilday Aug 5, 2023
4c1b528
nullable
edkilday Sep 4, 2023
fbd841d
format go files
edkilday Sep 4, 2023
f8e1e6b
optionalclass
edkilday Sep 6, 2023
67c2744
improve error string
edkilday Sep 13, 2023
343f52f
A combination of a number of commits to tidy up the PR backlog #203
edkilday Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ on: [push, pull_request]
name: Build
jobs:
build-linux:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: ./build.sh
working-directory: ./Build
build-macos:
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
Expand Down
18 changes: 9 additions & 9 deletions Build/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set startingDir="%CD%"
set basepath="%~dp0"

cd %basepath%\..\Source
set Sources=actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildimplementationcpp.go buildbindingjava.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go
set Sources=actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildimplementationcpp.go buildbindingjava.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go buildimplementationjs.go buildimplementationts.go

set GOOS=windows
set GOARCH=amd64
Expand All @@ -16,42 +16,42 @@ echo "Patching properties of act.win64.exe"
set GOOS=windows
set GOARCH=386
echo "Build act.win32.exe"
go build -o ..\act.win32.exe %Sources%
REM go build -o ..\act.win32.exe %Sources%

echo "Patching properties of act.win32.exe"
..\build\verpatch ..\act.win32.exe /high /va 1.8.0 /pv "1.8.0-develop" /s copyright "(c) 2018-2019 ACT Developers" /s desc "ACT is a code generator for software components" /s productName "Automatic Component Toolkit"
REM ..\build\verpatch ..\act.win32.exe /high /va 1.8.0 /pv "1.8.0-develop" /s copyright "(c) 2018-2019 ACT Developers" /s desc "ACT is a code generator for software components" /s productName "Automatic Component Toolkit"

set GOOS=linux
set GOARCH=amd64
echo "Build act.linux64"
go build -o ..\act.linux64 %Sources%
REM go build -o ..\act.linux64 %Sources%

set GOOS=linux
set GOARCH=386
echo "Build act.linux32"
go build -o ..\act.linux32 %Sources%
REM go build -o ..\act.linux32 %Sources%

set GOOS=darwin
set GOARCH=amd64
echo "Build act.darwin"
go build -o ..\act.darwin %Sources%
REM go build -o ..\act.darwin %Sources%

set GOOS=darwin
set GOARCH=arm
set GOARM=5
echo "Build act.arm.darwin"
go build -o ..\act.arm.darwin %Sources%
REM go build -o ..\act.arm.darwin %Sources%

set GOOS=linux
set GOARCH=arm
set GOARM=5
go build -o ..\act.arm.linux32 %Sources%
REM go build -o ..\act.arm.linux32 %Sources%

set GOOS=linux
set GOARCH=arm64
set GOARM=5
echo "Build act.arm.linux64"
go build -o ..\act.arm.linux64 %Sources%
REM go build -o ..\act.arm.linux64 %Sources%

copy ..\act.win64.exe ..\act.exe /Y
copy ..\act.linux64 ..\act.linux /Y
Expand Down
2 changes: 1 addition & 1 deletion Build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ startingpath="$(pwd)"
basepath="$(cd "$(dirname "$0")" && pwd)"
cd "$basepath/../Source"

Sources="actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildbindingjava.go buildimplementationcpp.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go"
Sources="actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildbindingjava.go buildimplementationcpp.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go buildimplementationjs.go buildimplementationts.go"

echo "Build act.win64.exe"
export GOARCH="amd64"
Expand Down
8 changes: 4 additions & 4 deletions Source/actutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
)

// FileExists returns true if and only if the file in a given path exists
func FileExists(path string) (bool) {
_, err := os.Stat(path);
return !os.IsNotExist(err);
}
func FileExists(path string) bool {
_, err := os.Stat(path)
return !os.IsNotExist(err)
}
Loading