1. 17 Feb, 2017 36 commits
  2. 15 Feb, 2017 1 commit
    • Chun-wei Fan's avatar
      Visual Studio builds: Support Visual Studio 2017 · bb4c37bf
      Chun-wei Fan authored
      Update the autotools scripts so that we can support Visual Studio 2017 by
      copying the 2013 projects and update items as necessary to produce the
      2017 projects
      
      Note that the toolset version string format changed for Visual Studio 2017, so allow
      one to use a custom toolset version string, otherwise a default toolset version string
      string will be generated as it was before.
      
      Note also that Visual Studio 2017 aims to be compatible with Visual Studio 2015 on the
      CRT level, so it should be possible to use 2017-built binaries with 2015-built binaries.
      bb4c37bf
  3. 09 Feb, 2017 1 commit
    • Federico Mena Quintero's avatar
      gradient.rs, pattern.rs: Do the fallbacks with a macro for less verbosity · b591609e
      Federico Mena Quintero authored
      Instead of a bunch of
      
        if self.foo.is_none () { self.foo = Some (default_value); }
      
      for defaults, or instead of
      
        if self.foo.is_none () { self.foo = fallback.foo; }
      
      for fallbacks, we now have a macro that can be invoked as
      
        fallback_to! (self.foo, some_value);
      
      which seems easier to read.
      
      The macro is duplicated for both gradient.rs and pattern.rs, but we will
      refactor those two files into a single thing anyway.
      b591609e
  4. 08 Feb, 2017 2 commits