Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby193-jekyll seems to depend on wrong directory_watcher #241

Closed
davepacheco opened this issue Feb 12, 2015 · 2 comments
Closed

ruby193-jekyll seems to depend on wrong directory_watcher #241

davepacheco opened this issue Feb 12, 2015 · 2 comments

Comments

@davepacheco
Copy link

I'm using pkgsrc on OS X using:

$ cat /usr/pkg/etc/pkg_install.conf 
PKG_PATH=http://pkgsrc.smartos.org/packages/Darwin/2013Q4/i386/All

I installed ruby193-jekyll:

$ sudo pkgin -y in ruby193-jekyll
calculating dependencies... done.

nothing to upgrade.
30 packages to be installed: libxcb-1.9.3 libXdmcp-1.1.1 libXau-1.0.8 libXext-1.3.2 libX11-1.6.2 libffi-3.0.13 gdbm-1.10nb3 tk-8.5.15 tcl-8.5.15 ruby193-tk-1.9.3p484nb1 ruby193-readline-1.9.3p484 ruby193-gdbm-1.9.3p484 ruby193-fiddle-1.9.3p484 ruby193-curses-1.9.3p484nb1 libyaml-0.1.4 ruby193-fast-stemmer-1.0.2 ruby193-highline-1.6.19 ruby193-syntax-1.0.0nb1 ruby193-safe_yaml-0.9.5 ruby193-redcarpet-3.0.0 ruby193-maruku-0.6.1 ruby193-liquid-2.5.2 ruby193-kramdown-0.14.2 ruby193-directory-watcher-1.5.1 ruby193-commander-4.1.5 ruby193-colorator-0.1 ruby193-classifier-1.3.3 ruby193-base-1.9.3p484 ruby193-pygments.rb-0.5.2 ruby193-jekyll-1.2.0 (23M to download, 92M to install)

downloading packages...
libxcb-1.9.3.tgz                         100%  661KB  94.4KB/s  46.9KB/s   00:07    
libXdmcp-1.1.1.tgz                       100%   31KB  31.3KB/s  31.3KB/s   00:00    
libXau-1.0.8.tgz                         100%   12KB  11.7KB/s  11.7KB/s   00:00    
libXext-1.3.2.tgz                        100%  107KB  53.5KB/s  61.1KB/s   00:02    
libX11-1.6.2.tgz                         100% 1997KB 285.3KB/s 171.9KB/s   00:07    
libffi-3.0.13.tgz                        100%   37KB  37.2KB/s  37.2KB/s   00:01    
gdbm-1.10nb3.tgz                         100%   93KB  92.7KB/s  92.7KB/s   00:01    
tk-8.5.15.tgz                            100% 2079KB 189.0KB/s  66.1KB/s   00:11    
tcl-8.5.15.tgz                           100% 2269KB 174.5KB/s  99.7KB/s   00:13    
ruby193-tk-1.9.3p484nb1.tgz              100% 1681KB 240.2KB/s 136.1KB/s   00:07    
ruby193-readline-1.9.3p484.tgz           100%   13KB  13.5KB/s  13.5KB/s   00:00    
ruby193-gdbm-1.9.3p484.tgz               100%   11KB  10.8KB/s  10.8KB/s   00:00    
ruby193-fiddle-1.9.3p484.tgz             100% 9494     9.3KB/s   9.3KB/s   00:00    
ruby193-curses-1.9.3p484nb1.tgz          100%   20KB  19.5KB/s  19.5KB/s   00:00    
libyaml-0.1.4.tgz                        100%  101KB  50.7KB/s  57.3KB/s   00:02    
ruby193-fast-stemmer-1.0.2.tgz           100%   72KB  72.1KB/s  23.1KB/s   00:01    
ruby193-highline-1.6.19.tgz              100%  552KB 276.1KB/s  19.2KB/s   00:02    
ruby193-syntax-1.0.0nb1.tgz              100%   88KB  87.7KB/s  87.7KB/s   00:01    
ruby193-safe_yaml-0.9.5.tgz              100%  121KB 120.6KB/s  50.6KB/s   00:01    
ruby193-redcarpet-3.0.0.tgz              100%  175KB 175.3KB/s 175.3KB/s   00:01    
ruby193-maruku-0.6.1.tgz                 100%  505KB 126.3KB/s 128.1KB/s   00:04    
ruby193-liquid-2.5.2.tgz                 100%  233KB 116.3KB/s 139.5KB/s   00:02    
ruby193-kramdown-0.14.2.tgz              100%  709KB 141.8KB/s 183.1KB/s   00:05    
ruby193-directory-watcher-1.5.1.tgz      100%  177KB  88.6KB/s  15.1KB/s   00:02    
ruby193-commander-4.1.5.tgz              100%  141KB 141.3KB/s 141.3KB/s   00:00    
ruby193-colorator-0.1.tgz                100%   58KB  57.6KB/s  57.6KB/s   00:01    
ruby193-classifier-1.3.3.tgz             100%  119KB 118.6KB/s 118.6KB/s   00:01    
ruby193-base-1.9.3p484.tgz               100% 8252KB 125.0KB/s 126.9KB/s   01:06    
ruby193-pygments.rb-0.5.2.tgz            100% 2860KB 238.4KB/s 406.3KB/s   00:12    
ruby193-jekyll-1.2.0.tgz                 100%  656KB  93.7KB/s  30.6KB/s   00:07    
installing packages...
installing libxcb-1.9.3...
installing libXdmcp-1.1.1...
installing libXau-1.0.8...
installing libXext-1.3.2...
installing libX11-1.6.2...
installing libffi-3.0.13...
installing gdbm-1.10nb3...
installing tk-8.5.15...
installing tcl-8.5.15...
installing ruby193-tk-1.9.3p484nb1...
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $

