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

Update from openfl main #2

Merged
merged 937 commits into from
Jul 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
937 commits
Select commit Hold shift + click to select a range
f8a9162
Clear unrelated GL errors
jgranick Feb 28, 2017
cc1195d
Don't use Arial Black as a default sans font (too heavy)
jgranick Feb 28, 2017
b41756e
Guard stage3D.x/y if backbuffer is not set yet
jgranick Feb 28, 2017
7949c90
Fix support for multiple embeds and loaderInfo.parameters
jgranick Feb 28, 2017
1458f9b
Update default HTML template
jgranick Feb 28, 2017
b088db8
Fix case if first child is not a DisplayObjectContainer
jgranick Mar 1, 2017
042b5e0
Compile fix
jgranick Mar 2, 2017
460be8c
Improve handling of lost context
jgranick Mar 2, 2017
06b87d1
Update for Lime GL extension changes
jgranick Mar 3, 2017
5bcaacb
Update for Lime API change
jgranick Mar 3, 2017
88a2c73
Compile fix
jgranick Mar 5, 2017
643a7a2
Minor tweak
jgranick Mar 5, 2017
8eb9b84
Minor cleanup
jgranick Mar 5, 2017
9bbfac5
Update CI script
jgranick Mar 6, 2017
dd60a88
Rewind input buffer after writing incoming string values in Socket
jgranick Mar 7, 2017
8616cab
BGRA fix
jgranick Mar 7, 2017
bb59973
Fix texture cache on framebuffer BitmapData
jgranick Mar 7, 2017
b0eb953
Add '-Ddisable-version-check' for include.xml
jgranick Mar 7, 2017
47768d7
Compile fix
jgranick Mar 7, 2017
419f766
need to use the version of the function that doesnt prepend length byte
mikesmullin Mar 7, 2017
f6b364c
Try to avoid smoothing bitmaps from SWF if they are not originally sm…
jgranick Mar 8, 2017
dd8a21e
Update docs
jgranick Mar 8, 2017
ed0a68a
Fix embedding of SWF libraries on Flash target
jgranick Mar 9, 2017
5ea139e
Lime context updates
jgranick Mar 11, 2017
d3f2bcb
Use data pointer Stage3D uniform, uniform fixes
jgranick Mar 14, 2017
179c838
Add nodebug tag
jgranick Mar 14, 2017
a8a5ac1
Add -Dmute-sound
jgranick Mar 15, 2017
2ce60c4
Update to 4.9.0
jgranick Mar 15, 2017
b4c2ec9
Update CHANGELOG
jgranick Mar 15, 2017
b97470b
Reduce allocations in VertexBuffer3D uploadFromVector
jgranick Mar 16, 2017
68f72e7
Speed up Cairo text render
jgranick Mar 16, 2017
e2eae09
Flag additional files for release (C++), add -Dopenfl-telemetry for m…
jgranick Mar 16, 2017
e1a653a
Fix double-preload of SWFLite data
jgranick Mar 17, 2017
b165130
Update to 4.9.1
jgranick Mar 17, 2017
f91e75c
Update CHANGELOG
jgranick Mar 17, 2017
830991c
Don't enable TEXTURE_2D on GLES desktop targets
jgranick Mar 21, 2017
916e07b
Fix support for Assets.getBitmapData from SWF library
jgranick Mar 23, 2017
36f3ac0
Implement context3D.drawToBitmapData
jgranick Mar 24, 2017
4b2b166
Default to non-embedded SWF on Flash target
jgranick Mar 24, 2017
8779cfd
Use haxe.Resource instead of -swf-lib (close #1526)
jgranick Mar 24, 2017
03ecf1c
Fix loadPCMFromByteArray (resolve #1523)
jgranick Mar 24, 2017
1a68dba
Fix check for packed stencil extension
jgranick Mar 28, 2017
d8b786a
Update to 4.9.2
jgranick Mar 28, 2017
4b2dafc
Update CHANGELOG
jgranick Mar 28, 2017
7d94d5d
Changed "Asset" to "Assets" in the usage metadata
ConfidantCommunications Mar 6, 2017
7aff798
this meta tag is deprecated and no longer recommended as of Oct 2015
mikesmullin Mar 9, 2017
d28dc3e
Add movieClip.isPlaying
jgranick Mar 30, 2017
ba255d7
Fix x and y pos being added to width and height.
vizanto Mar 7, 2017
2ffbe3f
Remove inline
jgranick Mar 30, 2017
d61c8dc
Add capture to ADDED/REMOVED_FROM_STAGE events (close #1510)
jgranick Mar 30, 2017
0e32156
Improve inherited blend mode behavior (still needs additional work)
jgranick Mar 31, 2017
bd57bcd
Use default 'base' value in Flash HTML template (load paths relative …
jgranick Mar 29, 2017
3a0e6a5
For now, force drawWithQuality LOW to disable smoothing
jgranick Mar 31, 2017
73f90e1
Changed symbol.path to symbol.alpha
andresa88 Apr 3, 2017
b3ec56e
Consistency change in embedded BitmapData
jgranick Apr 4, 2017
eafae05
Be explicit about WebGL context for JS-only texImage2D
jgranick Apr 7, 2017
9d79fa8
Allow Shader to optimize in browser, fix Int parameter index value
jgranick Apr 8, 2017
5c9e368
Clear errors only on Stage3D debug
jgranick Apr 8, 2017
0582e30
Stage3D mipfilter fix
jgranick Apr 10, 2017
7477a5b
Keep tools under Neko 2.0 size limit
jgranick Apr 12, 2017
6cbc43a
Update import
jgranick Apr 12, 2017
9e09da0
Improve error handling
jgranick Apr 12, 2017
ffce21a
Graphics drawRoundRectComplex(), fixes #1548
jasonsturges Apr 15, 2017
a937f8d
Include position when converting ByteArray to DataPointer
jgranick Apr 17, 2017
ff32e95
Speed up byteArray.writeFloat when LITTLE_ENDIAN
jgranick Apr 17, 2017
b3745d8
Bypass cairo.target in TextField render
jgranick Apr 17, 2017
2f391be
DataPointer fix on HTML5
jgranick Apr 18, 2017
1824eed
Fix null Vector toString, make Flash string more like other targets
jgranick Apr 21, 2017
995d842
Improve GraphicsPath (thanks @sbijoshj)
jgranick Apr 21, 2017
1656df7
Support for compressed textures
hklindworth Apr 16, 2017
d885cce
Basic support for Adobe Texture Format containers
hklindworth Apr 16, 2017
b6d364d
HTML5 Dictionary fix
jgranick Apr 26, 2017
14e5d61
Fix return type of vector.reverse()
jgranick Apr 26, 2017
666342f
GraphicsTrianglePath added, some graphics optimizations
jgranick Apr 26, 2017
cf23d0c
GraphicsTrianglePath added, some graphics optimizations
jgranick Apr 26, 2017
626ec2a
Fix missing class error that causes code completion to not show up.
gamedevsam Apr 26, 2017
0863303
Patch initialization order
jgranick Apr 26, 2017
5566f2c
Update static init fix
jgranick Apr 26, 2017
e0201f2
Use __childRenderDirty mechanism (rather than __worldRenderDirty)
jgranick May 3, 2017
2769277
Use __transformDirty (rather than __worldTransformDirty) and remove _…
jgranick May 3, 2017
b555e39
Rough cacheAsBitmap working in simple test case
jgranick May 4, 2017
bb6a091
HTML5: Calculate accurate character advances
vizanto Feb 16, 2017
980d75c
Major refactoring of `TextEngine.getLayoutGroups()`
vizanto Feb 27, 2017
21ad929
Fix JUSTIFY treating non-space LayoutGroup change as space.
vizanto Feb 27, 2017
0865446
Fix potential null-pointer access
vizanto Mar 3, 2017
75f800d
Fix for the last word in a string not being line-wrapped when needed.
vizanto Mar 7, 2017
3ed0869
Update to 5.0.0
jgranick May 4, 2017
90749fd
Remove deprecated NMEPreloader, onload and unprefixed asset imports, …
jgranick May 4, 2017
0a1acba
Update CHANGELOG
jgranick May 4, 2017
05aca80
Update release notes
jgranick May 4, 2017
08e9fd5
Compile fix
jgranick May 5, 2017
2054292
Stage3D mip filter fixes
jgranick May 5, 2017
fbaed24
Make BitmapData.fromBytes synchronous where possible (resolve #1563)
jgranick May 8, 2017
769f68d
Compile fix
jgranick May 8, 2017
af1a8ff
Improve GraphicsPath, implement cubicCurveTo and readGraphicsData for…
jgranick May 8, 2017
ae999da
Initial support for openfl.text.StaticText
jgranick May 8, 2017
f012b3d
Add AVM1Movie (for better compatibility with Flash code)
jgranick May 8, 2017
4dae101
Deprecate Lime typedef classes
jgranick May 10, 2017
cacb3a2
Deprecate DOMSprite/OpenGLView
jgranick May 10, 2017
83ace63
HTML5: Calculate accurate character advances
vizanto Feb 16, 2017
c57ae1e
Major refactoring of `TextEngine.getLayoutGroups()`
vizanto Feb 27, 2017
7aeeddb
Fix JUSTIFY treating non-space LayoutGroup change as space.
vizanto Feb 27, 2017
01e0b17
Fix potential null-pointer access
vizanto Mar 3, 2017
123ecb3
Fix for the last word in a string not being line-wrapped when needed.
vizanto Mar 7, 2017
64e04a5
Update to 5.0.0
jgranick May 4, 2017
5b596d2
Remove deprecated NMEPreloader, onload and unprefixed asset imports, …
jgranick May 4, 2017
90c7c11
Update CHANGELOG
jgranick May 4, 2017
7d5643f
Update release notes
jgranick May 4, 2017
3cf7477
Compile fix
jgranick May 5, 2017
ea1d6ab
Stage3D mip filter fixes
jgranick May 5, 2017
65663b2
Make BitmapData.fromBytes synchronous where possible (resolve #1563)
jgranick May 8, 2017
3e69b6c
Compile fix
jgranick May 8, 2017
6250b55
Improve GraphicsPath, implement cubicCurveTo and readGraphicsData for…
jgranick May 8, 2017
e1fb872
Initial support for openfl.text.StaticText
jgranick May 8, 2017
b29886d
Add AVM1Movie (for better compatibility with Flash code)
jgranick May 8, 2017
0a3792a
Deprecate Lime typedef classes
jgranick May 10, 2017
46317ed
Deprecate DOMSprite/OpenGLView
jgranick May 10, 2017
7d639bf
Improve Stage3D behavior on HTML5 DOM target
jgranick May 10, 2017
ca7123a
First pass at native rendering object
jgranick May 10, 2017
04dfd70
Create a DIV by default on DOM target
jgranick May 10, 2017
69bdeff
Remove unused import
jgranick May 10, 2017
a62cb65
Improve canvas, Cairo and Flash native render
jgranick May 10, 2017
cb167c9
Split into before/render/after events for native render
jgranick May 10, 2017
7919ed6
Add missing 'alwaysOnTop' property
jgranick May 11, 2017
f79d8c4
Remove prospective native render API
jgranick May 12, 2017
fd76cbe
Remove deprecated notice
jgranick May 12, 2017
27ea30a
Merge branch 'develop' into feature/cacheAsBitmap
jgranick May 12, 2017
abf25cb
Position fixes
jgranick May 12, 2017
5737c50
Use ObjectPool instead of single __temp object
jgranick May 12, 2017
3f371a7
Additional work on cacheAsBitmap logic
jgranick May 12, 2017
5eba96b
Matrix fix
jgranick May 15, 2017
a4acdfb
CacheAsBitmap fixes
jgranick May 15, 2017
193a396
ColorTransform, fixes to cacheAsBitmap logic
jgranick May 15, 2017
99e18a9
Tilemap pool fix
jgranick May 15, 2017
962bb41
Step toward idle render optimization
jgranick May 15, 2017
f55e4f5
Allow Lime 5.0.x
jgranick May 16, 2017
f6ab4ae
Allow Lime 5.0.x
jgranick May 16, 2017
d3028d2
Update CI script
jgranick May 16, 2017
9b0a128
Merge multiple draw commands into single GraphicsPath object on readG…
jgranick May 17, 2017
897aef2
Fix empty lineStyle in drawGraphicsData
jgranick May 17, 2017
3d989fd
Minor fix
jgranick May 17, 2017
883cf2d
Fix strange issue
jgranick May 18, 2017
36057f5
Fix openfl.media.Video build (fix #1567)
jgranick May 18, 2017
054bf63
Use wildcard version for Lime dependency
jgranick May 18, 2017
23964f6
Merge branch 'feature/cacheAsBitmap' into develop
jgranick May 18, 2017
2694345
Initial support for render-only-when-dirty behavior
jgranick May 19, 2017
834152c
Improve smoothing behavior in cacheAsBitmap
jgranick May 19, 2017
4427e07
Set window dirty on focus
jgranick May 19, 2017
8616ba1
Fix bitmap cache filters
jgranick May 19, 2017
b3e267d
Fix renderDirty behavior for window resize or Video
jgranick May 19, 2017
732d466
Improve Bitmap renderDirty behavior, disable sparse rendering until d…
jgranick May 19, 2017
0831bff
Update CHANGELOG
jgranick May 19, 2017
583fb87
Update to 5.1.0
jgranick May 19, 2017
b04583d
Update CHANGELOG.md
jgranick May 20, 2017
dd5481b
Fix internal object pool
jgranick May 21, 2017
b1f409b
Fix compile issue on Flash target for code completion
jgranick May 21, 2017
c3071de
Validate path for generate class templates
jgranick May 21, 2017
7041552
Update to 5.1.1
jgranick May 21, 2017
cbb5409
Update CHANGELOG
jgranick May 21, 2017
9bc3c00
Add additional dirty flags
jgranick May 23, 2017
f6b48e6
Remove deprecated notice
jgranick May 12, 2017
725e02e
Revert wildcard versioning until it has more testing
jgranick May 24, 2017
a997f44
Update to 5.1.2
jgranick May 24, 2017
35d0f8b
Update CHANGELOG
jgranick May 24, 2017
508e1af
Cleanup XML
jgranick May 24, 2017
6232486
Improve -Dopenfl-disable-graphics-upscaling performance
jgranick May 30, 2017
f720f51
bug fix for TextField font size when using DOM renderer
kasparsj May 29, 2017
df30b3f
detach netStream fix
kasparsj May 29, 2017
78ba285
Update Video.hx
jgranick May 30, 2017
d600bb4
Fix integration with resource preloader.
oselivanov May 25, 2017
4c71e55
force roundPixels = true for TextFields in -Ddom
chatziko May 24, 2017
061fcab
htmlText parser refactor
kasparsj May 29, 2017
22729f5
DOM Stage3D fix
jgranick May 30, 2017
76f3f55
Support older Adobe Texture Format version 2
hklindworth May 30, 2017
fc65a1d
Fix cached transforms when getting local bounds (resolve #1582)
jgranick May 31, 2017
797e836
Optimization for less recurring memory use
jgranick May 31, 2017
970831f
Fix typos in Shader class
Beeblerox May 31, 2017
a532b2b
Compile fix
jgranick May 31, 2017
c9c7f88
Add conversion from ByteArray to BytePointer (fixes #1426)
jgranick May 31, 2017
1802836
Patch SimpleButton support
jgranick Jun 5, 2017
2713655
Use UTF8String for better UTF8 support (resolve #1565)
jgranick Jun 5, 2017
77a4333
Try and fix Haxe dev builds
jgranick Jun 6, 2017
db3e40b
Add commented code for canvas-based BitmapData rather than pixel array
jgranick Jun 6, 2017
394ae82
Docs fix
jgranick Jun 6, 2017
8d811f5
Improve cacheAsBitmap on DOM target (resolve #1593)
jgranick Jun 6, 2017
5864c94
Update Video.hx
kasparsj Jun 3, 2017
22b7262
HTML5 BitmapData fix
jgranick Jun 7, 2017
37785cb
Make XMLSocket use Socket internally on all platforms, improvements
jgranick Jun 7, 2017
ef14d5d
Update for Lime 5.1
jgranick Jun 7, 2017
69ef4ba
Update CHANGELOG
jgranick Jun 7, 2017
5cee75e
Update to 5.1.3
jgranick Jun 7, 2017
5206421
socket connected should be false after socket close
sbimikesmullin Jun 9, 2017
50aa47d
update inputBuffer position before writing new data to it
sidpitt89 May 25, 2017
787d1a9
Ensure Loader.content and LoaderInfo.content are both set
jgranick Jun 12, 2017
383efdb
Add error when trying to add null child
jgranick Jun 12, 2017
b8dfb2a
Register loaded asset library using contentLoaderInfo.url (resolve #1…
jgranick Jun 12, 2017
62beb25
Fix opaqueBackground for Tilemap
jgranick Jun 12, 2017
f3bee9c
Flash fails silently on all errors from ExternalInterface.call(),
sbimikesmullin Jun 13, 2017
5c57ea1
js.Lib.eval(functionName) errors if functionName does not exist
sbimikesmullin Jun 13, 2017
63f08ee
logic was exact opposite of intention
sbimikesmullin Jun 14, 2017
9c480f3
Deprecate handler callbacks in openfl.utils.Assets
jgranick Jun 16, 2017
d333900
More robust fix for SimpleButton using render transform
jgranick Jun 16, 2017
4476944
Improve text rendering from SWF assets (should we use embedded SWF fo…
jgranick Jun 17, 2017
a918f38
Use even/odd winding rule in canvas shape renderer (similar to Cairo …
jgranick Jun 17, 2017
e97da32
Improve line miter (resolve #909)
jgranick Jun 17, 2017
8d02d13
Update AGALConverter for rcp command (close #1613)
jgranick Jun 19, 2017
4507049
Dispatch HTTPStatusEvent in URLLoader (resolve #1614)
jgranick Jun 19, 2017
973ea63
Null fix on Capabilities.screenDPI
jgranick Jun 19, 2017
e51a7fc
Update Lime version to 5.2.0
jgranick Jun 20, 2017
c46a040
Update to 5.1.4
jgranick Jun 20, 2017
6bdd0ec
Update CHANGELOG
jgranick Jun 20, 2017
af63eb5
CHANGELOG typo
guruas3 Jun 21, 2017
ebd0c53
Compile fix
jgranick Jun 21, 2017
ea86318
Fix loader.unload() behavior, AS3 docs were wrong
jgranick Jun 21, 2017
9a81b7c
Update to 5.1.5
jgranick Jun 21, 2017
c780f3c
Update CHANGELOG
jgranick Jun 21, 2017
a74a955
Fix use of upState as hitTestState on SimpleButton, and null downState
jgranick Jun 23, 2017
a15134f
Workaround for Emscripten color order
jgranick Jun 26, 2017
434ba06
Remove debug messages
jgranick Jun 26, 2017
f406955
Exclude some types from JS -Dmodular build
jgranick Jun 26, 2017
591274d
fix for ascent/descent change in TextEngine
kasparsj Jun 27, 2017
b50debe
fixes SimpleButton over/down state DOM render
kasparsj Jun 27, 2017
9c38f68
Sorting of the eventlisteners with same priority doesn't preserve the…
NenadBojkovski Jun 27, 2017
bd233fd
Method name typo fixed
NenadBojkovski Jun 28, 2017
19f082f
isCopy of an iterator is never reset. Not even when original list is …
NenadBojkovski Jun 28, 2017
13345b0
Fix rendering bug in Chrome 59
Jun 29, 2017
70e0044
Making other touch events work
Jun 29, 2017
663ba14
make bitmapdata draw work with filters when readable is false
Jun 21, 2017
ef9e199
Add initial SpriteSymbol frame script support (resolve #1599)
jgranick Jul 3, 2017
b117e66
Add base class support in SpriteSymbol (close #1602)
jgranick Jul 3, 2017
520f7af
Allow inexact font match from SWF (close #1604)
jgranick Jul 3, 2017
47fd687
Initial hscript support in framescript code
jgranick Jul 3, 2017
b85a99f
Rename internal 'clearDirtyFlags' to 'clearRenderDirty' for clarity (…
jgranick Jul 3, 2017
3cf4d06
Add .vscode settings
jgranick Jul 6, 2017
b277161
Change docs from HTML5 tags to Markdown formatting
jgranick Jul 7, 2017
89617ee
Set secure WebSocket if page is served with HTTPS
jgranick Jul 7, 2017
9f84e08
Do not reference unused swf.instance classes, fix build error
jgranick Jul 11, 2017
674ad14
Frame object list fix
jgranick Jul 11, 2017
d7c7a30
Add missing FrameObjectType
jgranick Jul 11, 2017
b1baeaa
Update core MovieClip logic based on #1607 (resolve #1607)
jgranick Jul 11, 2017
f52350b
support shared fonts
sbimikesmullin Jul 8, 2017
9840d23
When loading remote asset manifest, register under name as well (clos…
jgranick Jul 11, 2017
a069f97
Readme: remove mention of the SWF lib
Gama11 Jul 12, 2017
74b141e
Disable cacheAsBitmap behavior on Tilemap for now
jgranick Jul 17, 2017
b21c5d0
Minor run script fix
jgranick Jul 17, 2017
c37b05e
Update run.n
jgranick Jul 17, 2017
c947db5
Framescripts are now stored in frameData.
sjuxax Jul 19, 2017
40da3cd
Add (Beta) openfl.display.TileArray API for dynamic Tilemap rendering
jgranick Jul 20, 2017
290748f
Add support for custom rect in TileArray, minor fix
jgranick Jul 20, 2017
6ad5e4f
Make Tilemap use TileArray internally for all rendering
jgranick Jul 21, 2017
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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ tests/unit/test/*/TestSuite.hx
tests/unit/test/*/*/ExampleTest.hx
tests/unit/test/*/*/TestMain.hx
tests/unit/test/*/*/TestSuite.hx
docs/*.xml
tools/*.n
docs/xml
docs/pages
haxedoc.xml
.temp
41 changes: 27 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
language: haxe

haxe:
- "3.2.1"
#- 3.2.0
- 3.2.1
- 3.4.2
- development

env:
- TARGET=flash
Expand All @@ -10,6 +13,10 @@ env:
- TARGET=html5
- TARGET=docs

matrix:
allow_failures:
- haxe: development

sudo: false

before_install:
Expand All @@ -19,21 +26,30 @@ before_install:
- export AUDIODEV=null

install:
- git clone --recursive https://github.com/openfl/lime ~/lime --depth 1 > log.txt || cat log.txt
- haxelib dev openfl $(pwd)
- if [[ $TRAVIS_BRANCH == 'master' ]]; then git clone -b master --single-branch --recursive https://github.com/openfl/lime ~/lime --depth 1 > log.txt || cat log.txt ; fi
- if [[ $TRAVIS_BRANCH != 'master' ]]; then git clone -b develop --single-branch --recursive https://github.com/openfl/lime ~/lime --depth 1 > log.txt || cat log.txt ; fi
#- git clone --recursive https://github.com/openfl/lime ~/lime > log.txt || cat log.txt
#- cd ~/lime
#- git reset --hard 87573bb26119cb4be4b3c4ef0ebc4042ecba59e3
- haxelib dev lime ~/lime
- haxelib install compiletime
- haxelib install hxcpp > log.txt || cat log.txt
- haxelib install format > log.txt || cat log.txt
- yes | haxelib install compiletime
- if [[ $TRAVIS_HAXE_VERSION != 'development' ]]; then yes | haxelib install hxcpp > log.txt || cat log.txt ; fi
- if [[ $TRAVIS_HAXE_VERSION == 'development' ]]; then git clone https://github.com/haxefoundation/hxcpp ~/hxcpp --depth 1 > log.txt || cat log.txt ; fi
- if [[ $TRAVIS_HAXE_VERSION == 'development' ]]; then haxelib dev hxcpp ~/hxcpp ; fi
- if [[ $TRAVIS_HAXE_VERSION == 'development' ]]; then cd ~/hxcpp/tools/hxcpp && haxe compile.hxml ; fi
- if [[ $TRAVIS_HAXE_VERSION == 'development' ]]; then cd ~/hxcpp/project && neko build.n linux-m64 ; fi
- yes | haxelib install format > log.txt || cat log.txt
- if [[ $TARGET == 'docs' ]]; then git clone https://github.com/openfl/dox ~/dox --depth 1 > log.txt || cat log.txt ; fi
- if [[ $TARGET == 'docs' ]]; then haxelib dev dox ~/dox ; fi
- haxelib install mcover > log.txt || cat log.txt
- haxelib install hamcrest > log.txt || cat log.txt
- yes | haxelib install mcover > log.txt || cat log.txt
- yes | haxelib install hamcrest > log.txt || cat log.txt
- git clone https://github.com/jgranick/MassiveUnit ~/munit --depth 1 > log.txt || cat log.txt
- haxelib dev munit ~/munit/src
- haxelib dev openfl $(pwd)
- cd ~/munit/tool
- haxe build.hxml
- if [[ $TARGET == 'cpp' ]] || [[ $TARGET == 'neko' ]]; then haxelib run lime rebuild linux -release -64 -nocffi > log.txt || cat log.txt; fi
#- if [[ $TARGET == 'cpp' ]] || [[ $TARGET == 'neko' ]]; then haxelib run lime rebuild linux -debug -64 -nocffi > log.txt || cat log.txt; fi
- haxelib run lime rebuild tools -nocffi

before_script:
Expand All @@ -48,15 +64,12 @@ script:
- if [[ $TARGET == 'flash' ]]; then haxelib run munit test -as3 -norun -nocffi ; fi
- if [[ $TARGET == 'html5' ]]; then haxelib run munit test -browser phantomjs -nocffi ; fi
- if [[ $TARGET == 'cpp' ]]; then haxelib run lime test linux --window-hardware=false ; fi
#- if [[ $TARGET == 'cpp' ]]; then haxelib run lime test linux --window-hardware=false -debug ; fi
- if [[ $TARGET == 'docs' ]]; then cd $TRAVIS_BUILD_DIR/docs && haxe build.hxml ; fi

# Functional testing
- if [[ $TARGET == 'neko' ]]; then cd $TRAVIS_BUILD_DIR/tests/functional && haxe build_neko.hxml && neko tests.n ; fi
- if [[ $TARGET == 'cpp' ]]; then cd $TRAVIS_BUILD_DIR/tests/functional && haxe build_cpp.hxml && ./bin/FunctionalTest ; fi
#- if [[ $TARGET == 'neko' ]]; then cd $TRAVIS_BUILD_DIR/tests/functional && haxe build_neko.hxml && neko tests.n ; fi
#- if [[ $TARGET == 'cpp' ]]; then cd $TRAVIS_BUILD_DIR/tests/functional && haxe build_cpp.hxml && ./bin/FunctionalTest ; fi

notifications:
slack: openfl:sBwVO0kgB7EuWLYzZzUezVIz

cache:
directories:
- $HOME/haxe/lib
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"editor.trimAutoWhitespace": false,
"editor.insertSpaces": false,
"codedox": {
"commentprefix": " ",
"commentdescription": "",
"commentend": "**/",
"alwaysMultiline": false,
"paramFormat": "",
"returnFormat": "",
"neverAskTemplate": true
}
}
Loading