Permalink
Commits on Apr 7, 2016
  1. [system,tests] Fix test title.

    * sources/system/tests/file-system.dylan
      (test-write-to-multi-buffered-file-stream): Remove extra hyphen.
    committed Apr 6, 2016
Commits on Apr 6, 2016
  1. Update to new sphinx-extensions.

    This picks up the update that removes the htmlescape now that it
    is fixed upstream.
    committed Apr 5, 2016
Commits on Apr 4, 2016
  1. Merge pull request #1042 from waywardmonkeys/export-simple-profiling-api

    [common-dylan] Export start-profiling, stop-profiling.
    committed Apr 4, 2016
Commits on Mar 27, 2016
  1. Merge pull request #1056 from abeaumont/master

    [dylan,tests] Replace binary= by = in range tests
    committed Mar 27, 2016
Commits on Mar 26, 2016
  1. [dylan,tests] Replace binary= by = in range tests

    * sources/dylan/apple-dylan-test-suite/test-range.dylan
      Replace non-existing binary= function by equality operator (=)
    abeaumont committed Mar 26, 2016
Commits on Mar 24, 2016
  1. Merge pull request #1055 from abeaumont/master

    [variable-search] Unify bsd and linux LID files
    committed Mar 24, 2016
  2. [variable-search] Unify bsd and linux LID files

    The only difference between these files is the C-Libraries: -ldl in the
    Linux version. This isn't needed as the dylan library links against
    -ldl.
    
    * sources/lib/variable-search/bsd-variable-search.lid:
      Rename to unix-variable-search.lid
    * sources/lib/variable-search/linux-variable-search.lid: Remove
    * sources/registry/generic/variable-search:
      Add registry file and point to point to the unix-variable-search.lid
    * sources/registry/arm-linux/variable-search: Remove
    * sources/registry/x86-freebsd/variable-search: Remove
    * sources/registry/x86-linux/variable-search: Remove
    * sources/registry/x86-netbsd/variable-search: Remove
    * sources/registry/x86_64-freebsd/variable-search: Remove
    * sources/registry/x86_64-linux/variable-search: Remove
    * sources/registry/x86_64-netbsd/variable-search: Remove
    abeaumont committed Mar 24, 2016
Commits on Mar 21, 2016
  1. Merge pull request #1053 from abeaumont/range-fixes

    Range fixes
    committed Mar 21, 2016
  2. [dylan,tests] Add correct cases to range-5 test

    * sources/dylan/apple-dylan-test-suite/test-range.dylan
      Add correct cases to range-5 test, in addition to existing incorrect cases
    abeaumont committed Mar 21, 2016
  3. [dylan,tests] Update test description and comment

    * sources/dylan/apple-dylan-test-suite/test-range.dylan
      Update test description and remove a comment that no longer applies
    abeaumont committed Mar 21, 2016
  4. [dylan,tests] Fix range size mismatch tests

    * sources/dylan/apple-dylan-test-suite/test-range.dylan
      Check for error raised then range's inferred and specified size mismatch
    abeaumont committed Mar 20, 2016
  5. [dylan] Make range size handling DRM compliant

    Raise an error when the specified and inferred size in a <range> do no
    match.
    
    * sources/dylan/range.dylan: Make range size handling DRM compliant
    abeaumont committed Mar 19, 2016