Note that this is a minimal package.

The original ruby-1.9.3-p484 distribution includes more extension
libraries, some of which are provided as separate packages:

    databases/ruby-gdbm:        GDBM module
    devel/ruby-curses:      Curses module
    devel/ruby-fiddle:      Fiddle module
    devel/ruby-readline:        readline module
    x11/ruby-tk:            Tk modules

===========================================================================
installing ruby193-readline-1.9.3p484...
installing ruby193-gdbm-1.9.3p484...
===========================================================================
$NetBSD: MESSAGE,v 1.2 2001/11/11 06:17:27 hubertf Exp $

This package doesn't contain any manuals nor examples, but
it wouldn't be a problem, as the interface of this module
is exactly the same as DBM and SDBM, except GDBM has a
"reorganize" method.  See the DBM module's document included
in the ruby-man package, and gdbm(3) manpage included in the
gdbm package.

===========================================================================
installing ruby193-fiddle-1.9.3p484...
installing ruby193-curses-1.9.3p484nb1...
installing libyaml-0.1.4...
installing ruby193-fast-stemmer-1.0.2...
installing ruby193-highline-1.6.19...
installing ruby193-syntax-1.0.0nb1...
installing ruby193-safe_yaml-0.9.5...
installing ruby193-redcarpet-3.0.0...
installing ruby193-maruku-0.6.1...
installing ruby193-liquid-2.5.2...
installing ruby193-kramdown-0.14.2...
installing ruby193-directory-watcher-1.5.1...
installing ruby193-commander-4.1.5...
installing ruby193-colorator-0.1...
installing ruby193-classifier-1.3.3...
installing ruby193-base-1.9.3p484...
installing ruby193-pygments.rb-0.5.2...
installing ruby193-jekyll-1.2.0...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking ruby193-jekyll-1.2.0 as non auto-removable

but jekyll bailed out with:

