Skip to content

Gaclib 1.1.3.0

Compare
Choose a tag to compare
@vczh vczh released this 10 Dec 00:51
· 103 commits to master since this release

GacUI 1.1.3.0

GacUI / C++ Interoperable Script Engine (Apache License 2.0 with extra conditions)

Website for this project: http://www.gaclib.net/

This repository contains the latest release for the GacUI project, including packed library source codes, development tools, demos and documents. Complete source code can be accessed in https://github.com/vczh-libraries .

Version

This version is a sub release towards GacUI 2.0.
Please check out 1.0-rc-3 for GacUI 1.0.

Breaking Changes:

  • Vlpp
    • Remove KeyType template argument from containers. They cannot be changed anymore.
    • Remove LAMBDA, please change LAMBDA([]...) to Func([]...).
    • Remove MakePtr, please change MakePtr<T>(...) to Ptr(new T(...)).
    • The constructor from T* to Ptr<T> and ComPtr<T> become explicit, implicit conversions will need to be explicit from now on. For example:
      • Change Ptr<T> t = new T(...); to auto t = Ptr(new T(...));.
      • Change List<Ptr<T>> ts; ts.Add(new T(...)); to ts.Add(Ptr(new T(...)));.
      • Change List<Ptr<T>> ts; auto t = new T(...); ts.Add(t); to either auto t = Ptr(new T(...)); or ts.Add(Ptr(t));.
      • Note: types inherited from DescriptableObject have a special mechanism, allowing you to convert the same object in T* to Ptr<T> multiple times. Doing this to other types will end up crashing when destructing Ptr<T>.

Enhancements:

  • VlppParser2
    • Fix bugs involving prefix_merge.
  • Release
    • Tutorial codes are updated to reflect the above changing.