Commits on Mar 12, 2016
  1. [docs,io,format] Improve control string docs.

    * documentation/library-reference/source/io/format.rst: Link to
      DRM docs about control strings. Also, convert to using lowercase
      characters in the control strings as that's more common (%s instead
      of %S).
    committed Mar 12, 2016
  2. [docs] Replace ’ with '.

    This smart quote interfered with code samples and spell checking.
    
    * documentation/*: Replace all ’ with '.
    committed Mar 12, 2016
Commits on Feb 26, 2016
  1. [docs,strings] Correct uppercase example.

    * documentation/library-reference/source/strings/index.rst
      (uppercase): The example with end: should still return the full
       string.
    committed Feb 26, 2016
  2. [docs,strings] Properly indent examples.

    * documentation/library-reference/source/strings/index.rst: The
       code blocks in examples should be indented to be within the
       example block.
    committed Feb 26, 2016
Commits on Feb 23, 2016
  1. Bug 7458: Fix returns in C-callable IEPs

    Should fix #1045.
    
    * sources/dfmc/llvm-back-end/llvm-emit-computation.dylan
      (emit-computation): Dispatch on the <return> operand type without
       assuming that it is a <temporary>.
      (do-emit-return on <object-reference>): New method.
      (do-emit-return on <temporary>): New method.
      (do-emit-return-temporary): Renamed from the former do-emit-return.
    housel committed Feb 23, 2016
Commits on Feb 21, 2016
  1. [lldb] Add DFMC <object-reference> summary.

    * tools/lldb/dylan/__init__.py: Load new summaries.
    
    * tools/lldb/dylan/summaries/dfmc/flow_graph.py: New summary.
    committed Feb 21, 2016
Commits on Feb 20, 2016
  1. [documentation] Update sphinx-extensions.

    * documentation/sphinx-extensions: Update for improved doc2dash support.
    committed Feb 20, 2016
Commits on Feb 18, 2016
  1. [dfmc-typist] Fix formatting.

    * sources/dfmc/typist/typist-protocol.dylan
      (type-estimate-explain): Indent correctly.
    committed Feb 18, 2016
Commits on Feb 16, 2016
  1. [dfmc-typist,testing] Improve debug output formatting.

    * sources/dfmc/testing/typist-inference-tests.dylan
      (static-type-check?): When printing expected and inferred types
       on verbose failure output mode, line them up so that they're
       easier to compare.
    committed Feb 16, 2016
  2. [dfmc-typist,tests] Show type estimates in verbose mode.

    * sources/dfmc/testing/typist-inference-tests.dylan
      (static-type-check?): Hoist the cache out of the local method
       so that it is available to pass to `show-lambda-type-estimate`
       which we now call when showing more verbose detail on failures.
    committed Feb 16, 2016
  3. [dfmc-typist,tests] Better type-estimate comparison.

    Using `type-estimate-subtype?` instead of `type-estimate=?` lets
    tests pass when the typist has inferred a more exact type than we're
    checking for. This happens often with constant values where the typist
    tries to infer a singleton type.
    
    * sources/dfmc/testing/typist-inference-tests.dylan
      (static-type-check?): Use `type-estimate-subtype?` to see if the
       inferred type is correct.
    committed Feb 16, 2016
  4. [dfmc-typist] Fix comment typo.

    * sources/dfmc/typist/typist-inference.dylan: Fix comment typo.
    committed Feb 16, 2016
  5. [dfmc-typist,tests] Fix double float constant test.

    * sources/dfmc/testing/typist-inference-tests.dylan
      (typist-inference-test typist-constants): Specify precision and
       check for a <double-float> instead of an <extended-float>.
    committed Feb 16, 2016
  6. Merge pull request #1044 from waywardmonkeys/fix-destructuring-bind-f…

    …rom-short-values
    
    [dfmc-conversion] Fix destructuring bind.
    housel committed Feb 16, 2016
Commits on Feb 15, 2016
  1. [dfmc-conversion] Fix destructuring bind.

    When the <values> doesn't have enough elements in it, it is supposed
    to be padded with references to the #f object. Instead, it was writing
    with the wrong loop index, so the <values> object was incorrect:
    
          *t3(3) := [VALUES ^#t ^#f #f]
    
    Note that the last element is #f and not ^#f.
    
    This resulted in confusing type check errors at compile time as detailed
    in issue #363 where this code:
    
        let (ign, ore, maybe-a :: false-or(<string>)) = #t;
        let a :: <string> = maybe-a | "a";
    
    Would result in a warning:
    
        Type check can fail - singleton(#f :: <boolean>) inferred, <string> expected.
    
    This was found while minimizing a test case from the peg-parser, but is
    not the same bug as the peg-parser is experiencing.
    
    Fixes #363.
    
    * sources/dfmc/conversion/convert.dylan
      (pad-multiple-values): Write #f object references at the correct
       index into the vector. (Use the right loop index value, j, instead
       of i.)
    committed Feb 15, 2016
Commits on Feb 13, 2016
  1. [common-dylan] Export start-profiling, stop-profiling.

    For callers who want to control profiling more directly than using
    the macros, it is useful to have the start-profiling and stop-profiling
    functions exported and visible.
    
    * sources/common-dylan/library.dylan
      (simple-profiling): Export start-profiling and stop-profiling.
    
    * sources/common-dylan/tests/functions.dylan
      (function-test start-profiling,
       function-test stop-profiling): Stub implementations.
    
    * sources/common-dylan/tests/specification.dylan
      (module-spec simple-profiling): Include start-profiling and
       stop-profiling in the simple-profiling specification test.
    
    * documentation/library-reference/source/common-dylan/simple-profiling.rst
      (start-profiling, stop-profiling): Document.
    
    * documentation/release-notes/source/2016.1.rst
      (common-dylan): Add note about new exports.
    committed Feb 13, 2016
Commits on Feb 9, 2016
  1. Bug 7440: Re-generate intrinsics from LLVM 3.5 sources

    * sources/lib/llvm/llvm-intrinsics.dylan: Re-generate.
    housel committed Feb 9, 2016
  2. Bug 7440: Exclude PTX and NVVM intrinsics

    Do not generate Dylan intrinsic table entries for CUDA PTX and NVVM
    intrinsics defined in the LLVM sources.
    
    * sources/app/llvm-tablegen/library.dylan
      (library llvm-tablegen): Import the strings library.
      (module llvm-tablegen): Import the strings module.
    
    * sources/app/llvm-tablegen/tablegen-intrinsics.dylan
      (tablegen-gen-intrinsic): Exclude intrinsics named int_nvvm_* and
       int_ptx_*.
    housel committed Feb 9, 2016
Commits on Feb 6, 2016
  1. [common-dylan] Move profiler code to own file.

    * sources/common-dylan/macros.dylan: Remove profiling code.
    
    * sources/common-dylan/profiling.dylan: Move profiling code here.
    
    * sources/common-dylan/darwin-common-dylan.lid: Build profiling.dylan.
    
    * sources/common-dylan/freebsd-common-dylan.lid: Likewise.
    
    * sources/common-dylan/linux-common-dylan.lid: Likewise.
    
    * sources/common-dylan/netbsd-common-dylan.lid: Likewise.
    
    * sources/common-dylan/win32-common-dylan.lid: Likewise.
    committed Feb 6, 2016
Commits on Feb 3, 2016
  1. dfmc-harp-cg: Fix FFI return of raw float/double

    * sources/dfmc/harp-cg/harp-main.dylan
      (emit-ffi-result): Handle <raw-single-float> the same as <raw-c-float>,
       by emitting an fmove instruction. Handle <raw-double-float> the same
       as <raw-c-double>, by emitting a dmove instruction.
    housel committed Feb 3, 2016
Commits on Jan 31, 2016
  1. Revert "[llvm-back-end] Create op--tag-cmp."

    This reverts commit 27dec2d.
    housel committed Jan 31, 2016
Commits on Jan 28, 2016
  1. Merge pull request #1034 from waywardmonkeys/llvm-op--tag-cmp

    [llvm-back-end] Create op--tag-cmp.
    housel committed Jan 28, 2016
  2. [llvm-back-end] Create op--tag-cmp.

    The code for emitting type checks had a helper function, emit-tag-cmp,
    which was useful but it wasn't used everywhere.
    
    * sources/dfmc/llvm-back-end/llvm-emit-type-check.dylan
      (emit-tag-cmp): Renamed and moved.
      (do-emit-instance-cmp): Rename usages of emit-tag-cmp.
       Make another tag check use op--tag-cmp instead of doing
       it by hand.
    
    * sources/dfmc/llvm-back-end/llvm-ops.dylan
      (op--tag-cmp): Move here from emit-tag-cmp.
      (op--object-mm-wrapper): Use op--tag-cmp.
    committed Jan 28, 2016