$ jekyll serve
/usr/pkg/lib/ruby/1.9.3/rubygems/dependency.rb:247:in `to_specs': Could not find directory_watcher (~> 1.4.1) amongst [bigdecimal-1.1.0, classifier-1.3.3, colorator-0.1, commander-4.1.5, directory_watcher-1.5.1, fast-stemmer-1.0.2, highline-1.6.19, io-console-0.3, jekyll-1.2.0, json-1.5.5, kramdown-0.14.2, liquid-2.5.2, maruku-0.6.1, minitest-2.5.1, posix-spawn-0.3.6, pygments.rb-0.5.2, rake-0.9.2.2, rdoc-3.9.5, redcarpet-3.0.0, safe_yaml-0.9.5, syntax-1.0.0, yajl-ruby-1.1.0] (Gem::LoadError)
    from /usr/pkg/lib/ruby/1.9.3/rubygems/specification.rb:783:in `block in activate_dependencies'
    from /usr/pkg/lib/ruby/1.9.3/rubygems/specification.rb:772:in `each'
    from /usr/pkg/lib/ruby/1.9.3/rubygems/specification.rb:772:in `activate_dependencies'
    from /usr/pkg/lib/ruby/1.9.3/rubygems/specification.rb:756:in `activate'
    from /usr/pkg/lib/ruby/1.9.3/rubygems.rb:1236:in `gem'
    from /usr/pkg/bin/jekyll:22:in `<main>'

It looks like it's looking for directory_watcher 1.4.1, but I've got 1.5.1:

$ pkgin list | grep ruby.*directory
ruby193-directory-watcher-1.5.1 FAM-like facility for Ruby

$ find /usr/pkg/lib/ruby -name '*directory*'
/usr/pkg/lib/ruby/gems/1.9.3/cache/directory_watcher-1.5.1.gem
/usr/pkg/lib/ruby/gems/1.9.3/doc/directory_watcher-1.5.1
/usr/pkg/lib/ruby/gems/1.9.3/doc/directory_watcher-1.5.1/rdoc/lib/directory_watcher
/usr/pkg/lib/ruby/gems/1.9.3/doc/directory_watcher-1.5.1/rdoc/lib/directory_watcher_rb.html
/usr/pkg/lib/ruby/gems/1.9.3/doc/highline-1.6.19/ri/HighLine/Question/directory-i.ri
/usr/pkg/lib/ruby/gems/1.9.3/gems/directory_watcher-1.5.1
/usr/pkg/lib/ruby/gems/1.9.3/gems/directory_watcher-1.5.1/lib/directory_watcher
/usr/pkg/lib/ruby/gems/1.9.3/gems/directory_watcher-1.5.1/lib/directory_watcher.rb
/usr/pkg/lib/ruby/gems/1.9.3/gems/directory_watcher-1.5.1/spec/directory_watcher_spec.rb
/usr/pkg/lib/ruby/gems/1.9.3/specifications/directory_watcher-1.5.1.gemspec

I worked around this by installing the gem with "gem193" (which is the "gem" executable that pkgsrc installed):

$ sudo gem193 install directory_watcher -v 1.4.1
Fetching: directory_watcher-1.4.1.gem (100%)
Successfully installed directory_watcher-1.4.1
1 gem installed
Installing ri documentation for directory_watcher-1.4.1...
Installing RDoc documentation for directory_watcher-1.4.1...

and that seems to have worked:

$ jekyll serve
Configuration file: /Users/dap/Desktop/se411-pages/_config.yml
            Source: /Users/dap/Desktop/se411-pages
       Destination: /Users/dap/Desktop/se411-pages/_site
      Generating... done.
[2015-02-11 21:21:20] INFO  WEBrick 1.3.1
[2015-02-11 21:21:20] INFO  ruby 1.9.3 (2013-11-22) [i386-darwin10]
[2015-02-11 21:21:20] INFO  WEBrick::HTTPServer#start: pid=13151 port=4000
@jperkin
Copy link
Collaborator

jperkin commented Feb 12, 2015

Yeh thanks Dave, I use Jekyll too and noticed this recently. It is fixed as of 904068f which isn't part of 2014Q4. I'll merge it back though and rebuild the jekyll package for OS X (I already merged that back for the 2014Q4 SmartOS sets). I won't be able to fix this for older sets like 2013Q4 though.

In the meantime, you can also work around this by editing the jekyll gemspec to bump the directory_watcher dependency up to 1.5.1 - that works fine for me.

@jperkin jperkin closed this as completed Feb 12, 2015
@davepacheco
Copy link
Author

Thanks, and sorry for the dup!

jperkin pushed a commit that referenced this issue Aug 9, 2015
(libreoffice still builds.)

02/08/2015 - GLM 0.9.7.0 released

    Features:
    Added GTC_color_space: convertLinearToSRGB and convertSRGBToLinear functions
    Added 'fmod' overload to GTX_common with tests #308
    Added left handed perspective and lookAt functions #314
    Added functions eulerAngleXYZ and extractEulerAngleXYZ #311
    Added GTX_hash to perform std::hash on GLM types #320 #367
    Added GTX_wrap for texcoord wrapping
    Added static components and precision members to all vector and quat types #350
    Added .gitignore #349
    Added support of defaulted functions to GLM types, to use them in unions #366

    Improvements:
    Changed usage of __has_include to support Intel compiler #307
    Specialized integer implementation of YCoCg-R #310
    Don't show status message in 'FindGLM' if 'QUIET' option is set. #317
    Added master branch continuous integration service on Linux 64 #332
    Clarified manual regarding angle unit in GLM, added FAQ 11 #326
    Updated list of compiler versions

    Fixes:
    Fixed default precision for quat and dual_quat type #312
    Fixed (u)int64 MSB/LSB handling on BE archs #306
    Fixed multi-line comment warning in g++ #315
    Fixed specifier removal by 'std::make_pair' #333
    Fixed perspective fovy argument documentation #327
    Removed -m64 causing build issues on Linux 32 #331
    Fixed isfinite with C++98 compilers #343
    Fixed Intel compiler build error on Linux #354
    Fixed use of libstdc++ with Clang #351
    Fixed quaternion pow #346
    Fixed decompose warnings #373
    Fixed matrix conversions #371

    Deprecation:
    Removed integer specification for 'mod' in GTC_integer #308
    Removed GTX_multiple, replaced by GTC_round

Download: GLM 0.9.7.0 (ZIP, 4.2 MB) (7Z, 2.8 MB)

15/02/2015 - GLM 0.9.6.3 released

    Fixes:
    Fixed Android doesn't have C++ 11 STL #284

Download: GLM 0.9.6.3 (ZIP, 4.1 MB) (7Z, 2.7 MB)

15/02/2015 - GLM 0.9.6.2 released

    Features:
    Added display of GLM version with other GLM_MESSAGES
    Added ARM instruction set detection

    Improvements:
    Removed assert for perspective with zFar < zNear #298
    Added Visual Studio natvis support for vec1, quat and dualqual types
    Cleaned up C++11 feature detections
    Clarify GLM licensing

    Fixes:
    Fixed faceforward build #289
    Fixed conflict with Xlib #define True 1 #293
    Fixed decompose function VS2010 templating issues #294
    Fixed mat4x3 = mat2x3 * mat4x2 operator #297
    Fixed warnings in F2x11_1x10 packing function in GTC_packing #295
    Fixed Visual Studio natvis support for vec4 #288
    Fixed GTC_packing *pack*norm*x* build and added tests #292
    Disabled GTX_scalar_multiplication for GCC, failing to build tests #242
    Fixed Visual C++ 2015 constexpr errors: Disabled only partial support
    Fixed functions not inlined with Clang #302
    Fixed memory corruption (undefined behaviour) #303

Download: GLM 0.9.6.2 (ZIP, 4.1 MB) (7Z, 2.7 MB)

10/12/2014 - GLM 0.9.6.1 released

GLM 0.9.6.0 came with its set of major glitches: C++98 only mode, 32 bit build, Cuda and Android support should all be fixed in GLM 0.9.6.1 release.

    Features:
    Added GLM_LANG_CXX14_FLAG and GLM_LANG_CXX1Z_FLAG language feature flags
    Added C++14 detection

    Improvements:
    Clean up GLM_MESSAGES compilation log to report only detected capabilities

    Fixes:
    Fixed scalar uaddCarry build error with Cuda #276
    Fixed C++11 explicit conversion operators detection #282
    Fixed missing explicit convertion when using integer log2 with *vec1 types
    Fixed 64 bits integer GTX_string_cast to_string on VC 32 bit compiler
    Fixed Android build issue, STL C++11 is not supported by the NDK #284
    Fixed unsupported _BitScanForward64 and _BitScanReverse64 in VC10
    Fixed Visual C++ 32 bit build #283
    Fixed GLM_FORCE_SIZE_FUNC pragma message
    Fixed C++98 only build
    Fixed conflict between GTX_compatibility and GTC_quaternion #286
    Fixed C++ language restriction using GLM_FORCE_CXX**

Download: GLM 0.9.6.1 (ZIP, 4.1 MB) (7Z, 2.7 MB)

30/11/2014 - GLM 0.9.6.0 released

GLM 0.9.6.0 is available with many changes.
Transition from degrees to radians compatibility break and GLM 0.9.5.4 help

One of the long term issue with GLM is that some functions were using radians, functions from GLSL and others were using degrees, functions from GLU or legacy OpenGL.

In GLM 0.9.5, we can use GLM_FORCE_RADIANS to force all GLM functions to adopt radians.
In GLM 0.9.5 in degrees:

    #include <glm/mat4.hpp>
    #include <glm/gtc/matrix_tansform.hpp>
    glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians)
    {
    return glm::rotate(m, glm::degrees(angleInRadians), glm::vec3(0.0, 0.0, 1.0));
    }

In GLM 0.9.5 in radians:

    #define GLM_FORCE_RADIANS
    #include <glm/mat4.hpp>
    #include <glm/gtc/matrix_tansform.hpp>
    glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians)
    {
    return glm::rotate(m, angleInRadians, glm::vec3(0.0, 0.0, 1.0));
    }

In GLM 0.9.6 in radians only:

    #include <glm/mat4.hpp>
    #include <glm/gtc/matrix_tansform.hpp>
    glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians)
    {
    return glm::rotate(m, angleInRadians, glm::vec3(0.0, 0.0, 1.0));
    }

In GLM 0.9.6 if you what to use degrees anyway:

    #include <glm/mat4.hpp>
    #include <glm/gtc/matrix_tansform.hpp>
    glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInDegrees)
    {
    return glm::rotate(m, glm::radians(angleInDegrees), glm::vec3(0.0, 0.0, 1.0));
    }

GLM 0.9.5 will show warning messages at compilation each time a function taking degrees is used.
GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.

If you are using a version of GLM older than GLM 0.9.5.1, update to GLM 0.9.5.4 before transitioning to GLM 0.9.6 to get this help in that process.
Make sure to build and run successfully your application with GLM 0.9.5 with GLM_FORCE_RADIANS, before transistioning to GLM 0.9.6

Finally, here is a list of all the functions that could use degrees in GLM 0.9.5.4 that requires radians in GLM 0.9.6: rotate (matrices and quaternions), perspective, perspectiveFov, infinitePerspective, tweakedInfinitePerspective, roll, pitch, yaw, angle, angleAxis, polar, euclidean, rotateNormalizedAxis, rotateX, rotateY, rotateZ and orientedAngle.
Using GLM template types

There are a lot of reasons for using template types: Writing new template classes and functions or defining new types. Unfortunately, until GLM 0.9.5, GLM template types were defined into the detail namespace indicating there are implementation details that may changed.

With GLM 0.9.6, template types are accessible from the GLM namespace and guarantee to be stable onward.
Example of template functions, GLM 0.9.5 and 0.9.6 style:

    #include <glm/geometry.hpp>
    #include <glm/exponential.hpp>
    template <typename vecType>
    typename vecType::value_type normalizeDot(vecType const & a, vecType const & b)
    {
    return glm::dot(a, b) * glm::inversesqrt(glm::dot(a, a) * glm::dot(b, b));
    }
    #include <glm/vec4.hpp>
    int main()
    {
    return normalizeDot(glm::vec4(2.0), glm::vec4(2.0)) > 0.0f ? 0 : 1
    }

Example of template functions, alternative GLM 0.9.6 style:

    #include <glm/geometry.hpp>
    #include <glm/exponential.hpp>
    template <typename T, template <typename, glm::precision> class vecType>
    T normalizeDot(vecType<T, P> const & a, vecType<T, P> const & b)
    {
    return glm::dot(a, b) * glm::inversesqrt(glm::dot(a, a) * glm::dot(b, b));
    }
    #include <glm/vec4.hpp>
    int main()
    {
    return normalizeDot(glm::vec4(2.0), glm::vec4(2.0)) > 0.0f ? 0 : 1
    }

Example of typedefs with GLM 0.9.6:

    #include <cstddef>
    #include <glm/vec4.hpp>
    #include <glm/mat4.hpp>
    typedef glm::tvec4<std::size_t> size4;
    typedef glm::tvec4<long double, glm::highp> ldvec4;
    typedef glm::tmat4x4<long double, glm::highp> ldmat4x4;

Optimizations

With GLM 0.9.5, the library started to tackle the issue of compilation time by introducing forward declarations through <glm/fwd.hpp> but also by providing an alternative to the monolithic <glm/glm.hpp> headers with <glm/vec2.hpp>, <glm/mat3x2.hpp> and <glm/common.hpp>, etc.

With GLM 0.9.6, the library took advantage of dropping old compilers to replace preprocessor instantiation of the code by template instantiation. The issue of preprocessor instantiation (among them!) is that all the code is generated even if it is never used resulting in building and compiling much bigger header files.

Furthermore, a lot of code optimizations have been done to provide better performance at run time by leveraging integer bitfield tricks and compiler intrinsics. The test framework has been extended to include performance tests. The total code size of the tests is now 50% of the library code which is still not enough but pretty solid.
Compilers support

GLM 0.9.6 removed support for a lot of old compiler versions. If you are really insisting in using an older compiler, you are welcome to keep using GLM 0.9.5.

    Supported compilers by GLM 0.9.6:
    Apple Clang 4.0 and higher
    CUDA 4.0 and higher
    GCC 4.4 and higher
    LLVM 3.0 and higher
    Intel C++ Composer XE 2013 and higher
    Visual Studio 2010 and higher
    Any conform C++98 compiler

Lisence

Finally, GLM is changing Lisence to adopt the Happy Bunny Lisence.
Release note

    Features:
    Exposed template vector and matrix types in 'glm' namespace #239, #244
    Added GTX_scalar_multiplication for C++ 11 compiler only #242
    Added GTX_range for C++ 11 compiler only #240
    Added closestPointOnLine function for tvec2 to GTX_closest_point #238
    Added GTC_vec1 extension, *vec1 support to *vec* types
    Updated GTX_associated_min_max with vec1 support
    Added support of precision and integers to linearRand #230
    Added Integer types support to GTX_string_cast #249
    Added vec3 slerp #237
    Added GTX_common with isdenomal #223
    Added GLM_FORCE_SIZE_FUNC to replace .length() by .size() #245
    Added GLM_FORCE_NO_CTOR_INIT
    Added 'uninitialize' to explicitly not initialize a GLM type
    Added GTC_bitfield extension, promoted GTX_bit
    Added GTC_integer extension, promoted GTX_bit and GTX_integer
    Added GTC_round extension, promoted GTX_bit
    Added GLM_FORCE_EXPLICIT_CTOR to require explicit type conversions #269
    Added GTX_type_aligned for aligned vector, matrix and quaternion types

    Improvements:
    Rely on C++11 to implement isinf and isnan
    Removed GLM_FORCE_CUDA, Cuda is implicitly detected
    Separated Apple Clang and LLVM compiler detection
    Used pragma once
    Undetected C++ compiler automatically compile with GLM_FORCE_CXX98 and GLM_FORCE_PURE
    Added not function (from GLSL specification) on VC12
    Optimized bitfieldReverse and bitCount functions
    Optimized findLSB and findMSB functions
    Optimized matrix-vector multiple performance with Cuda #257, #258
    Reduced integer type redifinitions #233
    Rewrited of GTX_fast_trigonometry #264 #265
    Made types trivially copyable #263
    Removed iostream in GLM tests
    Used std features within GLM without redeclaring
    Optimized cot function #272
    Optimized sign function #272
    Added explicit cast from quat to mat3 and mat4 #275

    Fixes:
    Fixed std::nextafter not supported with C++11 on Android #217
    Fixed missing value_type for dual quaternion
    Fixed return type of dual quaternion length
    Fixed infinite loop in isfinite function with GCC #221
    Fixed Visual Studio 14 compiler warnings
    Fixed implicit conversion from another tvec2 type to another tvec2 #241
    Fixed lack of consistency of quat and dualquat constructors
    Fixed uaddCarray #253
    Fixed float comparison warnings #270

    Deprecation:
    Removed degrees for function parameters
    Removed GLM_FORCE_RADIANS, active by default
    Removed VC 2005 / 8 and 2008 / 9 support
    Removed GCC 3.4 to 4.5 support
    Removed LLVM GCC support
    Removed LLVM 2.6 to 2.9 support
    Removed CUDA 3.0 to 4.0 support
jperkin pushed a commit that referenced this issue Dec 14, 2015
# Liquid Version History

## 3.0.5 / 2015-07-23 / branch "3-0-stable"

* Fix test failure under certain timezones [Dylan Thacker-Smith]

## 3.0.4 / 2015-07-17

* Fix chained access to multi-dimensional hashes [Florian Weingarten]

## 3.0.3 / 2015-05-28

* Fix condition parse order in strict mode (#569) [Justin Li, pushrax]

## 3.0.2 / 2015-04-24

* Expose VariableLookup private members (#551) [Justin Li, pushrax]
* Documentation fixes

## 3.0.1 / 2015-01-23

* Remove duplicate `index0` key in TableRow tag (#502) [Alfred Xing]

## 3.0.0 / 2014-11-12

* Removed Block#end_tag. Instead, override parse with `super` followed by your code. See #446 [Dylan Thacker-Smith, dylanahsmith]
* Fixed condition with wrong data types, see #423 [Bogdan Gusiev]
* Add url_encode to standard filters, see #421 [Derrick Reimer, djreimer]
* Add uniq to standard filters [Florian Weingarten, fw42]
* Add exception_handler feature, see #397 and #254 [Bogdan Gusiev, bogdan and Florian Weingarten, fw42]
* Optimize variable parsing to avoid repeated regex evaluation during template rendering #383 [Jason Hiltz-Laforge, jasonhl]
* Optimize checking for block interrupts to reduce object allocation #380 [Jason Hiltz-Laforge, jasonhl]
* Properly set context rethrow_errors on render! #349 [Thierry Joyal, tjoyal]
* Fix broken rendering of variables which are equal to false, see #345 [Florian Weingarten, fw42]
* Remove ActionView template handler [Dylan Thacker-Smith, dylanahsmith]
* Freeze lots of string literals for new Ruby 2.1 optimization, see #297 [Florian Weingarten, fw42]
* Allow newlines in tags and variables, see #324 [Dylan Thacker-Smith, dylanahsmith]
* Tag#parse is called after initialize, which now takes options instead of tokens as the 3rd argument. See #321 [Dylan Thacker-Smith, dylanahsmith]
* Raise `Liquid::ArgumentError` instead of `::ArgumentError` when filter has wrong number of arguments #309 [Bogdan Gusiev, bogdan]
* Add a to_s default for liquid drops, see #306 [Adam Doeler, releod]
* Add strip, lstrip, and rstrip to standard filters [Florian Weingarten, fw42]
* Make if, for & case tags return complete and consistent nodelists, see #250 [Nick Jones, dntj]
* Prevent arbitrary method invocation on condition objects, see #274 [Dylan Thacker-Smith, dylanahsmith]
* Don't call to_sym when creating conditions for security reasons, see #273 [Bouke van der Bijl, bouk]
* Fix resource counting bug with respond_to?(:length), see #263 [Florian Weingarten, fw42]
* Allow specifying custom patterns for template filenames, see #284 [Andrei Gladkyi, agladkyi]
* Allow drops to optimize loading a slice of elements, see #282 [Tom Burns, boourns]
* Support for passing variables to snippets in subdirs, see #271 [Joost Hietbrink, joost]
* Add a class cache to avoid runtime extend calls, see #249 [James Tucker, raggi]
* Remove some legacy Ruby 1.8 compatibility code, see #276 [Florian Weingarten, fw42]
* Add default filter to standard filters, see #267 [Derrick Reimer, djreimer]
* Add optional strict parsing and warn parsing, see #235 [Tristan Hume, trishume]
* Add I18n syntax error translation, see #241 [Simon Hørup Eskildsen, Sirupsen]
* Make sort filter work on enumerable drops, see #239 [Florian Weingarten, fw42]
* Fix clashing method names in enumerable drops, see #238 [Florian Weingarten, fw42]
* Make map filter work on enumerable drops, see #233 [Florian Weingarten, fw42]
* Improved whitespace stripping for blank blocks, related to #216 [Florian Weingarten, fw42]

## 2.6.3 / 2015-07-23 / branch "2-6-stable"

* Fix test failure under certain timezones [Dylan Thacker-Smith]
jperkin pushed a commit that referenced this issue Jan 9, 2016
o Switch to using gtk-mac-bundler and jhbuild for building the OS X installer.
  This promises to reduce a lot of the problems we've had with local paths and
  dependencies using the py2app and macports build system. [Daniel Miller]

o The Windows installer is now built with NSIS 2.47 which features LoadLibrary
  security hardening to prevent DLL hijacking and other unsafe use of temporary
  directories. Thanks to Stefan Kanthak for reporting the issue to NSIS and to
  us and the many other projects that use it.

o Updated the OpenSSL shipped with our binary builds (Windows, OS X, and RPM)
  to 1.0.2e.

o [Zenmap] [GH-235] Fix several failures to launch Zenmap on OS X. The new
  build process eliminates these errors:
    IOError: [Errno 2] No such file or directory: '/Applications/Zenmap.app/Contents/Resources/etc/pango/pangorc.in'
    LSOpenURLsWithRole() failed for the application /Applications/Zenmap.app with error -10810.

o [NSE] [GH-254] Update the TLSSessionRequest probe in ssl-enum-ciphers to
  match the one in nmap-service-probes, which was fixed previously to correct a
  length calculation error. [Daniel Miller]

o [NSE] [GH-251] Correct false positives and unexpected behavior in http-*
  scripts which used http.identify_404 to determine when a file was not found
  on the target. The function was following redirects, which could be an
  indication of a soft-404 response. [Tom Sellers]

o [NSE] [GH-241] Fix a false-positive in hnap-info when the target responds
  with 200 OK to any request. [Tom Sellers]

o [NSE] [GH-244] Fix an error response in xmlrpc-methods when run against a
  non-HTTP service. The expected behavior is no output. [Niklaus Schiess]

o [NSE] Fix SSN validation function in http-grep, reported by Bruce Barnett.
jperkin pushed a commit that referenced this issue Jan 15, 2016
=== Net::LDAP 0.13.0

* Set a connect_timeout for the creation of a socket
  {#243}[ruby-ldap/ruby-net-ldap#243]
* Update bundler before installing gems with bundler
  {#245}[ruby-ldap/ruby-net-ldap#245]
* Net::LDAP#encryption accepts string
  {#239}[ruby-ldap/ruby-net-ldap#239]
* Adds correct UTF-8 encoding to Net::BER::BerIdentifiedString
  {#242}[ruby-ldap/ruby-net-ldap#242]
* Remove 2.3.0-preview since ruby-head already is included
  {#241}[ruby-ldap/ruby-net-ldap#241]
* Drop support for ruby 1.9.3
  {#240}[ruby-ldap/ruby-net-ldap#240]
* Fixed capitalization of StartTLSError
  {#234}[ruby-ldap/ruby-net-ldap#234]
jperkin pushed a commit that referenced this issue Oct 22, 2016
version 1.11.1: 2016-06-14

    * new guesser infrastructure, support for emacs and vim modelines (#489)
    * javascript bugfix for nested objects with quoted keys (#496)
    * new theme: Gruvbox (thanks @jamietanna!)
    * praat: lots of improvements (thanks @jjatria)
    * fix for rougify error when highlighting from stdin (#493)
    * new lexer: kotlin (thanks @meleyal!)
    * new lexer: cfscript (thanks @mjclemente!)

version 1.11.0: 2016-06-06

    * groovy:
	o remove pathological regexes and add basic support for
	  triple-quoted strings (#485)
	o add the "trait" keyword and fix project url (thanks @glaforge! #378)
    * new lexer: coq (thanks @gmalecha! #389)
    * gemspec license now more accurate (thanks @connorshea! #484)
    * swift:
	o properly support nested comments (thanks @dblessing! #479)
	o support swift 2.2 features (thanks @radex #376 and @wokalski #442)
	o add indirect declaration (thanks @nRewik! #326)
    * new lexer: verilog (thanks @Razer6! #317)
    * new lexer: typescript (thanks @Seikho! #400)
    * new lexers: jinja and twig (thanks @robin850! #402)
    * new lexer: pascal (thanks @alexcu!)
    * css: support attribute selectors (thanks @skoji! #426)
    * new lexer: shell session (thanks @sio4! #481)
    * ruby: add support for <<~ heredocs (thanks @tinci! #362)
    * recognize comments at EOF in SQL, Apache, and CMake (thanks @julp! #360)
    * new lexer: phtml (thanks @Igloczek #366)
    * recognize comments at EOF in CoffeeScript (thanks @rdavila! #370)
    * c/c++:
	o support c11/c++11 features (thanks @Tosainu! #371)
	o Allow underscores in identifiers (thanks @coverify! #333)
    * rust: add more builtin types (thanks @RalfJung! #372)
    * ini: allow hyphen keys (thanks @KrzysiekJ! #380)
    * r: massively improve lexing quality (thanks @klmr! #383)
    * c#:
	o add missing keywords (thanks @BenVlodgi #384 and @SLaks #447)
    * diff: do not require newlines at the ends (thanks @AaronLasseigne! #387)
    * new lexer: ceylon (thanks @bjansen! #414)
    * new lexer: biml (thanks @japj! #415)
    * new lexer: TAP - the test anything protocol (thanks @mblayman! #409)
    * rougify bugfix: treat input as utf8 (thanks @japj! #417)
    * new lexer: jsonnet (thanks @davidzchen! #420)
    * clojure: associate *.cljc for cross-platform clojure (thanks @alesguzik! #423)
    * new lexer: D (thanks @nikibobi! #435)
    * new lexer: smarty (thanks @tringenbach! #427)
    * apache:
	o add directives for v2.4 (thanks @stanhu!)
	o various improvements (thanks @julp! #301)
	    - faster keyword lookups
	    - fix nil error on unknown directive (cf #246, #300)
	    - properly manage case-insensitive names (cf #246)
	    - properly handle windows CRLF
    * objective-c:
	o support literal dictionaries and block arguments (thanks @BenV!
	  #443 and #444)
	o Fix error tokens when defining interfaces (thanks @meleyal! #477)
    * new lexer: NASM (thanks @sraboy! #457)
    * new lexer: gradle (thanks @nerro! #468)
    * new lexer: API Blueprint (thanks @kylef! #261)
    * new lexer: ActionScript (thanks @honzabrecka! #241)
    * terminal256 formatter: stop confusing token names (thanks @julp! #367)
    * new lexer: julia (thanks @mpeteuil! #331)
    * new lexer: cmake (thanks @julp! #302)
    * new lexer: eiffel (thanks @Conaclos! #323)
    * new lexer: protobuf (thanks @fqqb! #327)
    * new lexer: fortran (thanks @CruzR! #328)
    * php: associate *.phpt files (thanks @Razer6!)
    * python: support raise from and yield from (thanks @mordervomubel! #324)
    * new VimL example (thanks @tpope! #315)
jperkin pushed a commit that referenced this issue Mar 20, 2017
## 2.0.7 (2017-03-19)

* Do not modify BasicObject during template compilation on ruby 2.0+ (#309, jeremyevans)

## 2.0.6 (2017-01-26)

* Add support for LiveScript (#286, @Announcement Jacob Francis Powers)
* Add support for Sigil (#302, winebarrel)
* Add support for Erubi (#308, jeremyevans)
* Add support for options in Liquid (#298, #299, laCour)
* Always sort locals by strings (#307, jeremyevans)

* Fix test warnings (#305, amatsuda)
* Fix indentation (#293, yui-knk)
* Use SVG badges in README (#294, vasinov)
* Fix typo and trailing space (#295, #296, karloescota)

## 2.0.5 (2016-06-02)

* Add support for reST using Pandoc (#284, mfenner)
* Make lazy loading thread-safe; remove warning (judofyr)

## 2.0.4 (2016-05-16)

* Fix regression in BuilderTemplate (#283, judofyr)

## 2.0.3 (2016-05-12)

* Add Pandoc support (#276, jmuheim)
* Add CommonMark support (#282, raphink)
* Add TypeScript support (#278, nghitran)
* Work with frozen string literal (#274, jeremyevans)
* Add MIME type for Babel (#273, SaitoWu)

## 2.0.2 (2016-01-06)

* Pass options to Redcarpet (#250, hughbien)
* Haml: Improve error message on frozen self (judofyr)
* Add basic support for Babel (judofyr)
* Add support for .litcoffee (#243, judofyr, mr-vinn)
* Document Tilt::Cache (#266, tommay)
* Sort local keys for better caching (#257, jeremyevans)
* Add more CSV options (#256, Juanmcuello)
* Add Prawn template (kematzy)
* Improve cache-miss performance in Tilt::Cache (#251, tommay)
* Add man page (#241, josephholsten)
* Support YAML/JSON data in bin/tilt (#241, josephholsten)

## 2.0.1 (2014-03-21)

* Fix Tilt::Mapping bug in Ruby 2.1.0 (9589652c569760298f2647f7a0f9ed4f85129f20)
* Fix `tilt --list` (#223, Achrome)
* Fix circular require (#221, amarshall)

## 2.0.0 (2013-11-30)

* Support Pathname in Template#new (#219, kabturek)
* Add Mapping#templates_for (judofyr)
* Support old-style #register (judofyr)
* Add Handlebars as external template engine (#204, judofyr, jimothyGator)
* Add org-ruby as external template engine (#207, judofyr, minad)
* Documentation typo (#208, elgalu)

## 2.0.0.beta1 (2013-07-16)

* Documentation typo (#202, chip)
* Use YARD for documentation (#189, judofyr)
* Add Slim as an external template engine (judofyr)
* Add Tilt.templates_for (#121, judofyr)
* Add Tilt.current_template (#151, judofyr)
* Avoid loading all files in tilt.rb (#160, #187, judofyr)
* Implement lazily required templates classes (#178, #187, judofyr)
* Move #allows_script and default_mime_type to metadata (#187, judofyr)
* Introduce Tilt::Mapping (#187, judofyr)
* Make template compilation thread-safe (#191, judofyr)
jperkin pushed a commit that referenced this issue Apr 28, 2017
Changes between 1.5.2 and 1.4.1:

    lapp: print left in code
    issue #228: bug in file matching for dir.getfiles
    issue #243 broken lapp default: little fix to c222e422274c
    testclone example assumed global lfs
    update changes and version number
    issue #226: can use either = or : to separate flag/value
    issue #241: little hack to handle no-trailing-comment case
    Merge pull request #193 from jvprat/class_tostring

    Setup __tostring on class creation instead of per instance.
    Merge pull request #240 from urzds/fix/lapp-convert-defaults

    lapp: Convert default values using the associated converter function
    Merge pull request #242 from tjachmann/workaround-for-pretty.load-error

    Workaround for error in pretty.load with a C hook

    pretty.load errors out, if a C hook function is installed (Lua 5.1). Reason: debug.gethook() returns a string as first return value in this case.  Then debug.sethook complains about the first argument being a string not a function.
    lapp: Convert default values using the associated converter function

    Also uses quite some hack to catch errors during conversion of default values.
     This prevents the application from quitting, if the value provided as default
     would be invalid in the current context, while the value provided on the
     command line is valid.

    Also handles -h and --help early, before parsing command line arguments
     Otherwise it would be impossible to show the help, if conversion of the
     default value of some argument fails.
    Merge pull request #239 from kulla/rename-arg-pattern

    dir.lua: Rename arg "pattern" to "shell_pattern"

    Fix a test to pass under LuaJIT with Lua 5.2 compat
    Merge pull request #237 from Tieske/fix/execute

    fix os.execute
    Merge branch 'master' of https://github.com/stevedonovan/Penlight into fix/execute
    fix os.execute to return proper results when LuaJIT is being used with 52 compatibility enabled
    Tweak local declaration in pl.compat

    Avoid duplicated variable.
    Fix a typo in pl.seq docs [ci skip]
    Merge pull request #233 from greatwolf/seq_coverage

    Added more test coverage for pl.seq
    Added test for seq.printall.
    Minor refactor of existing test.
    Added missing test case for equal_to and random.
    Added tests for seq.random, minmax, enum and copy_tuples.
    seq coverage
    Merge pull request #231 from greatwolf/bugfix_refactor

    Redid PR #230 as a separate branch.
    Added more tests for seq.reduce.
    Fixed seq.reduce to handle empty case.
    Allow passing initial value when calling reduce through seq object.
    naming consistency.
    redundant checks.
    Update version number in docs
    Fix typos in pl.lapp docs
    Added tests for seq.take.
    Just use n as counter.
    Added tests for seq.skip.
    Fixed bug when skipping past list.
    More concise code.

    Initial value argument for `tablex.reduce` is going to be added in 1.5.0, not 1.3.2
    Merge pull request #213 from gpleiss/reduce-memo

    tablex.reduce can take an optional initial memo
    tablex.reduce can take an optional initial memo
    Add "in progress" changes [ci skip]
    Merge pull request #221 from mpeterv/fix-stringx-splitlines

    Fix stringx.splitlines
    Fix coverage reporting on travis

    Tests are now run from project root.
    pl.seq() constructor can take an iterator which returns a function _and_ an object
    issue #226 lapp respects ':' as well as '='
    Merge pull request #225 from kulla/dir-some-fixes

    Little fixes in dir.lua
    dir.lua: Replace tab with whitespace in docstring.

    The tab characters create a strange format in documentatio (cf.
    https://stevedonovan.github.io/Penlight/api/libraries/pl.dir.html#getallfiles
    )

    dir.lua: Remove file execution permission.

    Merge pull request #224 from kulla/utils-doctring-fix

    Fix usage example of string_lambda().
    utils.lua: Fix usage example of string_lambda().

    Update docs for template.substitute
    Merge pull request #222 from urzds/feature/template-customisable-filename

    pl.template: Support customising the chunk "filename" (default: TMP)
    pl.template: Support customising the chunk name (default: "TMP")

    This can be used to aid debugging, e.g. when the template resides in an actual
     file.
    Fix handling of __index returning false in pl.strict

    Ref #223.
    Add a test for tablex.count_map
    Merge pull request #214 from urzds/feat/customisable-inline-escape

    pl.template: Support customising the inline escape character (default…
    pl.data: faster delimiter guessing

    Don't count occurrences of potential delims, just use string.find.
    Fix error in tablex.count_map

    Regression introduced in @6123f9e.
    Remove unused localizations, update dependency lists
    Don't use globals in 'pl.data' tests
    Fix stringx.splitlines

    Make stringx.splitlines more compliant with its Python
    analogue:

    * Recognize "\r\n" as a single line end.
    * Return an empty list for an empty string.
    * Implement `keep_ends` argument.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants