forked from jsonn/pkgsrc
-
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
pkgin distributed asterisk fails to start in SmartOS #261
Comments
jperkin
pushed a commit
that referenced
this issue
Apr 20, 2015
Update DEPENDS Add test target Upstream changes: 2015-03-14 -- 1.4.3 * Remove three warnings: star-args, abstract-class-little-used, abstract-class-not-used. These warnings don't add any real value and they don't imply errors or problems in the code. * Added a new option for controlling the peephole optimizer in astroid. The option ``--optimize-ast`` will control the peephole optimizer, which is used to optimize a couple of AST subtrees. The current problem solved by the peephole optimizer is when multiple joined strings, with the addition operator, are encountered. If the numbers of such strings is high enough, Pylint will then fail with a maximum recursion depth exceeded error, due to its visitor architecture. The peephole just transforms such calls, if it can, into the final resulting string and this exhibit a problem, because the visit_binop method stops being called (in the optimized AST it will be a Const node). 2015-03-11 -- 1.4.2 * Don't require a docstring for empty modules. Closes issue #261. * Fix a false positive with `too-few-format-args` string warning, emitted when the string format contained a normal positional argument ('{0}'), mixed with a positional argument which did an attribute access ('{0.__class__}'). Closes issue #463. * Take in account all the methods from the ancestors when checking for too-few-public-methods. Closes issue #471. * Catch enchant errors and emit 'invalid-characters-in-docstring' when checking for spelling errors. Closes issue #469. * Use all the inferred statements for the super-init-not-called check. Closes issue #389. * Add a new warning, 'unichr-builtin', emitted by the Python 3 porting checker, when the unichr builtin is found. Closes issue #472. * Add a new warning, 'intern-builtin', emitted by the Python 3 porting checker, when the intern builtin is found. Closes issue #473. * Add support for editable installations. * The HTML output accepts the `--msg-template` option. Patch by Dan Goldsmith. * Add 'map-builtin-not-iterating' (replacing 'implicit-map-evaluation'), 'zip-builtin-not-iterating', 'range-builtin-not-iterating', and 'filter-builtin-not-iterating' which are emitted by `--py3k` when the appropriate built-in is not used in an iterating context (semantics taken from 2to3). * Add a new warning, 'unidiomatic-typecheck', emitted when an explicit typecheck uses type() instead of isinstance(). For example, `type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert. Closes issue #299. * Add support for combining the Python 3 checker mode with the --jobs flag (--py3k and --jobs). Closes issue #467. * Add a new warning for the Python 3 porting checker, 'using-cmp-argument', emitted when the `cmp` argument for the `list.sort` or `sorted builtin` is encountered. * Make the --py3k flag commutative with the -E flag. Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437. 2015-01-16 -- 1.4.1 * Look only in the current function's scope for bad-super-call. Closes issue #403. * Check the return of properties when checking for not-callable. Closes issue #406. * Warn about using the input() or round() built-ins for Python 3. Closes issue #411. * Proper abstract method lookup while checking for abstract-class-instantiated. Closes issue #401. * Use a mro traversal for finding abstract methods. Closes issue #415. * Fix a false positive with catching-non-exception and tuples of exceptions. * Fix a false negative with raising-non-exception, when the raise used an uninferrable exception context. * Fix a false positive on Python 2 for raising-bad-type, when raising tuples in the form 'raise (ZeroDivisionError, None)'. * Fix a false positive with invalid-slots-objects, where the slot entry was an unicode string on Python 2. Closes issue #421. * Add a new warning, 'redundant-unittest-assert', emitted when using unittest's methods assertTrue and assertFalse with constant value as argument. Patch by Vlad Temian. * Add a new JSON reporter, usable through -f flag. * Add the method names for the 'signature-differs' and 'argument-differs' warnings. Closes issue #433. * Don't compile test files when installing. * Fix a crash which occurred when using multiple jobs and the files given as argument didn't exist at all. 2014-11-23 -- 1.4.0 * Added new options for controlling the loading of C extensions. By default, only C extensions from the stdlib will be loaded into the active Python interpreter for inspection, because they can run arbitrary code on import. The option `--extension-pkg-whitelist` can be used to specify modules or packages that are safe to load. * Change default max-line-length to 100 rather than 80 * Drop BaseRawChecker class which were only there for backward compat for a while now * Don't try to analyze string formatting with objects coming from function arguments. Closes issue #373. * Port source code to be Python 2/3 compatible. This drops the need for 2to3, but does drop support for Python 2.5. * Each message now comes with a confidence level attached, and can be filtered base on this level. This allows to filter out all messages that were emitted even though an inference failure happened during checking. * Improved presenting unused-import message. Closes issue #293. * Add new checker for finding spelling errors. New messages: wrong-spelling-in-comment, wrong-spelling-in-docstring. New options: spelling-dict, spelling-ignore-words. * Add new '-j' option for running checks in sub-processes. * Added new checks for line endings if they are mixed (LF vs CRLF) or if they are not as expected. New messages: mixed-line-endings, unexpected-line-ending-format. New option: expected-line-ending-format. * 'dangerous-default-value' no longer evaluates the value of the arguments, which could result in long error messages or sensitive data being leaked. Closes issue #282 * Fix a false positive with string formatting checker, when encountering a string which uses only position-based arguments. Closes issue #285. * Fix a false positive with string formatting checker, when using keyword argument packing. Closes issue #288. * Proper handle class level scope for lambdas. * Handle 'too-few-format-args' or 'too-many-format-args' for format strings with both named and positional fields. Closes issue #286. * Analyze only strings by the string format checker. Closes issue #287. * Properly handle nested format string fields. Closes issue #294. * Don't emit 'attribute-defined-outside-init' if the attribute was set by a function call in a defining method. Closes issue #192. * Properly handle unicode format strings for Python 2. Closes issue #296. * Don't emit 'import-error' if an import was protected by a try-except, which excepted ImportError. * Fix an 'unused-import' false positive, when the error was emitted for all the members imported with 'from import' form. Closes issue #304. * Don't emit 'invalid-name' when assigning a name in an ImportError handler. Closes issue #302. * Don't count branches from nested functions. * Fix a false positive with 'too-few-format-args', when the format strings contains duplicate manual position arguments. Closes issue #310. * fixme regex handles comments without spaces after the hash. Closes issue #311. * Don't emit 'unused-import' when a special object is imported (__all__, __doc__ etc.). Closes issue #309. * Look in the metaclass, if defined, for members not found in the current class. Closes issue #306. * Don't emit 'protected-access' if the attribute is accessed using a property defined at the class level. * Detect calls of the parent's __init__, through a binded super() call. * Check that a class has an explicitly defined metaclass before emitting 'old-style-class' for Python 2. * Emit 'catching-non-exception' for non-class nodes. Closes issue #303. * Order of reporting is consistent. * Add a new warning, 'boolean-datetime', emitted when an instance of 'datetime.time' is used in a boolean context. Closes issue #239. * Fix a crash which ocurred while checking for 'method-hidden', when the parent frame was something different than a function. * Generate html output for missing files. Closes issue #320. * Fix a false positive with 'too-many-format-args', when the format string contains mixed attribute access arguments and manual fields. Closes issue #322. * Extend the cases where 'undefined-variable' and 'used-before-assignment' can be detected. Closes issue #291. * Add support for customising callback identifiers, by adding a new '--callbacks' command line option. Closes issue #326. * Add a new warning, 'logging-format-interpolation', emitted when .format() string interpolation is used within logging function calls. * Don't emit 'unbalanced-tuple-unpacking' when the rhs of the assignment is a variable length argument. Closes issue #329. * Add a new warning, 'inherit-non-class', emitted when a class inherits from something which is not a class. Closes issue #331. * Fix another false positives with 'undefined-variable', where the variable can be found as a class assignment and used in a function annotation. Closes issue #342. * Handle assignment of the string format method to a variable. Closes issue #351. * Support wheel packaging format for PyPi. Closes issue #334. * Check that various built-ins that do not exist in Python 3 are not used: apply, basestring, buffer, cmp, coerce, execfile, file, long raw_input, reduce, StandardError, unicode, reload and xrange. * Warn for magic methods which are not used in any way in Python 3: __coerce__, __delslice__, __getslice__, __setslice__, __cmp__, __oct__, __nonzero__ and __hex__. * Don't emit 'assigning-non-slot' when the assignment is for a property. Closes issue #359. * Fix for regression: '{path}' was no longer accepted in '--msg-template'. * Report the percentage of all messages, not just for errors and warnings. Closes issue #319. * 'too-many-public-methods' is reported only for methods defined in a class, not in its ancestors. Closes issue #248. * 'too-many-lines' disable pragma can be located on any line, not only the first. Closes issue #321. * Warn in Python 2 when an import statement is found without a corresponding `from __future__ import absolute_import`. * Warn in Python 2 when a non-floor division operation is found without a corresponding `from __future__ import division`. * Add a new option, 'exclude-protected', for excluding members from the protected-access warning. Closes issue #48. * Warn in Python 2 when using dict.iter*(), dict.view*(); none of these methods are available in Python 3. * Warn in Python 2 when calling an object's next() method; Python 3 uses __next__() instead. * Warn when assigning to __metaclass__ at a class scope; in Python 3 a metaclass is specified as an argument to the 'class' statement. * Warn when performing parameter tuple unpacking; it is not supported in Python 3. * 'abstract-class-instantiated' is also emitted for Python 2. It was previously disabled. * Add 'long-suffix' error, emitted when encountering the long suffix on numbers. * Add support for disabling a checker, by specifying an 'enabled' attribute on the checker class. * Add a new CLI option, --py3k, for enabling Python 3 porting mode. This mode will disable all other checkers and will emit warnings and errors for constructs which are invalid or removed in Python 3. * Add 'old-octal-literal' to Python 3 porting checker, emitted when encountering octals with the old syntax. * Add 'implicit-map-evaluation' to Python 3 porting checker, emitted when encountering the use of map builtin, without explicit evaluation. 2014-07-26 -- 1.3.0 * Allow hanging continued indentation for implicitly concatenated strings. Closes issue #232. * Pylint works under Python 2.5 again, and its test suite passes. * Fix some false positives for the cellvar-from-loop warnings. Closes issue #233. * Return new astroid class nodes when the inferencer can detect that that result of a function invocation on a type (like `type` or `abc.ABCMeta`) is requested. Closes #205. * Emit 'undefined-variable' for undefined names when using the Python 3 `metaclass=` argument. * Checkers respect priority now. Close issue #229. * Fix a false positive regarding W0511. Closes issue #149. * Fix unused-import false positive with Python 3 metaclasses (#143). * Don't warn with 'bad-format-character' when encountering the 'a' format on Python 3. * Add multiple checks for PEP 3101 advanced string formatting: 'bad-format-string', 'missing-format-argument-key', 'unused-format-string-argument', 'format-combined-specification', 'missing-format-attribute' and 'invalid-format-index'. * Issue broad-except and bare-except even if the number of except handlers is different than 1. Fixes issue #113. * Issue attribute-defined-outside-init for all cases, not just for the last assignment. Closes issue #262. * Emit 'not-callable' when calling properties. Closes issue #268. * Fix a false positive with unbalanced iterable unpacking, when encountering starred nodes. Closes issue #273. * Add new checks, 'invalid-slice-index' and 'invalid-sequence-index' for invalid sequence and slice indices. * Add 'assigning-non-slot' warning, which detects assignments to attributes not defined in slots. * Don't emit 'no-name-in-module' for ignored modules. Closes issue #223. * Fix an 'unused-variable' false positive, where the variable is assigned through an import. Closes issue #196. * Definition order is considered for classes, function arguments and annotations. Closes issue #257. * Don't emit 'unused-variable' when assigning to a nonlocal. Closes issue #275. * Do not let ImportError propagate from the import checker, leading to crash in some namespace package related cases. Closes issue #203. * Don't emit 'pointless-string-statement' for attribute docstrings. Closes issue #193. * Use the proper mode for pickle when opening and writing the stats file. Closes issue #148. * Don't emit hidden-method message when the attribute has been monkey-patched, you're on your own when you do that. * Only emit attribute-defined-outside-init for definition within the same module as the offended class, avoiding to mangle the output in some cases. * Don't emit 'unnecessary-lambda' if the body of the lambda call contains call chaining. Closes issue #243. * Don't emit 'missing-docstring' when the actual docstring uses `.format`. Closes issue #281. 2014-04-30 -- 1.2.1 * Restore the ability to specify the init-hook option via the configuration file, which was accidentally broken in 1.2.0. * Add a new warning [bad-continuation] for badly indentend continued lines. * Emit [assignment-from-none] when the function contains bare returns. Fixes BitBucket issue #191. * Added a new warning for closing over variables that are defined in loops. Fixes Bitbucket issue #176. * Do not warn about \u escapes in string literals when Unicode literals are used for Python 2.*. Fixes BitBucket issue #151. * Extend the checking for unbalanced-tuple-unpacking and unpacking-non-sequence to instance attribute unpacking as well. * Fix explicit checking of python script (1.2 regression, #219) * Restore --init-hook, renamed accidentally into --init-hooks in 1.2.0 (#211) * Add 'indexing-exception' warning, which detects that indexing an exception occurs in Python 2 (behaviour removed in Python 3). 2014-04-18 -- 1.2.0 * Pass the current python paths to pylint process when invoked via epylint. Fixes BitBucket issue #133. * Add -i / --include-ids and -s / --symbols back as completely ignored options. Fixes BitBucket issue #180. * Extend the number of cases in which logging calls are detected. Fixes bitbucket issue #182. * Improve pragma handling to not detect pylint:* strings in non-comments. Fixes BitBucket issue #79. * Do not crash with UnknownMessage if an unknown message ID/name appears in disable or enable in the configuration. Patch by Cole Robinson. Fixes bitbucket issue #170. * Add new warning 'eval-used', checking that the builtin function `eval` was used. * Make it possible to show a naming hint for invalid name by setting include-naming-hint. Also make the naming hints configurable. Fixes BitBucket issue #138. * Added support for enforcing multiple, but consistent name styles for different name types inside a single module; based on a patch written by morbo@google.com. * Also warn about empty docstrings on overridden methods; contributed by sebastianu@google.com. * Also inspect arguments to constructor calls, and emit relevant warnings; contributed by sebastianu@google.com. * Added a new configuration option logging-modules to make the list of module names that can be checked for 'logging-not-lazy' et. al. configurable; contributed by morbo@google.com. * ensure init-hooks is evaluated before other options, notably load-plugins (#166) * Python 2.5 support restored: fixed small issues preventing pylint to run on python 2.5. Bitbucket issues #50 and #62. * bitbucket #128: pylint doesn't crash when looking for used-before-assignment in context manager assignments. * Add new warning, 'bad-reversed-sequence', for checking that the reversed() builtin receive a sequence (implements __getitem__ and __len__, without being a dict or a dict subclass) or an instance which implements __reversed__. * Mark `file` as a bad function when using python2 (closes #8). * Add new warning 'bad-exception-context', checking that `raise ... from ...` uses a proper exception context (None or an exception). * Enhance the check for 'used-before-assignment' to look for 'nonlocal' uses. * Emit 'undefined-all-variable' if a package's __all__ variable contains a missing submodule (closes #126). * Add a new warning 'abstract-class-instantiated' for checking that abstract classes created with `abc` module and with abstract methods are instantied. * Do not warn about 'return-arg-in-generator' in Python 3.3+. * Do not warn about 'abstract-method' when the abstract method is implemented through assignment (#155). * Improve cyclic import detection in the case of packages, patch by Buck Golemon * Add new warnings for checking proper class __slots__: `invalid-slots-object` and `invalid-slots`. * Search for rc file in `~/.config/pylintrc` if `~/.pylintrc` doesn't exists (#121) * Don't register the newstyle checker w/ python >= 3 * Fix unused-import false positive w/ augment assignment (#78) * Fix access-member-before-definition false negative wrt aug assign (#164) * Do not attempt to analyze non python file, eg .so file (#122)
Attempted this again recently with a fresh install of base-64 v15.1.1 and Asterisk 11.15.1 (from http://pkgsrc.joyent.com/packages/SmartOS/2015Q1/x86_64/All) and got the same error. Am I missing something here? |
jperkin
pushed a commit
that referenced
this issue
Dec 14, 2015
From David Gutteridge in PR pkg/50541 ============ gedit 3.16.4 ============ Fixes ===== - Fix crash in the open document selector - Various bug fixes New and updated translations ============================ - nl (Hannie Dumoleyn) ============ gedit 3.16.3 ============ Fixes ====================== - Various bug fixes New and updated translations ============================ - cs (Marek Černocký) - de (Bernd Homuth) - es (Daniel Mustieles) - gl (Fran Dieguez) - hu (Balázs Úr) - id (Andika Triwidada) - is (Sveinn í Felli) - it (Milo Casagrande) - lt (Aurimas Černius) - oc (Cédric Valmary (totenoc.eu)) - pl (Piotr Drąg) - pt_BR (Felipe Braga) - pt (Pedro Albuquerque) - ru (Paulo Fino) - sk (Du\232an Kazik) - sl (Matej Urbančič) - sv (Anders Jonsson)
jperkin
pushed a commit
that referenced
this issue
Mar 18, 2016
=== Net::LDAP 0.14.0 * Normalize the encryption parameter passed to the LDAP constructor {#264}[ruby-ldap/ruby-net-ldap#264] * Update Docs: Net::LDAP now requires ruby >= 2 {#261}[ruby-ldap/ruby-net-ldap#261] * fix symbol proc {#255}[ruby-ldap/ruby-net-ldap#255] * fix trailing commas {#256}[ruby-ldap/ruby-net-ldap#256] * fix deprecated hash methods {#254}[ruby-ldap/ruby-net-ldap#254] * fix space after comma {#253}[ruby-ldap/ruby-net-ldap#253] * fix space inside brackets {#252}[ruby-ldap/ruby-net-ldap#252] * Rubocop style fixes {#249}[ruby-ldap/ruby-net-ldap#249] * Lazy initialize Net::LDAP::Connection's internal socket {#235}[ruby-ldap/ruby-net-ldap#235] * Support for rfc3062 Password Modify, closes #163 {#178}[ruby-ldap/ruby-net-ldap#178]
jperkin
pushed a commit
that referenced
this issue
May 30, 2016
v21.2.2 ------- * Minor fixes to changelog and docs. v21.2.1 ------- * #261: Exclude directories when resolving globs in package_data. v21.2.0 ------- * #539: In the easy_install get_site_dirs, honor all paths found in ``site.getsitepackages``. v21.1.0 ------- * #572: In build_ext, now always import ``_CONFIG_VARS`` from ``distutils`` rather than from ``sysconfig`` to allow ``distutils.sysconfig.customize_compiler`` configure the OS X compiler for ``-dynamiclib``.
jperkin
pushed a commit
that referenced
this issue
Jul 17, 2016
- 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".
jperkin
pushed a commit
that referenced
this issue
Sep 1, 2016
* Release 0.12.2 (28-Aug-2016) ** Improved Tor Connection Handler The `tor.control_endpoint` connection handler now properly handles the config.SocksPort response provided by the debian Tor daemon (and possibly others), which included a confusing unix-domain socket in its response. The `tor.socks_port` handler was changed to accept both hostname and port number. Using anything but "localhost" or "127.0.0.1" is highly discouraged, as it would reveal your IP address to (possibly hostile) external hosts. This change was made to support applications (e.g. Tahoe-LAFS) which accept endpoint strings to configure socks_port, but then parse them and reject anything but TCP endpoints (to match Foolscap's current limitations). Such applications ought to warn their users to use only localhost. * Release 0.12.1 (20-Aug-2016) ** Connection Handlers for SOCKS, Tor, I2P Foolscap now includes importable connection handlers for SOCKS(5a), Tor, and I2P. #242, #246, #261 These handlers require additional supporting libraries, so they must be imported separately, and a setuptools "extra feature" declaration must be used to ask for the supporting libs. For example, applications which want to use `tor:` hints (on a host with a Tor daemon running) should have a setup.py with: install_requires=["foolscap[tor]"], and the Tub setup code should do: from foolscap.connections import tor tub.addConnectionHintHandler("tor", tor.default_socks()) Full examples and docs are available in docs/connection-handlers.rst. The default connection-negotiation timeout was increased from 60s to 120s, to accomodate tor/i2p daemon startup times. * Release 0.12.0 (20-Jul-2016) ** API changes: no more automatic configuration Foolscap has moved from automatic listener configuration (randomly-allocated TCP ports, automatically-determined IP address) to using more predictable manual configuration. In our experience, the automatic configuration only worked on hosts which had external IP addresses, which (sadly) is not the case for most computers attached to the modern internet. #252 Applications must now explicitly provide Foolscap with port numbers (for Tub.listenOn) and hostnames (for Tub.setLocation). Applications are encouraged to give users configuration controls to teach Foolscap what hostname and port number it should advertise to external hosts in the FURLs it creates. See https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2773 for ideas. The specific API changes were: - Tub.setLocationAutomatically() has been deprecated - Listener.getPortnum() has been deprecated - calling Tub.listenOn("tcp:0") is also deprecated: callers should allocate a port themselves (the foolscap.util.allocate_tcp_port utility function, which does not block, has been added for this purpose). Foolscap tools like "flappserver create" and "flogtool create-gatherer" will no longer try to deduce their external IP address in an attempt to build externally-reachable FURLs, and will no longer accept "tcp:0" as a listening port (they now default to specific port numbers). Instead, they have --location= and --port arguments. The user must provide '--location' with a connection-hint string like 'tcp:hostname.example.org:3117' (which is put into the server's FURLs). This must match the corresponding '--port' argument, if provided. - for all tools, if '--port' is provided, it must not be tcp:0 - 'flappserver create' now requires --location, and '--port' defaults to tcp:3116 - 'flogtool create-gatherer' requires --location, default port is tcp:3117 - 'flogtool create-incident-gatherer' does too, default is tcp:3118 For backwards-compatibility, old flappservers will have "tcp:0" written into their "BASEDIR/port" file, and an empty string in "BASEDIR/location": these must then be edited to allow the flappserver to start. For example, write "tcp:12345" into "BASEDIR/port" to assign a portnumber, and "tcp:HOSTNAME:12345" into "BASEDIR/location" to expose it in the generated FURL. ** Other API changes Tub.listenOn() now takes a string or an Endpoint (something that implements twisted.internet.interfaces.IStreamServerEndpoint). This makes it possible to listen on non-IPv4 sockets (e.g. IPv6-only sockets, or unix-domain sockets, or more exotic endpoints), as long as Tub.setLocation() is set to something which the other end's connection handlers can deal with. #203 #243 The "DefaultTCP" handler (which manages normal "tcp:HOST:PORT" connection hints) has been moved to foolscap.connections.tcp . This makes room for new Tor/I2P/SOCKS handlers to live in e.g. foolscap.connections.tor . #260 Connection handlers are now allowed to return a Deferred from hint_to_endpoint(), which should make some handlers easier to write. #262 Note that RemoteReference.notifyOnDisconnect() will be deprecated in the next release (once all internal uses have been removed from Foolscap). Applications should stop using it as soon as possible. #42 #140 #207 ** Compatibility Changes This release removes support for the old (py2.4) "sets" module. This was retained to support applications which were trying to maintain py2.4 compatibility, but it's been so long since this was necessary, it's time to remove it. ** Other Changes The internal `allocate_tcp_port()` function was fixed: unexpected kernel behavior meant that sometimes it would return a port that was actually in use. This caused unit tests to fail randomly about 5% of the time. #258 IPv6 support is nearly complete: listening on a plain TCP port will typically accept connections via both IPv4 and IPv6, and the DefaultTCP handler will do a hostname lookup that can use both A and AAAA records. So as long as your server has a DNS entry that points at its IPv6 address, and you provide the hostname to Tub.setLocation(), Foolscap will connect over IPv6. There is one piece missing for complete support: the DefaultTCP connection handler must be modified to accept square-bracketed numeric IPv6 addresses, for rare situations where the host has a known (stable) IPv6 address, but no DNS name.
jperkin
pushed a commit
that referenced
this issue
Sep 1, 2016
v1.5.3 Version 1.5.3 Bugfix release - Fixed import error with oauth2client >= 3.0.0. (#270) v1.5.2 Version 1.5.2 Bugfix release - Allow using oauth2client >= 1.5.0, < 4.0.0. (#265) - Fix project_id argument description. (#257) - Retry chunk uploaded on rate limit exceeded errors. (#255) - Obtain access token if necessary in BatchHttpRequest.execute(). (#232) - Warn when running tests using HttpMock without having a cache. (#261)
jperkin
pushed a commit
that referenced
this issue
Oct 22, 2016
version 1.11.1: 2016-06-14 * new guesser infrastructure, support for emacs and vim modelines (#489) * javascript bugfix for nested objects with quoted keys (#496) * new theme: Gruvbox (thanks @jamietanna!) * praat: lots of improvements (thanks @jjatria) * fix for rougify error when highlighting from stdin (#493) * new lexer: kotlin (thanks @meleyal!) * new lexer: cfscript (thanks @mjclemente!) version 1.11.0: 2016-06-06 * groovy: o remove pathological regexes and add basic support for triple-quoted strings (#485) o add the "trait" keyword and fix project url (thanks @glaforge! #378) * new lexer: coq (thanks @gmalecha! #389) * gemspec license now more accurate (thanks @connorshea! #484) * swift: o properly support nested comments (thanks @dblessing! #479) o support swift 2.2 features (thanks @radex #376 and @wokalski #442) o add indirect declaration (thanks @nRewik! #326) * new lexer: verilog (thanks @Razer6! #317) * new lexer: typescript (thanks @Seikho! #400) * new lexers: jinja and twig (thanks @robin850! #402) * new lexer: pascal (thanks @alexcu!) * css: support attribute selectors (thanks @skoji! #426) * new lexer: shell session (thanks @sio4! #481) * ruby: add support for <<~ heredocs (thanks @tinci! #362) * recognize comments at EOF in SQL, Apache, and CMake (thanks @julp! #360) * new lexer: phtml (thanks @Igloczek #366) * recognize comments at EOF in CoffeeScript (thanks @rdavila! #370) * c/c++: o support c11/c++11 features (thanks @Tosainu! #371) o Allow underscores in identifiers (thanks @coverify! #333) * rust: add more builtin types (thanks @RalfJung! #372) * ini: allow hyphen keys (thanks @KrzysiekJ! #380) * r: massively improve lexing quality (thanks @klmr! #383) * c#: o add missing keywords (thanks @BenVlodgi #384 and @SLaks #447) * diff: do not require newlines at the ends (thanks @AaronLasseigne! #387) * new lexer: ceylon (thanks @bjansen! #414) * new lexer: biml (thanks @japj! #415) * new lexer: TAP - the test anything protocol (thanks @mblayman! #409) * rougify bugfix: treat input as utf8 (thanks @japj! #417) * new lexer: jsonnet (thanks @davidzchen! #420) * clojure: associate *.cljc for cross-platform clojure (thanks @alesguzik! #423) * new lexer: D (thanks @nikibobi! #435) * new lexer: smarty (thanks @tringenbach! #427) * apache: o add directives for v2.4 (thanks @stanhu!) o various improvements (thanks @julp! #301) - faster keyword lookups - fix nil error on unknown directive (cf #246, #300) - properly manage case-insensitive names (cf #246) - properly handle windows CRLF * objective-c: o support literal dictionaries and block arguments (thanks @BenV! #443 and #444) o Fix error tokens when defining interfaces (thanks @meleyal! #477) * new lexer: NASM (thanks @sraboy! #457) * new lexer: gradle (thanks @nerro! #468) * new lexer: API Blueprint (thanks @kylef! #261) * new lexer: ActionScript (thanks @honzabrecka! #241) * terminal256 formatter: stop confusing token names (thanks @julp! #367) * new lexer: julia (thanks @mpeteuil! #331) * new lexer: cmake (thanks @julp! #302) * new lexer: eiffel (thanks @Conaclos! #323) * new lexer: protobuf (thanks @fqqb! #327) * new lexer: fortran (thanks @CruzR! #328) * php: associate *.phpt files (thanks @Razer6!) * python: support raise from and yield from (thanks @mordervomubel! #324) * new VimL example (thanks @tpope! #315)
jperkin
pushed a commit
that referenced
this issue
Jan 23, 2017
Upstream changes: What's New in Python 3.5.3? =========================== Release date: 2017-01-16 There were no code changes between 3.5.3rc1 and 3.5.3 final. What's New in Python 3.5.3 release candidate 1? =============================================== Release date: 2017-01-02 Core and Builtins ----------------- - Issue #29073: bytearray formatting no longer truncates on first null byte. - Issue #28932: Do not include <sys/random.h> if it does not exist. - Issue #28147: Fix a memory leak in split-table dictionaries: setattr() must not convert combined table into split table. - Issue #25677: Correct the positioning of the syntax error caret for indented blocks. Based on patch by Michael Layzell. - Issue #29000: Fixed bytes formatting of octals with zero padding in alternate form. - Issue #28512: Fixed setting the offset attribute of SyntaxError by PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). - Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy bug caused by a monkey-patched len() function. - Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. Patch by Xiang Zhang. - Issue #19398: Extra slash no longer added to sys.path components in case of empty compile-time PYTHONPATH components. - Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. - Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here(). - Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang Zhang. - Issue #28376: The type of long range iterator is now registered as Iterator. Patch by Oren Milman. - Issue #28376: The constructor of range_iterator now checks that step is not 0. Patch by Oren Milman. - Issue #26906: Resolving special methods of uninitialized type now causes implicit initialization of the type instead of a fail. - Issue #18287: PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas Koep. - Issue #24098: Fixed possible crash when AST is changed in process of compiling it. - Issue #28350: String constants with null character no longer interned. - Issue #26617: Fix crash when GC runs during weakref callbacks. - Issue #27942: String constants now interned recursively in tuples and frozensets. - Issue #21578: Fixed misleading error message when ImportError called with invalid keyword args. - Issue #28203: Fix incorrect type in error message from ``complex(1.0, {2:3})``. Patch by Soumya Sharma. - Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP. - Issue #28131: Fix a regression in zipimport's compile_source(). zipimport should use the same optimization level as the interpreter. - Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0. - Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun) - Issue #28189: dictitems_contains no longer swallows compare errors. (Patch by Xiang Zhang) - Issue #27812: Properly clear out a generator's frame's backreference to the generator to prevent crashes in frame.clear(). - Issue #27811: Fix a crash when a coroutine that has not been awaited is finalized with warnings-as-errors enabled. - Issue #27587: Fix another issue found by PVS-Studio: Null pointer check after use of 'def' in _PyState_AddModule(). Initial patch by Christian Heimes. - Issue #26020: set literal evaluation order did not match documented behaviour. - Issue #27782: Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang. - Issue #27936: The round() function accepted a second None argument for some types but not for others. Fixed the inconsistency by accepting None for all numeric types. - Issue #27487: Warn if a submodule argument to "python -m" or runpy.run_module() is found in sys.modules after parent packages are imported, but before the submodule is executed. - Issue #27558: Fix a SystemError in the implementation of "raise" statement. In a brand new thread, raise a RuntimeError since there is no active exception to reraise. Patch written by Xiang Zhang. - Issue #27419: Standard __import__() no longer look up "__import__" in globals or builtins for importing submodules or "from import". Fixed handling an error of non-string package name. - Issue #27083: Respect the PYTHONCASEOK environment variable under Windows. - Issue #27514: Make having too many statically nested blocks a SyntaxError instead of SystemError. - Issue #27473: Fixed possible integer overflow in bytes and bytearray concatenations. Patch by Xiang Zhang. - Issue #27507: Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang. - Issue #27581: Don't rely on wrapping for overflow check in PySequence_Tuple(). Patch by Xiang Zhang. - Issue #27443: __length_hint__() of bytearray iterators no longer return a negative integer for a resized bytearray. - Issue #27942: Fix memory leak in codeobject.c Library ------- - Issue #15812: inspect.getframeinfo() now correctly shows the first line of a context. Patch by Sam Breese. - Issue #29094: Offsets in a ZIP file created with extern file object and modes "w" and "x" now are relative to the start of the file. - Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox. Based on patch by Tycho Andersen. - Issue #29119: Fix weakrefs in the pure python version of collections.OrderedDict move_to_end() method. Contributed by Andra Bogildea. - Issue #9770: curses.ascii predicates now work correctly with negative integers. - Issue #28427: old keys should not remove new values from WeakValueDictionary when collecting from another thread. - Issue 28923: Remove editor artifacts from Tix.py. - Issue #28871: Fixed a crash when deallocate deep ElementTree. - Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() when a GC collection happens in another thread. - Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that doesn't own its elements as limits. - Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. - Issue #28847: dbm.dumb now supports reading read-only files and no longer writes the index file when it is not changed. - Issue #25659: In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy() methods on abstract classes like Array. - Issue #28732: Fix crash in os.spawnv() with no elements in args - Issue #28485: Always raise ValueError for negative compileall.compile_dir(workers=...) parameter, even when multithreading is unavailable. - Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre. - Issue #27517: LZMA compressor and decompressor no longer raise exceptions if given empty data twice. Patch by Benjamin Fogle. - Issue #28549: Fixed segfault in curses's addch() with ncurses6. - Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True. - Issue #23262: The webbrowser module now supports Firefox 36+ and derived browsers. Based on patch by Oleg Broytman. - Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable. - Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space at the start of new line after printing a month's calendar. Patch by Xiang Zhang. - Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen. - Issue #28353: os.fwalk() no longer fails on broken links. - Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin a workaround to Tix library bug. - Issue #28488: shutil.make_archive() no longer add entry "./" to ZIP archive. - Issue #24452: Make webbrowser support Chrome on Mac OS X. - Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers. - Issue #26293: Fixed writing ZIP files that starts not from the start of the file. Offsets in ZIP file now are relative to the start of the archive in conforming to the specification. - Issue #28321: Fixed writing non-BMP characters with binary format in plistlib. - Issue #28322: Fixed possible crashes when unpickle itertools objects from incorrect pickle data. Based on patch by John Leitch. - Fix possible integer overflows and crashes in the mmap module with unusual usage patterns. - Issue #1703178: Fix the ability to pass the --link-objects option to the distutils build_ext command. - Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12. Methods itermonthdays() and itermonthdays2() are reimplemented so that they don't call itermonthdates() which can cause datetime.date under/overflow. - Issue #28275: Fixed possible use after free in the decompress() methods of the LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch. - Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() if pass invalid string-like object as a name. Patch by Xiang Zhang. - Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by Madison May. - Issue #27611: Fixed support of default root window in the tkinter.tix module. - Issue #27348: In the traceback module, restore the formatting of exception messages like "Exception: None". This fixes a regression introduced in 3.5a2. - Issue #25651: Allow falsy values to be used for msg parameter of subTest(). - Issue #27932: Prevent memory leak in win32_ver(). - Fix UnboundLocalError in socket._sendfile_use_sendfile. - Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch by Eryk Sun. - Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed. - Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam. - Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh and Markus Holtermann. - Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). - Issue #19003:m email.generator now replaces only \r and/or \n line endings, per the RFC, instead of all unicode line endings. - Issue #28019: itertools.count() no longer rounds non-integer step in range between 1.0 and 2.0 to 1. - Issue #25969: Update the lib2to3 grammar to handle the unpacking generalizations added in 3.5. - Issue #14977: mailcap now respects the order of the lines in the mailcap files ("first match"), as required by RFC 1542. Patch by Michael Lazar. - Issue #24594: Validates persist parameter when opening MSI database - Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.) - Issue #28047: Fixed calculation of line length used for the base64 CTE in the new email policies. - Issue #27445: Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz. - Issue #22450: urllib now includes an "Accept: */*" header among the default headers. This makes the results of REST API requests more consistent and predictable especially when proxy servers are involved. - lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between runs given the same Grammar.txt input regardless of the hash randomization setting. - Issue #27570: Avoid zero-length memcpy() etc calls with null source pointers in the "ctypes" and "array" modules. - Issue #22233: Break email header lines *only* on the RFC specified CR and LF characters, not on arbitrary unicode line breaks. This also fixes a bug in HTTP header parsing. - Issue 27988: Fix email iter_attachments incorrect mutation of payload list. - Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. - Issue #27850: Remove 3DES from ssl module's default cipher list to counter measure sweet32 attack (CVE-2016-2183). - Issue #27766: Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL 1.1.0 or LibreSSL). - Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. - Remove support for passing a file descriptor to os.access. It never worked but previously didn't raise. - Issue #12885: Fix error when distutils encounters symlink. - Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. - Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory creates not a cursor. Patch by Xiang Zhang. - Issue #19884: Avoid spurious output on OS X with Gnu Readline. - Issue #27706: Restore deterministic behavior of random.Random().seed() for string seeds using seeding version 1. Allows sequences of calls to random() to exactly match those obtained in Python 2. Patch by Nofar Schnider. - Issue #10513: Fix a regression in Connection.commit(). Statements should not be reset after a commit. - A new version of typing.py from https://github.com/python/typing: - Collection (only for 3.6) (Issue #27598) - Add FrozenSet to __all__ (upstream #261) - fix crash in _get_type_vars() (upstream #259) - Remove the dict constraint in ForwardRef._eval_type (upstream #252) - Issue #27539: Fix unnormalised ``Fraction.__pow__`` result in the case of negative exponent and negative base. - Issue #21718: cursor.description is now available for queries using CTEs. - Issue #2466: posixpath.ismount now correctly recognizes mount points which the user does not have permission to access. - Issue #27773: Correct some memory management errors server_hostname in _ssl.wrap_socket(). - Issue #26750: unittest.mock.create_autospec() now works properly for subclasses of property() and other data descriptors. - In the curses module, raise an error if window.getstr() or window.instr() is passed a negative value. - Issue #27783: Fix possible usage of uninitialized memory in operator.methodcaller. - Issue #27774: Fix possible Py_DECREF on unowned object in _sre. - Issue #27760: Fix possible integer overflow in binascii.b2a_qp. - Issue #27758: Fix possible integer overflow in the _csv module for large record lengths. - Issue #27568: Prevent HTTPoxy attack (CVE-2016-1000110). Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. - Issue #27656: Do not assume sched.h defines any SCHED_* constants. - Issue #27130: In the "zlib" module, fix handling of large buffers (typically 4 GiB) when compressing and decompressing. Previously, inputs were limited to 4 GiB, and compression and decompression operations did not properly handle results of 4 GiB. - Issue #27533: Release GIL in nt._isdir - Issue #17711: Fixed unpickling by the persistent ID with protocol 0. Original patch by Alexandre Vassalotti. - Issue #27522: Avoid an unintentional reference cycle in email.feedparser. - Issue #26844: Fix error message for imp.find_module() to refer to 'path' instead of 'name'. Patch by Lev Maximov. - Issue #23804: Fix SSL zero-length recv() calls to not block and not raise an error about unclean EOF. - Issue #27466: Change time format returned by http.cookie.time2netscape, confirming the netscape cookie format and making it consistent with documentation. - Issue #26664: Fix activate.fish by removing mis-use of ``$``. - Issue #22115: Fixed tracing Tkinter variables: trace_vdelete() with wrong mode no longer break tracing, trace_vinfo() now always returns a list of pairs of strings, tracing in the "u" mode now works. - Fix a scoping issue in importlib.util.LazyLoader which triggered an UnboundLocalError when lazy-loading a module that was already put into sys.modules. - Issue #27079: Fixed curses.ascii functions isblank(), iscntrl() and ispunct(). - Issue #26754: Some functions (compile() etc) accepted a filename argument encoded as an iterable of integers. Now only strings and byte-like objects are accepted. - Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters - Issue #27330: Fixed possible leaks in the ctypes module. - Issue #27238: Got rid of bare excepts in the turtle module. Original patch by Jelle Zijlstra. - Issue #27122: When an exception is raised within the context being managed by a contextlib.ExitStack() and one of the exit stack generators catches and raises it in a chain, do not re-raise the original exception when exiting, let the new chained one through. This avoids the PEP 479 bug described in issue25782. - [Security] Issue #27278: Fix os.urandom() implementation using getrandom() on Linux. Truncate size to INT_MAX and loop until we collected enough random bytes, instead of casting a directly Py_ssize_t to int. - Issue #26386: Fixed ttk.TreeView selection operations with item id's containing spaces. - [Security] Issue #22636: Avoid shell injection problems with ctypes.util.find_library(). - Issue #16182: Fix various functions in the "readline" module to use the locale encoding, and fix get_begidx() and get_endidx() to return code point indexes. - Issue #27392: Add loop.connect_accepted_socket(). Patch by Jim Fulton. - Issue #27930: Improved behaviour of logging.handlers.QueueListener. Thanks to Paulo Andrade and Petr Viktorin for the analysis and patch. - Issue #21201: Improves readability of multiprocessing error message. Thanks to Wojciech Walczak for patch. - Issue #27456: asyncio: Set TCP_NODELAY by default. - Issue #27906: Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway. - Issue #28174: Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael Larson. - Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy. - Issue #26909: Fix slow pipes IO in asyncio. Patch by INADA Naoki. - Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect. - Issue #27759: Fix selectors incorrectly retain invalid file descriptors. Patch by Mark Williams. - Issue #28368: Refuse monitoring processes if the child watcher has no loop attached. Patch by Vincent Michel. - Issue #28369: Raise RuntimeError when transport's FD is used with add_reader, add_writer, etc. - Issue #28370: Speedup asyncio.StreamReader.readexactly. Patch by ▒<9A>о▒<80>енбе▒<80>г ▒<9C>а▒<80>к. - Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. - Issue #28372: Fix asyncio to support formatting of non-python coroutines. - Issue #28399: Remove UNIX socket from FS before binding. Patch by ▒<9A>о▒<80>енбе▒<80>г ▒<9C>а▒<80>к. - Issue #27972: Prohibit Tasks to await on themselves. - Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children are done. Patch by Johannes Ebke. - Issue #26796: Don't configure the number of workers for default threadpool executor. Initial patch by Hans Lawrenz. - Issue #28600: Optimize loop.call_soon(). - Issue #28613: Fix get_event_loop() return the current loop if called from coroutines/callbacks. - Issue #28639: Fix inspect.isawaitable to always return bool Patch by Justin Mayfield. - Issue #28652: Make loop methods reject socket kinds they do not support. - Issue #28653: Fix a refleak in functools.lru_cache. - Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. - Issue #24142: Reading a corrupt config file left the parser in an invalid state. Original patch by Florian Höch. - Issue #28990: Fix SSL hanging if connection is closed before handshake completed. (Patch by HoHo-Ho) IDLE ---- - Issue #15308: Add 'interrupt execution' (^C) to Shell menu. Patch by Roger Serwy, updated by Bayard Randel. - Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen. - Add version to title of IDLE help window. - Issue #25564: In section on IDLE -- console differences, mention that using exec means that __builtins__ is defined for each statement. - Issue #27714: text_textview and test_autocomplete now pass when re-run in the same process. This occurs when test_idle fails when run with the -w option but without -jn. Fix warning from test_config. - Issue #25507: IDLE no longer runs buggy code because of its tkinter imports. Users must include the same imports required to run directly in Python. - Issue #27452: add line counter and crc to IDLE configHandler test dump. - Issue #27365: Allow non-ascii chars in IDLE NEWS.txt, for contributor names. - Issue #27245: IDLE: Cleanly delete custom themes and key bindings. Previously, when IDLE was started from a console or by import, a cascade of warnings was emitted. Patch by Serhiy Storchaka. C API ----- - Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. - Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as an iterable of integers. Now only strings and bytes-like objects are accepted. Documentation ------------- - Issue #28513: Documented command-line interface of zipfile. Tests ----- - Issue #28950: Disallow -j0 to be combined with -T/-l/-M in regrtest command line arguments. - Issue #28666: Now test.support.rmtree is able to remove unwritable or unreadable directories. - Issue #23839: Various caches now are cleared before running every test file. - Issue #28409: regrtest: fix the parser of command line arguments. - Issue #27787: Call gc.collect() before checking each test for "dangling threads", since the dangling threads are weak references. - Issue #27369: In test_pyexpat, avoid testing an error message detail that changed in Expat 2.2.0. Tools/Demos ----------- - Issue #27952: Get Tools/scripts/fixcid.py working with Python 3 and the current "re" module, avoid invalid Python backslash escapes, and fix a bug parsing escaped C quote signs. - Issue #27332: Fixed the type of the first argument of module-level functions generated by Argument Clinic. Patch by Petr Viktorin. - Issue #27418: Fixed Tools/importbench/importbench.py. Windows ------- - Issue #28251: Improvements to help manuals on Windows. - Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit - Issue #25144: Ensures TargetDir is set before continuing with custom install. - Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. - Issue #27309: Enabled proper Windows styles in python[w].exe manifest. Build ----- - Issue #29080: Removes hard dependency on hg.exe from PCBuild/build.bat - Issue #23903: Added missed names to PC/python3.def. - Issue #10656: Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael Haubenwallner. - Issue #26359: Rename --with-optimiations to --enable-optimizations. - Issue #28444: Fix missing extensions modules when cross compiling. - Issue #28248: Update Windows build and OS X installers to use OpenSSL 1.0.2j. - Issue #28258: Fixed build with Estonian locale (python-config and distclean targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. - Issue #26661: setup.py now detects system libffi with multiarch wrapper. - Issue #28066: Fix the logic that searches build directories for generated include files when building outside the source tree. - Issue #15819: Remove redundant include search directory option for building outside the source tree. - Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) - Issue #27705: Update message in validate_ucrtbase.py - Issue #27983: Cause lack of llvm-profdata tool when using clang as required for PGO linking to be a configure time error rather than make time when --with-optimizations is enabled. Also improve our ability to find the llvm-profdata tool on MacOS and some Linuxes. - Issue #26307: The profile-opt build now applies PGO to the built-in modules. - Issue #26359: Add the --with-optimizations configure flag. - Issue #27713: Suppress spurious build warnings when updating importlib's bootstrap files. Patch by Xiang Zhang - Issue #25825: Correct the references to Modules/python.exp and ld_so_aix, which are required on AIX. This updates references to an installation path that was changed in 3.2a4, and undoes changed references to the build tree that were made in 3.5.0a1. - Issue #27453: CPP invocation in configure must use CPPFLAGS. Patch by Chi Hsuan Yen. - Issue #27641: The configure script now inserts comments into the makefile to prevent the pgen and _freeze_importlib executables from being cross- compiled. - Issue #26662: Set PYTHON_FOR_GEN in configure as the Python program to be used for file generation during the build. - Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X. Also update FreedBSD version checks for the original ctype UTF-8 workaround. - Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth Rees.
jperkin
pushed a commit
that referenced
this issue
Feb 28, 2017
Version 0.14.2 -------------- Released 2017-01-10 - Fix bug where ``FlaskForm`` assumed ``meta`` argument was not ``None`` if it was passed. (`#278`_) .. _#278: pallets-eco/flask-wtf#278 Version 0.14.1 -------------- Released 2017-01-10 - Fix bug where the file validators would incorrectly identify an empty file as valid data. (`#276`_, `#277`_) - ``FileField`` is no longer deprecated. The data is checked during processing and only set if it's a valid file. - ``has_file`` *is* deprecated; it's now equivalent to ``bool(field.data)``. - ``FileRequired`` and ``FileAllowed`` work with both the Flask-WTF and WTForms ``FileField`` classes. - The ``Optional`` validator now works with ``FileField``. .. _#276: pallets-eco/flask-wtf#276 .. _#277: pallets-eco/flask-wtf#277 Version 0.14 ------------ Released 2017-01-06 - Use itsdangerous to sign CSRF tokens and check expiration instead of doing it ourselves. (`#264`_) - All tokens are URL safe, removing the ``url_safe`` parameter from ``generate_csrf``. (`#206`_) - All tokens store a timestamp, which is checked in ``validate_csrf``. The ``time_limit`` parameter of ``generate_csrf`` is removed. - Remove the ``app`` attribute from ``CsrfProtect``, use ``current_app``. (`#264`_) - ``CsrfProtect`` protects the ``DELETE`` method by default. (`#264`_) - The same CSRF token is generated for the lifetime of a request. It is exposed as ``g.csrf_token`` for use during testing. (`#227`_, `#264`_) - ``CsrfProtect.error_handler`` is deprecated. (`#264`_) - Handlers that return a response work in addition to those that raise an error. The behavior was not clear in previous docs. - (`#200`_, `#209`_, `#243`_, `#252`_) - Use ``Form.Meta`` instead of deprecated ``SecureForm`` for CSRF (and everything else). (`#216`_, `#271`_) - ``csrf_enabled`` parameter is still recognized but deprecated. All other attributes and methods from ``SecureForm`` are removed. (`#271`_) - Provide ``WTF_CSRF_FIELD_NAME`` to configure the name of the CSRF token. (`#271`_) - ``validate_csrf`` raises ``wtforms.ValidationError`` with specific messages instead of returning ``True`` or ``False``. This breaks anything that was calling the method directly. (`#239`_, `#271`_) - CSRF errors are logged as well as raised. (`#239`_) - ``CsrfProtect`` is renamed to ``CSRFProtect``. A deprecation warning is issued when using the old name. ``CsrfError`` is renamed to ``CSRFError`` without deprecation. (`#271`_) - ``FileField`` is deprecated because it no longer provides functionality over the provided validators. Use ``wtforms.FileField`` directly. (`#272`_) .. _`#200`: pallets-eco/flask-wtf#200 .. _`#209`: pallets-eco/flask-wtf#209 .. _`#216`: pallets-eco/flask-wtf#216 .. _`#227`: pallets-eco/flask-wtf#227 .. _`#239`: pallets-eco/flask-wtf#239 .. _`#243`: pallets-eco/flask-wtf#243 .. _`#252`: pallets-eco/flask-wtf#252 .. _`#264`: pallets-eco/flask-wtf#264 .. _`#271`: pallets-eco/flask-wtf#271 .. _`#272`: pallets-eco/flask-wtf#272 Version 0.13.1 -------------- Released 2016/10/6 - Deprecation warning for ``Form`` is shown during ``__init__`` instead of immediately when subclassing. (`#262`_) - Don't use ``pkg_resources`` to get version, for compatibility with GAE. (`#261`_) .. _`#261`: pallets-eco/flask-wtf#261 .. _`#262`: pallets-eco/flask-wtf#262 Version 0.13 ------------ Released 2016/09/29 - ``Form`` is renamed to ``FlaskForm`` in order to avoid name collision with WTForms's base class. Using ``Form`` will show a deprecation warning. (`#250`_) - ``hidden_tag`` no longer wraps the hidden inputs in a hidden div. This is valid HTML5 and any modern HTML parser will behave correctly. (`#217`_, `#193`_) - ``flask_wtf.html5`` is deprecated. Import directly from ``wtforms.fields.html5``. (`#251`_) - ``is_submitted`` is true for ``PATCH`` and ``DELETE`` in addition to ``POST`` and ``PUT``. (`#187`_) - ``generate_csrf`` takes a ``token_key`` parameter to specify the key stored in the session. (`#206`_) - ``generate_csrf`` takes a ``url_safe`` parameter to allow the token to be used in URLs. (`#206`_) - ``form.data`` can be accessed multiple times without raising an exception. (`#248`_) - File extension with multiple parts (``.tar.gz``) can be used in the ``FileAllowed`` validator. (`#201`_) .. _`#187`: pallets-eco/flask-wtf#187 .. _`#193`: pallets-eco/flask-wtf#193 .. _`#201`: pallets-eco/flask-wtf#201 .. _`#206`: pallets-eco/flask-wtf#206 .. _`#217`: pallets-eco/flask-wtf#217 .. _`#248`: pallets-eco/flask-wtf#248 .. _`#250`: pallets-eco/flask-wtf#250 .. _`#251`: pallets-eco/flask-wtf#251
jperkin
pushed a commit
that referenced
this issue
May 13, 2017
Reviewed by: joerg@ Upstream changes: Release Notes for fish 2.5.0 (released February 3, 2017) The Home, End, Insert, Delete, Page Up and Page Down keys work in Vi-style key bindings (#3731). Platform Changes Starting with version 2.5, fish requires a more up-to-date version of C++, specifically C++11 (from 2011). This affects some older platforms: Linux For users building from source, GCC's g++ 4.8 or later, or LLVM's clang 3.3 or later, are known to work. Older platforms may require a newer compiler installed. Unfortunately, because of the complexity of the toolchain, binary packages are no longer published by the fish-shell developers for the following platforms: Red Hat Enterprise Linux and CentOS 5 & 6 for 64-bit builds Ubuntu 12.04 (EoLTS April 2017) Debian 7 (EoLTS May 2018) Installing newer version of fish on these systems will require building from source. OS X SnowLeopard Starting with version 2.5, fish requires a C++11 standard library on OS X 10.6 ("SnowLeopard"). If this library is not installed, you will see this error: dyld: Library not loaded: /usr/lib/libc++.1.dylib MacPorts is the easiest way to obtain this library. After installing the SnowLeopard MacPorts release from the install page, run: sudo port -v install libcxx Now fish should launch successfully. (Please open an issue if it does not.) This is only necessary on 10.6. OS X 10.7 and later include the required library by default. Other significant changes Attempting to exit with running processes in the background produces a warning, then signals them to terminate if a second attempt to exit is made. This brings the behaviour for running background processes into line with stopped processes. (#3497) random can now have start, stop and step values specified, or the new choice subcommand can be used to pick an argument from a list (#3619). A new key bindings preset, fish_hybrid_key_bindings, including all the Emacs-style and Vi-style bindings, which behaves like fish_vi_key_bindings in fish 2.3.0 (#3556). function now returns an error when called with invalid options, rather than defining the function anyway (#3574). This was a regression present in fish 2.3 and 2.4.0. fish no longer prints a warning when it identifies a running instance of an old version (2.1.0 and earlier). Changes to universal variables may not propagate between these old versions and 2.5b1. Improved compatiblity with Android (#3585), MSYS/mingw (#2360), Solaris (#3456, #3340) Like other shells, the test builting now returns an error for numeric operations on invalid integers (#3346, #3581). complete no longer recognises --authoritative and --unauthoritative options, and they are marked as obsolete. status accepts subcommands, and should be used like status is-interactive. The old options continue to be supported for the foreseeable future (#3526), although only one subcommand or option can be specified at a time. Selection mode (used with "begin-selection") no longer selects a character the cursor does not move over (#3684). List indexes are handled better, and a bit more liberally in some cases (echo $PATH[1 .. 3] is now valid) (#3579). The fish_mode_prompt function is now simply a stub around fish_default_mode_prompt, which allows the mode prompt to be included more easily in customised prompt functions (#3641). Notable fixes and improvements alias, run without options or arguments, lists all defined aliases, and aliases now include a description in the function signature that identifies them. complete accepts empty strings as descriptions (#3557). command accepts -q/--quiet in combination with --search (#3591), providing a simple way of checking whether a command exists in scripts. Abbreviations can now be renamed with abbr --rename OLD_KEY NEW_KEY (#3610). The command synopses printed by --help options work better with copying and pasting (#2673). help launches the browser specified by the $fish_help_browser variable if it is set (#3131). History merging could lose items under certain circumstances and is now fixed (#3496). The $status variable is now set to 123 when a syntactically invalid command is entered (#3616). Exiting fish now signals all background processes to terminate, not just stopped jobs (#3497). A new prompt_hostname function which prints a hostname suitable for use in prompts (#3482). The __fish_man_page function (bound to Alt-h by default) now tries to recognize subcommands (e.g. git add will now open the "git-add" man page) (#3678). A new function edit_command_buffer (bound to Alt-e & Alt-v by default) to edit the command buffer in an external editor (#1215, #3627). set_color now supports italics (--italics), dim (--dim) and reverse (--reverse) modes (#3650). Filesystems with very slow locking (eg incorrectly-configured NFS) will no longer slow fish down (#685). Improved completions for apt (#3695), fusermount (#3642), make (#3628), netctl-auto (#3378), nmcli (#3648), pygmentize (#3378), and tar (#3719). Added completions for: VBoxHeadless (#3378) VBoxSDL (#3378) base64 (#3378) caffeinate (#3524) dconf (#3638) dig (#3495) dpkg-reconfigure (#3521 & #3522) feh (#3378) launchctl (#3682) lxc (#3554 & #3564), mddiagnose (#3524) mdfind (#3524) mdimport (#3524) mdls (#3524) mdutil (#3524) mkvextract (#3492) nvram (#3524) objdump (#3378) sysbench (#3491) tmutil (#3524) Release Notes for fish 2.4.0 (released November 8, 2016) Significant changes The clipboard integration has been revamped with explicit bindings. The killring commands no longer copy from, or paste to, the X11 clipboard - use the new copy (C-x) and paste (C-v) bindings instead. The clipboard is now available on OS X as well as systems using X11 (e.g. Linux). (#3061) history uses subcommands (history delete) rather than options (history --delete) for its actions (#3367). You can no longer specify multiple actions via flags (e.g., history --delete --save something). New history options have been added, including --max=n to limit the number of history entries, --show-time option to show timestamps (#3175, #3244), and --null to null terminate history entries in the search output. history search is now case-insensitive by default (which also affects history delete) (#3236). history delete now correctly handles multiline commands (#31). Vi-style bindings no longer include all of the default emacs-style bindings; instead, they share some definitions (#3068). If there is no locale set in the environment, various known system configuration files will be checked for a default. If no locale can be found, en_US-UTF.8 will be used (#277). A number followed by a caret (e.g. 5^) is no longer treated as a redirection (#1873). The $version special variable can be overwritten, so that it can be used for other purposes if required. Notable fixes and improvements The fish_realpath builtin has been renamed to realpath and made compatible with GNU realpath when run without arguments (#3400). It is used only for systems without a realpath or grealpath utility (#3374). Improved color handling on terminals/consoles with 8-16 colors, particularly the use of bright named color (#3176, #3260). fish_indent can now read from files given as arguments, rather than just standard input (#3037). Fuzzy tab completions behave in a less surprising manner (#3090, #3211). jobs should only print its header line once (#3127). Wildcards in redirections are highlighted appropriately (#2789). Suggestions will be offered more often, like after removing characters (#3069). history --merge now correctly interleaves items in chronological order (#2312). Options for fish_indent have been aligned with the other binaries - in particular, -d now means --debug. The --dump option has been renamed to --dump-parse-tree (#3191). The display of bindings in the Web-based configuration has been greatly improved (#3325), as has the rendering of prompts (#2924). fish should no longer hang using 100% CPU in the C locale (#3214). A bug in FreeBSD 11 & 12, Dragonfly BSD & illumos prevented fish from working correctly on these platforms under UTF-8 locales; fish now avoids the buggy behaviour (#3050). Prompts which show git repository information (via __fish_git_prompt) are faster in large repositories (#3294) and slow filesystems (#3083). fish 2.3.0 reintroduced a problem where the greeting was printed even when using read; this has been corrected again (#3261). Vi mode changes the cursor depending on the current mode (#3215). Command lines with escaped space characters at the end tab-complete correctly (#2447). Added completions for: arcanist (#3256) connmanctl (#3419) figlet (#3378) mdbook (#3378) ninja (#3415) p4, the Perforce client (#3314) pygmentize (#3378) ranger (#3378) Improved completions for aura (#3297), abbr (#3267), brew (#3309), chown (#3380, #3383),cygport (#3392), git (#3274, #3226, #3225, #3094, #3087, #3035, #3021, #2982, #3230), kill & pkill (#3200), screen (#3271), wget (#3470), and xz (#3378). Distributors, packagers and developers will notice that the build process produces more succinct output by default; use make V=1 to get verbose output (#3248). Improved compatibility with minor platforms including musl (#2988), Cygwin (#2993), Android (#3441, #3442), Haiku (#3322) and Solaris. Automatic cursor changes are now only enabled on the subset of XTerm versions known to support them, resolving a problem where older versions printed garbage to the terminal before and after every prompt (#3499). Improved the title set in Apple Terminal.app. Added completions for defaults and improved completions for diskutil (#3478). Release Notes for fish 2.3.1 (released July 3, 2016) This is a functionality and bugfix release. This release does not contain all the changes to fish since the last release, but fixes a number of issues directly affecting users at present and includes a small number of new features. Significant changes A new fish_key_reader binary for decoding interactive keypresses (#2991). fish_mode_prompt has been updated to reflect the changes in the way the Vi input mode is set up (#3067), making this more reliable. fish_config can now properly be launched from the OS X app bundle (#3140). Notable fixes and improvements Extra lines were sometimes inserted into the output under Windows (Cygwin and Microsoft Windows Subsystem for Linux) due to TTY timestamps not being updated (#2859). The string builtin's match mode now handles the combination of -rnv (match, invert and count) correctly (#3098). Improvements to TTY special character handling (#3064), locale handling (#3124) and terminal environment variable handling (#3060). Work towards handling the terminal modes for external commands launched from initialisation files (#2980). Ease the upgrade path from fish 2.2.0 and before by warning users to restart fish if the string builtin is not available (#3057). type -a now syntax-colorizes function source output. Added completions for alsamixer, godoc, gofmt, goimports, gorename, lscpu, mkdir, modinfo, netctl-auto, poweroff, termite, udisksctl and xz (#3123). Improved completions for apt (#3097), aura (#3102),git (#3114), npm (#3158), string and suspend (#3154). Release Notes for fish 2.3.0 (released May 20, 2016) Significant Changes A new string builtin to handle… strings! This builtin will measure, split, search and replace text strings, including using regular expressions. It can also be used to turn lists into plain strings using join. string can be used in place of sed, grep, tr, cut, and awk in many situations. (#2296) After seeing an escape character wait up to 300ms for an additional character. This is consistent with readline (e.g. bash) and can be configured via the fish_escape_delay_ms variable. This allows using escape as the Meta modifier. (#1356) Add new directories for vendor functions and configuration snippets (#2498) A new fish_realpath builtin and associated function to allow the use of realpath even on those platforms that don't ship an appropriate command. (#2932) Alt-# toggles the current command line between commented and uncommented states, making it easy to save a command in history without executing it. The fish_vi_mode function is now deprecated in favour of fish_vi_key_bindings Backward-incompatible changes Unmatched globs will now cause an error, except when used with for, set or count (#2719, #2394) and and or will now bind to the closest if or while, allowing compound conditions without begin and end (#1428) set -ql now searches up to function scope for variables (#2502) status -f will now behave the same when run as the main script or using source (#2643) source no longer puts the file name in $argv if no arguments are given (#139) Other Notable Fixes and Improvements Fish no longer silences errors in config.fish (#2702) Move the history file to $XDG_DATA_HOME/fish (or ~/.local/share if it has not been set) Directory autosuggestions will now descend as far as possible if there is only one child directory (#2531) Add support for bright colors (#1464) Allow Ctrl-J (\cj) to be bound separately from Ctrl-M (\cm) (#217) psub now has a "-s"/"-suffix" option to name the temporary file with that suffix Enable 24-bit colors on select terminals (#2495) Support for SVN status in the prompt (#2582) Mercurial and SVN support have been added to the Classic + Git (now Classic + VCS) prompt (via the new __fish_vcs_prompt function) (#2592) export now handles variables with a "=" in the value (#2403) Avoid confusing the terminal line driver with non-printing characters in fish_title(#2453) New completions for: alsactl Archlinux’s asp, makepkg Atom’s apm (#2390) entr - the "Event Notify Test Runner" (#2265) Fedora’s dnf (#2638) OSX diskutil (#2738) pkgng (#2395) pulseaudio’s pacmd and pactl rmmod (#3007) rust’s rustc and cargo (#2409) sysctl (#2214) systemd’s machinectl (#2158), busctl (#2144), systemd-nspawn, systemd-analyze, localectl, timedatectl and more Fish no longer has a function called sgrep, freeing it for user customization (#2245) A rewrite of the completions for cd, fixing a few bugs (#2299, #2300, #562) Linux VTs now run in a simplified mode to avoid issues (#2311) The vi-bindings now inherit from the emacs bindings Fish will also execute fish_user_key_bindings when in vi-mode funced will now also check $VISUAL (#2268) A new suspend function (#2269) Subcommand completion now works better with split /usr (#2141) The command-not-found-handler can now be overridden by defining a function called __fish_command_not_found_handler in config.fish (#2331) A few fixes to the Sorin theme PWD shortening in the prompt can now be configured via the fish_prompt_pwd_dir_length variable, set to the length per path component (#2473) fish now ships a skeleton file for /etc/fish/config.fish that only contains some documentation, the included code has been moved to the corresponding file in /usr (#2799) Release Notes for fish 2.2.0 (released July 12, 2015) Significant Changes Abbreviations: the new `abbr` command allows for interactively-expanded abbreviations, allowing quick access to frequently-used commands (#731). Vi mode: run `fish_vi_mode` to switch fish into the key bindings and prompt familiar to users of the Vi editor (#65). New inline and interactive pager, which will be familiar to users of zsh (#291). Underlying architectural changes: the `fishd` universal variable server has been removed as it was a source of many bugs and security problems. Notably, old fish sessions will not be able to communicate universal variable changes with new fish sessions. For best results, restart all running instances of `fish`. The web-based configuration tool has been redesigned, featuring a prompt theme chooser and other improvements. New German, Brazilian Portuguese, and Chinese translations. Backward-incompatible changes These are kept to a minimum, but either change undocumented features or are too hard to use in their existing forms. These changes may break existing scripts. `commandline` no longer interprets functions "in reverse", instead behaving as expected (#1567). The previously-undocumented `CMD_DURATION` variable is now set for all commands and contains the execution time of the last command in milliseconds (#1585). It is no longer exported to other commands (#1896). `if` / `else` conditional statements now return values consistent with the Single Unix Specification, like other shells (#1443). A new "top-level" local scope has been added, allowing local variables declared on the commandline to be visible to subsequent commands. (#206) Other notable fixes and improvements New documentation design (#1662), which requires a Doxygen version 1.8.7 or newer to build. Fish now defines a default directory for other packages to provide completions. By default this is `/usr/share/fish/vendor-completions.d`; on systems with `pkgconfig` installed this path is discoverable with `pkg-config --variable completionsdir fish`. A new parser removes many bugs; all existing syntax should keep working. New `fish_preexec` and `fish_postexec` events are fired before and after job execution respectively (#1549). Unmatched wildcards no longer prevent a job from running. Wildcards used interactively will still print an error, but the job will proceed and the wildcard will expand to zero arguments (#1482). The `.` command is deprecated and the `source` command is preferred (#310). `bind` supports "bind modes", which allows bindings to be set for a particular named mode, to support the implementation of Vi mode. A new `export` alias, which behaves like other shells (#1833). `command` has a new `--search` option to print the name of the disk file that would be executed, like other shells' `command -v` (#1540). `commandline` has a new `--paging-mode` option to support the new pager. `complete` has a new `--wraps` option, which allows a command to (recursively) inherit the completions of a wrapped command (#393), and `complete -e` now correctly erases completions (#380). Completions are now generated from manual pages by default on the first run of fish (#997). `fish_indent` can now produce colorized (`--ansi`) and HTML (`--html`) output (#1827). `functions --erase` now prevents autoloaded functions from being reloaded in the current session. `history` has a new `--merge` option, to incorporate history from other sessions into the current session (#825). `jobs` returns 1 if there are no active jobs (#1484). `read` has several new options: `--array` to break input into an array (#1540) `--null` to break lines on NUL characters rather than newlines (#1694) `--nchars` to read a specific number of characters (#1616) `--right-prompt` to display a right-hand-side prompt during interactive read (#1698). `type` has a new `-q` option to suppress output (#1540 and, like other shells, `type -a` now prints all matches for a command (#261). Pressing F1 now shows the manual page for the current command (#1063). `fish_title` functions have access to the arguments of the currently running argument as `$argv[1]` (#1542). The OS command-not-found handler is used on Arch Linux (#1925), nixOS (#1852), openSUSE and Fedora (#1280). `Alt`+`.` searches backwards in the token history, mapping to the same behavior as inserting the last argument of the previous command, like other shells (#89). The `SHLVL` environment variable is incremented correctly (#1634 & #1693). Added completions for `adb` (#1165 & #1211), `apt` (#2018), `aura` (#1292), `composer` (#1607), `cygport` (#1841), `dropbox` (#1533), `elixir` (#1167), `fossil`, `heroku` (#1790), `iex` (#1167), `kitchen` (#2000), `nix` (#1167), `node`/`npm` (#1566), `opam` (#1615), `setfacl` (#1752), `tmuxinator` (#1863), and `yast2` (#1739). Improved completions for `brew` (#1090 & #1810), `bundler` (#1779), `cd` (#1135), `emerge` (#1840),`git` (#1680, #1834 & #1951), `man` (#960), `modprobe` (#1124), `pacman` (#1292), `rpm` (#1236), `rsync` (#1872), `scp` (#1145), `ssh` (#1234), `sshfs` (#1268), `systemctl` (#1462, #1950 & #1972), `tmux` (#1853), `vagrant` (#1748), `yum` (#1269), and `zypper` (#1787).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fresh install of minimal-64-lts 14.4.0.
Asterisk 11.15.0 from http://pkgsrc.joyent.com/packages/SmartOS/2014Q4/x86_64/All
The text was updated successfully, but these errors were encountered: