Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-java from 3 to 4 #2

Open
wants to merge 75 commits into
base: master
Choose a base branch
from

Commits on Mar 25, 2020

  1. Include field names in rendering of Product (Scala 2.13 only)

    This is only available in Scala 2.13 because it makes use of
    productElementNames. The behaviour is unchanged in Scala 2.11/2.12.
    cb372 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    93203e1 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. backup

    yilinwei committed May 19, 2020
    Configuration menu
    Copy the full SHA
    5b75491 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. backup

    yilinwei committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    e5eaf1c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Merge pull request com-lihaoyi#38 from cb372/product-element-names

    [WIP] Include field names in rendering of Product (Scala 2.13 only)
    lihaoyi authored Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b1c6332 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8258a74 View commit details
    Browse the repository at this point in the history
  3. 0.6.0

    lihaoyi committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    72d930a View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. See if CI has same issue

    yilinwei committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    eaa14e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. Add tests back in

    yilinwei committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    3a3cbd1 View commit details
    Browse the repository at this point in the history
  2. Delete TPrintTests.scala~

    yilinwei authored Aug 5, 2020
    Configuration menu
    Copy the full SHA
    8e38755 View commit details
    Browse the repository at this point in the history
  3. Update TPrintTests.scala

    yilinwei authored Aug 5, 2020
    Configuration menu
    Copy the full SHA
    ca602c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    731faa0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d111e4 View commit details
    Browse the repository at this point in the history
  6. Apply suggestions from code review

    Co-authored-by: Anatolii Kmetiuk <anatoliykmetyuk@gmail.com>
    yilinwei and anatoliykmetyuk authored Aug 5, 2020
    Configuration menu
    Copy the full SHA
    55433a4 View commit details
    Browse the repository at this point in the history
  7. Update pprint/src-0/TPrintImpl.scala

    Co-authored-by: Anatolii Kmetiuk <anatoliykmetyuk@gmail.com>
    yilinwei and anatoliykmetyuk authored Aug 5, 2020
    Configuration menu
    Copy the full SHA
    51abe98 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9e44001 View commit details
    Browse the repository at this point in the history
  9. Address Nicolas's comments

    yilinwei committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    2a22466 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5a0ebd4 View commit details
    Browse the repository at this point in the history
  11. Fix constructor for dotty

    yilinwei committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    061f6ae View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Merge pull request com-lihaoyi#41 from yilinwei/master

    Dotty initial support
    anatoliykmetyuk authored Aug 6, 2020
    Configuration menu
    Copy the full SHA
    7ea3c1e View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    5f9e4d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    2b0a95e View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Merge pull request com-lihaoyi#46 from tgodzik/fix-annotated-type

    Fix printing of annotated type
    lihaoyi authored Sep 3, 2020
    Configuration menu
    Copy the full SHA
    6c62919 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. Configuration menu
    Copy the full SHA
    960a298 View commit details
    Browse the repository at this point in the history
  2. Merge pull request com-lihaoyi#48 from lihaoyi/bump-dotty

    Bump Dotty to 0.27.0-RC1
    anatoliykmetyuk authored Sep 17, 2020
    Configuration menu
    Copy the full SHA
    a1ad168 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. Configuration menu
    Copy the full SHA
    6560f7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df35390 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    46eb823 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    95136d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73353ed View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Configuration menu
    Copy the full SHA
    4a135e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Configuration menu
    Copy the full SHA
    ee55dc3 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. Contextualize Type

    nicolasstucki committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    bb3f91f View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Configuration menu
    Copy the full SHA
    bf98e5f View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2020

  1. Configuration menu
    Copy the full SHA
    cd3ccb0 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2020

  1. Use quotes alias

    nicolasstucki committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    05aae07 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Configuration menu
    Copy the full SHA
    5ef9cc2 View commit details
    Browse the repository at this point in the history
  2. Bump Dotty to M2

    anatoliykmetyuk committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    2a702bf View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Merge pull request com-lihaoyi#49 from dotty-staging/dotty-community-…

    …build
    
    Bump Scala 3 to M2
    anatoliykmetyuk authored Nov 26, 2020
    Configuration menu
    Copy the full SHA
    94f9f4a View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Update Scala Native to 0.4.0

    lolgab committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    7ee2168 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. Update Scala 3.0.0-M3 syntax

    lolgab committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    4f5bcdc View commit details
    Browse the repository at this point in the history
  2. Fix macro on Scala 2.13

    lolgab committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    5279faf View commit details
    Browse the repository at this point in the history
  3. Merge pull request com-lihaoyi#52 from lolgab/update-scala-native-0.4.0

    Update Scala Native to 0.4.0
    lihaoyi authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    d8f1806 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Upgrade to Scala 3.0.0-RC1

    nicolasstucki authored and Jakob Odersky committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    3704f26 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Merge pull request com-lihaoyi#54 from dotty-staging/backprop

    Upgrade to Scala 3.0.0-RC1
    anatoliykmetyuk authored Feb 24, 2021
    Configuration menu
    Copy the full SHA
    126a33f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2021

  1. Add Github actions, publishVersion from git tag

    Remove Travis script
    lolgab committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    0cc1081 View commit details
    Browse the repository at this point in the history
  2. Merge pull request com-lihaoyi#56 from com-lihaoyi/add-github-actions

    Add Github actions, publishVersion from git tag
    lolgab authored Mar 7, 2021
    Configuration menu
    Copy the full SHA
    89252ec View commit details
    Browse the repository at this point in the history
  3. Support Scala 3 on Scala.js

    lolgab committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    3c2aadf View commit details
    Browse the repository at this point in the history
  4. Merge pull request com-lihaoyi#57 from com-lihaoyi/scala-js-scala3

    Support Scala 3 on Scala.js
    lolgab authored Mar 7, 2021
    Configuration menu
    Copy the full SHA
    8da5718 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Publish for Scala 2.11

    - Remove parallelism from CI which is flaky
    lolgab committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    85f33dc View commit details
    Browse the repository at this point in the history
  2. Merge pull request com-lihaoyi#60 from com-lihaoyi/publish-scala-2.11

    Publish for Scala 2.11
    lolgab authored Mar 25, 2021
    Configuration menu
    Copy the full SHA
    38825ee View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Bump scala version

    jodersky committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    c8f0470 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Configuration menu
    Copy the full SHA
    069bae1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request com-lihaoyi#62 from dotty-staging/scala3-release-3…

    ….0.0-RC3
    
    Upgrade Dotty to 3.0.0-RC3
    jodersky authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    8613a8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f27075 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Merge pull request com-lihaoyi#61 from dotty-staging/ci-releases

    Create release on GitHub when releasing to Maven
    anatoliykmetyuk authored May 4, 2021
    Configuration menu
    Copy the full SHA
    05fc94d View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Support Scala 3.0.0

    lolgab committed May 15, 2021
    Configuration menu
    Copy the full SHA
    669055b View commit details
    Browse the repository at this point in the history
  2. Merge pull request com-lihaoyi#65 from com-lihaoyi/support-scala-3

    Support Scala 3.0.0
    lolgab authored May 15, 2021
    Configuration menu
    Copy the full SHA
    6d19aa6 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    7fb36e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Configuration menu
    Copy the full SHA
    1b3276e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Configuration menu
    Copy the full SHA
    780fe6c View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Updated link to documentation. (com-lihaoyi#66)

    Link to documentation was broken
    martingd authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    dbb43b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Make pprint robust against toString method returning null com-lihaoyi#70

    
    
    Make pprint robust against toString method returning null, fixes com-lihaoyi/Ammonite#1113
    
    Review by @lolgab @anatoliykmetyuk
    lihaoyi authored Nov 29, 2021
    Configuration menu
    Copy the full SHA
    2af8020 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Add a flag to disable unicode escaping, refactor showFieldNames confi…

    …guration (com-lihaoyi#71)
    
    Supersedes com-lihaoyi#55
    
    the new `escapeUnicode` flag defaults to `false`, since unicode characters are common enough nowadays we should expect editors and other UIs to render them without issue. Someone who wants the old behavior can always manually set it to `true`
    
    `showFieldNames` was added in a kind of awkward manner to avoid breaking backwards binary compatibility. It's been long enough that I think a breakage is ok, so I'm moving it to be a default argument like the rest of our pprint configuration values
    lihaoyi authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    dbfd5da View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Fix pprint for Product2 (com-lihaoyi#36)

    This fixes com-lihaoyi#28
    
    We had a similar problem while pprinting `akka.kafka.ConsumerMessage.CommittableMessage`. I found that the problem is reproduced when `Product2` is used.
    
    `Walker.scala:90` calls `Util.isOperator(x.productPrefix)`, but `Product` defines it as an empty string :
    ```  
    def productPrefix = ""
    ```
    So `ident(0)` in `Util.scala:50` fails with `java.lang.StringIndexOutOfBoundsException`
    
    I've added a unit test and my proposition of a fix.
    karolchmist authored Dec 3, 2021
    Configuration menu
    Copy the full SHA
    2e335c8 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    6a270d1 View commit details
    Browse the repository at this point in the history
  2. Overhaul and simplify TPrint implementation (com-lihaoyi#72)

    Fixes com-lihaoyi/Ammonite#221 
    Fixes com-lihaoyi/Ammonite#629 
    Fixes com-lihaoyi/Ammonite#670 
    Fixes com-lihaoyi#45 
    Fixes com-lihaoyi#44
    
    The old TPrint implementation did a clever thing where it allowed a user to over-ride the TPrinting of a given type by providing an appropriate implicit. While that worked in most cases, it was fiendishly complex, and the intricate nesting of implicit resolution and macro resolution ended up providing and endless source of hard to resolve bugs.
    
    This new implementation is much simpler and less flexible: we simply walk the type data structure in the macro, and spit out a colored `fansi.Str` with the type names hard-coded to `fansi.Green`. The only runtime support necessary is in the `def recolor` function, which parses the incoming `fansi.Str` and replaces the hardcoded `fansi.Green` colors with whatever is specified by the implicit `TPrintColors`. As implicits cannot be used to override tprinting anymore, we now have hardcoded support for tprinting functions and tuples.
    
    While the old macro generated a complex tree of Scala function calls that is evaluated to generate the output `fansi.Str` at runtime, the new macro simply spits out a single `fansi.Str` that is serialized into a `java.lang.String` and deserialized back into a `fansi.Str` for usage at runtime. We propagate a `WrapType` enumeration up the recursion, to help the callers decide if they need to wrap things in parens or not.
    
    This gives up a bit of flexibility, but AFAIK nobody was really using that flexibility anyway. In exchange, we fix a whole bunch of long-standing bugs, and have a drastically simpler implementation.
    
    The fixed bugs are covered by regression unit tests added to `TPrintTests.scala`. All existing tests also pass, so hopefully that'll catch any potential regressions. There's probably more bugs where we're not properly setting or handling the `WrapType`, but exhaustively testing/surfacing/fixing all of those is beyond the scope of this PR. For now, I just kept the current set of tests passing.
    
    Managed to get the Scala3 side working. I didn't realize how half-baked the Scala3 implementation of TPrint is; so much of the Scala2 functionality just isn't implemented and doesn't work. Nevertheless, fixing that is beyond the scope of this PR. I just kept it green with the existing set of green tests passing (except for the custom tprinter test, which is no longer applicable)
    
    Review by @lolgab.
    lihaoyi authored Dec 6, 2021
    Configuration menu
    Copy the full SHA
    7fead8d View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Release PPrint 0.7.0 com-lihaoyi#73

    Updates the readme, pulls in latest version of Fansi 0.3.0, and updates the code accordingly
    lihaoyi authored Dec 11, 2021
    Configuration menu
    Copy the full SHA
    21fdfdf View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Fix PPrinting of booleans and TPrinting of constant types (com-lihaoy…

    …i#75)
    
    TPrinting of constant types regressed in 0.8.0, while PPrinting of booleans was always missing the colors that they should have had.
    
    This PR fixes both and adds a unit test to avoid regression
    lihaoyi authored Dec 13, 2021
    Configuration menu
    Copy the full SHA
    0a8c900 View commit details
    Browse the repository at this point in the history
  2. 0.7.1

    lihaoyi committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    a1ddeb7 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Add pprint.err.log (com-lihaoyi#74)

    Logging to stderr rather than stdout.
    alexarchambault authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    3abeed8 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Support Scala 3 - Scala Native (com-lihaoyi#77)

    * Support Scala 3 - Scala Native
    
    - Avoid running the Github Action workflow twice on PRs
    
    * Bump Scala Native to 0.4.4
    
    * Skip Mima check for missing artifact
    lolgab authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    f24db51 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. Add support for Polytypes (com-lihaoyi#79)

    * Add PolyType to TPrintImpl
    
    * Add TPrint test for polytype
    
    * Tweak based on PR feedback
    
    * Allow Polytypes to be different on 2.12 vs 2.13
    valencik authored Mar 27, 2022
    Configuration menu
    Copy the full SHA
    2626e05 View commit details
    Browse the repository at this point in the history
  2. Update Version History

    lolgab committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    2cd41af View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. deps: update all sorts of stuff (com-lihaoyi#82)

    * deps: update all sorts of stuff
    
    This pr goes through and makes the various updates:
      - Bumps mill to the latest 0.10.5
      - Bumps to the latest Scala versions for 2 and latest 3.1.x version
      - Drops 0.x support for ScalaJS
      - Move Scala native to 0.4.x
      - Adds in dependabot
      - Starts to cross test on 8 and 17
      - Updates checkout and java actions
    
    * add issue filter for StringPrefix.apply
    
    * dep: update utest to 0.8.0
    ckipp01 authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    2203dc6 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Bump actions/setup-java from 3 to 4

    Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    5e96a25 View commit details
    Browse the repository at this point in the history