Skip to content
Permalink
Branch: master
Commits on Mar 9, 2019
  1. ci: upgrade to Go 1.11.5 (#903)

    myitcv committed Mar 9, 2019
    So that we can then see the true diff that the Go 1.12 changes in
    #900 will introduce.
  2. ci: use black list instead of white list for standard library tests (#…

    myitcv authored and hajimehoshi committed Mar 9, 2019
    …902)
    
    Using a black list is a more effective mechanism for expressing those
    standard library packages we don't want to test because it means we
    don't need to manually check whether new standard library packages have
    been added that would otherwise need to be added to the white list.
    
    See the discussion in #900 for
    more context.
Commits on Jun 28, 2018
  1. node-syscall: Use Get instead of deprecated CloneElementAt. (#810)

    myitcv authored and dmitshur committed Jun 28, 2018
    Update Node.js version to 10.0.0.
    
    CloneElementAt has been deprecated and removed in Node.js 10.0.0.
    Replace it with Get, which is sufficient here.
    
    Fixes #809.
Commits on Apr 24, 2018
  1. compiler: Use gcexportdata instead of gcimporter15. (#803)

    myitcv authored and dmitshur committed Apr 24, 2018
    This change updates compiler to use new package gcexportdata instead of
    the deprecated and removed package gcimporter15 for reading and writing
    export data files containing type information.
    
    See its deprecation note here:
    
    https://github.com/golang/tools/blob/14d5b80f954f510ba9bcd241821b6f4828498e1a/go/gcimporter15/gcimporter.go#L13-L14
    
    Remove vendored copy of gcimporter15, since it's no longer used.
    
    Updates #789.
Commits on Apr 20, 2018
  1. compiler: automate regeneration of prelude (#784)

    myitcv authored and hajimehoshi committed Apr 20, 2018
    This is a rebase of #765.
    
    Whilst rebasing #669 I fell into a similar trap to #775 (#775 (comment)),
    by forgetting to commit the manually minified prelude.
    
    Then going through the manual process of manually minifying the prelude I wasted a whole load of
    time installing goexec, missing something the first time etc, issues that this PR addresses by
    automating the process, as previously discussed (#765 (comment)).
Commits on Apr 19, 2018
  1. CI: Update to Go 1.10.1. (#795)

    myitcv authored and dmitshur committed Apr 19, 2018
Commits on Apr 16, 2018
  1. compiler: support arbitrary value js struct tag values (#779)

    myitcv authored and dmitshur committed Apr 16, 2018
    JavaScript allows for arbitrary strings to be used as index values on an
    Object. A good example of where this comes up is React where `"data-*"`
    and `"aria-*"` indexes are used on objects (https://reactjs.org/docs/dom-elements.html).
    
    By switching from property selectors to index operator (where required),
    we support arbitrary string values in js-tagged fields for *js.Object
    special structs.
    
    Fixes #778.
Commits on Apr 10, 2018
  1. compiler: Vendor golang.org/x/tools/go/gcimporter15.

    myitcv authored and dmitshur committed Apr 10, 2018
    The golang.org/x/tools/go/gcimporter15 package has been removed (as
    promised) in golang/tools@5dfd893.
    This change vendors a copy of that package at golang/tools@14d5b80
    without *_test.go and testdata (which contained binary files).
    
    The deprecation notice suggests that new code should use
    golang.org/x/tools/go/gcexportdata package, which we can
    consider in the future.
    
    Fixes #788.
    
    GitHub-Pull-Request: #789.
Commits on Sep 6, 2017
  1. compiler: Fix generated code for type switch with *js.Object case. (#683

    myitcv authored and dmitshur committed Sep 6, 2017
    )
    
    This brings generated JS code for a type switch with a *js.Object
    case in line with the runtime $assertType function. For *js.Object
    type, we have to dereference via .$val.object. See
    https://github.com/gopherjs/gopherjs/blob/4b94c02883c52ae7f268e602db1dacf7bd0fbd78/compiler/prelude/types.go#L735-L740.
    
    Fixes #682.
  2. Set stack_size from ulimit; set ulimit to 10000 in CI. (#687)

    myitcv authored and dmitshur committed Sep 6, 2017
    The goal of this change is to fix intermittent test failures we've started seeing
    recently:
    
    	=== RUN   TestMaxExecDepth
    	FAIL	text/template	2.272s
    
    In 1f89545, the --stack_size flag was
    passed to Node.js. In nodejs/node#14567, it was pointed
    out that the value of ulimit -s must be >= the value of --stack_size.
    
    This change makes that so by setting --stack_size based on the current value
    of ulimit, and sets ulimit to 10000 in CI.
You can’t perform that action at this time.