diff --git a/haxe/io/Bytes.hx b/haxe/io/Bytes.hx index e0e5ab620..e955c3c3b 100644 --- a/haxe/io/Bytes.hx +++ b/haxe/io/Bytes.hx @@ -30,6 +30,11 @@ using cpp.NativeArray; @:autoBuild(lime._macros.AssetsMacro.embedBytes()) // Enable @:bytes embed metadata #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Bytes { public var length(default,null) : Int; diff --git a/lime/Lib.hx b/lime/Lib.hx index 01f4b3b41..0c73c5f56 100644 --- a/lime/Lib.hx +++ b/lime/Lib.hx @@ -9,6 +9,11 @@ import haxe.macro.Compiler; import haxe.macro.Context; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Lib { diff --git a/lime/_backend/native/NativeApplication.hx b/lime/_backend/native/NativeApplication.hx index 3e503cb6f..5ae8a3e72 100644 --- a/lime/_backend/native/NativeApplication.hx +++ b/lime/_backend/native/NativeApplication.hx @@ -28,6 +28,11 @@ import lime.ui.Window; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(haxe.Timer) @:access(lime._backend.native.NativeGLRenderContext) @:access(lime._backend.native.NativeRenderer) diff --git a/lime/_backend/native/NativeAudioSource.hx b/lime/_backend/native/NativeAudioSource.hx index 8b43e6b16..16c6815cd 100644 --- a/lime/_backend/native/NativeAudioSource.hx +++ b/lime/_backend/native/NativeAudioSource.hx @@ -8,6 +8,11 @@ import lime.audio.openal.AL; import lime.audio.openal.ALSource; import lime.math.Vector4; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.audio.AudioBuffer) diff --git a/lime/_backend/native/NativeGLRenderContext.hx b/lime/_backend/native/NativeGLRenderContext.hx index 3b1b1ceb0..3be362216 100644 --- a/lime/_backend/native/NativeGLRenderContext.hx +++ b/lime/_backend/native/NativeGLRenderContext.hx @@ -28,6 +28,11 @@ typedef Float32 = Float; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:allow(lime.ui.Window) diff --git a/lime/_backend/native/NativeHTTPRequest.hx b/lime/_backend/native/NativeHTTPRequest.hx index 868ea08cd..950674e91 100644 --- a/lime/_backend/native/NativeHTTPRequest.hx +++ b/lime/_backend/native/NativeHTTPRequest.hx @@ -12,6 +12,11 @@ import lime.net.HTTPRequest; import lime.net.HTTPRequestMethod; import lime.system.BackgroundWorker; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class NativeHTTPRequest { diff --git a/lime/_backend/native/NativeMouse.hx b/lime/_backend/native/NativeMouse.hx index 636e308ce..8613b7ffb 100644 --- a/lime/_backend/native/NativeMouse.hx +++ b/lime/_backend/native/NativeMouse.hx @@ -8,6 +8,11 @@ import lime.ui.Window; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.ui.Window) diff --git a/lime/_backend/native/NativeRenderer.hx b/lime/_backend/native/NativeRenderer.hx index 48ce30299..78ca51801 100644 --- a/lime/_backend/native/NativeRenderer.hx +++ b/lime/_backend/native/NativeRenderer.hx @@ -20,6 +20,11 @@ import lime.utils.UInt8Array; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime._backend.native.NativeGLRenderContext) @:access(lime.graphics.cairo.Cairo) @:access(lime.graphics.opengl.GL) diff --git a/lime/_backend/native/NativeWindow.hx b/lime/_backend/native/NativeWindow.hx index c15d158ba..27dcf2cd2 100644 --- a/lime/_backend/native/NativeWindow.hx +++ b/lime/_backend/native/NativeWindow.hx @@ -13,6 +13,11 @@ import lime.ui.Window; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.app.Application) @:access(lime.ui.Window) diff --git a/lime/app/Application.hx b/lime/app/Application.hx index 2ed76ea97..10b4e93b9 100644 --- a/lime/app/Application.hx +++ b/lime/app/Application.hx @@ -13,6 +13,11 @@ import lime.ui.KeyModifier; import lime.ui.Touch; import lime.ui.Window; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + /** * The Application class forms the foundation for most Lime projects. diff --git a/lime/app/Event.hx b/lime/app/Event.hx index b7121d967..3a4ad0e88 100644 --- a/lime/app/Event.hx +++ b/lime/app/Event.hx @@ -12,6 +12,11 @@ using haxe.macro.Tools; @:genericBuild(lime._macros.EventMacro.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Event { diff --git a/lime/app/Future.hx b/lime/app/Future.hx index 1efd1cb66..515ea2b3c 100644 --- a/lime/app/Future.hx +++ b/lime/app/Future.hx @@ -5,6 +5,11 @@ import lime.system.System; import lime.system.ThreadPool; import lime.utils.Log; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:allow(lime.app.Promise) @@ -258,6 +263,12 @@ import lime.utils.Log; } +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + @:dox(hide) private class FutureWork { diff --git a/lime/app/Module.hx b/lime/app/Module.hx index d78eeb45e..ca0319ba9 100644 --- a/lime/app/Module.hx +++ b/lime/app/Module.hx @@ -13,6 +13,11 @@ import lime.ui.KeyModifier; import lime.ui.Touch; import lime.ui.Window; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Module implements IModule { diff --git a/lime/app/Preloader.hx b/lime/app/Preloader.hx index d83a209f1..4bebe4a79 100644 --- a/lime/app/Preloader.hx +++ b/lime/app/Preloader.hx @@ -21,6 +21,11 @@ import flash.events.ProgressEvent; import flash.Lib; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Preloader #if flash extends Sprite #end { diff --git a/lime/app/Promise.hx b/lime/app/Promise.hx index 8ab24102c..6bcc6b376 100644 --- a/lime/app/Promise.hx +++ b/lime/app/Promise.hx @@ -1,6 +1,11 @@ package lime.app; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:allow(lime.app.Future) #if !js @:generic #end diff --git a/lime/audio/ALAudioContext.hx b/lime/audio/ALAudioContext.hx index c7841a15c..40fc16650 100644 --- a/lime/audio/ALAudioContext.hx +++ b/lime/audio/ALAudioContext.hx @@ -6,6 +6,11 @@ import lime.audio.openal.ALBuffer; import lime.audio.openal.ALSource; import lime.utils.ArrayBufferView; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class ALAudioContext { diff --git a/lime/audio/ALCAudioContext.hx b/lime/audio/ALCAudioContext.hx index dd3281e0b..4a9adc463 100644 --- a/lime/audio/ALCAudioContext.hx +++ b/lime/audio/ALCAudioContext.hx @@ -5,6 +5,11 @@ import lime.audio.openal.ALC; import lime.audio.openal.ALContext; import lime.audio.openal.ALDevice; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class ALCAudioContext { diff --git a/lime/audio/AudioBuffer.hx b/lime/audio/AudioBuffer.hx index 9cd577600..113f1e5f5 100644 --- a/lime/audio/AudioBuffer.hx +++ b/lime/audio/AudioBuffer.hx @@ -28,6 +28,11 @@ import lime.audio.fmod.FMODSound; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AudioBuffer { diff --git a/lime/audio/AudioManager.hx b/lime/audio/AudioManager.hx index b6f5dd5f6..6b204e0bd 100644 --- a/lime/audio/AudioManager.hx +++ b/lime/audio/AudioManager.hx @@ -10,6 +10,11 @@ import lime.audio.openal.ALDevice; import js.Browser; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AudioManager { diff --git a/lime/audio/AudioSource.hx b/lime/audio/AudioSource.hx index 4bfd245e2..b56d5e1d2 100644 --- a/lime/audio/AudioSource.hx +++ b/lime/audio/AudioSource.hx @@ -6,6 +6,11 @@ import lime.audio.openal.AL; import lime.audio.openal.ALSource; import lime.math.Vector4; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AudioSource { diff --git a/lime/audio/openal/AL.hx b/lime/audio/openal/AL.hx index e602b407a..b3165e45a 100644 --- a/lime/audio/openal/AL.hx +++ b/lime/audio/openal/AL.hx @@ -10,6 +10,11 @@ import cpp.Float32; typedef Float32 = Float; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + #if !macro @:build(lime.system.CFFI.build()) #end diff --git a/lime/audio/openal/ALC.hx b/lime/audio/openal/ALC.hx index 72b00647e..d10b6817b 100644 --- a/lime/audio/openal/ALC.hx +++ b/lime/audio/openal/ALC.hx @@ -3,6 +3,11 @@ package lime.audio.openal; import lime.system.CFFIPointer; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + #if !macro @:build(lime.system.CFFI.build()) #end diff --git a/lime/graphics/Image.hx b/lime/graphics/Image.hx index 606e07921..40073d954 100644 --- a/lime/graphics/Image.hx +++ b/lime/graphics/Image.hx @@ -54,6 +54,11 @@ import lime.graphics.console.TextureData; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:autoBuild(lime._macros.AssetsMacro.embedImage()) @:allow(lime.graphics.util.ImageCanvasUtil) @:allow(lime.graphics.util.ImageDataUtil) diff --git a/lime/graphics/ImageBuffer.hx b/lime/graphics/ImageBuffer.hx index 7bf82caa0..c832c2130 100644 --- a/lime/graphics/ImageBuffer.hx +++ b/lime/graphics/ImageBuffer.hx @@ -17,6 +17,11 @@ import lime.graphics.utils.ImageCanvasUtil; import flash.display.BitmapData; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:allow(lime.graphics.Image) diff --git a/lime/graphics/Renderer.hx b/lime/graphics/Renderer.hx index 6dab8cbc0..155253449 100644 --- a/lime/graphics/Renderer.hx +++ b/lime/graphics/Renderer.hx @@ -5,6 +5,11 @@ import lime.app.Event; import lime.math.Rectangle; import lime.ui.Window; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Renderer { diff --git a/lime/graphics/cairo/Cairo.hx b/lime/graphics/cairo/Cairo.hx index 9da7c1ec1..097238378 100644 --- a/lime/graphics/cairo/Cairo.hx +++ b/lime/graphics/cairo/Cairo.hx @@ -11,6 +11,11 @@ import lime.text.Glyph; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Cairo { diff --git a/lime/graphics/cairo/CairoGlyph.hx b/lime/graphics/cairo/CairoGlyph.hx index 702143608..e21363cd5 100644 --- a/lime/graphics/cairo/CairoGlyph.hx +++ b/lime/graphics/cairo/CairoGlyph.hx @@ -1,6 +1,12 @@ package lime.graphics.cairo; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class CairoGlyph { diff --git a/lime/graphics/format/BMP.hx b/lime/graphics/format/BMP.hx index 7451ddbca..517428cab 100644 --- a/lime/graphics/format/BMP.hx +++ b/lime/graphics/format/BMP.hx @@ -5,6 +5,11 @@ import haxe.io.Bytes; import lime.graphics.Image; import lime.math.Rectangle; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class BMP { diff --git a/lime/graphics/format/JPEG.hx b/lime/graphics/format/JPEG.hx index 86ccbcf49..3b8238f3b 100644 --- a/lime/graphics/format/JPEG.hx +++ b/lime/graphics/format/JPEG.hx @@ -18,6 +18,11 @@ import js.Browser; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class JPEG { diff --git a/lime/graphics/format/PNG.hx b/lime/graphics/format/PNG.hx index 9f8db7bc5..0ebff18e9 100644 --- a/lime/graphics/format/PNG.hx +++ b/lime/graphics/format/PNG.hx @@ -25,6 +25,11 @@ import haxe.io.BytesOutput; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class PNG { diff --git a/lime/graphics/opengl/ExtensionAnisotropicFiltering.hx b/lime/graphics/opengl/ExtensionAnisotropicFiltering.hx index ea46d36c2..7e3e476f4 100644 --- a/lime/graphics/opengl/ExtensionAnisotropicFiltering.hx +++ b/lime/graphics/opengl/ExtensionAnisotropicFiltering.hx @@ -1,7 +1,15 @@ package lime.graphics.opengl; + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class ExtensionAnisotropicFiltering { + public static var TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; public static var MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; diff --git a/lime/graphics/opengl/ExtensionBGRA.hx b/lime/graphics/opengl/ExtensionBGRA.hx index e73f70174..9ce482ce0 100644 --- a/lime/graphics/opengl/ExtensionBGRA.hx +++ b/lime/graphics/opengl/ExtensionBGRA.hx @@ -1,7 +1,16 @@ package lime.graphics.opengl; + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class ExtensionBGRA { + public static inline var BGRA_EXT = 0x80E1; + } \ No newline at end of file diff --git a/lime/graphics/opengl/ExtensionPackedDepthStencil.hx b/lime/graphics/opengl/ExtensionPackedDepthStencil.hx index 49e8d0542..863b36ee7 100644 --- a/lime/graphics/opengl/ExtensionPackedDepthStencil.hx +++ b/lime/graphics/opengl/ExtensionPackedDepthStencil.hx @@ -1,7 +1,16 @@ package lime.graphics.opengl; + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class ExtensionPackedDepthStencil { + public static inline var DEPTH24_STENCIL8_EXT = 0x88F0; + } \ No newline at end of file diff --git a/lime/graphics/opengl/GL.hx b/lime/graphics/opengl/GL.hx index 15d0b203e..b1d6571c1 100644 --- a/lime/graphics/opengl/GL.hx +++ b/lime/graphics/opengl/GL.hx @@ -7,6 +7,11 @@ import lime.utils.Int32Array; @:allow(lime.ui.Window) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GL { diff --git a/lime/graphics/opengl/GLActiveInfo.hx b/lime/graphics/opengl/GLActiveInfo.hx index 8db9a7534..f29619c5b 100644 --- a/lime/graphics/opengl/GLActiveInfo.hx +++ b/lime/graphics/opengl/GLActiveInfo.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + typedef GLActiveInfo = { size:Int, diff --git a/lime/graphics/opengl/GLBuffer.hx b/lime/graphics/opengl/GLBuffer.hx index e854c772c..e1efbf7ca 100644 --- a/lime/graphics/opengl/GLBuffer.hx +++ b/lime/graphics/opengl/GLBuffer.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLBuffer extends GLObject { diff --git a/lime/graphics/opengl/GLContextAttributes.hx b/lime/graphics/opengl/GLContextAttributes.hx index 20956dfd7..5672f04d4 100644 --- a/lime/graphics/opengl/GLContextAttributes.hx +++ b/lime/graphics/opengl/GLContextAttributes.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + typedef GLContextAttributes = { alpha:Bool, diff --git a/lime/graphics/opengl/GLFramebuffer.hx b/lime/graphics/opengl/GLFramebuffer.hx index 7bf3be9e7..e0bb594dd 100644 --- a/lime/graphics/opengl/GLFramebuffer.hx +++ b/lime/graphics/opengl/GLFramebuffer.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLFramebuffer extends GLObject { diff --git a/lime/graphics/opengl/GLObject.hx b/lime/graphics/opengl/GLObject.hx index 9342c43a3..52d469c4c 100644 --- a/lime/graphics/opengl/GLObject.hx +++ b/lime/graphics/opengl/GLObject.hx @@ -3,6 +3,11 @@ package lime.graphics.opengl; import lime.system.CFFIPointer; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GLObject { diff --git a/lime/graphics/opengl/GLProgram.hx b/lime/graphics/opengl/GLProgram.hx index 474e0d5f2..5ec65c669 100644 --- a/lime/graphics/opengl/GLProgram.hx +++ b/lime/graphics/opengl/GLProgram.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLProgram extends GLObject { diff --git a/lime/graphics/opengl/GLRenderbuffer.hx b/lime/graphics/opengl/GLRenderbuffer.hx index 64ddef91e..c9546e65c 100644 --- a/lime/graphics/opengl/GLRenderbuffer.hx +++ b/lime/graphics/opengl/GLRenderbuffer.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLRenderbuffer extends GLObject { diff --git a/lime/graphics/opengl/GLShader.hx b/lime/graphics/opengl/GLShader.hx index 2f947170b..d58aff55a 100644 --- a/lime/graphics/opengl/GLShader.hx +++ b/lime/graphics/opengl/GLShader.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLShader extends GLObject { diff --git a/lime/graphics/opengl/GLShaderPrecisionFormat.hx b/lime/graphics/opengl/GLShaderPrecisionFormat.hx index 19eab52c7..4119ee9b5 100644 --- a/lime/graphics/opengl/GLShaderPrecisionFormat.hx +++ b/lime/graphics/opengl/GLShaderPrecisionFormat.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + typedef GLShaderPrecisionFormat = { rangeMin:Int, diff --git a/lime/graphics/opengl/GLTexture.hx b/lime/graphics/opengl/GLTexture.hx index 7d4a4aa12..660dcc8a1 100644 --- a/lime/graphics/opengl/GLTexture.hx +++ b/lime/graphics/opengl/GLTexture.hx @@ -1,6 +1,12 @@ package lime.graphics.opengl; #if (!js || !html5 || display) +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class GLTexture extends GLObject { diff --git a/lime/graphics/utils/ImageDataUtil.hx b/lime/graphics/utils/ImageDataUtil.hx index 4a0688208..55cb0387f 100644 --- a/lime/graphics/utils/ImageDataUtil.hx +++ b/lime/graphics/utils/ImageDataUtil.hx @@ -20,6 +20,11 @@ import lime.utils.UInt8Array; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.graphics.ImageBuffer) @:access(lime.math.color.RGBA) diff --git a/lime/math/Matrix3.hx b/lime/math/Matrix3.hx index dc14783e0..186ae2568 100644 --- a/lime/math/Matrix3.hx +++ b/lime/math/Matrix3.hx @@ -1,6 +1,12 @@ package lime.math; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class Matrix3 { diff --git a/lime/math/Rectangle.hx b/lime/math/Rectangle.hx index 365687837..f302ae75c 100644 --- a/lime/math/Rectangle.hx +++ b/lime/math/Rectangle.hx @@ -5,6 +5,11 @@ package lime.math; import flash.geom.Rectangle in FlashRectangle; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Rectangle { diff --git a/lime/math/Vector2.hx b/lime/math/Vector2.hx index a656cccd9..b2cb7921d 100644 --- a/lime/math/Vector2.hx +++ b/lime/math/Vector2.hx @@ -5,6 +5,11 @@ package lime.math; import flash.geom.Point; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Vector2 { diff --git a/lime/math/Vector4.hx b/lime/math/Vector4.hx index a7f5c10ee..52e899e0c 100644 --- a/lime/math/Vector4.hx +++ b/lime/math/Vector4.hx @@ -1,6 +1,12 @@ package lime.math; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class Vector4 { diff --git a/lime/net/HTTPRequest.hx b/lime/net/HTTPRequest.hx index 20fc7ceef..9b29f14d0 100644 --- a/lime/net/HTTPRequest.hx +++ b/lime/net/HTTPRequest.hx @@ -6,6 +6,11 @@ import lime.app.Event; import lime.app.Future; import lime.app.Promise; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + #if display diff --git a/lime/net/HTTPRequestHeader.hx b/lime/net/HTTPRequestHeader.hx index 02f7c997d..8a1d0b4cb 100644 --- a/lime/net/HTTPRequestHeader.hx +++ b/lime/net/HTTPRequestHeader.hx @@ -1,6 +1,12 @@ package lime.net; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class HTTPRequestHeader { diff --git a/lime/net/URIParser.hx b/lime/net/URIParser.hx index e4638e49e..659bc778e 100644 --- a/lime/net/URIParser.hx +++ b/lime/net/URIParser.hx @@ -1,5 +1,12 @@ package lime.net; + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + // Based on http://blog.stevenlevithan.com/archives/parseuri class URIParser { diff --git a/lime/net/curl/CURLEasy.hx b/lime/net/curl/CURLEasy.hx index abdc39a0b..ff9b5250d 100644 --- a/lime/net/curl/CURLEasy.hx +++ b/lime/net/curl/CURLEasy.hx @@ -8,6 +8,11 @@ import lime.net.curl.CURL; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class CURLEasy { diff --git a/lime/system/BackgroundWorker.hx b/lime/system/BackgroundWorker.hx index c0e6c4b3d..54f5faed7 100644 --- a/lime/system/BackgroundWorker.hx +++ b/lime/system/BackgroundWorker.hx @@ -12,6 +12,11 @@ import neko.vm.Deque; import neko.vm.Thread; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class BackgroundWorker { diff --git a/lime/system/CFFI.hx b/lime/system/CFFI.hx index e3f4788dc..66d9b5899 100644 --- a/lime/system/CFFI.hx +++ b/lime/system/CFFI.hx @@ -7,6 +7,11 @@ import lime._macros.CFFIMacro; import sys.io.Process; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class CFFI { diff --git a/lime/system/Clipboard.hx b/lime/system/Clipboard.hx index 88f3ed37a..bcf67f057 100644 --- a/lime/system/Clipboard.hx +++ b/lime/system/Clipboard.hx @@ -11,6 +11,11 @@ import js.Browser.document; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Clipboard { diff --git a/lime/system/Display.hx b/lime/system/Display.hx index ab6e76f0d..82ecd0847 100644 --- a/lime/system/Display.hx +++ b/lime/system/Display.hx @@ -3,6 +3,11 @@ package lime.system; import lime.math.Rectangle; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Display { diff --git a/lime/system/DisplayMode.hx b/lime/system/DisplayMode.hx index c9dcba4d5..2da940596 100644 --- a/lime/system/DisplayMode.hx +++ b/lime/system/DisplayMode.hx @@ -3,6 +3,11 @@ package lime.system; import lime.graphics.PixelFormat; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class DisplayMode { diff --git a/lime/system/JNI.hx b/lime/system/JNI.hx index 97d7372e2..f8717227e 100644 --- a/lime/system/JNI.hx +++ b/lime/system/JNI.hx @@ -5,6 +5,11 @@ package lime.system; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class JNI { diff --git a/lime/system/Sensor.hx b/lime/system/Sensor.hx index 2e3dbae3c..1b644560d 100644 --- a/lime/system/Sensor.hx +++ b/lime/system/Sensor.hx @@ -3,6 +3,11 @@ package lime.system; import lime.app.Event; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Sensor { diff --git a/lime/system/System.hx b/lime/system/System.hx index ac7a4e027..09eb6ae00 100644 --- a/lime/system/System.hx +++ b/lime/system/System.hx @@ -18,6 +18,11 @@ import js.Browser; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.system.Display) @:access(lime.system.DisplayMode) diff --git a/lime/system/ThreadPool.hx b/lime/system/ThreadPool.hx index c86eca3e7..6e4397d22 100644 --- a/lime/system/ThreadPool.hx +++ b/lime/system/ThreadPool.hx @@ -12,6 +12,11 @@ import neko.vm.Deque; import neko.vm.Thread; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class ThreadPool { diff --git a/lime/text/Font.hx b/lime/text/Font.hx index b8362af98..58db26bca 100644 --- a/lime/text/Font.hx +++ b/lime/text/Font.hx @@ -25,6 +25,11 @@ import haxe.io.Path; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + #if (!display && !nodejs && !macro) @:autoBuild(lime._macros.AssetsMacro.embedFont()) #end diff --git a/lime/text/GlyphMetrics.hx b/lime/text/GlyphMetrics.hx index faf9714ad..2035c9b70 100644 --- a/lime/text/GlyphMetrics.hx +++ b/lime/text/GlyphMetrics.hx @@ -3,6 +3,11 @@ package lime.text; import lime.math.Vector2; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GlyphMetrics { diff --git a/lime/text/GlyphPosition.hx b/lime/text/GlyphPosition.hx index b61531691..432a66b1e 100644 --- a/lime/text/GlyphPosition.hx +++ b/lime/text/GlyphPosition.hx @@ -3,6 +3,11 @@ package lime.text; import lime.math.Vector2; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GlyphPosition { diff --git a/lime/text/TextLayout.hx b/lime/text/TextLayout.hx index 5b789c025..a836664a6 100644 --- a/lime/text/TextLayout.hx +++ b/lime/text/TextLayout.hx @@ -9,6 +9,11 @@ import lime.system.System; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.text.Font) diff --git a/lime/ui/FileDialog.hx b/lime/ui/FileDialog.hx index 6d57bd58c..3367423d8 100644 --- a/lime/ui/FileDialog.hx +++ b/lime/ui/FileDialog.hx @@ -13,6 +13,11 @@ import sys.io.File; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class FileDialog { diff --git a/lime/ui/Gamepad.hx b/lime/ui/Gamepad.hx index dabd2a048..20f2e67ca 100644 --- a/lime/ui/Gamepad.hx +++ b/lime/ui/Gamepad.hx @@ -7,6 +7,11 @@ import lime.app.Event; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.ui.Joystick) diff --git a/lime/ui/Haptic.hx b/lime/ui/Haptic.hx index e7d91d988..dbd4a3a75 100644 --- a/lime/ui/Haptic.hx +++ b/lime/ui/Haptic.hx @@ -8,6 +8,11 @@ import lime.utils.Log; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Haptic { diff --git a/lime/ui/Joystick.hx b/lime/ui/Joystick.hx index a17706de6..a26367c87 100644 --- a/lime/ui/Joystick.hx +++ b/lime/ui/Joystick.hx @@ -7,6 +7,11 @@ import lime.app.Event; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Joystick { diff --git a/lime/ui/Mouse.hx b/lime/ui/Mouse.hx index 6ed267d29..dbd27407d 100644 --- a/lime/ui/Mouse.hx +++ b/lime/ui/Mouse.hx @@ -1,6 +1,12 @@ package lime.ui; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + + class Mouse { diff --git a/lime/ui/Touch.hx b/lime/ui/Touch.hx index 9405dbff7..cfa42ef01 100644 --- a/lime/ui/Touch.hx +++ b/lime/ui/Touch.hx @@ -3,6 +3,11 @@ package lime.ui; import lime.app.Event; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Touch { diff --git a/lime/ui/Window.hx b/lime/ui/Window.hx index f8ab04eac..3ed9dcfae 100644 --- a/lime/ui/Window.hx +++ b/lime/ui/Window.hx @@ -16,6 +16,11 @@ import flash.display.Stage; typedef Stage = Dynamic; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Window { diff --git a/lime/utils/ArrayBufferView.hx b/lime/utils/ArrayBufferView.hx index 2c45292cc..7ca3a7a4b 100644 --- a/lime/utils/ArrayBufferView.hx +++ b/lime/utils/ArrayBufferView.hx @@ -5,7 +5,12 @@ package lime.utils; typedef ArrayBufferView = js.html.ArrayBufferView; #else - + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class ArrayBufferView { public var type = TypedArrayType.None; diff --git a/lime/utils/AssetCache.hx b/lime/utils/AssetCache.hx index 0e0de938b..c634fb928 100644 --- a/lime/utils/AssetCache.hx +++ b/lime/utils/AssetCache.hx @@ -5,6 +5,11 @@ import lime._macros.AssetsMacro; import lime.audio.AudioBuffer; import lime.graphics.Image; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AssetCache { diff --git a/lime/utils/AssetLibrary.hx b/lime/utils/AssetLibrary.hx index 47038b7d3..14f712377 100644 --- a/lime/utils/AssetLibrary.hx +++ b/lime/utils/AssetLibrary.hx @@ -14,6 +14,11 @@ import flash.display.BitmapData; import flash.media.Sound; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AssetLibrary { diff --git a/lime/utils/AssetManifest.hx b/lime/utils/AssetManifest.hx index 0808a47dc..10653f484 100644 --- a/lime/utils/AssetManifest.hx +++ b/lime/utils/AssetManifest.hx @@ -10,6 +10,11 @@ import lime.utils.Bytes; import haxe.Json; #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class AssetManifest { diff --git a/lime/utils/Assets.hx b/lime/utils/Assets.hx index 49bca1606..e0a79e00d 100644 --- a/lime/utils/Assets.hx +++ b/lime/utils/Assets.hx @@ -34,6 +34,11 @@ import haxe.Json; * in the project file.

