1. 13 Dec, 2016 2 commits
  2. 12 Dec, 2016 1 commit
  3. 22 Nov, 2016 1 commit
  4. 20 Nov, 2016 1 commit
    • Dean Moldovan's avatar
      Always use return_value_policy::move for rvalues (#510) · d079f41c
      Dean Moldovan authored
      Fixes #509.
      
      The move policy was already set for rvalues in PR #473, but this only
      applied to directly cast user-defined types. The problem is that STL
      containers cast values indirectly and the rvalue information is lost.
      Therefore the move policy was not set correctly. This commit fixes it.
      
      This also makes an additional adjustment to remove the `copy` policy
      exception: rvalues now always use the `move` policy. This is also safe
      for copy-only rvalues because the `move` policy has an internal fallback
      to copying.
      d079f41c
  5. 08 Nov, 2016 2 commits
  6. 04 Nov, 2016 1 commit
    • Jason Rhinelander's avatar
      Add debugging info about .so size to build output (#477) · dc0b4bd2
      Jason Rhinelander authored
      * Add debugging info about so size to build output
      
      This adds a small python script to tools that captures before-and-after
      .so sizes between builds and outputs this in the build output via a
      string such as:
      
      ------ pybind11_tests.cpython-35m-x86_64-linux-gnu.so file size: 924696 (decrease of 73680 bytes = 7.38%)
      
      ------ pybind11_tests.cpython-35m-x86_64-linux-gnu.so file size: 998376 (increase of 73680 bytes = 7.97%)
      
      ------ pybind11_tests.cpython-35m-x86_64-linux-gnu.so file size: 998376 (no change)
      
      Or, if there was no .so during the build, just the .so size by itself:
      
      ------ pybind11_tests.cpython-35m-x86_64-linux-gnu.so file size: 998376
      
      This allows you to, for example, build, checkout a different branch,
      rebuild, and easily see exactly the change in the pybind11_tests.so
      size.
      
      It also allows looking at the travis and appveyor build logs to get an
      idea of .so/.dll sizes across different build systems.
      
      * Minor libsize.py script changes
      
      - Use RAII open
      - Remove unused libsize=-1
      - Report change as [+-]xyz bytes = [+-]a.bc%
      dc0b4bd2
  7. 09 Oct, 2016 1 commit
  8. 06 Sep, 2016 1 commit
  9. 04 Sep, 2016 1 commit
  10. 30 Aug, 2016 1 commit
    • Jason Rhinelander's avatar
      Add line numbers; show and highlight found tabs · d472f0f0
      Jason Rhinelander authored
      This makes the output considerably easier to use: it now highlights (in
      red) matched tabs (instead of just listing the filenames), and adds
      line numbers to both the tabs check and the space-less if check outputs.
      d472f0f0
  11. 29 Aug, 2016 1 commit
    • Jason Rhinelander's avatar
      Fix check-style exit status · 5a3570c4
      Jason Rhinelander authored
      The check-style exit status wasn't being propagated properly because
      the loops were running in a subshell (and so the change the the
      `errors` variable wasn't in the active command shell).  This fixes it
      by running the greps in subshells and the loops in the main shell.
      
      This also avoids the if(/for(/while( style check on
      tests/CMakeLists.txt, since it *does* have if() statements with no space
      that are producing error messages, but that is (acceptable) CMake style.
      5a3570c4
  12. 28 Aug, 2016 2 commits
  13. 27 Aug, 2016 1 commit
  14. 08 Aug, 2016 1 commit
    • Christian Ewald's avatar
      Fixed finding python libraries on windows in venv · b81c500c
      Christian Ewald authored
      When run on windows in a venv, PYTHON_LIBRARY pointet to a non-existant
      location in the virtual environment directory.
      
      This has been fixed by testing if the path exists and, if not, trying
      an alternative path, relative to the PYTHON_INCLUDE_DIR.
      
      If the alternative path doesn't exit as well, an error will be raised.
      b81c500c
  15. 01 Jul, 2016 1 commit
  16. 12 Jun, 2016 1 commit
  17. 22 May, 2016 1 commit
  18. 20 May, 2016 1 commit
  19. 05 May, 2016 1 commit
  20. 01 May, 2016 2 commits
  21. 30 Apr, 2016 2 commits
  22. 29 Apr, 2016 2 commits
  23. 26 Apr, 2016 1 commit
  24. 25 Apr, 2016 1 commit
  25. 19 Apr, 2016 1 commit
  26. 04 Aug, 2015 1 commit
  27. 31 Jul, 2015 1 commit
  28. 23 Jul, 2015 1 commit
  29. 21 Jul, 2015 1 commit