-
Notifications
You must be signed in to change notification settings - Fork 64
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
update puppet to 3.8.1 #275
Comments
my recommendation is to use Ruby 2.1 with this release. |
(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
I pushed an update to 3.8.2 to upstream pkgsrc just now, it will show up in the 2015Q3 release. Both facter and hiera are fairly recent there already. |
@mamash thank you so much! |
I'm sorry, I have yet to investigate 4.x. We could go with sysutils/puppet3 and sysutils/puppet if we need to keep both out there. |
…nce. Let me know if you need one of the removed options. Version 4.8.14 - Core * Minimal version of GLib is 2.14.0 * Add new panel binding "!SelectExt" to select/unselect files with the same extension as the current file (#3228) * Speed up of directory size calculation (#3247) * Support of italic text (#3065) - Editor * New syntax highlighting support: - puppet (#3266) - Viewer * Rewrite mcview's rendering and scrolling (#3250, #3256) - no more partial lines at the top and failure to scroll when Up or Down is pressed; - better handling of CJK characters; - handle combining accents; - improved nroff support; - more conventional scrolling behavior at the end of the file. * Use VIEW_SELECTED_COLOR in plain mode (#3405) * In !QuickView panel, don't pass any chars to command line to avoid unexpected command execution (#3253) - Misc * Code cleanup (#3265, #3262) * Bind poedit to Edit action for .po files (#3287) * Better grammar mcedit user menu (#3246) - Fixes * Fail to build against musl libc (#3267) * Error compiling with glib 2.20.3 (#3333) * Overwrite of the PROMPT_COMMAND bash variable (#2027) * contrib/*.?sh are not recreated after rerun of configure (#3181) * File rename handles zero-length substitutions incorrectly (#2952) * Lose files on "Skip" when "Cannot preallocate space for target file" (#3297) * Info panel can't obtain file system statistics on Solaris (#3277) * "Shell patterns" broken beyond repair (#2309) * File selection by patterns uses bytes instead of unicode characters (#2743) * Copy files dosn't work as expected, when copying to a directory with the special symbol in its name (#3235) * Wrong order of old_colors table items (#3404) * Input line: Alt+Backspace on one-letter word erases too much (#3390) * "Directory scanning" window is too narrow (#3162) * No Help for User Menu (#3409) * mcedit: paste from clipboard does not work (#3339) * mcviewer: hang when viewing broken man page (#2966) * mcview hex: incorrect highlight when search string not found (#3263) * mcview hex edit: UTF-8 chars are not updated (#3259) * mcview hex edit: can't enter certain UTF-8 characters (#3260) * mcview hex edit: CJK overflow (#3261) * mcedit: status line doesn't show full path to file (#3285) * Freeze when copying from one FTP location to another (#358) Version 4.8.13 - Core * New engine of user-friendly interruption of long-time operations (#2136) - Editor * Improvements of syntax highlighting: * CMake (#3216) * PHP (#3230) * Translate language names in the spelling assistant dialogue (#3233) - Viewer * Add separate normal(default) colour pair for viewer (#3204) * Dealing with utf-8 man pages in view/open (#1539) * "Goto line" is 1-based now (#3245) - Misc * Code cleanup (#3189, #3223, #3242) * Add new skins: gray-green-purple256 and gray-orange-blue256 (#3190) - Fixes * First Backspace/Delete is ignored after mouse click in an input widget (#3225) * Recursive find file doesn't work on Samba share (#3097) * Recursive find file doesn't work on Windows NFS share (#3202) * Incorrect file counter in move operation (#3196, #3209) * "Directory scanning" window is too narrow (#3162) * Colon is not recognized inside escape seq in prompt (#3241) * Quick view doesn't grab focus on mouse click (#3251) * fish subshell: overridden prompt (#3232, #3237) * mcviewer: broken switch between raw and parse modes (#3219) * mcviewer: incorrect percentage in mcview hex mode (#3258) * RAR VFS incorrectly recognizes UnRAR version (#3240) * viewbold and viewselected are missing from some skins (#3244) * Incorrect enconding name for manual page (#3239) * "User menu -> View manual page" doesn't do coloring (#3243) Version 4.8.12 - Core * Speed up of file find (#2290) * If cwd is a symlink it is kept at startup (#3093) * Improve support of Zsh (#3121, #3124, #3125, #3177) * Launch external editor/viewer without passing line number (#3117) * Exit without confirmation by default (#3132) * Simple user-friendly skin selector (#2165, #3178) * Use Joliet and RockRidge in ISO9660 image view action (#3187) - VFS * Use .zip extension as preferred way to recognize ZIP archives (#2857) - Editor * Configurable selection reset on CK_Store (#3111) - Misc * Code cleanup (#3113, #3151) * Adjust script permissions to installed ones (#2274) * Fix name of FSF in add source files (#3167) * Skin cleanups (#3180, #3184) * Do not consider "String not found" message as error (#3179) - Fixes * Broken build with NCurses (#3114) * Incorrect tilde expansion in copy/rename/move dialog (#3131) * Advanced chown: Escape on user list accepts value (#3150) * Toggling hidden files using mouse doesn't update the other panel (#3156) * Question mark in delete confirmation is on its own line (#3123) * Popup dialogs wander upwards upon resize (#3173) * Keypad '*' doesn't work with numlock off (#3133) * Some inconsistencies in "Learn keys" UI (#3134) * Unconventional behavior of "Display bits" dialog (#3152) * Shift-Fn keys don't work in 256-color mode of tmux (#2978) * mcedit: format paragraph produces inconsistent wrapping (#3119) * mcedit: file out-of-date check on saving is botched (#3142) * mcedit: 1st line is shifted after paragraph format (#1666) * mcedit: trailing newline check applied too early when exiting (#3140) * Inconsistency of the arrow's direction in the panel header line across skins (#3157) * Possible segfault while passing messages to widgets (#3116) * Possible segfault when freeing a VFS (#3116) * Segfault in cpio VFS while reading corrupted RPM (#3116) * Segfault in sftpfs VFS when trying to view a file (#3176) * Incorrect handling of filenames with unrar v5 (#3073) * FISH VFS: remote panel confused by filenames with '%' (#2983) * iso9660: xorriso shows only one depth (#3122) * Nicedark skin looks bad on black-on-white terminals (#3154) * Incorrect definition of "topmiddle" and "bottommiddle" characters (#3183) Version 4.8.11 - Core * Live update of panels size when editing layout (#3060) * Support "Compute totals" option in move file operation (#2075) - VFS * rpm extfs - show dependency version (#2812) - support tar payload (#3064) - improve support for EPOCH tag (#1588) - add support for PREINPROG/POSTINPROG/PREUNPROG/POSTUNPROG, VERIFYSCRIPTPROG and TRIGGERSCRIPTS/TRIGGERSCRIPTPROG tags (#1588) - Editor * Support "bracketed paste mode" of xterm (#2661) * Clarify Java syntax highlighting (#3057) - Misc * Print warnings about unknown '--with-' / '--enable-' configure options (#3029) * Code cleanup and refactoring (#3051, #3066) - Fixes * FTBFS on GNU Hurd (#3053, #3071) * Segfault while moving files (#3059, #3105) * Broken handling of mc command line arguments (#3047) * Copy/move doesn't work if num_history_items_recorded=0 (#3076) * No subdir path completion in current dir, if stub is not starting with './' (#3018) * Deprecated "find -perm +xxx" syntax is used (#3089) * Home, End, Shift-Fn keys don't work in tmux (#2978) * Improper [en|dis]abling of layout dialog split adjustment buttons (#3061) * Bogus strings in 'Confirmation' config dialog (#2271) * "Configure options" first entry not highlighted (#3084) * "Setup saved to ~/.config/mc/ini" message is misleading (#3096) * F3 doesn't work on .so files in FreeBSD 9.x (#3101) * Typo in mc.lib: "less=%filename +%linenog" instead of "+%lineno" (part of #3044) * Wrong order of filename and line number for external editor (part of #3044) * mcedit: tabs are lost when text is pasted (#1797 as part of #2661) * mcedit: question on large file treats Escape as Yes (#3107) * Broken case-sensitive search in editor/viewer/diffviewer (#3069) * Changes to files in nested .zip archives are lost (#3070) * Incorrect handling of filenames with spaces with unrar v5 (#3073) * iso9660 VFS: filenames truncating in ISO file listing (#3091) * vfs_path_from_str_flags() doesn't support VPF_STRIP_HOME (#3098) * Bright colors are used as background colors in 16-color skins (#3050) * Various defects in documentation (#3052, #3092) Version 4.8.10 - Core * Do not link GModule if it is not required (save space on embedded systems) (#2995) * Behavior of the 'Right' key in the 'Directory hotlist' was changed: now 'Right' key is used only to enter into the group (#3045) - Misc * Code cleanup (#3035) - Fixes * Build failure on Cygwin (#3041) * Broken NCurses detection (#3043) * Broken handling of mc command line arguments (#3047) * Cannot enter into zip archive in tar one (#3034) * Cannot open some jar files * mcedit: file descriptor leak (#3040) * mcedit: paragraph format doesn't respect multibyte characters (#2713) * Crash after entering a wrong SFTP password (#3036) Version 4.8.9 - VFS * extfs: support unrar-5 (#3015) * extfs: use xorriso (if exists) for writing into ISO images (#3027) - Editor * Support unlimited file size (#1743) - Misc * Lot of code cleanups (#2990, #2071, #2164, #2998, #3003, #3005, #3022) * Display additional info while viewing (by F3) *.iso files (#2006) * New skins: - modarin256: set of 256-color skins from Oliver Lange (#2737) - Fixes * Fail to link if system lib does not contain strverscmp (#2992) * Segfault when mc's temporary directory doesn't belong to the correct user (#3021) * Race condition when creating temporary directory (#3025) * Mouse doesn't work in screen and tmux (#3011) * Incorrect file size in copy/move overwrite query dialog (#3000) * Garbage in subshell prompt (#3001) * Incorrect WLabel redraw after text change (#2991) * Find File: "All charsets" options don't work (#3026) * When an unknown key is pressed, it is interpreted as garbage (#2988) * Segfault on creating new file in external editor (#3020) * Rotating dash is not removed when mc finishes reading the directory (#2163) * mcedit: word completion failed if word to be completed is begun from begin of file (#2245) * mcview: broken switch between raw and parse modes (#2968) * Hex viewer: continue search doesn't work (#2706) * sftpfs: broken SSH aliases (#2923) Version 4.8.8 - Core * Make copy/move progress dialog window wider up to 2/3 of screen width (#2076) * Ask file name before create new file in editor (#2585) * Support newer extended mouse protocol SGR-1006 instead of URXVT-1015 (#2956) * Allow skip directory scanning before file operation. Print directory count and size in addition to directory name (#2101) * Add jump support to target line in some external editors and viewers (#2206) - Editor * Update syntax highlighting: - Jal programming language (#2855) - gplink configuration files (.lkr extension) (#2855) - Makefile with .mak extension (#2896) - ZSH configuration files (#2950) - Fortran (#2962) - Misc * Code cleanup (#2944, #2954) * Report real compiler in MC_CHECK_ONE_CFLAG instead of 'gcc' * Hints files now translated via Transifex (#2980) - Fixes * Segfault in file operation due to unhandled regexp error (#2493) * Tab completion vs. spaces and escaping (#55)\ * Special chars are not escaped in autocompletion of filenames (#2626) * Buttons in the 'Directory hotlist' window are placed incorrectly (#2958) * Mouse doesn't select text in subshell in native console (#2964) * Mouse click below non-droppeddown menubar activates menu box (#2971) * Insufficient quoting and wrong message in user menu (#2947) * mcedit: floating point exception (division by zero) (#2953) * mcedit: broken autocompletion (#2957) * mcview: broken magic mode (#2976) * Broken opening of .war archives (#2974) Version 4.8.7 - Core * Minimal GLib version is 2.12.0 * Implementation of suspend/resume in copy/move file operations (#2111) * Start of widget subsystem reimplementation (#2919) - VFS * uc1541 extfs plug-in updated up to version 2.5 (#2935) - Editor * Reset selection after text paste (only in non-persistent selection mode) (#2660) * Don't indent blank lines (#303). * Add .psgi as Perl syntax highlighting (#2912) * Place cursor after inserted chars (#319) * Add option in ini file to save spelling language (spell_language=NONE for disable aspell support) (#2914) - Misc * Code cleanup (#2888, #1950) * Minimal "check" utility version is 0.9.8 * Remove the empty contrib/dist/debian/ since it maintained separately in Debian (#2871) * mc.ext updates: - add support of SVG images (#2895) - add support of .asm file extension (#2892) - add support of .hh file extension (#2892) - all file extension for source files now are case insensitive (#2892) - add support of JNG and MNG images (#2893) - add support of Gnumeric's spreadsheets (#2894) - add support of .war archives (#2891) - make a choice between arj and unarj archivers (#2890) - make a choice between 7z and 7za archivers (#2890) - add support of ape, aac and wvm4a media formats (#2767) - add support of cbr and cbz comic books (#2739) - add support of epub e-book format (#2739) - add support of PAR archives (#2739) - use libreoffice instead of ooffice, if found, to open ODT files (#2723) - use dvicat if dvi2tty not found to view DVI files (#1686) - use 'see' utility as default pdf viewer, if found (#1686) - use 'see' utility to view images in console (#1686) * Highlight OGV files as media (#2934) * Added new translations: - Persian (fa) - Croatian (hr) - Fixes * Build failure on Cygwin (#2917) * Fail to check ncurses library if --with-ncurses-inc and --with-ncurses-libs options are used (#2926) * Crash on Solaris while trying to copy a file (#2906) * CVE-2012-4463: Does not sanitize MC_EXT_SELECTED variable properly (#2913) * Attributes of existing directories are never preserved when copying (#2924) * Broken path completion on paths starting with ~/ (#2898) * Terminal settings are not changed when window is resized (#2198) * Enter into symlink to compressed patch shows empty patch (#2910) * Test failure on Cygwin due to incorrect linkage flag (#2918) * Non-portable test (#2883) Version 4.8.6 - Fixes * mcedit: two-columns extra offset of cursor after tab character (#2881) * diffviewer: cannot open file if name contains '$' (#2873) Version 4.8.5 - Core * Implemented case-insensitive patterns in mc.ext bindings (#2250) - Editor * Code refactoring and cleanup (#1977) - Diff viewer * Bidirectional merge (F5 merge left-to-right, F15 - merge right-to-left) (#2863) - Misc * Syntax highlighting news and updates: - update assembler.syntax: x86 AMD64 registers highlighting (#2542) - new cmake.syntax: preliminary and incomplete syntax file for CMakeLists.txt files (#2084) - new dlink.syntax: syntax highlighting for D-Link switches command set (#2649) - update properties.syntax: more nice look-and-feel (#1869) * mc.ext enhancement (#2103): - use chm_http text-mode handler for CHM files - play sounds only from videos in text mode - use pdftotext -layout -nopgbrk switches - try to use elinks before links for HTML - soffice2html text-mode handler for SXW files - wvHtml text-mode handler for doc files - xlhtml text-mode handler for XLS files - ppthtml text-mode handler for PPT/PPS files - open=view+pager fallback (noX) for PostScript, PDF, OD[PST] and DVI - standarized $DISPLAY checks * File extension support: - SQLite database files (#2103) - compiled Java files (*.class) (#2103) - m4a for MP4 containers with audio data in the Advanced Audio Coding (AAC) or its own Apple Lossless (ALE, ALAC) formats (#2869) - .ogm extension was deprecated in favor of .ogv (#2664) - Fixes * Bad EXTHELPERSDIR substitution if --prefix is not set (#2849) * Partially broken loading of user-defined keymap file (#2848) * Enter on directory named '~' goes to the home one (#2874) * Cannot Copy/Move files with filename encoding change (#2791) * Cannot view compressed files named like log.1.gz (with digit in name) (#2852) * Panel is not refreshed if panel history is called using mouse (#2854) * Duplicate entities in panel with 'tree view' mode (#2835) * Broken synchronization with filelist and tree panels (#2862) * Standalone mcedit doesn't load saved file position (#2853) * mcedit segfaults when aspell (en) dictionary is not installed (#2856) * mcedit segfaults after "Back from declaration" call (#2859) * mcedit: unable to save changes in "Safe save" mode(#2832) * Segfault when viewing HTML files with "mc -v" (#2858) * Broken 'Enter' action on a rpm file containing space character in filename (#2838) * extfs: uc1541 broken handling (#2864) * mc.ext: OGV format handled as audio (#2869) Version 4.8.4 - Core * Use xdg-open by default in mc.ext.in if present to open files, fallback on current scheme otherwise (#2118) * Improve of mouse event handling in dialogs (#2817) * Show extended info about compiled-in paths for internal/external macros in the "mc -F" output (2495) - VFS * Added SFTP support (#1535) - Editor * Multieditor: allow edit many files in one mcedit window (#2261, #2839) * Aspell support for spell check (#2788) - Viewer * Handle CK_FileNext/CK_FilePrev actions inside mcviewer (#2814) - Misc * Tweak and cleanup of code in case of --disable-charset option usage (#2827) * File extension support: - .gem - rubygems (#2797) - .cpio.xz - compressed cpio archives (#2798) - .webm - WebM video (#2746) - .lib - gputils artifacts (#2751) - Fixes * Build failure on FreeBSD 6 (#2808) * src/filemanager/filegui.c does not compile on Solaris due to missing macros (#2825) * Loss of data on copy to full partition (#2829) * Crash at Chown command (#2784) * Crash when creating relative symlink (#2787) * Misinterpretation of dirs as command line arguments (#2783, #2805) * Number of panelized files was limited to 127 (#2813) * CK_History removes CK_HistoryNext entries (#2313) * URL with port was stored wrong in history (#2833) * Can't find 00 (zeroes) in patterns in hex search (#2795) * Hotkey conflicts in 'Search' dialog (#2843) * Error message when entering into compressed tar and cpio archives (#2785) * Garbage directory listing in ftpfs (#2800) * Incomplete sand256 skin (#2807) * mcedit scripts are installed as data files (#1437) * Fails to build from source with --enable-tests (#2786) * Tests failure on PowerPC,S390,S390x (#2804) * Fail to compile if --without-vfs configure option specified (#2834) * do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf] (#2803) Version 4.8.3 - Misc * Code cleanup (#2780) - Fixes * Broken support of XDG_* shell variables (#1851) * Segmentation fault while background copying (#2663) * MC ignores second directory argument (#2762) * Interpretation of LANG variable needs to be case insensitive (#2386) * Cannot copy zero-length files with "Preallocate space" option (#2755) * Problem in the Copy operation with unchecked the "Preserve attributes" option (#2278) * * Cursor position reset after update when panel is panelized, but doesn't (#2766) * File selection reset after exit from the archive in the root (#2776) * Hotlist: broken newly added entries if old-style path is present (#2753) * Can't rebind Fx keys in the file manager (#2384) * "justified" menu alignment (#2756) * The last (or single) word of hyperlinks in the interactive help don't act on mouse clicks (#2763) * 'cd' command is not working in shell link (#2758) * mc hangs on switching screens (#2608) * Case sensitive search with SEARCH_TYPE_PCRE is broken (#2764) * mcedit can't run w/o file as parameter (#2754) * mcedit can't record input char (#2757) * mcedit: save file on top of existing directory changes dir's permissions (#2761) * Unable to edit gzipped files (#2759) * mcedit hangs up on replace with regexp contains '^' or '$' (#1868) * Segfault after open incorrect archive (#2775) * mcdiff crashes if one panel is not in the listing mode (#2769) * The password for vfs sessions remains in input history (#2760) * Showing directory sizes is broken in VFS'es (#2765) * Stale symlinks in vfs (#2777) * Active VFS directories list contain incorrect current path (#2779) * Date not set properly in manpage (#2692) * Empty texinfo rule in mc.ext (#2774) * Test failure if 'HOME' contains trailing slashes (#2768) Version 4.8.2 - Core * Added new flag -X (--no-x11) to allow dont't use X11 to get the state of modifiers Alt, Ctrl, Shift (#86) * Support of '~' as home dir in 'Start at:' field in 'Find File' dialog (#2694) * Support of '~' as home dir in hotlists (#2747) * Learn of 'Back Tab' is possible now in 'Learn keys' dialog (#2628) * Optional '0x' prefix for hexadecimal search (#2705) * Dynamically resize panels (#2465) * New bindings (ScrollLeft, ScrollRight) for scroll long filenames in panels (#2731) - VFS * Internal VFS reorganization (#2695) - Editor * Added as.syntax (#2708) - Viewer * Added action bindings for backward search (#2105) - Misc * Added hotkeys for all radio/check-buttons in search/replace dialogs (#2704) * New file bindings: - .m4v, .ts - video (#2702) - djv - DjVu? (#2645) * Simplify mc.menu - remove LZMA|LZ and change p7 to 7z (#2703) * Updated list of known browsers: gnome-moz-remote mozilla firefox konqueror opera (#2725) * Added MC_HOME environment variable to set up home directory of MC (as part of #2738) * Lot of code cleanup (#2740) - Fixes * Compile failure of 4.8.1 on xBSD because "Undefined symbols: _posix_fallocate" (#2689) * MC deletes the wrong file because of forced panel reload before file operation (#2736) * Cannot chdir to directory if directory name contains the dollar sign (#2451) * Incorrect panel size after change panel split type (#2521) * Wrong total bytes counter for subdirs in copy/move dialog (#2503) * Display corruption in panels after window shrink (#2684) * Command line is unaccessible from tree panel (#2714) * Extra confirmation before delete an empty hotlist group (#1576) * Can't open an edit zero-length file from VFS in mcedit (#2710) * mcedit crashes when ~/.config is a file (#2738) * mcedit: reset selection after END/HOME/PgDn/PgUp (#2726) * 'make check' fails on arm and alpha (-z muldefs) (#2732) Version 4.8.1 - Core * Use posix_fallocate64() when copying files/moving to a new mount point (#2610) * Faster startup (#2637) * Support of extended mouse clicks beyond 223 (#2662) - VFS * Added exit point ("..") at the top of file list (after external panelization) (#275, #278) - Editor * Lex/Flex sources (extension .l) handled by yxx.syntax file. Yacc/Bison syntax completed with all symbols (#1647) * Updated syntax files: - lua - Misc * Updated skins: - sand256 (#2640) - xoria256 (#2641) * Added ability to move MC config files to specified place instead of multiple places in $HOME (#2636) * Added configure option --with-homedir (default value: XDG) (#2636) * Respect traditional placement of user preferences on Mac OS X (#2658 as part of #2636) * A few useful additions to filehighlight.ini (#2646) - Fixes * Doesn't compile when using --disable-nls (#2639) * Can't compile on OpenIndiana (Solaris) (#2643) * Moving content of bindings to mc.ext during 4.7 -> 4.8 upgrade breaks mc * Free space on filesystems >2TB is not displayed properly (#2338) * Not all errors are skipped after "Ignore all" choose (#71) * Input field in password mode is fully masked with asterisks (#2653) * In "Copy File" dialog the "preserve Attributes" checkbox is always unchecked for filesystems mounted with FUSE (#2254) * Command line cursor misplaced after a resize in viewer/editor (#2678) * Save of some learned keys is broken (#2676) * Editor sometimes shows two dots instead of letter (#2372) * Editor: word completion should ignore the current word (#2614) * Viewer sometimes shows two dots instead of letter (#1730) * Viewer shows two dialogs when searcj hot found (#2677) * Cannot navigate over spftp servers (#2634) * mc adds spaces at the beginning of all files/dirs on ftp servers (#2635) * VFS: broken SMB (#2652) * man page lies about mc.keymap (#2675) * mc does not preserve file mtime when copying over ssh (#2625) Version 4.8.0 - Misc * Code cleanup (#2620) * License version updated to GPL3+ (#1551) * Added new translation: - Interlingua - Fixes * Viewer: cursor position is not restored in hex mode (#2543) * fish: broken panels drawing after entering password (#2611) * fish: content of modified file is appended instead of overwritten in the remote host (#2632) * extfs: broken navigation in archives if current path is encoded (#2621) * extfs: strange error message when opening a 7z file if p7zip is not installed (#2598) Version 4.8.0-pre2 - Core * Added -g/--oldmouse option to support of NORMAL/BUTTON_EVENT mouse type (useful for screen/tmux) (#2601) - VFS * New extfs plugin: gitfs (#2467) * patchfs enchancement: join several hunks of the same file into one VFS entry (#2573) - Misc * mc.ext: use "include" for $EDITOR entries (#1689) * New file bindings: - .3gp - video (#2583) - Fixes * Cannot compile 4.8.0-pre1 and 4.7.5.3 on Solaris (#2587) * Recent autoconf displays warnings about missing AC_LANG_SOURCE (#2589) * Duplication of variable declarations (#2576) * Incorrect TTY layer initialization (#2601) * Wrong Backspace key behavior in QuickSearch mode if BS key is mapped to CdParentSmart action (#2522) * M-o works unexpectedly on symlink shortcuts (#2590) * Panelize doesn't honour current sorting (#2175) * Hintbar jumps to the top of the screen and overwrites main menu (#2593) * File size column is bogus for widths above 9 (#2580) * Hex search: incorrect length usage in hexadecimal search (#2579) * Editor: Incorrect Pascal syntax highlighting (#2531) * Editor: mouse clicks are ignored on the bottom line (#2591) * Editor: extended keybingings are broken (#2586) * Viewer: Fixed search finds bold/underlined strings twice and highlight search results (#265) * Broken listing in ExtFS VFS module (#81) * File name length is limited in tar archive (#2201) * Crash when copying symlink over ssh (#2582) * Broken panels recode (#2595) * ftp failures - leading white space in file name (#2594) * FISH hangs while copiyng a lot of small files (#2605) Version 4.8.0-pre1 WARNING: Configuration files was moved from your $HOME/.mc directory into XDG_CONFIG_* directories to respect FDO standard (http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html). To get more information, see ticket #1851. WARNING: VFS paths now handled as vfsprefix1://vfsdata/vfsprefix2://vfsdata (see #2361). Also, 'bindings' user file was renamed to 'mc.ext', so you need search in this file all Open=file.ext#vfsprefix and replace them to Open=file.ext/vfsprefix:// After this you should rename your 'bindings' file to 'mc.ext'. Old-style paths are handled just in 'Directory hotlist' dialog, but you couldn't mix URL-like and old style path elements in one path string. Support of old-style paths will be removed in next major release (probably in 4.9, who knows...) WARNING: keybinding names was renamed to provide some unification (see #2511). The correspondence of old and new keybinging names are described in doc/keybind-migration.txt file and in doc/keybindMigration web page. Be aware. - Core * Added 256 colours support (#2169, #2173, #2475) * Changed default text in filtered view (alt-!) to input command line (if not empty) or stay old behaviour (current file under cursor) (#2266) * Added simple swap mode that means the swap of panel locations, in addition to current swap of panel content (#2368) * Cofiguration files now moved to directory specified in XDG_CONFIG_HOME environment variable (#1851) * Panel options are read now from [Panels] section only. [Midnight-Commander] section is not read (#2305) * "Show mini info" checkbox was moved from the "Layout" dialog window to the "Panel options" one (#2305) * Select files by shift-left/right in file panel (#2534) * Added support of skip all errors on multi-file/dir operation (#71) * 'Find Files' improvements: - support relative ignored directories (#2275); - handle of ignored directories in dialog window (#2275); - "Search for content" checkbox is enabled by default (#2462) * Added hardlinks detection for filehighlight (#2478) * Unification of keybind names (#2511): - most of keybinding names are changes to unify that names. Table of old and new names is available in doc/keybind-migration.txt; - improve of key rebinding: previously, to rebind some keys, used must redefine the entire section where that bindings are placed in user keymap file. New merge algorithm doesn't require that and allows rebind only wanted keys; - added --nokeymap command line option to disable external keymaps * Sources in 'lib' directory now independent to sources in 'src' one (#2501) * Added configure parameter --enable-mclib for build libmc.so shared library (#2501) * Added new engine for universal event system (as part of #2501) * Optimized loading and saving of configurations and histories (#2541, #2545) * Reimplemented i18n support in 'Chmod' dialog window (#2557) - VFS * VFS structure changes (as part of #2501): - moved from lib/vfs/mc-vfs to lib/vfs; - split VFS-modules by directories and moved to src/vfs; - lib/vfs/vfs-impl.h was merged into lib/vfs/vfs.h * VFS now used URL-like paths (#2361) - Editor * New engine of the editor macro (#323) * Multiply repeat of the recorded actions (#323) * Call extermal scripts from the editor (#323, #2512) * Added REDO action (#25) * Group UNDO by action (#27) * Selection is not reset after execute user menu (#2463) * Vertical selection is not reset after copy/move (#2504) * More intuitive word left/right action (now the cursor stop beside EOL/BOL) (#2483) * Duble-click marks the current word. Added action MarkWord to mark word, MarkLine to mark current line (#2499) * Regexp search&replace: support escape sequences in replacement string (#1882) - Misc * Minor enhancement in mc.ext: * added -C key to nm utility in View action for static libraries (#2485) * New file bindings: - .torrent: view using ctorrent (#2562); - .mts: handle as videofile (#2566) * Added new entries in cedit.menu: "Sort selection", "Upper case", "Lower case" * New skins: - Xoria256 (#2469) - mc-4.6 (#2524) * Updated skins: * Nice dark (#1791) * Added support for check unit test framework (http://check.sourceforge.net) (as part of #2501) * Added -F/--datadir-info option to show extended information about used data dirs (#2495) * Added --configure-options to easy update & reconfigure existing mc (#2495) * Language-specific man pages and hint and help files are not installed if mc is built with --disable-nls option (#2514) * Added new translation: - Esperanto * Code cleanup (#2481, #2515, #2518, #2560, #2570) - Fixes * Build failure on DragonFly BSD (#2516) * Broken Del & Backspace in dialogs (in locale CP866) (#1634) * Screen and input corruption under xterm in non-UTF locales (#1668) * Alt-Backspace shortcut doesn't work (#2455) * Broken command autocompletion (#2458) * Swap panels doesn't respect sort options (#2368) * File list format of panel is initialized incorrectly after switch back from quick view or info mode to file list one (#2390) * Main menu is not drawn correctly after change of it visibility and activity (#2466) * MC switches to left panel after call of command history using mouse (#2459) * Find file: don't check content regexp if search for content is not used (#2464) * Find file: broken lynx-like navigation in panelization of search result (#2491) * Dialog trims leading spaces in input field (#2544) * Panelize content is lost when doing F5/F6/F8 on a file on the other panel (#2312) * Color of panel header cannot be set in the command line (#2170) * ctrl-g key closes file panels (#2520) * Incorrect files mark by mouse (#2556) * Editor: incorrect restore selection after UNDO (#2456) * Editor: segfault after getting the previous char in utf8 (#2484) * Editor: incorrect detection of the word boundary (added '{', '}' as end of word) (#2500) * Bold and selected colors of viewer cannot be set in the command line (#2489) * Viewer: fixed incorrect starting offset for 'search again' (#2294) * Viewer: fixed problems while displaying UTF-8 manual pages (#1629) * Diff viewer: quick left/right movements don't work in non-default key maps (#2509) * AI_ADDRCONFIG is not optional for RFC 3493 non-compliant systems (#2401) * FTP directories containing @ result severe security risks (eg. deletion of homedir) (#2220) * Builtin ftp client can't download files with apostrophe in a file name (#2251) * Unable to show FTP listing if password contains # (#2360) * FTP: fixed access to file names starting with space (#81) * Bashisms in extfs (#2569) * Browsing *.deb files is broken with latest Perl (#2552) * isoinfo adds ";1" to the end of file name when Joliet without Rock Ridge is used (#2471) * patchfs incorrectly works with filenames containing spaces (#2572) * cd to ~ processed incorrectly in the command line if more than one space is separating the "cd" and "~" (#2120)
kramdown 1.9.0 released This release contains some minor updates and bug fixes. Changes * 3 minor changes: - The Rouge syntax highlighter can now be enabled/disabled for spans and/or blocks and options can now be set for both spans and blocks as well as only for spans or only for blocks (fixes #286, requested by Raphael R.) - Setting the ‘footnote_backlink’ option to an empty string now completely suppresses footnotes (fixes #270, requested by Kyle Barbour) - New converter HashAST for creating a hash from the internal tree structure (fixes #275, pull request by Hector Correa) * 1 bug fix: - When using the ‘hard_wrap’ option for the GFM parser, line numbers were lost (fixes #274, pull request by Marek Tuchowski) Published on Saturday, 04 July 2015
## 1.8.1 * Change license to MIT, thanks to all the patient contributors who gave their permissions. ## 1.8.0 * add SSHKit::Backend::ConnectionPool#close_connections [PR #285](capistrano/sshkit#285) @akm * Clean up rubocop lint warnings [PR #275](capistrano/sshkit#275) @cshaffer * Prepend unused parameter names with an underscore * Prefer “safe assignment in condition” * Disambiguate regexp literals with parens * Prefer `sprintf` over `String#%` * No longer shadow `caller_line` variable in `DeprecationLogger` * Rescue `StandardError` instead of `Exception` * Remove useless `private` access modifier in `TestAbstract` * Disambiguate block operator with parens * Disambiguate between grouped expression and method params * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that compares something with itself * Export environment variables and execute command in a subshell. [PR #273](capistrano/sshkit#273) @kuon * Introduce `log_command_start`, `log_command_data`, `log_command_exit` methods on `Formatter` [PR #257](capistrano/sshkit#257) @robd * Deprecate `@stdout` and `@stderr` accessors on `Command` * Add support for deprecation logging options. [README](README.md#deprecation-warnings), [PR #258](capistrano/sshkit#258) @robd * Quote environment variable values. [PR #250](capistrano/sshkit#250) @Sinjo - Chris Sinjakli * Simplified formatter hierarchy. [PR #248](capistrano/sshkit#248) @robd * `SimpleText` formatter now extends `Pretty`, rather than duplicating. * Hide ANSI color escape sequences when outputting to a file. [README](README.md#output-colors), [Issue #245](capistrano/sshkit#245), [PR #246](capistrano/sshkit#246) @robd * Now only color the output if it is associated with a tty, or the `SSHKIT_COLOR` environment variable is set. * Removed broken support for assigning an `IO` to the `output` config option. [Issue #243](capistrano/sshkit#243), [PR #244](capistrano/sshkit#244) @robd * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead * Added support for `:interaction_handler` option on commands. [PR #234](capistrano/sshkit#234), [PR #242](capistrano/sshkit#242) @robd * Removed partially supported `TRACE` log level. [2aa7890](capistrano/sshkit@2aa7890) @robd * Add support for the `:strip` option to the `capture` method and strip by default on the `Local` backend. [PR #239](capistrano/sshkit#239), [PR #249](capistrano/sshkit#249) @robd * The `Local` backend now strips by default to be consistent with the `Netssh` one. * This reverses change [7d15a9a](capistrano/sshkit@7d15a9a) to the `Local` capture API to remove stripping by default. * If you require the raw, unstripped output, pass the `strip: false` option: `capture(:ls, strip: false)` * Simplified backend hierarchy. [PR #235](capistrano/sshkit#235), [PR #237](capistrano/sshkit#237) @robd * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, `background` on to `Abstract` backend. * Backend implementations now only need to implement `execute_command`, `upload!` and `download!` * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends (they now just extend `Abstract`) * Removed unused `Net::SSH:LogLevelShim` * Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI color logic, with no external dependencies. Note that SSHKit now only supports the `:bold` or plain modes. Other modes will be gracefully ignored. [#263](capistrano/sshkit#263) * New API for setting the formatter: `use_format`. This differs from `format=` in that it accepts options or arguments that will be passed to the formatter's constructor. The `format=` syntax will be deprecated in a future release. [#295](capistrano/sshkit#295) * SSHKit now immediately raises a `NameError` if you try to set a formatter that does not exist. [#295](capistrano/sshkit#295)
## 1.8.1 * Change license to MIT, thanks to all the patient contributors who gave their permissions. ## 1.8.0 * add SSHKit::Backend::ConnectionPool#close_connections [PR #285](capistrano/sshkit#285) @akm * Clean up rubocop lint warnings [PR #275](capistrano/sshkit#275) @cshaffer * Prepend unused parameter names with an underscore * Prefer “safe assignment in condition” * Disambiguate regexp literals with parens * Prefer `sprintf` over `String#%` * No longer shadow `caller_line` variable in `DeprecationLogger` * Rescue `StandardError` instead of `Exception` * Remove useless `private` access modifier in `TestAbstract` * Disambiguate block operator with parens * Disambiguate between grouped expression and method params * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that compares something with itself * Export environment variables and execute command in a subshell. [PR #273](capistrano/sshkit#273) @kuon * Introduce `log_command_start`, `log_command_data`, `log_command_exit` methods on `Formatter` [PR #257](capistrano/sshkit#257) @robd * Deprecate `@stdout` and `@stderr` accessors on `Command` * Add support for deprecation logging options. [README](README.md#deprecation-warnings), [PR #258](capistrano/sshkit#258) @robd * Quote environment variable values. [PR #250](capistrano/sshkit#250) @Sinjo - Chris Sinjakli * Simplified formatter hierarchy. [PR #248](capistrano/sshkit#248) @robd * `SimpleText` formatter now extends `Pretty`, rather than duplicating. * Hide ANSI color escape sequences when outputting to a file. [README](README.md#output-colors), [Issue #245](capistrano/sshkit#245), [PR #246](capistrano/sshkit#246) @robd * Now only color the output if it is associated with a tty, or the `SSHKIT_COLOR` environment variable is set. * Removed broken support for assigning an `IO` to the `output` config option. [Issue #243](capistrano/sshkit#243), [PR #244](capistrano/sshkit#244) @robd * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead * Added support for `:interaction_handler` option on commands. [PR #234](capistrano/sshkit#234), [PR #242](capistrano/sshkit#242) @robd * Removed partially supported `TRACE` log level. [2aa7890](capistrano/sshkit@2aa7890) @robd * Add support for the `:strip` option to the `capture` method and strip by default on the `Local` backend. [PR #239](capistrano/sshkit#239), [PR #249](capistrano/sshkit#249) @robd * The `Local` backend now strips by default to be consistent with the `Netssh` one. * This reverses change [7d15a9a](capistrano/sshkit@7d15a9a) to the `Local` capture API to remove stripping by default. * If you require the raw, unstripped output, pass the `strip: false` option: `capture(:ls, strip: false)` * Simplified backend hierarchy. [PR #235](capistrano/sshkit#235), [PR #237](capistrano/sshkit#237) @robd * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, `background` on to `Abstract` backend. * Backend implementations now only need to implement `execute_command`, `upload!` and `download!` * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends (they now just extend `Abstract`) * Removed unused `Net::SSH:LogLevelShim` * Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI color logic, with no external dependencies. Note that SSHKit now only supports the `:bold` or plain modes. Other modes will be gracefully ignored. [#263](capistrano/sshkit#263) * New API for setting the formatter: `use_format`. This differs from `format=` in that it accepts options or arguments that will be passed to the formatter's constructor. The `format=` syntax will be deprecated in a future release. [#295](capistrano/sshkit#295) * SSHKit now immediately raises a `NameError` if you try to set a formatter that does not exist. [#295](capistrano/sshkit#295)
Ok MAINTAINER bsiegert. While doing that, update to current release, 0.29.0. Changes since 0.24.0: Version 0.29.0 -------------- Compatibility notes: - when upgrading to 0.29.0 you need to upgrade client as well as server installations due to the locking and commandline interface changes otherwise you'll get an error msg about a RPC protocol mismatch or a wrong commandline option. if you run a server that needs to support both old and new clients, it is suggested that you have a "borg-0.28.2" and a "borg-0.29.0" command. clients then can choose via e.g. "borg --remote-path=borg-0.29.0 ...". - the default waiting time for a lock changed from infinity to 1 second for a better interactive user experience. if the repo you want to access is currently locked, borg will now terminate after 1s with an error message. if you have scripts that shall wait for the lock for a longer time, use --lock-wait N (with N being the maximum wait time in seconds). Bug fixes: - hash table tuning (better chosen hashtable load factor 0.75 and prime initial size of 1031 gave ~1000x speedup in some scenarios) - avoid creation of an orphan lock for one case, #285 - --keep-tag-files: fix file mode and multiple tag files in one directory, #432 - fixes for "borg upgrade" (attic repo converter), #466 - remove --progress isatty magic (and also --no-progress option) again, #476 - borg init: display proper repo URL - fix format of umask in help pages, #463 New features: - implement --lock-wait, support timeout for UpgradableLock, #210 - implement borg break-lock command, #157 - include system info below traceback, #324 - sane remote logging, remote stderr, #461: - remote log output: intercept it and log it via local logging system, with "Remote: " prefixed to message. log remote tracebacks. - remote stderr: output it to local stderr with "Remote: " prefixed. - add --debug and --info (same as --verbose) to set the log level of the builtin logging configuration (which otherwise defaults to warning), #426 note: there are few messages emitted at DEBUG level currently. - optionally configure logging via env var BORG_LOGGING_CONF - add --filter option for status characters: e.g. to show only the added or modified files (and also errors), use "borg create -v --filter=AME ...". - more progress indicators, #394 - use ISO-8601 date and time format, #375 - "borg check --prefix" to restrict archive checking to that name prefix, #206 Other changes: - hashindex_add C implementation (speed up cache re-sync for new archives) - increase FUSE read_size to 1024 (speed up metadata operations) - check/delete/prune --save-space: free unused segments quickly, #239 - increase rpc protocol version to 2 (see also Compatibility notes), #458 - silence borg by default (via default log level WARNING) - get rid of C compiler warnings, #391 - upgrade OS X FUSE to 3.0.9 on the OS X binary build system - use python 3.5.1 to build binaries - docs: - new mailing list borgbackup@python.org, #468 - readthedocs: color and logo improvements - load coverage icons over SSL (avoids mixed content) - more precise binary installation steps - update release procedure docs about OS X FUSE - FAQ entry about unexpected 'A' status for unchanged file(s), #403 - add docs about 'E' file status - add "borg upgrade" docs, #464 - add developer docs about output and logging - clarify encryption, add note about client-side encryption - add resources section, with videos, talks, presentations, #149 - Borg moved to Arch Linux [community] - fix wrong installation instructions for archlinux Version 0.28.2 -------------- New features: - borg create --exclude-if-present TAGFILE - exclude directories that have the given file from the backup. You can additionally give --keep-tag-files to preserve just the directory roots and the tag-files (but not backup other directory contents), #395, attic #128, attic #142 Other changes: - do not create docs sources at build time (just have them in the repo), completely remove have_cython() hack, do not use the "mock" library at build time, #384 - avoid hidden import, make it easier for PyInstaller, easier fix for #218 - docs: - add description of item flags / status output, fixes #402 - explain how to regenerate usage and API files (build_api or build_usage) and when to commit usage files directly into git, #384 - minor install docs improvements Version 0.28.1 -------------- Bug fixes: - do not try to build api / usage docs for production install, fixes unexpected "mock" build dependency, #384 Other changes: - avoid using msgpack.packb at import time - fix formatting issue in changes.rst - fix build on readthedocs Version 0.28.0 -------------- Compatibility notes: - changed return codes (exit codes), see docs. in short: old: 0 = ok, 1 = error. now: 0 = ok, 1 = warning, 2 = error New features: - refactor return codes (exit codes), fixes #61 - add --show-rc option enable "terminating with X status, rc N" output, fixes 58, #351 - borg create backups atime and ctime additionally to mtime, fixes #317 - extract: support atime additionally to mtime - FUSE: support ctime and atime additionally to mtime - support borg --version - emit a warning if we have a slow msgpack installed - borg list --prefix=thishostname- REPO, fixes #205 - Debug commands (do not use except if you know what you do: debug-get-obj, debug-put-obj, debug-delete-obj, debug-dump-archive-items. Bug fixes: - setup.py: fix bug related to BORG_LZ4_PREFIX processing - fix "check" for repos that have incomplete chunks, fixes #364 - borg mount: fix unlocking of repository at umount time, fixes #331 - fix reading files without touching their atime, #334 - non-ascii ACL fixes for Linux, FreeBSD and OS X, #277 - fix acl_use_local_uid_gid() and add a test for it, attic #359 - borg upgrade: do not upgrade repositories in place by default, #299 - fix cascading failure with the index conversion code, #269 - borg check: implement 'cmdline' archive metadata value decoding, #311 - fix RobustUnpacker, it missed some metadata keys (new atime and ctime keys were missing, but also bsdflags). add check for unknown metadata keys. - create from stdin: also save atime, ctime (cosmetic) - use default_notty=False for confirmations, fixes #345 - vagrant: fix msgpack installation on centos, fixes #342 - deal with unicode errors for symlinks in same way as for regular files and have a helpful warning message about how to fix wrong locale setup, fixes #382 - add ACL keys the RobustUnpacker must know about Other changes: - improve file size displays, more flexible size formatters - explicitly commit to the units standard, #289 - archiver: add E status (means that an error occured when processing this (single) item - do binary releases via "github releases", closes #214 - create: use -x and --one-file-system (was: --do-not-cross-mountpoints), #296 - a lot of changes related to using "logging" module and screen output, #233 - show progress display if on a tty, output more progress information, #303 - factor out status output so it is consistent, fix surrogates removal, maybe fixes #309 - move away from RawConfigParser to ConfigParser - archive checker: better error logging, give chunk_id and sequence numbers (can be used together with borg debug-dump-archive-items). - do not mention the deprecated passphrase mode - emit a deprecation warning for --compression N (giving a just a number) - misc .coverragerc fixes (and coverage measurement improvements), fixes #319 - refactor confirmation code, reduce code duplication, add tests - prettier error messages, fixes #307, #57 - tests: - add a test to find disk-full issues, #327 - travis: also run tests on Python 3.5 - travis: use tox -r so it rebuilds the tox environments - test the generated pyinstaller-based binary by archiver unit tests, #215 - vagrant: tests: announce whether fakeroot is used or not - vagrant: add vagrant user to fuse group for debianoid systems also - vagrant: llfuse install on darwin needs pkgconfig installed - vagrant: use pyinstaller from develop branch, fixes #336 - benchmarks: test create, extract, list, delete, info, check, help, fixes #146 - benchmarks: test with both the binary and the python code - archiver tests: test with both the binary and the python code, fixes #215 - make basic test more robust - docs: - moved docs to borgbackup.readthedocs.org, #155 - a lot of fixes and improvements, use mobile-friendly RTD standard theme - use zlib,6 compression in some examples, fixes #275 - add missing rename usage to docs, closes #279 - include the help offered by borg help <topic> in the usage docs, fixes #293 - include a list of major changes compared to attic into README, fixes #224 - add OS X install instructions, #197 - more details about the release process, #260 - fix linux glibc requirement (binaries built on debian7 now) - build: move usage and API generation to setup.py - update docs about return codes, #61 - remove api docs (too much breakage on rtd) - borgbackup install + basics presentation (asciinema) - describe the current style guide in documentation - add section about debug commands - warn about not running out of space - add example for rename - improve chunker params docs, fixes #362 - minor development docs update Version 0.27.0 -------------- New features: - "borg upgrade" command - attic -> borg one time converter / migration, #21 - temporary hack to avoid using lots of disk space for chunks.archive.d, #235: To use it: rm -rf chunks.archive.d ; touch chunks.archive.d - respect XDG_CACHE_HOME, attic #181 - add support for arbitrary SSH commands, attic #99 - borg delete --cache-only REPO (only delete cache, not REPO), attic #123 Bug fixes: - use Debian 7 (wheezy) to build pyinstaller borgbackup binaries, fixes slow down observed when running the Centos6-built binary on Ubuntu, #222 - do not crash on empty lock.roster, fixes #232 - fix multiple issues with the cache config version check, #234 - fix segment entry header size check, attic #352 plus other error handling improvements / code deduplication there. - always give segment and offset in repo IntegrityErrors Other changes: - stop producing binary wheels, remove docs about it, #147 - docs: - add warning about prune - generate usage include files only as needed - development docs: add Vagrant section - update / improve / reformat FAQ - hint to single-file pyinstaller binaries from README Version 0.26.1 -------------- This is a minor update, just docs and new pyinstaller binaries. - docs update about python and binary requirements - better docs for --read-special, fix #220 - re-built the binaries, fix #218 and #213 (glibc version issue) - update web site about single-file pyinstaller binaries Note: if you did a python-based installation, there is no need to upgrade. Version 0.26.0 -------------- New features: - Faster cache sync (do all in one pass, remove tar/compression stuff), #163 - BORG_REPO env var to specify the default repo, #168 - read special files as if they were regular files, #79 - implement borg create --dry-run, attic issue #267 - Normalize paths before pattern matching on OS X, #143 - support OpenBSD and NetBSD (except xattrs/ACLs) - support / run tests on Python 3.5 Bug fixes: - borg mount repo: use absolute path, attic #200, attic #137 - chunker: use off_t to get 64bit on 32bit platform, #178 - initialize chunker fd to -1, so it's not equal to STDIN_FILENO (0) - fix reaction to "no" answer at delete repo prompt, #182 - setup.py: detect lz4.h header file location - to support python < 3.2.4, add less buggy argparse lib from 3.2.6 (#194) - fix for obtaining ``char *`` from temporary Python value (old code causes a compile error on Mint 17.2) - llfuse 0.41 install troubles on some platforms, require < 0.41 (UnicodeDecodeError exception due to non-ascii llfuse setup.py) - cython code: add some int types to get rid of unspecific python add / subtract operations (avoid ``undefined symbol FPE_``... error on some platforms) - fix verbose mode display of stdin backup - extract: warn if a include pattern never matched, fixes #209, implement counters for Include/ExcludePatterns - archive names with slashes are invalid, attic issue #180 - chunker: add a check whether the POSIX_FADV_DONTNEED constant is defined - fixes building on OpenBSD. Other changes: - detect inconsistency / corruption / hash collision, #170 - replace versioneer with setuptools_scm, #106 - docs: - pkg-config is needed for llfuse installation - be more clear about pruning, attic issue #132 - unit tests: - xattr: ignore security.selinux attribute showing up - ext3 seems to need a bit more space for a sparse file - do not test lzma level 9 compression (avoid MemoryError) - work around strange mtime granularity issue on netbsd, fixes #204 - ignore st_rdev if file is not a block/char device, fixes #203 - stay away from the setgid and sticky mode bits - use Vagrant to do easy cross-platform testing (#196), currently: - Debian 7 "wheezy" 32bit, Debian 8 "jessie" 64bit - Ubuntu 12.04 32bit, Ubuntu 14.04 64bit - Centos 7 64bit - FreeBSD 10.2 64bit - OpenBSD 5.7 64bit - NetBSD 6.1.5 64bit - Darwin (OS X Yosemite) Version 0.25.0 -------------- Compatibility notes: - lz4 compression library (liblz4) is a new requirement (#156) - the new compression code is very compatible: as long as you stay with zlib compression, older borg releases will still be able to read data from a repo/archive made with the new code (note: this is not the case for the default "none" compression, use "zlib,0" if you want a "no compression" mode that can be read by older borg). Also the new code is able to read repos and archives made with older borg versions (for all zlib levels 0..9). Deprecations: - --compression N (with N being a number, as in 0.24) is deprecated. We keep the --compression 0..9 for now to not break scripts, but it is deprecated and will be removed later, so better fix your scripts now: --compression 0 (as in 0.24) is the same as --compression zlib,0 (now). BUT: if you do not want compression, you rather want --compression none (which is the default). --compression 1 (in 0.24) is the same as --compression zlib,1 (now) --compression 9 (in 0.24) is the same as --compression zlib,9 (now) New features: - create --compression none (default, means: do not compress, just pass through data "as is". this is more efficient than zlib level 0 as used in borg 0.24) - create --compression lz4 (super-fast, but not very high compression) - create --compression zlib,N (slower, higher compression, default for N is 6) - create --compression lzma,N (slowest, highest compression, default N is 6) - honor the nodump flag (UF_NODUMP) and do not backup such items - list --short just outputs a simple list of the files/directories in an archive Bug fixes: - fixed --chunker-params parameter order confusion / malfunction, fixes #154 - close fds of segments we delete (during compaction) - close files which fell out the lrucache - fadvise DONTNEED now is only called for the byte range actually read, not for the whole file, fixes #158. - fix issue with negative "all archives" size, fixes #165 - restore_xattrs: ignore if setxattr fails with EACCES, fixes #162 Other changes: - remove fakeroot requirement for tests, tests run faster without fakeroot (test setup does not fail any more without fakeroot, so you can run with or without fakeroot), fixes #151 and #91. - more tests for archiver - recover_segment(): don't assume we have an fd for segment - lrucache refactoring / cleanup, add dispose function, py.test tests - generalize hashindex code for any key length (less hardcoding) - lock roster: catch file not found in remove() method and ignore it - travis CI: use requirements file - improved docs: - replace hack for llfuse with proper solution (install libfuse-dev) - update docs about compression - update development docs about fakeroot - internals: add some words about lock files / locking system - support: mention BountySource and for what it can be used - theme: use a lighter green - add pypi, wheel, dist package based install docs - split install docs into system-specific preparations and generic instructions
## 1.0.1 (2015-12-27) * [#283](httprb/http#283): Use io/wait on supported platforms. ([@tarcieri]) ## 1.0.0 (2015-12-25) * [#265](httprb/http#265): Remove deprecations ([@tarcieri]): - HTTP::Chainable#with_follow (use #follow) - HTTP::Chainable#with, #with_headers (use #headers) - HTTP::Chainable#auth(:basic, ...) (use #basic_auth) - HTTP::Chainable#default_headers (use #default_options[:headers]) - HTTP::Headers#append (use #add) - HTTP::Options#[] hash-like API deprecated in favor of explicit methods - HTTP::Request#request_header (use #headline) - HTTP::Response::STATUS_CODES (use HTTP::Status::REASONS) - HTTP::Response::SYMBOL_TO_STATUS_CODE (no replacement) - HTTP::Response#status_code (use #status or #code) - HTTP::Response::Status#symbolize (use #to_sym) * [#269](httprb/http#273): Close connection in case of error during request. ([@ixti]) * [#271](httprb/http#273): High-level exception wrappers for low-level I/O errors. ([@ixti]) * [#273](httprb/http#273): Add encoding option. ([@Connorhd]) * [#275](httprb/http#273): Support for disabling Nagle's algorithm with `HTTP.nodelay`. ([@nerdrew]) * [#276](httprb/http#276) Use Encoding::BINARY as the default encoding for HTTP::Response::Body. ([@tarcieri]) * [#278](httprb/http#278) Use an options hash for HTTP::Request initializer API. ([@ixti]) * [#279](httprb/http#279) Send headers and body in one write if possible. This avoids a pathological case in Nagle's algorithm. ([@tarcieri]) * [#281](httprb/http#281) Remove legacy 'Http' constant alias to 'HTTP'. ([@tarcieri])
## 1.2.0 (March 15, 2016) * Integrate work from the EventMachine-LE 1.1.x versions [#570] * Add start_tls options :ecdh_curve, :dhparam, :fail_if_no_peer_cert [#195, #275, #399, #665] * Add start_tls option :ssl_version for choosing SSL/TLS versions and ciphers [#359, #348, #603, #654] * Add start_tls option :sni_hostname to be passed to TLS params [#593] * Add method EM::Channel#num_subscribers to get the number of subscribers to a channel [#640] * Add support for proc-sources in EM::Iterator [#639] * Factor out method cleanup_machine to cleanup code from EM.run [#650] * Replace Exception class with StandardError [#637] * Close socket on close_connection even after close_connection_after_writing [#694] * Allow reusing of datagram socket/setting bind device [#662] * Handle deferred exceptions in reactor thread [#486] * Reimplement Queue to avoid shift/push performance problem [#311] * Windows: Switch from gethostbyname to getaddrinfo, support IPv6 addresses [#303, #630] * Windows: Use rake-compiler-dock to cross-compile gems [#627] * Windows: Add AppVeyor configuration for Windows CI testing [#578] * Windows: Bump rake-compiler to version 0.9.x [#542] * Fix compilation on AIX (w/ XLC) [#693] * Fix build on OpenBSD [#690] * Fix OpenSSL compile issue on AIX 7.1 [#678] * Fix EventMachine.fork_reactor keeps the threadpool of the original process [#425] * Fix to prevent event machine from stopping when a raise is done in an unbind [#327]
- Fix incorrectly reporting files containing disabled formatting as being formatted. - Fix incorrect handling of quoted arguments in the options file (#321). - Fix error in identifying an enum return type as an enumeration (#322, 323). - Fix error in identifying an enum argument as an enumeration (#327). - Fix recognition of Qt keywords when used as variables in C++ (#329). - Fix recognition of a pointer in a C++ cast (#316). - Fix removing trailing whitespace after a changed pointer or reference cast. - Add new bracket style option "style=vtk" (#155). - Add new option "indent-preproc-block" to indent blocks of preprocessor directives (#21, #114, #229, #242, #294). - Add new option, "dry-run", to run AStyle without updating the files (#184, #285). - Add new options, "html" (-!") and "html=###", to display the HTML help documentation in the default browser. - Add tags "*INDENT-OFF*" and "*INDENT_ON*" to disable formatting of source code blocks (#2, #47, #55, #78, #110, #176). - Add tag *NOPAD* to disable selected formatting on a single line. - Add '__attribute__ ((visibility ("default")))' to Linux exported functions. - Remove option "style=ansi" and make it depreciated (#146). - Remove fix for broken 'case' statements from release 2.02.1, Nov 21, 2011. - Improve Korean translation (#256). - Change shared libraries to include the version number as part of the file name (#264) - Change "help" display to stdout to allow piping and redirection (#63). - Change "version" display to stdout. - Change headers to include foreach, forever, Q_FOREACH, and Q_FOREVER (#98, #154). - Change compiler definition ASTYLE_NO_VCX (no Visual Studio exports) to ASTYLE_NO_EXPORTS. - Change shared library error handler argument from "char*" to "const char*". - Fix not recognizing noexcept, interrupt, and autoreleasepool as pre-command headers (#225, #259). - Fix formatting of C++11 uniform initializer brackets (#253, #257, #260, #284). - Fix to not automatically space pad C++11 uniform initializer brackets (#275). - Fix formatting of enums with leading commas (#159, #179, #270). - Fix formatting of logical && operator in class initializers (#290). - Fix flagging a 'const' variable as a 'const' method (#275). - Fix piping and redirection adding an extra character to the output (#245, #252, #305). - Fix "indent-modifiers" to attach class access modifiers to Horstmann style brackets. - Fix ASFormatter to correctly recognize the end of a C++ raw string literal (#261). - Fix to recognize C++11 "enum class" as an enum (#303). - Fix indent of C++11 "noexecpt" statements within a class (#260, #304). - Fix not resetting templateDepth when a template was not found (#295). - Fix formatting of multiplication in a block paren (#144). - Fix whitespace padding when formatting an rvalue references (#297). - Fix to recognize an rvalue reference without a name (#265). - Fix to not identify an operator overload method as a calculation (#296). - Fix concatenating multiplication with a pointer dereference (#291). - Fix recognition of a pointer dereference following a question mark (#213). - Fix extra space after a trailing reference type (#300). - Fix _asm blocks not being identified as a block opener and the variable not cleared on exit (#163). - Fix indentation of line comments before a "class" opening bracket. - Fix indentation of line comments before a "namespace" opening bracket. - Fix isBracketType() method to correctly process a NULL_TYPE. - Fix unpad-paren to recognize additional variables (#43, #132, #143). - Fix indentation of C# "let" statements. - Fix a few omissions with "fill-empty-lines". - Fix file read to read 64K blocks of data. - Refactor to un-obfuscate (clarify) the code, and improve design and decomposition:: - Extract class Utf8_16 from ASConsole. - Replace Linux dependency on iconv with a Utf8_16 class for ASLibrary. - Move global "using" statements to the astyle namespace in astyle.h and ASLocalizer.h. - Move shared library declarations from astyle.h to astyle_main.h. - Move indentable macros from ASEnhancer to ASResource and create static pairs. - Simplify ASBeautifier procedure to identify the colon (:) type. - Major refactoring in ASBeautifier to create separate variables for an enum, a class statement and a class initializer. - This was needed to fix the processing of C++11 uniform initializers in a class initializer. - Minor changes to ASFormatter and ASBeautifier based on results of the Clang analyzer. - Change several methods in astyle_main to "const".
Changelog: Changes in 2.3.6 (20160812) Auto-maximization of windows when the mouse is brought to the edge of the screen (issue #49). This feature is disabled by default, but can be enabled via the aerosnap group option. Added Traditional Chinese translation (from Jim Tsai). Added the TaskListStyle and TrayButtonStyle tags to control the look of task lists and tray buttons. These were removed in v2.3.0, but are now back (issue #276). Fixed rendering of gradient highlights on menus. Changed the default configuration to explicitly set a 24-hour clock format. Made the default window title height match the font size used in window titles. Added the ability to set a default icon using the DefaultIcon tag (issue #310). Added the ability to disable move/resize using mod1+drag via the nodrag group option (issue #311). Made JWM raise the selected window when tabbing between windows (issue #313). Fixed an issue with some system tray icons not showing up (issue #314). Tiled window placement is now confined to the active display (pull request #318). Changed to the MIT license (issue #320). Added the labeled option to TaskListStyle to allow disabling labels for task lists. Changes in 2.3.5 (20160326) Faster icon loading (issue #258). Configurable default window icon via the ButtonMenu tag (issue #246). Added the ilist and ipager group options to ignore program-specified task list and pager settings (issue #263). Made it so clicking a submenu does not close the menu (issue #264). Made the tray respond to clicks at screen edges (issue #270). Made tiled window placement (the tiled group option) minimize overlap if no window position can be found with no overlap (issue #269). Removed exit confirmation when exit is invoked from the command line (issue #275). Now maximized windows restore when being dragged. Restored the ClockStyle tag to allow setting a custom font and color for clocks (issue #276). Fixed layout and mouse location tracking of tray items for trays with lots of components. Added the ability to use the output of a program for Include (issue #291). Added the fixed group option (issue #209).
API: * Constructing a Query for a non-reference counted PostingSource object will now try to clone the PostingSource object (as happened in 1.3.4 and earlier). This clone code was removed as part of the changes in 1.3.5 to support optional reference counting of PostingSource objects, but that breaks the case when the PostingSource object is on the stack and goes out of scope before the Query object is used. Issue reported by Till Schäfer and analysed by Daniel Vrátil in a bug report against Akonadi: https://bugs.kde.org/show_bug.cgi?id=363741 * Add BM25PlusWeight class implementing the BM25+ weighting scheme, implemented by Vivek Pal (xapian/xapian#104). * Add PL2PlusWeight class implementing the PL2+ weighting scheme, implemented by Vivek Pal (xapian/xapian#108). * LMWeight: Implement Dir+ weighting scheme as DIRICHLET_PLUS_SMOOTHING. Patch from Vivek Pal. * Add CoordWeight class implementing coordinate matching. This can be useful for specialised uses - e.g. to implement sorting by the number of matching filters. * DLHWeight,DPHWeight,PL2Weight: With these weighting schemes, the formulae can give a negative weight contribution for a term in extreme cases. We used to try to handle this by calculating a per-term lower bound on the contribution and subtracting this from the contribution, but this idea is fundamentally flawed as the total offset it adds to a document depends on what combination of terms that document matches, meaning in general the offset isn't the same for every matching document. So instead we now clamp each term's weight contribution to be >= 0. * TfIdfWeight: Always scale term weight by wqf - this seems the logical approach as it matches the weighting we'd get if we weighted every non-unique term in the query, as well as being explicit in the Piv+ formula. * Fix OP_SCALE_WEIGHT to work with all weighting schemes - previously it was ignored when using PL2Weight and LMWeight. * PL2Weight: Greatly improve upper bound on weight: + Split the weight equation into two parts and maximise each separately as that gives an easily solvable problem, and in common cases the maximum is at the same value of wdfn for both parts. In a simple test, the upper bounds are now just over double the highest weight actually achieved - previously they were several hundred times. This approach was suggested by Aarsh Shah in: xapian/xapian#48 + Improve upper bound on normalised wdf (wdfn) - when wdf_upper_bound > doclength_lower_bound, we get a tighter bound by evaluating at wdf=wdf_upper_bound. In a simple test, this reduces the upper bound on wdfn by 36-64%, and the upper bound on the weight by 9-33%. * PL2Weight: Fix calculation of upper_bound when P2>0. P2 is typically negative, but for a very common term it can be positive and then we should use wdfn_lower not wdfn_upper to adjust P_max. * Weight::unserialise(): Check serialised form is empty when unserialising parameter-free schemes BoolWeight, DLHWeight and DPHWeight. * TermGenerator::set_stopper_strategy(): New method to control how the Stopper object is used. Patch from Arnav Jain. * QueryParser: Fix handling of CJK query over multiple prefixes. Previously all the n-gram terms were AND-ed together - now we AND together for each prefix, then OR the results. Fixes #719, reported by Aaron Li. * Add Database::get_revision() method which provides access to the database revision number for chert and glass, intended for use by xapiand. Marked as experimental, so we don't have to go through the usual deprecation cycle if this proves not to be the approach we want to take. Fixes #709, reported by German M. Bravo. * Mark RangeProcessor constructor as `explicit`. * Update to Unicode 9.0.0. * Reimplement ESet and ESetIterator as we did for MSet and MSetIterator in 1.3.5. ESetIterator internally now counts down to the end of the ESet, so the end test is now against 0, rather than against eset.size(). And more of the trivial methods are now inlined, which reduces the number of relocations needed to load the library, and should give faster code which is a very similar size to before. * MSetIterator and ESetIterator are now STL-compatible random_access_iterators (previously they were only bidirectional_iterators). * TfIdfWeight: Support freq and squared IDF normalisations. Patch from Vivek Pal. * New Xapian::Query::OP_INVALID to provide an "invalid" query object. * Reject OP_NEAR/OP_PHRASE with non-leaf subqueries early to avoid a potential segmentation fault if the non-leaf subquery decayed at just the wrong moment. See TritonDataCenter#508. * Reduce positional queries with a MatchAll or PostingSource subquery to MatchNothing (since these subqueries have no positional information, so the query can't match). * Deprecate ValueRangeProcessor and introduce new RangeProcessor class as a replacement. RangeProcessor()::operator()() method returns Xapian::Query, so a range can expand to any query. OP_INVALID is used to signal that a range is not recognised. Fixes #663. * Combining of ranges over the same quantity with OP_OR is now handled by an explicit "grouping" parameter, with a sensible default which works for value range queries. Boolean term prefixes and FieldProcessor now support "grouping" too, so ranges and other filters can now be grouped together. * Formally deprecate WritableDatabase::flush(). The replacement commit() method was added in 1.1.0, so code can be switched to use this and still work with 1.2.x. * Fix handling of a self-initialised PIMPL object (e.g. Xapian::Query q(q);). Previously the uninitialised pointer was copied to itself, resulting in undefined behaviour when the object was used to destroyed. This isn't something you'd see in normal code, but it's a cheap check which can probably be optimised away by the compiler (GCC 6 does). * The Snipper class has been replaced with a new MSet::snippet() method. The implementation has also been redone - the existing implementation was slower than ideal, and didn't directly consider the query so would sometimes selects a snippet which doesn't contain any of the query terms (which users quite reasonably found surprising). The new implementation is faster, will always prefer snippets containing query terms, and also understands exact phrases and wildcards. Fixes TritonDataCenter#211. * Add optional reference counting support for ErrorHandler, ExpandDecider, KeyMaker, PostingSource, Stopper and TermGenerator. Fixes TritonDataCenter#186, reported by Richard Boulton. (ErrorHandler's reference counting isn't actually used anywhere in xapian-core currently, but means we can hook it up in 1.4.x if ticket TritonDataCenter#3 gets addressed). * Deprecate public member variables of PostingSource. The new getters and/or setters added in 1.2.23 and 1.3.5 are preferred. Fixes TritonDataCenter#499, reported by Joost Cassee. * Reimplement MSet and MSetIterator. MSetIterator internally now counts down to the end of the MSet, so the end test is now against 0, rather than against mset.size(). And more of the trivial methods are now inlined, which reduces the number of relocations needed to load the library, and should give faster code which is a very similar size to before. * Only issue prefetch hints for documents if MSet::fetch() is called. It's not useful to send the prefetch hint right before the actual read, which was happening since the implementation of prefetch hints in 1.3.4. Fixes #671, reported by Will Greenberg. * Fix OP_ELITE_SET selection in multi-database case - we were selecting different sets for each subdatabase, but removing the special case check for termfreq_max == 0 solves that. * Remove "experimental" marker from FieldProcessor, since we're happy with the API as-is. Reported by David Bremner on xapian-discuss. * Remove "experimental" marker from Database::check(). We've not had any negative feedback on the current API. * Databse::check() now checks that doccount <= last_docid. * Database::compact() on a WritableDatabase with uncommitted changes could produce a corrupted output. We now throw Xapian::InvalidOperationError in this case, with a message suggesting you either commit() or open the database from disk to compact from. Reported by Will Greenberg on #xapian-discuss * Add Arabic stemmer. Patch from Assem Chelli in xapian/xapian#45 * Improve the Arabic stopword list. Patch from Assem Chelli. * Make functions defined in xapian/iterator.h 'inline'. * Don't force the user to specify the metric in the geospatial API - GreatCircleMetric is probably what most users will want, so a sensible default. * Xapian::DBCHECK_SHOW_BITMAP: This was added in 1.3.0 (so has never been in a stable release) and was superseded by Xapian::DBCHECK_SHOW_FREELIST in 1.3.2, so just remove it. * Make setting an ErrorHandler a no-op - this feature is deprecated and we're not aware of anyone using it. We're hoping to rework ErrorHandler in 1.4.x, which will be simpler without having to support the current behaviour as well as the new. See TritonDataCenter#3. * Update to Unicode 8.0.0. Fixes #680. * Overhaul database compaction API. Add a Xapian::Database::compact() method, with the Database object specifying the source database(s). Xapian::Compactor is now just a functor to use if you want to control progress reporting and/or the merging of user metadata. The existing API has been reimplemented using the new one, but is marked as deprecated. * Add support for a default value when sorting. Fixes TritonDataCenter#452, patch from Richard Boulton. * Make all functor objects non-copyable. Previously some were, some weren't, but it's hard to correctly make use of this ability. Fixes #681. * Fix use after free with WILDCARD_LIMIT_MOST_FREQUENT. If we tried to open a postlist after processing such a wildcard, the postlist hint could be pointing to a PostList object which had been deleted. Fixes #696, reported by coventry. * Add support for optional reference counting of MatchSpy objects. * Improve Document::get_description() - the output is now always valid UTF-8, doesn't contain implementation details like "Document::Internal", and more clearly reports if the document is linked to a database. * Remove XAPIAN_CONST_FUNCTION marker from sortable_serialise_() helper, as it writes to the passed in buffer, so it isn't const or pure. Fixes decvalwtsource2 testcase failure when compiled with clang. * Make PostingSource::set_maxweight() public - it's hard to wrap for the bindings as a protected method. Fixes TritonDataCenter#498, reported by Richard Boulton. * Database: + Add new flag Xapian::DB_RETRY_LOCK which allows opening a database for writing to wait until it can get a write lock. (Fixes TritonDataCenter#275, reported by Richard Boulton). + Fix Database::get_doclength_lower_bound() over multiple databases when some are empty or consist only of zero-length documents. Previously this would report a lower bound of zero, now it reports the same lowest bound as a single database containing all the same documents. + Database::check(): When checking a single table, handle the ".glass" extension on glass database tables, and use the extension to guide the decision of which backend the table is from. * Query: + Add new OP_WILDCARD query operator, which expands wildcards lazily, so now we create the PostList tree for a wildcard directly, rather than creating an intermediate Query tree. OP_WILDCARD offers a choice of ways to limit wildcard expansion (no limit, throw an exception, use the first N by term name, or use the most frequent N). (See tickets TritonDataCenter#48 and #608). * QueryParser: + Add new set_max_expansion() method which provides access to OP_WILDCARD's choice of ways to limit expansion and can set limits for partial terms as well as for wildcards. Partial terms now default to the 100 most frequent matching terms. (Completes #608, reported by boomboo). + Deprecate set_max_wildcard_expansion() in favour of set_max_expansion(). * Add support for optional reference counting of FieldProcessor and ValueRangeProcessor objects. * Update Unicode character database to Unicode 7.0.0. * New Xapian::Snipper class from Mihai Bivol's GSOC 2012 project. (mostly fixes TritonDataCenter#211) * Fix all get_description() methods to always return UTF-8 text. (fixes #620) * Database::check(): + Alter to take its "out" parameter as a pointer to std::ostream instead of a reference, and make passing NULL mean "do not produce output", and make the second and third parameters optional, defaulting to a quiet check. + Escape invalid UTF-8 data in keys and tags reported by xapian-check, using the same code we use to clean up strings returned by get_description() methods. + Correct failure message which talks above the root block when it's actually testing a leaf key. + Rename DBCHECK_SHOW_BITMAP to DBCHECK_SHOW_FREELIST (old name still provided for now, but flagged as deprecated - DBCHECK_SHOW_BITMAP was new in 1.3.0, so will likely be removed before 1.4.0). * Methods and functions which take a string to unserialise now consistently call that parameter "serialised". * Weight: Make number of distinct terms indexing each document and the collection frequency of the term available to subclasses. Patch from Gaurav Arora's Language Modelling branch. * WritableDatabase: Add support for multiple subdatabases, and support opening a stub database containing multiple subdatabases as a WritableDatabase. * WritableDatabase can now be constructed from just a pathname (defaulting to opening the database with DB_CREATE_OR_OPEN). * WritableDatabase: Add flags which can be bitwise OR-ed into the second argument when constructing: + Xapian::DB_NO_SYNC: to disable use of fsync, etc + Xapian::DB_DANGEROUS: to enable in-place updates + Xapian::DB_BACKEND_CHERT: if creating, create a chert database + Xapian::DB_BACKEND_GLASS: if creating, create a glass database + Xapian::DB_NO_TERMLIST: create a database without a termlist (see TritonDataCenter#181) + Xapian::DB_FULL_SYNC flag - if this is set for a database, we use the Mac OS X F_FULL_SYNC instead of fdatasync()/fsync()/etc on the version file when committing. * Database: Add optional flags argument to constructor - the following can be bitwise OR-ed into it: + Xapian::DB_BACKEND_CHERT (only open a chert database) + Xapian::DB_BACKEND_GLASS (only open a glass database) + Xapian::DB_BACKEND_STUB (only open a stub database) * Xapian::Auto::open_stub() and Xapian::Chert::open() are now deprecated in favour of these new flags. * Add LMWeight class, which implements the Unigram Language Modelling weighting scheme. Patch from Gaurav Arora. * Add implementations of a number of DfR weighting schemes (BB2, DLH, DPH, IfB2, IneB2, InL2, PL2). Patches from Aarsh Shah. * Add support for the Bo1 query expansion scheme. Patch from Aarsh Shah. * Add Enquire::set_time_limit() method which sets a timelimit after which check_at_least will be disabled. * Database: Trying to perform operations on a database with no subdatabases now throws InvalidOperationError not DocNotFoundError. * Query: Implement new OP_MAX query operator, which returns the maximum weight of any of its subqueries. (see TritonDataCenter#360) * Query: Add methods to allow introspection on Query objects - currently you can read the leaf type/operator, how many subqueries there are, and get a particular subquery. For a query which is a term, Query::get_terms_begin() allows you to get the term. (see TritonDataCenter#159) * Query: Only simplify OP_SYNONYM with a single subquery if that subquery is a term or MatchAll. * Avoid two vector copies when storing term positions in most common cases. * Reimplement version functions to use a single function in libxapian which returns a pointer to a static const struct containing the version information, with inline wrappers in the API header which call this. This means we only need one relocation instead of 4, reducing library load time a little. * Make TermGenerator flags an anonymous enum, and typedef TermGenerator::flags to int for backward compatibility with existing user code which uses it. * Stem: Fix incorrect Unicode codepoints for o-double-acute and u-double-acute in the Hungarian Snowball stemmer. Reported by Tom Lane to snowball-discuss. * Stem: Add an early english stemmer. * Provide the stopword lists from Snowball plus an Arabic one, installed in ${prefix}/share/xapian-core/stopwords/. Patch from Assem Chelli, fixes TritonDataCenter#269. * Improve check for direct inclusion of Xapian subheaders in user code to catch more cases. * Add simple API to help with creating language-idiomatic iterator wrappers in <xapian/iterator.h>. * Give an compilation error if user code tries to include API headers other than xapian.h directly - these other headers are an internal implementation detail, but experience has shown that some people try to include them directly. Please just use '#include <xapian.h>' instead. * Update Unicode character database to Unicode 6.2.0. * Add FieldProcessor class (ticket#128) - currently marked as an experimental API while we sort out how best to sort out exactly how it interacts with other QueryParser features. * Add implementation of several TF-IDF weighting schemes via a new TfIdfWeight class. * Add ExpandDeciderFilterPrefix class which only return terms with a particular prefix. (fixes TritonDataCenter#467) * QueryParser: Adjust handling of Unicode opening/closing double quotes - if a quoted boolean term was started with ASCII double quote, then only ASCII double quote can end it, as otherwise it's impossible to quote a term containing Unicode double quotes. * Database::check(): If the database can't be opened, don't emit a bogus warning about there being too many documents to cross-check doclens. * TradWeight,BM25Weight: Throw SerialisationError instead of NetworkError if unserialise() fails. * QueryParser: Change the default stemming strategy to STEM_SOME, to eliminate the API gotcha that setting a stemmer is ignored until you also set a strategy. * Deprecate Xapian::ErrorHandler. (ticket#3) * Stem: Generate a compact and efficient table to decode language names. This is both faster and smaller than the approach we were using, with the added benefit that the table is auto-generated. * xapian.h: + Add check for Qt headers being included before us and defining 'slots' as a macro - if they are, give a clear error advising how to work around this (previously compilation would fail with a confusing error). + Add a similar check for Wt headers which also define 'slots' as a macro by default. * Update Unicode character database to Unicode 6.1.0. (ticket#497) * TermIterator returned by Enquire::get_matching_terms_begin(), Query::get_terms_begin(), Database::synonyms_begin(), QueryParser::stoplist_begin(), and QueryParser::unstem_begin() now stores the list of terms to iterate much more compactly. * QueryParser: + Allow Unicode curly double quote characters to start and/or end phrases. + The set_default_op() method will now reject operators which don't make sense to set. The operators which are allowed are now explicitly documented in the API docs. * Query: The internals have been completely reimplemented (ticket#280). The notable changes are: + Query objects are smaller and should be faster. + More readable format for Query::get_description(). + More compact serialisation format for Query objects. + Query operators are no longer flattened as you build up a tree (but the query optimiser still combines groups of the same operator). This means that Query objects are truly immutable, and so we don't need to copy Query objects when composing them. This should also fix a few O(n*n) cases when building up an n-way query pair-wise. (ticket#273) + The Query optimiser can do a few extra optimisations. * There's now explicit support for geospatial search (this API is currently marked as experimental). (ticket#481) * There's now an API (currently experimental) for checking the integrity of databases (partly addresses ticket#238). * Database::reopen() now returns true if the database may have been reopened (previously it returned void). (ticket#548) * Deprecate Xapian::timeout in favour of POSIX type useconds_t. * Deprecate Xapian::percent and use int instead in the API and our own code. * Deprecate Xapian::weight typedef in favour of just using double and change all uses in the API and our own code. (ticket#560) * Rearrange members of Xapian::Error to reduce its size (from 48 to 40 bytes on x86-64 Linux). * Assignment operators for PositionIterator and TermIterator now return *this rather than void. * PositionIterator, PostingIterator, TermIterator and ValueIterator now handle their reference counts in hand-crafted code rather than using intrusive_ptr/RefCntPtr, which means the compiler can inline the destructor and default constructor, so a comparison to an end iterator should now optimise to a simple NULL pointer check, but without the issues which the ValueIteratorEnd_ proxy class approach had (such as not working in templates or some cases of overload resolution). * Enquire: + Previously, Enquire::get_matching_terms_begin() threw InvalidArgumentError if the query was empty. Now we just return an end iterator, which is more consistent with how empty queries behave elsewhere. + Remove the deprecated old-style match spy approach of using a MatchDecider. * Remove deprecated Sorter class and MultiValueSorter subclass. * Xapian::Stem: + Add stemmers for Armenian (hy), Basque (eu), and Catalan (ca). + Stem::operator= now returns a reference to the assigned-to object. testsuite: * OP_SCALE_WEIGHT: Check top weight is non-zero - if it is zero, tests which try to check that OP_SCALE_WEIGHT works will always pass. * testsuite: Check SerialisationError descriptions from Xapian::Weight subclasses mention the weighting scheme name. * Merge queryparsertest and termgentest into apitest. Their testcases now use the backend manager machinery in the testharness, so we don't have to hard-code use of inmemory and chert backends, but instead run them under all backends which support the required features. This fixes some test failures when both chert and glass are disabled due to trying to run spelling tests with the inmemory backend. * Avoid overflowing collection frequency in totaldoclen1. We're trying to test total document length doesn't wrap, so avoid collection freq overflowing in the process, as that triggers errors when running the testsuite under ubsan. We should handle collection frequency overflow better, but that's a separate issue. * Add some test coverage for ESet::get_ebound(). * Fix testcase notermlist1 to check correct table extension - ".glass" not ".DB" (chert doesn't support DB_NO_TERMLIST). * unittest: We can't use Assert() to unit test noexcept code as it throws an exception if it fails. Instead set up macros to set a variable and return if an assertion fails in a unittest testcase, and check that variable in the harness. * Add unit test for internal C_isupper(), etc functions. * If command line option --verbose/-v isn't specified, set the verbosity level from environmental variable VERBOSE. * Re-enable replicate3 for glass, as it no longer fails. * Add more test coverage for get_unique_terms(). * Don't leave an extra fd open when starting xapian-tcpsrv for remotetcp tests. * Extend checkstatsweight1 to check that Weight::get_collection_freq() returns the same number as Database::get_collection_freq(). * queryparsertest: Add testcase for FieldProcessor on boolean prefix with quoted contents. * queryparsertest: Enable some disabled cases which actually work (in some cases with slightly tweaked expected answers which are equivalent to those that were shown). * Make use of the new writable multidatabase feature to simplify the multi-database handling in the test harness. * Change querypairwise1_helper to repeat the query build 100 times, as with a fast modern machine we were sometimes trying with so many subqueries that we would run out of stack. * apitest: Use Xapian::Database::check() in cursordelbug1. (partly addresses TritonDataCenter#238) * apitest: Test Query ops with a single MatchAll subquery. * apitest: New testcase readonlyparentdir1 to ensure that commit works with a read-only parent directory. * tests/generate-api_generated: Test that the string returned by a get_description() method isn't empty. * Use git commit hash in title of test coverage reports generated from a git tree. * Make unittest use the test harness, so it gets all the valgrind and fd leak checks, and other handy features all the other tests have. * Improve test coverage in several places. * Compress generated HTML files in coverage report. matcher: * Fix stats passed to Weight with OP_SYNONYM. Previously the number of unique terms was never calculated, and a term which matched all documents would be optimised to an all-docs postlist, which fails to supply the correct wdf info. * Use floating point calculation for OR synonym freq estimates. The division was being done as an integer division, which means the result was always getting rounded down rather than rounded to the nearest integer. * Fix upper bound on matches for OP_XOR. Due to a reversed conditional, the estimate could be one too low in some cases where the XOR matched all the documents in the database. * Improve lower bound on matches for OP_XOR. Previously the lower bound was always set to 0, which is valid, but we can often do better. * Optimise value range which is a superset of the bounds. If the value frequency is equal to the doccount, such a range is equivalent to MatchAll, and we now avoid having to read the valuestream at all. * Optimise OP_VALUE_RANGE when the upper bound can't be exceeded. In this case, we now use ValueGePostList instead of ValueRangePostList. * Streamline collation of statistics for use by weighting schemes - tests show a 2% or so increase in speed in some cases. * If a term matches all documents and its weight doesn't depend on its wdf, we can optimise it to MatchAll (the previous requirement that maxpart == 0 was unnecessarily strict). * Fix the check for a term which matches all documents to use the sub-db termfreq, not the combined db termfreq. * When we optimise a postlist for a term which matches all documents to use MatchAll, we still need to set a weight object on it to get percentages calculated correctly. * Drop MatchNothing subqueries in OR-like situations in add_subquery() rather than adding them and then handling it later. * Handle the left side of AND_NOT and AND_MAYBE being MatchNothing in add_subquery() rather than in done(). * Handle QueryAndLike with a MatchNothing subquery in add_subquery() rather than done(). * Query: Multi-way operators now store their subquery pointers in a custom class rather than std::vector<Xapian::Query>. The custom class take the same amount of space, or often less. It's particularly efficient when there are two subqueries, which is very desirable as we no longer flatten a subtree of the same operator as we build the query. * Optimise an unweighted query term which matches all the documents in a subdatabase to use the "MatchAll" postlist. (ticket#387) glass backend: * Fix allterms with prefix on glass with uncommitted changes. Glass aims to flush just the relevant postlist changes in this case but the end of the range to flush was wrong, so we'd only actually flush changes for a term exactly matching the prefix. Fixes #721. * Fix Database::check() parsing of glass changes file header. In practice this was unlikely to actually cause problems. * Make glass the default backend. The format should now be stable, except perhaps in the unlikely event that a bug emerges which requires a format change to address. * Don't explicitly store the 2 byte "component_of" counter for the first component of every Btree entry in leaf blocks - instead use one of the upper bits of the length to store a "first component" flag. This directly saves 2 bytes per entry in the Btree, plus additional space due to fewer blocks and fewer levels being needed as a result. This particularly helps the position table, which has a lot of entries, many of them very small. The saving would be expected to be a little less than the saving from the change which shaved 2 bytes of every Btree item in 1.3.4 (since that saved 2 bytes multiple times for large entries which get split into multiple items). A simple test suggests a saving of several percent in total DB size, which fits that. This change reduces the maximum component size to 8194, which affects tables with a 64KB blocksize in normal use and tables with >= 16KB blocksize with full compaction. * Refactor glass backend key comparison - == and < operations are replaced by a compare() function returns negative, 0 or positive (like strcmp(), memcmp() and std::string::compare()). This allows us to avoid a final compare to check for equality when binary chopping, and to terminate early if the binary chop hits the exact entry. * If a cursor is moved to an entry which doesn't exist, we need to step back to the first component of previous entry before we can read its tag. However we often don't actually read its tag (e.g. if we only wanted the key), so make this stepping back lazy so we can avoid doing it when we don't want to read the tag. * Avoid creating std::string objects to hold data when compressing and decompressing tags with zlib. * Store minimum compression length per table in the version file, with 0 meaning "don't compress". Currently you can only change this setting with a hex editor on the file, but now it is there we can later make use of it without needing a database format change. * Database::check() now performs additional consistency checks for glass. Reported by Jean-Francois Dockes and Bob Cargill via xapian-discuss. * Database::check(): check docids don't exceed db_last_docid when checking a single glass table. * We now throw DatabaseCorruptError in a few cases where it's appropriate but we didn't previously, in particular in the case where all the files in a DB have been truncated to zero size (which makes handling of this case consistent with chert). * Fix compaction to a single file which already exists. This was hanging. Noted by Will Greenberg on #xapian. * Shave 2 bytes of every Btree item (which will probably typically reduce database size by several percent). * More compact item format for branch blocks - 2 bytes per item smaller. This means each branch block can branch more ways, reducing the number of Btree levels needed, which is especially helpful for cold-cache search times. * Track an upper bound on spelling word frequency. This isn't currently used, but will be useful for improving the spelling algorithm, and we want to stabilise the glass backend format. See TritonDataCenter#225, reported by Philip Neustrom. * Support 64-bit docids in the glass backend on-disk format. This changes the encoding used by pack_uint_preserving_sort() to one which supports 64 bit values, and is a byte smaller for values 16384-32767, and the same size for all other 32 bit values. Fixes #686, from original report by James Aylett. * Use memcpy() not memmove() when no risk of overlap. * Store length of just the key data itself, allowing keys to be up to 255 bytes long - the previous limit was 252. * Change glass to store DB stats in the version file. Previously we stored them in a special item in the postlist table, but putting them in the version file reduces the number of block reads required to open the database, is simpler to deal with, and means we can potentially recalculate tight upper and lower bounds for an existing database without having to commit a new revision. * Add support for a single-file variant for glass. Currently such databases can only be opened for reading - to create one you need to use xapian-compact (or its API equivalent). You can embed such databases within another file, and open them by passing in a file descriptor open on that file and positioned at the offset the database starts at). Database::check() also supports them. Fixes #666, reported by Will Greenberg (and previously suggested on xapian-discuss by Emmanuel Engelhart). * Avoid potential DB corruption with full-compaction when using 64K blocks. * Where posix_fadvise() is available, use it to prefetch postlist Btree blocks from the level below the root block which will be needed for postlists of terms in the query, and similarly for the docdata table when MSet::fetch() is called. Based on patch by Will Greenberg in #671. * When reporting freelist errors during a database check, distinguish between a block in use and in the freelist, and a block in the freelist more than once. * Fix compaction and database checking for the change to the format of keys in the positionlist table which happened in 1.3.2. * After splitting a block, we always insert the new block in the parent right after the block it was split from - there's no need to binary chop. * Avoid infinite recursion when we hit the end of the freelist block we're reading and the end of the block we're writing at the same time. * Fix freelist handling to allow for the newly loaded first block of the freelist being already used up. * 'brass' backend renamed to 'glass' - we decided to use names in ascending alphabetical order to make it easier to understand which backend is newest, and since 'flint' was used recently, we skipped over 'd', 'e' and 'f'. * Change positionlist keys to be ordered by term first rather than docid first, which helps phrase searching significantly. For more efficient indexing, positionlist changes are now batched up in memory and written out in key order. * Use a separate cursor for each position list - now we're ordering the position B-tree by term first, phrase matching would cause a single cursor to cycle between disparate areas of the B-tree and reread the same blocks repeatedly. * Reference count blocks in the btree cursor, so cursors can cheaply share blocks. This can significantly reduce the amount of memory used by cursors for queries which contain a lot of terms (e.g. wildcards which expand to a lot of terms). * Under glass, optimise the turning of a query into a postlist to reuse the cursor blocks which are the same as the previous term's postlist. This is particularly effective for a wildcard query which expands to a lot of terms. * Keep track of unused blocks in the Btrees using freelists rather than bitmaps. (fixes TritonDataCenter#40) * Eliminate the base files, and instead store the root block and freelist pointers in the "iamglass" file. * When compacting, sync all the tables together at the end. * In DB_DANGEROUS mode, update the version file in-place. * Only actually store the document data if it is non-empty. The table which holds the document data is now lazily created, so won't exist if you never set the document data. * Iterating positional data now decodes it lazily, which should speed up phrases which include common words. * Compress changesets in brass replication. Increments the changeset version. Ticket TritonDataCenter#348 * Restore two missing lines in database checking where we report a block with the wrong level. * When checking if a block was newly allocated in this revision, just look at its revision number rather than consulting the base file's bitmap. remote backend: * Improve handling of invalid remote stub entries: Entries without a colon now give an error rather than being quietly skipped; IPv6 isn't yet supported, but entries with IPv6 addresses now result in saner errors (previously the colons confused the code which looks for a port number). * Fix hook for remote support of user weighting schemes. The commented-out code used entirely the wrong class - now we use the server object we have access to, and forward the method to the class which needs it. * Avoid dividing zero by zero when calculating the average length for an empty database. * Bump remote protocol version to 38.0, due to extra statistics being tracked for weighting. * Make Weight::Internal track if any max_part values are set, so we don't need to serialise them when they've not been set. * Prefix compress list of terms and metadata keys in the remote protocol. This requires a remote protocol major version bump. * When propagating exceptions from a remote backend server, the protocol now sends a numeric code to represent which exception is being propagated, rather than the name of the type, as a number can be turned back into an exception with a simple switch statement and is also less data to transfer. (ticket#471) * Remote protocol (these changes require a protocol major version bump): + Unify REPLY_GREETING and REPLY_UPDATE. + Send (last_docid - doccount) instead of last_docid and (doclen_ubound - doclen_lbound) instead of doclen_ubound. * Remove special check which gives a more helpful error message when a modern client is used against a remote server running Xapian <= 0.9.6. chert backend: * When using 64-bit Xapian::docid, consistently use the actual maximum valid docid value rather instead of the maximum value the type can hold. * Where posix_fadvise() is available, use it to prefetch postlist Btree blocks from the level below the root block which will be needed for postlists of terms in the query, and similarly for the record table when MSet::fetch() is called. Based on patch by Will Greenberg in #671. * Fix problems with get_unique_terms() on a modified chert database. * Fix xapian-check on a single chert table, which seg faulted in 1.3.2. * Improve DBCHECK_FIX: + if fixing a whole database, we now take the revision from the first table we successfully look at, which should be correct in most cases, and is definitely better than trying to determine the revision of each broken table independently. + handle a zero-sized .DB file. + After we successfully regenerate baseA, remove any empty baseB file to prevent it causing problems. Tracked down with help from Phil Hands. * Iterating positional data now decodes it lazily, which should speed up phrases which include common words. flint backend: * Remove flint backend.
Date: 2016-02-17 Bugfixes Permit changing existing value on a ToOneField to None. (Closes #1449) v0.13.2 Date: 2016-02-14 Bugfixes Fix in Resource.save_related: related_obj can be empty in patch requests (introduced in #1378). (Fixes #1436) Fixed bug that prevented fitlering on related resources. apply_filters hook now used in obj_get. (Fixes #1435, Fixes #1443) Use build_filters in obj_get. (Fixes #1444) Updated DjangoAuthorization to disallow read unless a user has change permission. (#1407, PR #1409) Authorization classes now handle usernames containing spaces. Closes #966. Cleaned up old, unneeded code. (closes PR #1433) Reuse Django test Client.patch(). (@SeanHayes, closes #1442) Just a typo fix in the testing docs (by @bezidejni, closes #810) Removed references to patterns() (by @SeanHayes, closes #1437) Removed deprecated methods Resource.apply_authorization_limits and Authorization.apply_limits from code and documentation. (by @SeanHayes, closes #1383, #1045, #1284, #837) Updates docs/cookbook.rst to make sure it's clear which url to import. (by @yuvadm, closes #716) Updated docs/tutorial.rst. Without "null=True, blank=True" parameters in Slugfield, expecting "automatic slug generation" in save method is pointless. (by @orges, closes #753) Cleaned up Riak docs. (by @SeanHayes, closes #275) Include import statement for trailing_slash. (by @ljosa, closes #770) Fix docs: Meta.filtering is actually a dict. (by @georgedorn, closes #807) Fix load data command. (by @blite, closes #357, #358) Related schemas no longer raise error when not URL accessible. (Fixes PR #1439) Avoid modifying Field instances during request/response cycle. (closes #1415) Removing the Manager dependency in ToManyField.dehydrate(). (Closes #537) v0.13.1 Date: 2016-01-25 Bugfixes Prevent muting non-tastypie's exceptions (#1297, PR #1404) Gracefully handle UnsupportFormat exception (#1154, PR #1417) Add related schema urls (#782, PR #1309) Repr value must be str in Py2 (#1421, PR #1422) Fixed assertHttpAccepted (PR #1416) v0.13.0 Date: 2016-01-12 Dropped Django 1.5-1.6 support, added Django 1.9. Bugfixes Various performance improvements (#1330, #1335, #1337, #1363) More descriptive error messages (#1201) Throttled requests now include Retry-After header. (#1204) In DecimalField.hydrate, catch decimal.InvalidOperation and raise ApiFieldError (#862) Add 'primary_key' Field To Schema (#1141) ContentTypes: Remove 'return' in __init__; remove redundant parentheses (#1090) Allow callable strings for ToOneField.attribute (#1193) Ensure Tastypie doesn't return extra data it received (#1169) In DecimalField.hydrate, catch decimal.InvalidOperation and raise ApiFieldError (#862) Fixed tastypie's losing received microseconds. (#1126) Data leakage fix (#1203) Ignore extra related data (#1336) Suppress Content-Type header on HTTP 204 (see #111) (#1054) Allow creation of related resources that have an 'items' related_name (supercedes #1000) (#1340) Serializers: remove unimplemented to_html/from_html (#1343) If GEOS is not installed then exclude geos related calls. (#1348) Fixed Resource.deserialize() to honor format parameter (#1354 #1356, #1358) Raise ValueError when trying to register a Resource class instead of a Resource instance. (#1361) Fix hydrating/saving of related resources. (#1363) Use Tastypie DateField for DateField on the model. (SHA: b248e7f) ApiFieldError on empty non-null field (#1208) Full schema (all schemas in a single request) (#1207) Added verbose_name to API schema. (#1370) Fixes Reverse One to One Relationships (Replaces #568) (#1378) Fixed "GIS importerror vs improperlyconfigured" (#1384) Fixed bug which occurs when detail_uri_name field has a default value (Issue #1323) (#1387) Fixed disabling cache using timeout=0, fixes #1213, #1212 (#1399) Removed Django 1.5-1.6 support, added 1.9 support. (#1400) stop using django.conf.urls.patterns (#1402) Fix for saving related items when resource_uri is provided but other unique data is not. (#1394) (#1410) v0.12.2 Date: 2015-07-16 Dropped Python 2.6 support, added Django 1.8. Bugfixes Dropped support for Python 2.6 Added support for Django 1.8 Fix stale data caused by prefetch_related cache (SHA: b78661d)
This upgrade fixes compatibility with new lxml. Upstream changelog ================== 2.3.1 _This is a micro release and I have very little time on my hands right now sorry_ Fix crash with no values when the print_values_position param is set (thanks @cristen) 2.3.0 New call API: chart = Line(fill=True); chart.add('title', [1, 3, 12]); chart.render() can now be replaced with Line(fill=True)(1, 3, 12, title='title').render() Drop python 2.6 support 2.2.3 Fix bar static value positioning (#315) Add stroke_opacity style (#321) Remove useless js in sparklines. (#312) 2.2.2 Add classes option. Handle ellipsis in list type configs to auto-extend parent. (Viva python3) 2.2.0 Support interruptions in line charts (thanks @piotrmaslanka #300) Fix confidence interval reactiveness (thanks @chartique #296) Add horizontal line charts (thanks @chartique #301) There is now a formatter config option to format values as specified. The formatter callable may or may not take chart, serie and index as argument. The default value formatting is now chart dependent and is value_formatter for most graph but could be a combination of value_formatter and x_value_formatter for dual charts. The human_readable option has been removed. Now you have to use the pygal.formatters.human_readable formatter (value_formatter=human_readable instead of human_readable=True) New chart type: SolidGauge (thanks @chartique #295) Fix range option for some Charts (#297 #298) Fix timezones for DateTimeLine for python 2 (#306, #302) Set default uri protocol to https (should fix a lot of "no tooltips" bugs). 2.1.1 Import scipy as a last resort in stats.py (should workaround bugs like #294 if scipy is installed but not used) 2.1.0 Bar print value positioning with print_values_position. Can be top, center or bottom (thanks @chartique #291) ci doc Confidence intervals (thanks @chartique #292) data doc 2.0.12 Use custom xml_declaration avoiding conflict with processing instructions 2.0.11 lxml 3.5 compatibility (#282) 2.0.10 Fix transposable_node in case all attributes are not there. (thanks @yobuntu). 2.0.9 Add dynamic_print_values to show print_values on legend hover. (#279) Fix unparse_color for python 3.5+ compatibility (thanks @felixonmars, @sjourdois) Process major labels as labels. (#263) Fix labels rotation > 180 (#257) Fix secondary axis Don't forget secondary series in table rendering (#260) Add defs config option to allow adding gradients and patterns. 2.0.8 Fix value overwrite in map. (#275) 2.0.7 Fixing to checks breaking rendering of DateTimeLine and TimeDeltaLine (#264) (thanks @mmrose) Fix render_in_browser. (#266) (#268) (thanks @waixwong) 2.0.6 Avoid x label formatting when label is a string 2.0.5 Fix x label formatting 2.0.4 Fix map coloration 2.0.3 Fix label adaptation. (#256) Fix wrong radar truncation. (#255) 2.0.2 Fix view box differently to avoid getting a null height on huge numbers. (#254) Fix broken font_family default Fix non namespaced svg (without embed) javascript by adding uuid in config object. (config is in window.pygal now). 2.0.1 Fix the missing title on x_labels with labels. Auto cast to str x labels in non dual charts (#178) Add print_labels option to print label too. (#197) Add value_label_font_family and value_label_font_size style options for print_labels. Default print_zeroes to True (Re)Add xlink in desc to show on tooltip Activate element on tooltip hovering. (#106) Fix radar axis behaviour (#247) Add tooltip support in metadata to add a title (#249). Take config class options in account too. 2.0.0 Rework the ghost mechanism to come back to a more object oriented behavior, storing all state in a state object which is created on every render. (#161) Refactor maps Add world continents Add swiss cantons map (thanks @sergedroz) Add inverse_y_axis options to reverse graph (#24) Fix DateTimeLine time data loss (#193) Fix no data for graphs with only zeroes (#148) Support value formatter for pie graphs (#218) (thanks @never-eat-yellow-snow) Add new Box plot modes and outliers and set extremes as default (#226 #121 #149) (thanks @djezar) Add secondary_range option to set range for secondary values. (#203) Maps are now plugins, they are removed from pygal core and moved to packages (pygal_maps_world, pygal_maps_fr, pygal_maps_ch, ...) (#225) Dot now supports negative values Fix dot with log scale (#201) Fix y_labels behaviour for lines Fix x_labels and y_labels behaviour for xy like Improve gauge a bit Finally allow call chains on add Transform min_scale and max_scale as options mode option has been renamed to a less generic name: box_mode fix stack_from_top for stacked lines Add flake8 test to py.test in tox Remove stroke style in style and set it as a global / serie configuration. Fix None values in tables Fix timezones in DateTimeLine Rename in Style foreground_light as foreground_strong Rename in Style foreground_dark as foreground_subtle Add a render_data_uri method (#237) Move font_size config to style Add font_family for various elements in style Add googlefont:font support for style fonts Add tooltip_fancy_mode to revert to old tooltips Add auto print_value color + a configurable value_colors list in style Add guide_stroke_dasharray and guide_stroke_dasharray in style to customize guides (#242) (thanks @cbergmiller) Refactor label processing in a _compute_x_labels and _compute_y_labels method. Handle both string and numbers for all charts. Create a Dual base chart for dual axis charts. (#236) Better js integration in maps. Use the normal tooltip.
Upstream Changelog: Security gdImageCreate() doesn't check for oversized images and as such is prone to DoS vulnerabilities. (CVE-2016-9317) double-free in gdImageWebPtr() (CVE-2016-6912) potential unsigned underflow in gd_interpolation.c DOS vulnerability in gdImageCreateFromGd2Ctx() Fixed Fix #354: Signed Integer Overflow gd_io.c Fix #340: System frozen Fix OOB reads of the TGA decompression buffer Fix DOS vulnerability in gdImageCreateFromGd2Ctx() Fix potential unsigned underflow Fix double-free in gdImageWebPtr() Fix invalid read in gdImageCreateFromTiffPtr() Fix OOB reads of the TGA decompression buffer Fix #68: gif: buffer underflow reported by AddressSanitizer Avoid potentially dangerous signed to unsigned conversion Fix #304: test suite failure in gif/bug00006 [2.2.3] Fix #329: GD_BILINEAR_FIXED gdImageScale() can cause black border Fix #330: Integer overflow in gdImageScaleBilinearPalette() Fix 321: Null pointer dereferences in gdImageRotateInterpolated Fix whitespace and add missing comment block Fix #319: gdImageRotateInterpolated can have wrong background color Fix color quantization documentation Fix #309: gdImageGd2() writes wrong chunk sizes on boundaries Fix #307: GD_QUANT_NEUQUANT fails to unset trueColor flag Fix #300: gdImageClone() assigns res_y = res_x Fix #299: Regression regarding gdImageRectangle() with gdImageSetThickness() Replace GNU old-style field designators with C89 compatible initializers Fix #297: gdImageCrop() converts palette image to truecolor image Fix #290: TGA RLE decoding is broken Fix unnecessary non NULL checks Fix #289: Passing unrecognized formats to gdImageGd2 results in corrupted files Fix #280: gdImageWebpEx() quantization parameter is a misnomer Publish all gdImageCreateFromWebp*() functions and gdImageWebpCtx() Fix issue #276: Sometimes pixels are missing when storing images as BMPs Fix issue #275: gdImageBmpCtx() may segfault for non-seekable contexts Fix copy&paste error in gdImageScaleBicubicFixed() Added More documentation Documentation on GD and GD2 formats More tests
graphics/gd: security fix Revisions pulled up: - graphics/gd/Makefile 1.113 - graphics/gd/distinfo 1.43 - graphics/gd/patches/patch-src_gd__webp.c deleted --- Module Name: pkgsrc Committed By: spz Date: Sat Feb 4 23:05:52 UTC 2017 Modified Files: pkgsrc/graphics/gd: Makefile distinfo Removed Files: pkgsrc/graphics/gd/patches: patch-src_gd__webp.c Log Message: update of gd to 2.2.4. Upstream Changelog: Security gdImageCreate() doesn't check for oversized images and as such is prone to DoS vulnerabilities. (CVE-2016-9317) double-free in gdImageWebPtr() (CVE-2016-6912) potential unsigned underflow in gd_interpolation.c DOS vulnerability in gdImageCreateFromGd2Ctx() Fixed Fix #354: Signed Integer Overflow gd_io.c Fix #340: System frozen Fix OOB reads of the TGA decompression buffer Fix DOS vulnerability in gdImageCreateFromGd2Ctx() Fix potential unsigned underflow Fix double-free in gdImageWebPtr() Fix invalid read in gdImageCreateFromTiffPtr() Fix OOB reads of the TGA decompression buffer Fix #68: gif: buffer underflow reported by AddressSanitizer Avoid potentially dangerous signed to unsigned conversion Fix #304: test suite failure in gif/bug00006 [2.2.3] Fix #329: GD_BILINEAR_FIXED gdImageScale() can cause black border Fix #330: Integer overflow in gdImageScaleBilinearPalette() Fix 321: Null pointer dereferences in gdImageRotateInterpolated Fix whitespace and add missing comment block Fix #319: gdImageRotateInterpolated can have wrong background color Fix color quantization documentation Fix #309: gdImageGd2() writes wrong chunk sizes on boundaries Fix #307: GD_QUANT_NEUQUANT fails to unset trueColor flag Fix #300: gdImageClone() assigns res_y = res_x Fix #299: Regression regarding gdImageRectangle() with gdImageSetThickness() Replace GNU old-style field designators with C89 compatible initializers Fix #297: gdImageCrop() converts palette image to truecolor image Fix #290: TGA RLE decoding is broken Fix unnecessary non NULL checks Fix #289: Passing unrecognized formats to gdImageGd2 results in corrupted files Fix #280: gdImageWebpEx() quantization parameter is a misnomer Publish all gdImageCreateFromWebp*() functions and gdImageWebpCtx() Fix issue #276: Sometimes pixels are missing when storing images as BMPs Fix issue #275: gdImageBmpCtx() may segfault for non-seekable contexts Fix copy&paste error in gdImageScaleBicubicFixed() Added More documentation Documentation on GD and GD2 formats More tests
Puppet and its dependencies (Hiera, Facter) are lagging behind about half a year.
Ignoring the very incompatible Puppet 4.x for a moment, it would be nice to get an update of Puppet to at least 3.8.1.
The text was updated successfully, but these errors were encountered: