1. 03 May, 2016 1 commit
  2. 22 Apr, 2016 1 commit
  3. 21 Apr, 2016 2 commits
  4. 10 Apr, 2016 1 commit
  5. 31 Mar, 2016 3 commits
    • Matt Powley's avatar
      Fixes for Windows XP compatibility · f2018ab3
      Matt Powley authored
      A Visual Studio build from master (commit id: dac5b45d) using the v140_xp toolset yields a binary that is not XP compatible.
      
      Two libraries contain exports that cannot be found:
       -  IPHLPAPI.DLL : if_nametoindex
       - KERNEL32.DLL : InitializeConditionVariable
      
      The latter export is already dealt with in the file './src/condition_variable.hpp'; however this requires setting the _WIN32_WINNT pre-processor definition.
      I am not experienced enough to figure a work around for the 'if_nametoindex' method, so I have created a new pre-processor definition 'ZMQ_HAVE_WINDOWS_TARGET_XP' and removed the calling of the function with the limitation that these builds cannot handle a IPv6 address with an adapter name.
      
      To make it easier for people targeting XP with an MSVC build I have modified the MSBuild property file to add/modify the pre-processor definitions if they are building using a XP targeting tool set; such as v140_xp.
      f2018ab3
    • Matt Powley's avatar
      Add .gitignore for Visual Studio builds in the 'builds/msvc' folder · 260860de
      Matt Powley authored
      * Added a new .gitignore file for excluding Visual Studio build output any popular plug-in generated content. (This was copied from the GitHub project https://github.com/github/gitignore).
      * Removed the basic ignore settings from the root folder in favour of more precision within the subfolder's .gitignore file
      * Added the new VC compiler's experimental Intellisense database file
      260860de
    • Matt Powley's avatar
      Use vs2015 MSBuild property sheets in older projects · 0e405a5a
      Matt Powley authored
      All the older (vs2010 -> vs2013) projects had copies of the Visual Studio 2015 MSBuild applied to them when running the 'configure.bat' batch file. Any modifications to a property sheet was not applied to the other Visual Studio versions' projects unless the batch file was re-executed.
      
      * Modified the older projects to reference the Visual Studio 2015 property sheets so changes are immediately applied
      * Removed the batch file copy steps (which left the repository very dirty after execution)
      0e405a5a
  6. 30 Mar, 2016 1 commit
  7. 19 Mar, 2016 3 commits
    • Luca Boccassi's avatar
      Problem: coveralls uses wrong path on Trusty · dc27ad41
      Luca Boccassi authored
      Solution: pass built-root when calling coveralls, to help it find the
      right path to the source code.
      dc27ad41
    • Luca Boccassi's avatar
      Problem: false positive on valgrind 3.10 · 00e09576
      Luca Boccassi authored
      Solution: update builds/valgrind/valgrind.supp to ignore glibc's
      __libc_freeres calls. This code runs after the program exits, and
      tries to de-allocate memory allocated internally by glibc, so it has
      nothing to do with libzmq code. This suppression is added by default
      in newer versions of Valgrind, not yet available on older
      distributions.
      00e09576
    • Luca Boccassi's avatar
      Problem: CI doesn't run Valgrind · ebc73160
      Luca Boccassi authored
      Solution: run Valgrind only on the default Linux build to avoid
      increasing the runtime.
      ebc73160
  8. 18 Mar, 2016 1 commit
  9. 16 Mar, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: test_large_msg requires 2GB of free RAM · 15fd419f
      Luca Boccassi authored
      Solution: remove temporarily until proper message limits have been
      implemented, then a more granular test case can be added without
      such high requirements which are problematic in embedded environment,
      build systems, VMs and CI systems
      15fd419f
  10. 13 Mar, 2016 1 commit
  11. 11 Mar, 2016 1 commit
  12. 05 Mar, 2016 2 commits
    • Osiris's avatar
      Problem: Windows Build not using precompiled headers for all targets · 224c0670
      Osiris authored
      Solution: Enabled precompiled header settings in all targets
      Before build time: ~6min 49 secs
      Stop  Time: Fri 03/04/2016  8:29:50.13
      Start Time: Fri 03/04/2016  8:23:00.28
      
      After build time: ~4min 19 secs
      Stop  Time: Fri 03/04/2016 12:12:10.24
      Start Time: Fri 03/04/2016 12:07:51.78
      224c0670
    • Osiris's avatar
      Problem: Added "make clean" to Windows build scripts · 09d003aa
      Osiris authored
      Solution: Added ability to do equivalent of a "make clean" by executing:
      
      O:\git\libzmq\builds\msvc\build>buildall.bat clean
      Start Time: Fri 03/04/2016 14:33:56.50
      Cleaning without libsodium
      Cleaning ..\vs2013\libzmq.sln... ()
      Platform=x86
      Configuration=DynDebug
      Configuration=DynRelease
      Configuration=LtcgDebug
      Configuration=LtcgRelease
      Configuration=StaticDebug
      Configuration=StaticRelease
      Platform=x64
      Configuration=DynDebug
      Configuration=DynRelease
      Configuration=LtcgDebug
      Configuration=LtcgRelease
      Configuration=StaticDebug
      Configuration=StaticRelease
      Cleaning complete: ..\vs2013\libzmq.sln
      
      Stop  Time: Fri 03/04/2016 14:34:01.84
      Start Time: Fri 03/04/2016 14:33:56.50
      
      A clean takes ~5 secs to complete.
      09d003aa
  13. 28 Feb, 2016 1 commit
  14. 22 Feb, 2016 3 commits
  15. 21 Feb, 2016 3 commits
    • Osiris's avatar
      Problem: Several problems found by Coverity Static Analyzer · b3d5fa63
      Osiris authored
      Solution: The Coverity Static Code Analyzer was used on libzmq code and found
      many issues with uninitialized member variables, some redefinition of variables
      hidding previous instances of same variable name and a couple of functions
      where return values were not checked, even though all other occurrences were
      checked (e.g. init_size() return).
      b3d5fa63
    • Osiris's avatar
      Problem: Visual Studio Toolset was incorrectly set in VCXPROJ files · 4fca95a5
      Osiris authored
      Solution: Corrected Toolset setting where needed and inprove compilation speed
      by adding defintion of WIN32_LEAN_AND_MEAN prior to any Windows specific
      include files, which skips non-essential definitions during compilation.
      4fca95a5
    • Osiris's avatar
      roblem: Visual Studio Toolset was incorrectly set in VCXPROJ files · b4784d95
      Osiris authored
      Solution: Corrected Toolset setting where needed and inprove compilation speed
      by adding defintion of WIN32_LEAN_AND_MEAN prior to any Windows specific
      include files, which skips non-essential definitions during compilation.
      b4784d95
  16. 18 Feb, 2016 2 commits
  17. 17 Feb, 2016 5 commits
  18. 12 Feb, 2016 5 commits
    • Pieter Hintjens's avatar
      Problem: tests don't build on Windows · bbcc79d1
      Pieter Hintjens authored
      There were numerous small issues with test cases:
      
      - some lacked the right source file header
      - some were not portable at all
      - some were using internal libzmq APIs (headers)
      
      Solution: fixed and cleaned up.
      bbcc79d1
    • Pieter Hintjens's avatar
      Problem: no clue how to run gyp on Windows · d148c3ea
      Pieter Hintjens authored
      Solution: offer a build.bat to help the user.
      d148c3ea
    • Pieter Hintjens's avatar
      Problem: gyp does not build tests · 8230c0d3
      Pieter Hintjens authored
      Solution: it's a lot of work to define the tests in project.gyp
      so I did this using gsl to generate the JSON, from a small XML
      list of the test cases.
      
      To keep this, and the hundreds of .mk files, away from the root
      directory, I've moved the gyp files into builds/gyp, where you
      would run them.
      
      It all seems to work now. Next up, OS/X and Windows :)
      8230c0d3
    • Pieter Hintjens's avatar
      Problem: tcp_address.cpp won't compile on OS/X w/o ZMQ_HAVE_IFADDRS · a682f94a
      Pieter Hintjens authored
      This is rather insane since the code knows well enough what systems
      support if_nametoindex. I blame this on over-use of autotools early
      in libzmq's days.
      
      Anyhow, this breaks gyp builds on OS/X.
      
      Solution: add ZMQ_HAVE_IFADDRS to build/gyp/platform.hpp for OS/X.
      a682f94a
    • Pieter Hintjens's avatar
      Problem: can't build libzmq.a using gyp · 6bef3fe9
      Pieter Hintjens authored
      Solution: add necessary macros into builds/gyp/platform.hpp
      
      Work for Linux now, other platforms to test.
      6bef3fe9
  19. 11 Feb, 2016 3 commits
    • Luca Boccassi's avatar
      Problem: CI use of sodium or nacl is confusing · 9393f063
      Luca Boccassi authored
      Solution: establish a matrix of CI options. On one axis we have the
      build system (autotools, cmake, android) and on the other axis we
      have the encryption options (tweetnacl, libsodium or none).
      9393f063
    • Luca Boccassi's avatar
      Problem: typo in CMake platform.hpp breaks build · 01eb5807
      Luca Boccassi authored
      Solution: use ZMQ_USE_TWEETNACL as a define as expected instead of
      HAVE_TWEETNACL
      01eb5807
    • Pieter Hintjens's avatar
      Problem: can't build using gyp · fde81d7e
      Pieter Hintjens authored
      I'm adding gyp support so that we can easily pull in libzmq
      and other C/C++ projects into gyp packages, especially via
      node-gyp.
      
      Solution: add gyp definition
      
      This works only for Windows, OS/X, and Linux. We set a single
      macro in project.gyp according to the system, and the rest is
      done in builds/gyp/platform.hpp. The values in that file are
      not dynamic. Your mileage will vary.
      fde81d7e