Skip to content
Permalink
Tree: 9e0846e8a4
Commits on May 7, 2018
  1. all: get rid of underscores in identifiers

    dvyukov committed May 7, 2018
    Underscores are against Go coding style.
    
    Update #538
  2. dashboard/app: split overly long function

    dvyukov committed May 7, 2018
    Update #538
  3. pkg/ifuzz: move generated code to a separate package

    dvyukov committed May 7, 2018
    This helps to ignore generated code with gometalinter.
    There is currently no other way:
    alecthomas/gometalinter#270
    
    Update #538
  4. prog: deduplicate minimization test

    dvyukov committed May 7, 2018
    Update #538
  5. prog: dedup checksumming code

    dvyukov committed May 7, 2018
    Update #538
  6. prog: reorder checksum functions

    dvyukov committed May 7, 2018
    Put the most important function at the top.
  7. prog: dedup mutation code

    dvyukov committed May 7, 2018
    Update #538
  8. pkg/git: remove duplicated code in tests

    dvyukov committed May 7, 2018
    Update #538
  9. pkg/report: remove duplicated stub code

    dvyukov committed May 7, 2018
    Update #538
  10. gometalinter: reduce checker timeout

    dvyukov committed May 7, 2018
    Travis has timeout of 10 minutes, so reduce
    our timeout to 8 minutes.
Commits on May 6, 2018
  1. pkg/db: remove code duplication in test

    dvyukov committed May 6, 2018
    Update #538
  2. sys: dedup mmap code across OSes

    dvyukov committed May 6, 2018
    Update #538
  3. vm/{adb,isolated}: dudup common code

    dvyukov committed May 6, 2018
    Found with gometalinter/dupl.
    
    Update #538
  4. fixed link to generated file in the docs

    alex authored and dvyukov committed May 5, 2018
Commits on May 5, 2018
  1. all: fix too long lines

    dvyukov committed May 5, 2018
    Not sure why I have not seen warnings about
    these lines on another machine...
  2. sys: move generate files to separate packages

    dvyukov committed May 5, 2018
    Move generated files to gen subdir. This allows to:
    1. Rebuild init.go without rebuilding generated code.
    2. Excluding generated files from gometalinter checking.
    This makes faster and consume less memory.
    
    Update #538
  3. Makefile: fix deps

    dvyukov committed May 5, 2018
    syz-sysgen depends on prog which depends on pkg/ifuzz.
    Currently we concurrently regenerate pkg/ifuzz and build
    syz-sysgen, which can cause failures.
    Make pkg/ifuzz dependent on syz-sysgen, so that it is
    built before we regenerate ifuzz.
  4. prog: rework validation code

    dvyukov committed May 5, 2018
    The current code is total, unstructured mess.
    Since we now have 1:1 type -> arg correspondence,
    rework validation around args. This makes code
    much cleaner and 30% shorter.
  5. prog: make c.Ret optional

    dvyukov committed May 5, 2018
    No reason to allocate return value if there is no return type.
    c.Ret == nil is the reasonable indication that this is a "void" call.
  6. prog: simplify code

    dvyukov committed May 5, 2018
    Now that we don't have ReturnArg and only ResultArg's refer
    to other ResultArg's we can remove ArgUser/ArgUsed and
    devirtualize lots of code.
  7. prog: remove ReturnArg

    dvyukov committed May 5, 2018
    It's not all that needed.
Commits on May 4, 2018
  1. Makefile: parallelize

    dvyukov committed May 4, 2018
    Use -j by default and parallelize targets as much as possible.
  2. prog: parallelize tests

    dvyukov committed May 4, 2018
    Parallelize more tests and reduce number of iterations
    in random tests under race detector.
  3. gometalinter: enable cyclomatic complexity checking

    dvyukov committed May 4, 2018
    Refactor some functions to be simpler.
    
    Update #538
  4. gometalinter: enable line length checking

    dvyukov committed May 4, 2018
    120 columns looks like a reasonable limit
    and requires few changes to existing code.
    
    Update #538
Commits on May 3, 2018
  1. gometalinter: enable misspell

    dvyukov committed May 3, 2018
    Update #538
  2. gometalinter: some fixes for unparam

    dvyukov committed May 3, 2018
    But we still can't enable it as there are more [uninteresting] warnings.
    
    Update #538
  3. gometalinter: check dot imports

    dvyukov committed May 3, 2018
    Update #538
Older
You can’t perform that action at this time.