*/ +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + @:access(lime.utils.AssetLibrary) diff --git a/lime/utils/DataView.hx b/lime/utils/DataView.hx index 6b50c5065..215c9f3e9 100644 --- a/lime/utils/DataView.hx +++ b/lime/utils/DataView.hx @@ -103,7 +103,12 @@ import lime.utils.ArrayBufferView; #else - import lime.utils.ArrayBuffer; +import lime.utils.ArrayBuffer; + +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end class DataView { diff --git a/lime/utils/Float32Array.hx b/lime/utils/Float32Array.hx index 62c5e1529..89669411e 100644 --- a/lime/utils/Float32Array.hx +++ b/lime/utils/Float32Array.hx @@ -64,7 +64,7 @@ package lime.utils; abstract Float32Array(ArrayBufferView) from ArrayBufferView to ArrayBufferView { public inline static var BYTES_PER_ELEMENT : Int = 4; - +public static var hello:Int; public var length (get, never):Int; @:generic diff --git a/lime/utils/GLUtils.hx b/lime/utils/GLUtils.hx index 224beebde..a85924269 100644 --- a/lime/utils/GLUtils.hx +++ b/lime/utils/GLUtils.hx @@ -6,6 +6,11 @@ import lime.graphics.opengl.GLShader; import lime.graphics.opengl.GL; import lime.utils.Log; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GLUtils { diff --git a/lime/utils/Log.hx b/lime/utils/Log.hx index 8c2d64eb4..a2eb268ed 100644 --- a/lime/utils/Log.hx +++ b/lime/utils/Log.hx @@ -3,6 +3,11 @@ package lime.utils; import haxe.PosInfos; +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Log { diff --git a/lime/utils/compress/Deflate.hx b/lime/utils/compress/Deflate.hx index ce35a90f0..559a392a9 100644 --- a/lime/utils/compress/Deflate.hx +++ b/lime/utils/compress/Deflate.hx @@ -11,6 +11,11 @@ import flash.utils.ByteArray; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Deflate { diff --git a/lime/utils/compress/GZip.hx b/lime/utils/compress/GZip.hx index 9687c812e..087b9869a 100644 --- a/lime/utils/compress/GZip.hx +++ b/lime/utils/compress/GZip.hx @@ -7,6 +7,11 @@ import haxe.io.Bytes; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class GZip { diff --git a/lime/utils/compress/LZMA.hx b/lime/utils/compress/LZMA.hx index fc02486ea..968fcddc0 100644 --- a/lime/utils/compress/LZMA.hx +++ b/lime/utils/compress/LZMA.hx @@ -12,6 +12,11 @@ import flash.utils.ByteArray; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class LZMA { diff --git a/lime/utils/compress/Zlib.hx b/lime/utils/compress/Zlib.hx index 9340f055f..386748e47 100644 --- a/lime/utils/compress/Zlib.hx +++ b/lime/utils/compress/Zlib.hx @@ -11,6 +11,11 @@ import flash.utils.ByteArray; @:build(lime.system.CFFI.build()) #end +#if !lime_debug +@:fileXml('tags="haxe,release"') +@:noDebug +#end + class Zlib {