Skip to content
Permalink
Branch: master
Commits on Mar 22, 2019
  1. Merge PR #39: consolidate common tests

    jonasmalacofilho committed Mar 22, 2019
    from jonasmalacofilho/consolidate-the-tests
  2. Consolidate common tests and run all of them for both databases

    jonasmalacofilho committed Mar 22, 2019
    In the process, also:
    
     - always run SQLite tests first, as they are mandatory
     - re-enable a lost test case
  3. Merge PR #38: don't break @:skip fields with the cache

    jonasmalacofilho committed Mar 22, 2019
    from jonasmalacofilho/fix-other-php-issues
  4. Don't break @:skip fields when resetting cached & unlocked objects

    jonasmalacofilho committed Mar 22, 2019
    Unlike in Neko, in PHP a field can no longer be accessed after it has
    been removed with Reflect.deleteField.  Use Reflect.setField instead.
    
    Not bothering with clearing the fields of cache items was considered,
    but would make the behavior @:skip fields less predictable, besides
    potentially breaking user code.
    
    Related: HaxeFoundation/haxe#8016 ("Possible PHP7 haxe.Serializer bug")
    Closes: #34 ("Synchronizing the fields")
Commits on Mar 21, 2019
  1. Merge PR #37: don't allow Date.toString to be removed and fix PHP issues

    jonasmalacofilho committed Mar 21, 2019
    from jonasmalacofilho/fix-other-php-issues
    
    Closes #30
  2. Don't allow Date.toString to be removed by DCE and fix PHP issues

    jonasmalacofilho committed Mar 21, 2019
    Date.toString can be removed by DCE when targeting PHP and in
    record-macros we typically do the equivalent to:
    
    	class Main {
    		static function main()
    		{
    			Sys.println(Std.string((Date.now():Dynamic)));
    		}
    	}
    
    To fix the problem and make sure Date.toString is never removed (when
    using this library), add @:keep through a initialization macro.
    
    This however requires changing the test and travis files to use
    record-macros as a library, instead of directly as a class path.
    
    All test now pass PHP, and have been re-enabled.
  3. Merge PR #21: match field types by name and sub-type name

    jonasmalacofilho committed Mar 21, 2019
    from jonasmalacofilho/fix-issue-19
  4. Match field types by name and sub-type name

    jonasmalacofilho committed Apr 18, 2018
    Fixes #19, where typing a field as `sys.db.Types.SEnum` would not be
    correctly handled.
    
    Rebased to account for 1b86f1c ("use hexUnit").
  5. Merge PR #35: fix additional errors and warnings on Haxe 4

    jonasmalacofilho committed Mar 21, 2019
    from jonasmalacofilho/more-haxe-4-fixes
    
    Closes #33
Commits on Mar 20, 2019
  1. Avoid calling removed module and macro context reuse APIs in Haxe 4

    jonasmalacofilho committed Mar 20, 2019
    See: HaxeFoundation/haxe@64d1665 ("Reset static inits in macros
    when the context is reused")
Commits on Oct 1, 2017
  1. Get the actual type from a TLazy (#14)

    jonasmalacofilho authored and Simn committed Oct 1, 2017
Commits on Aug 23, 2017
  1. Fix compilation errors with Haxe 4: abstract Null<T> and OpIn (#12)

    jonasmalacofilho authored and Simn committed Aug 23, 2017
    * Handle both typedef and abstract Null<T>
    
    Haxe 4 has switched to an abstract Null<T> [see: HaxeFoundation/haxe#6380].
    
    * Handle both EIn (Haxe 3) and OpIn (Haxe 4)
    
    Haxe 4 made the change from an `EIn` expression to an `OpIn` binop [see:
    HaxeFoundation/haxe#6471].
Commits on May 14, 2017
  1. Remove dynamic getters&setters for Neko (#9)

    jonasmalacofilho authored and Simn committed May 14, 2017
You can’t perform that action at this time.