TkScript

news 2010


 
Table of Contents:

1. October, 31st (v0.9.12.44)
Changelog:
 
added: new tks-setup.exe and tks.zip Win32 binary snapshots, also see Windows 2000/XP/Vista/Win7 32bit
 
fixed: tks: fixed an issue regarding the usage of not-yet-defined class constants in static initializers
fixed: tks: uncaught exceptions in threads did not cause a backtrace to be printed to the console
fixed: tks: uncaught exceptions in native signal callbacks did not cause a backtrace to be printed to the console
fixed: tks: strings assigned to scalars (int/float) are now properly converted to numbers, if possible
fixed: tks: fixed a multiple inheritance issue that caused a wrong vtable setup if a baseclass occured multiple times. Also see the test_virtualdispatch_network.tks example.
fixed: tks: degenerate interpolation results in Envelope class
fixed: tks: Envelope.get() returned wrong values when tick delta_time was greater than envelope entry delta time
fixed: tks: assignment of String to Object variable in argument lists overwrote the original variable type
fixed: tks: return statement without expr always returned int 0, instead of the previously assigned return value
fixed: tks: Stream.eof() did not return true if file offset was exactly at end of file. replaced the call to feof() with some custom code to fix it.
fixed: tks: class_id 255 is not used as invalid class id anymore (current maxclasses limit is 512)
fixed: tks: type mismatch in foreach (String/Object, if var is String and iterator object is Object)
fixed: tks: string parsing bug: escaped characters (e.g. \n) were under certain circumstances not correctly re-substituted after the \' escape character (for example when parsing attribute values in XML files)
fixed: tks: local Object arguments created instances (interesting how this went unnoticed for so long :)
fixed: tks: script contexts were freed before plugins were unloaded
fixed: tks: IntArray, FloatArray, StringArray sortByValue/sortByLength methods did not empty the return array if there was not any data to sort
removed: tks: obsolete single-threaded TKS_POOL_* implementations (superseded by the generic ObjectPool feature)
changed: tks: only show missing context error message in class yacOperatorInit if class actually has any constructors
changed: tks: array/foreach iterators are now allocated on the stack
changed: tks: increased maximum number of class members to 128
changed: tks: increased maximum number of static class methods to 256
changed: tks: increased maximum number of lines per source file from 8000 to 12000
changed: tks: on Linux, "./" is now prepended to find plugins in the current working directory
changed: tks: on Linux, SIGIO is now blocked by default (was required for asynchronous ALSA sound output)
added: tks: function profiler (TKS_PROFILE_FUNCTION_CALLSITES compile time option). If defined, only function calls are profiled when the profiler is compiled in and enabled at runtime. Profiling every single statement line (like in previous versions) may skew the results because of the time measurement overhead.
added: tks: mathClampf(), mathWrapf() functions
added: tks: added Envelope.removeRangeUntilNext(), Envelope.removeRangeSH(), Envelope.shiftNextEvent() methods
added: tks: source files prefixed with local: are now always loaded from the local file system and will not be placed into pak files
changed: tkopengl: renamed glGetInteger to zglGetInteger() and added glGetIntegerv(), zglGetFloat(), glGetFloatv()
changed: tkopengl: renamed zglTexImage3D to glTexImage3D() and added glTexImage1D(), glTexImage2D()
added: tkopengl: GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_MIRRORED_REPEAT, GL_FRAGMENT_DEPTH constants
added: tkopengl: zglDeleteTexture()
added: tkopengl: added framebuffer object (FBO) extension functions (glIsRenderbuffer(), glBindRenderbuffer(), zglDeleteRenderbuffer(), zglGenRenderbuffer(), glRenderbufferStorage(), zglGetRenderbufferParameteri(), glIsFramebuffer(), glBindFramebuffer(), zglDeleteFramebuffer(), zglGenFramebuffer(), glCheckFramebufferStatus(), glFramebufferTexture1D(), glFramebufferTexture2D(), glFramebufferTexture3D(), glFramebufferRenderbuffer(), zglGetFramebufferAttachmentParameteri(), glGenerateMipmap()) and constants (GL_FRAMEBUFFER, GL_RENDERBUFFER, GL_STENCIL_INDEX1, GL_STENCIL_INDEX4, GL_STENCIL_INDEX8, GL_STENCIL_INDEX16, GL_RENDERBUFFER_WIDTH, GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT, GL_RENDERBUFFER_RED_SIZE, GL_RENDERBUFFER_GREEN_SIZE, GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_ALPHA_SIZE, GL_RENDERBUFFER_DEPTH_SIZE, GL_RENDERBUFFER_STENCIL_SIZE, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET, GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2, GL_COLOR_ATTACHMENT3, GL_COLOR_ATTACHMENT4, GL_COLOR_ATTACHMENT5, GL_COLOR_ATTACHMENT6, GL_COLOR_ATTACHMENT7, GL_COLOR_ATTACHMENT8, GL_COLOR_ATTACHMENT9, GL_COLOR_ATTACHMENT10, GL_COLOR_ATTACHMENT11, GL_COLOR_ATTACHMENT12, GL_COLOR_ATTACHMENT13, GL_COLOR_ATTACHMENT14, GL_COLOR_ATTACHMENT15, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_COMPLETE, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, GL_FRAMEBUFFER_INCOMPLETE_FORMATS, GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER, GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER, GL_FRAMEBUFFER_UNSUPPORTED, GL_FRAMEBUFFER_BINDING, GL_RENDERBUFFER_BINDING, GL_MAX_COLOR_ATTACHMENTS, GL_MAX_RENDERBUFFER_SIZE, GL_INVALID_FRAMEBUFFER_OPERATION)
added: tkopengl: GL_ARB_texture_rectangle extension constants GL_TEXTURE_RECTANGLE, GL_TEXTURE_BINDING_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_MAX_RECTANGLE_TEXTURE_SIZE, GL_TEXTURE_RECTANGLE, GL_SAMPLER_2D_RECT, GL_SAMPLER_2D_RECT_SHADOW
fixed: tkui: GTK filedialog: crash in single selection mode
added: tkui: layer compositing manager (saves a lot of redraws by caching floating layers into FBOs)
added: tkui: numerous fixes and improvements
added: tkfileutils plugin and ui_filedialogs.tsl script library
2. Older news


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:05