Version History

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Sputnik 0.33 @ 20-09-2015 05:55PM)
(Sputnik 0.34 @ 24-09-2015 05:45 AM)
Line 1: Line 1:
 +
== Sputnik 0.35 @ 29-09-2015 12:17 AM ==
 +
* Bitwise string stuff no longer casts each string char as a byte (thus losing data if its unicode) so it now correctly works with Sputniks unicode strings
 +
* Fixed a bug where the list of classes a class inherits may get disordered resulting in some interesting things to happen
 +
* Greatly improved speed of class magic functions: JsonSerialize() ShouldJsonSerialize() __Set() _Get() __IsSet() __Unset()
 +
* Fixed a bug where isset($a['Bar']); would not call the class function __IsSet() with first param as 'Bar' at all
 +
* Fixed a bug where isset($a['Bar']); would call the class function __Get() when it shouldnt
 +
* Fixed a bug where unset($a['Bar']); would call the class function __Get() when it shouldnt
 +
* Fixed a glitch where if there is no class function __Unset() and you did unset($a['Bar']); it would try unset the elemnent
 +
* Parent::FunctionName() will no longer give an error if you inherited more than one class and will instead use the first inherited class to locate the function if it is not found on the first it wil try the second and so on until it finds it
 +
* Renamed function Use() to PluginLoad()
 +
* Renamed function Unuse() to PluginUnload()
 +
* Removed function TokenClass()
 +
* Removed function IsToken()
 +
* The parser no longer needs to use TokenClass()/IsToken() or ObjToVar() and as a result is more user friendly also it doesnt require pointers anymore (the calc example has been updated to show this change)
 +
* Fixed a minor issue where Parse() might not return NULL on a certain failure
 +
* You no longer need to have the __Construct() { } as an empty when using the parser you can now omit it entirely
 +
* Renamed magic class function __call() to __invoke()
 +
* Added magic class function __call() it has two arguments the first is a function name and the second is an array of params this will get called if you try call a class function that does not exist its name and arguments you tried to use will be passed to __call()
 +
* Added magic class function __callStatic() it works similar to __call() but instead of working on an instance it works in static context only
 +
* Call() no longer checks if you typed a static function
 +
* CallArray() no longer checks if you typed a static function
 +
* ->/=> no longer checks if you typed a static function
 +
* class::function no longer tells you if you didnt type a static function
 +
* self:: now shows an error if there is no self class found
 +
* Removed requirements that enum (when using flags) values be divisible by 2 and and higher than 0 this means you get to decide what the number is and join multiple flags together however you should take care to make sure the number is valid
 +
* Renamed rule "override" on enums to "replace"
 +
* Renamed rule "override" on functions to "replace"
 +
* Added UInteger() and the new cast (UInteger) for unsigned 64-bit integer (or highest available)
 +
* You can now use the "Not" keyword instead of "!" for example if (NOT $a) is the same as if (!$a)
 +
* You can now do $array .= "Value" and no longer need to encase "Value" in array("Value")
 +
* You can now do $array ..= "Value" and no longer need to encase "Value" in array("Value")
 +
* Fixed a bug where say("CAT") x 3 would print "CATCATCAT" instead of printing each one on a new line
 +
* Fixed same bug as above this time time with xx instead of x
 +
* You can now have infinite $ on your variable for use with Variable Variables like $$$$bar it will resolve each one
 +
* Added IntDiv() it works like a normal $a / $b when using integers but does it in a function
 +
* Added FDiv() it works like IntDiv() but for use with floating point numbers
 +
* Fixed a bug where Switch() wasnt working properly with ranges and regex
 +
* Fixed a bug in preprocessor where #predef and #unpredef would get confused by case now it is properly case insensitive
 +
* Fixed a bug with the parser that caused the current instance of Sputnik to get lost on second parse when using preprocessor
 +
* Fixed a bug where if you did a function name with no brackets like test; the ";" symbol would be used as its *first and only* param this has been fixed so now ; is omitted from any call this also means you can no longer use ; as a computable value
 +
* As a result of the above fix you can now use redo; properly again in try/catch/finally
 +
* You can now omit the ( ) when doing "my $Func = Function() { printr @Args; };" like so "my $Func = Function { printr @Args; };" this will cause the Args rule to set to TRUE automatically so you dont need to type it
 +
* Added new macro @ArgCount this contains the number elements in @Args for functions with infinite params @ArgCount is basically Count(@Args)
 +
 
== Sputnik 0.34 @ 24-09-2015 05:45 AM ==
 
== Sputnik 0.34 @ 24-09-2015 05:45 AM ==
 
* Def has been renamed to Const since Def was confusing for some people
 
* Def has been renamed to Const since Def was confusing for some people

Revision as of 23:17, 28 September 2015

Contents

Sputnik 0.35 @ 29-09-2015 12:17 AM

Sputnik 0.34 @ 24-09-2015 05:45 AM

Sputnik 0.33 @ 20-09-2015 05:55 PM

Sputnik 0.32 @ 18-09-2015 08:04 PM

Sputnik 0.31 @ 14-09-2015 10:18 PM

Sputnik 0.30 @ 26-06-2015 03:33 PM

Sputnik 0.29 @ 25-06-2015 08:40 AM

Sputnik 0.28 @ 19-06-2015 07:12 PM

Sputnik 0.27 @ 14-06-2015 01:15 PM

Sputnik 0.26 @ 07-06-2015 10:08 AM

Sputnik 0.25 @ 16-12-2014 08:06 AM

Sputnik 0.24 @ 29-11-2014 01:05 AM

Whats New

Known issues in current version:

Sputnik 0.23b3 @ 14-08-2014 10:09 PM

Whats New

Sputnik 0.23b2 @ 14-08-2014 02:18 PM

Whats New

Sputnik 0.23b1 @ 12-08-2014 02:23 AM

Whats New

Sputnik 0.23 @ 08-11-2014 05:54 AM

Whats New

Sputnik 0.22 @ 03-21-2014 05:54 AM

Whats New

Sputnik 0.21 @ 09-28-2013 05:26 PM

Whats New

Sputnik 0.20 @ 09-19-2013 10:58 PM

Whats New

Sputnik 0.19 @ 09-16-2013 10:25 PM

Whats New

Sputnik 0.18 @ 09-12-2013 01:42 AM

Whats New

$a = array(); $a[0] = "blah"; $a[1] = $a;

println("C:\\"); // Where as this would fail <-- No longer fails

Sputnik 0.17 @ 08-29-2013 05:49 PM

Whats New

Sputnik 0.16 @ 08-25-2013 07:56 AM

Whats New

Sputnik 0.15 @ 08-25-2013 01:15 AM

Whats New

Lower than 0.15

No information available.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox