Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tinylib/msgp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3b556c64540842d4f82967be066a7f7fffc3adad
Choose a base ref
...
head repository: tinylib/msgp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 15 commits
  • 28 files changed
  • 12 contributors

Commits on Dec 10, 2017

  1. Remove unnecessary return value in generated code (#209)

    The generated encode functions that have a naked return (simply "return") where the function returns an error type all have the "err" variable declared as a named return (as it is here in the func "appendraw"). But this is the only place where the "return" is followed by a " err"; this is unnecessary because the return value is named in the function signature.
    dchenk authored and philhofer committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    5bb5e1a View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Fix MarshalMsg to output fixed size extension types. (#213)

    * make AppendExtension output same as WriteExtension
    harukasan authored and philhofer committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    428e467 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Fix int/uint interoperation to conform to de-facto expectations of ot…

    …her clients (#215)
    
    Allow non-overflowing uints to be read using ReadInt and vice-versa
    shabbyrobe authored and philhofer committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    03a7918 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Configuration menu
    Copy the full SHA
    8f20773 View commit details
    Browse the repository at this point in the history
  2. Make Marshal/Unmarshal of an empty msgp.Raw symmetric (#197)

    Before this change Unmarshal of a Marshaled empty Raw would yield
    a byte slice with a Nil marker in it. This change makes Unmarshal
    consume the marker and return an empty slice.
    rakitzis authored and philhofer committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    bfb1466 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. travis: use 1.9.x (#217)

    dvrkps authored and philhofer committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    4b2b2ac View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. Support GopherJS and other pure Go environments (#218)

    Unsafe pointer arithmetic is not supported under GopherJS,
    and currently fails silently.
    
    Add the `purego` tag, standardized as part of golang/go#23172,
    in addition to the `appengine` tag kept for backwards compatibility.
    damz authored and philhofer committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3b5c87a View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. gen: fix vet problem (#220)

    Fixes a problem that `go vet` complains about:
    ```
    should omit 2nd value from range; this loop is equivalent to `for key := range ...`
    ```
    gbbr authored and philhofer committed May 16, 2018
    Configuration menu
    Copy the full SHA
    c8cf64d View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. Add field tag 'msgpack' as backup to 'msg' (#228)

    add field compatibility with vmihailenco/msgpack
    frostyplanet authored and philhofer committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    ef41b42 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

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

Commits on Jul 27, 2018

  1. Fix empty map case (#233)

    An empty map in the data should result in an empty map in Go. It's a
    small performance loss in the rare cases where people have empty maps in
    their data and use structs with maps that haven't been initialized yet.
    But for correctness it's better and it allows people to distinguish
    between no map in the data or an empty map.
    
    Fixes #219
    erikdubbelboer authored and philhofer committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    53e4ad1 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

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

Commits on Nov 28, 2018

  1. Configuration menu
    Copy the full SHA
    1360bda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f69a9cf View commit details
    Browse the repository at this point in the history
  3. inline in bottom-up complexity order (#240)

    The inliner must perform inlining in a deterministic
    order in order for the generated code to be
    deterministic.
    
    This patch uses a "bottom-up" inlining heuristic:
    the least complex types are inlined first, followed
    by more complex types (if the fixed inlining "budget"
    still allows it.)
    
    Fixes #239
    philhofer authored Nov 28, 2018
    Configuration menu
    Copy the full SHA
    af6442a View commit details
    Browse the repository at this point in the history
Loading