summaryrefslogtreecommitdiff
path: root/lang
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01Update lang/nodejs to 7.7.0.fhajny2-7/+7
- child_process: spawnSync() exit code now is null when the child is killed via signal - http: new functions to access the headers for an outgoing HTTP message - lib: deprecate node --debug at runtime - tls: new tls.TLSSocket() supports sec ctx options - url: adding URL.prototype.toJSON support - doc: items in the API documentation may now have changelogs - crypto: adding support for OPENSSL_CONF again - src: adding support for trace-event tracing
2017-02-23Update lang/rust to 1.15.1. Changes since 1.11.0 are too numerous tojperkin20-251/+224
list, but can be found here: https://github.com/rust-lang/rust/blob/master/RELEASES.md Add a stage0-bootstrap target to simplify generation of bootstrap kits for platforms which are not supported upstream (primarily SmartOS).
2017-02-22Add HOMEPAGE. Prefer INSTALLATION_DIRS to AUTO_MKDIRS.wiz1-3/+4
Fix pkglint warning.
2017-02-22Update lang/nodejs4 to 4.8.0.fhajny2-7/+7
Notable Changes - child_process: add shell option to spawn() - deps: - v8: expose statistics about heap spaces - crypto: - add ALPN Support - allow adding extra certs to well-known CAs - fs: add the fs.mkdtemp() function. - process: - add externalMemory to process - add process.cpuUsage()
2017-02-22Update lang/nodejs6 to 6.10.0.fhajny2-7/+7
Notable Changes - crypto: allow adding extra certs to well-known CAs - deps: Upgrade INTL ICU to version 58 - process: add process.memoryUsage.external - src: add wrapper for process.emitWarning() - fs: cache non-symlinks in realpathSync. - repl: allow autocompletion for scoped packages
2017-02-22Update lang/nodejs to 7.6.0.fhajny4-14/+16
Notable changes - deps: - update V8 to 5.5 - upgrade libuv to 1.11.0 - add node-inspect 1.10.4 - upgrade zlib to 1.2.11 - lib: build node inspect into node - crypto: Remove expired certs from CNNIC whitelist - inspector: add --inspect-brk - fs: allow WHATWG URL objects as paths - src: support UTF-8 in compiled-in JS source files - url: extend url.format to support WHATWG URL
2017-02-21Add ruby-rkelly-remixminskim1-1/+2
2017-02-21Import ruby-rkelly-remix-0.0.7 as lang/ruby-rkelly-remixminskim4-0/+226
RKelly Remix is a fork of the RKelly JavaScript parser.
2017-02-21Fix bug in new patchgdt3-6/+6
Thanks to Matt Wette for code review on guile-devel@gnu.org.
2017-02-21Fix error in patch in previousgdt3-5/+6
2017-02-20Update to 2.0.14gdt3-9/+37
Packaging changes: add patch to work around calling mkostemp with invalid flags. Upstream changes: Bug fixes Fix for CVE-2016-8606. REPL server now protects against HTTP inter-protocol attacks Fix for CVE-2016-8605. 'mkdir' procedure no longer calls umask(2) (<http://bugs.gnu.org/24659>) New interface mkstemp! which takes optional "mode" argument New 'scm_to_uintptr_t' and 'scm_from_uintptr_t' C functions
2017-02-20Switch py-dateutils to plain DEPENDS.wiz1-3/+2
It supports both python 2 and 3 nowadays.
2017-02-20Fix build with tidy-5.x.wiz4-2/+32
2017-02-20Add work around for build problem of php-intl.taca4-2/+34
2017-02-18Update php71 totaca5-34/+10
16 Feb 2017, PHP 7.1.2 - Core: . Improved GENERATOR_CREATE opcode handler. (Bob, Dmitry) . Fixed bug #73877 (readlink() returns garbage for UTF-8 paths). (Anatol) . Fixed bug #73876 (Crash when exporting **= in expansion of assign op). (Sara) . Fixed bug #73962 (bug with symlink related to cyrillic directory). (Anatol) . Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester) . Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe) . Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester) - DOM: . Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). (aboks) - DTrace: . Fixed bug #73965 (DTrace reported as enabled when disabled). (Remi) - FCGI: . Fixed bug #73904 (php-cgi fails to load -c specified php.ini file). (Anatol) . Fixed bug #72898 (PHP_FCGI_CHILDREN is not included in phpinfo()). (Anatol) - FPM: . Fixed bug #69865 (php-fpm does not close stderr when using syslog). (m6w6) - GD: . Fixed bug #73968 (Premature failing of XBM reading). (cmb) - GMP: . Fixed bug #69993 (test for gmp.h needs to test machine includes). (Jordan Gigov) - Hash: . Added hash_hkdf() function. (Andrey Andreev) . Fixed bug #73961 (environmental build dependency in hash sha3 source). (krakjoe) - Intl: . Fix bug #73956 (Link use CC instead of CXX). (Remi) - LDAP: . Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache). (Laruence) - MySQLi: . Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe) - Mysqlnd: . Fixed bug #69899 (segfault on close() after free_result() with mysqlnd). (Richard Fussenegger) - Opcache: . Fixed bug #73983 (crash on finish work with phar in cli + opcache). (Anatol) - OpenSSL: . Fixed bug #71519 (add serial hex to return value array). (xrobau) . Fixed bug #73692 (Compile ext/openssl with openssl 1.1.0 on Win). (Anatol) . Fixed bug #73978 (openssl_decrypt triggers bug in PDO). (Jakub Zelenka) - PDO_Firebird: . Implemented FR #72583 (All data are fetched as strings). (Dorin Marcoci) - PDO_PgSQL: . Fixed bug #73959 (lastInsertId fails to throw an exception for wrong sequence name). (andrewnester) - Phar: . Fixed bug #70417 (PharData::compress() doesn't close temp file). (cmb) - posix: . Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh) - Session: . Fixed bug #69582 (session not readable by root in CLI). (EvgeniySpinov) - SPL: . Fixed bug #73896 (spl_autoload() crashes when calls magic _call()). (Dmitry) - Standard: . Fixed bug #69442 (closing of fd incorrect when PTS enabled). (jaytaph) . Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"). (Rowan Collins) . Fixed bug #72974 (imap is undefined service on AIX). (matthieu.sarter) . Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter) . Fixed bug #73374 (intval() with base 0 should detect binary). (Leigh) . Fixed bug #69061 (mail.log = syslog contains double information). (Tom Sommer) - ZIP: . Fixed bug #70103 (ZipArchive::addGlob ignores remove_all_path option). (cmb, Mitch Hagstrand)
2017-02-18Update php70 to 7.0.16.taca4-32/+9
16 Feb 2017 PHP 7.0.16 - Core: . Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference). (Laruence) . Fixed bug #73876 (Crash when exporting **= in expansion of assign op). (Sara) . Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester) . Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester) - DOM: . Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). (aboks) - DTrace: . Fixed bug #73965 (DTrace reported as enabled when disabled). (Remi) - FPM: . Fixed bug #67583 (double fastcgi_end_request on max_children limit). (Dmitry Saprykin) . Fixed bug #69865 (php-fpm does not close stderr when using syslog). (m6w6) - GD: . Fixed bug #73968 (Premature failing of XBM reading). (cmb) - GMP: . Fixed bug #69993 (test for gmp.h needs to test machine includes). (Jordan Gigov) - Intl: . Fix bug #73956 (Link use CC instead of CXX). (Remi) - LDAP: . Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache). (Laruence) - MySQLi: . Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe) - Mysqlnd: . Fixed bug #69899 (segfault on close() after free_result() with mysqlnd). (Richard Fussenegger) - Opcache: . Fixed bug #73983 (crash on finish work with phar in cli + opcache). (Anatol) - OpenSSL: . Fixed bug #71519 (add serial hex to return value array). (xrobau) - PDO_Firebird: . Implemented FR #72583 (All data are fetched as strings). (Dorin Marcoci) - PDO_PgSQL: . Fixed bug #73959 (lastInsertId fails to throw an exception for wrong sequence name). (andrewnester) - Phar: . Fixed bug #70417 (PharData::compress() doesn't close temp file). (cmb) - posix: . Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoth) - Session: . Fixed bug #69582 (session not readable by root in CLI). (EvgeniySpinov) - SPL: . Fixed bug #73896 (spl_autoload() crashes when calls magic _call()). (Dmitry) - Standard: . Fixed bug #69442 (closing of fd incorrect when PTS enabled). (jaytaph) . Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"). (Rowan Collins) . Fixed bug #72974 (imap is undefined service on AIX). (matthieu.sarter) . Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter) - ZIP: . Fixed bug #70103 (ZipArchive::addGlob ignores remove_all_path option). (cmb, Mitch Hagstrand)
2017-02-17Disable mprotect for mini-mono. Disable pthread key delete since the keyjoerg4-8/+33
is still often used during thread destruction. Bump revision.
2017-02-16+ owl-lisp.wiz1-1/+2
2017-02-14Fix pthread use.joerg2-1/+15
2017-02-14Update to py-cxfreeze 5.0.1markd4-63/+121
Version 5.0.1 (January 2017) * Added support for Python 3.6. * Corrected hooks for the pythoncom and pywintypes modules. * Use realpath() to get the absolute path of the executable; this resolves symbolic links and ensures that changing the path before all imports are complete does not result in the executable being unable to find modules. Version 5.0 (November 2016) * Added support for Python 3.5. * Switched from using C compiled frozen modules which embed part of the standard library to using the default named zip file and library file locations. This eliminates the need to recompile cx_Freeze for each new Python version as no parts of the standard library are included in the installation now. This also implies that appending a zip file to the executable is no longer supported since the standard name and location are used. * Removed unnecessary options and parameters from cx_Freeze. * Added support for Win32Service base with Python 3.x. * Add __version__ as an alias to version. * Updated hooks for PyQt, h5py. * Reallow including modules with non-identifier names. * Fix –add-to-path writing to the per-user instead of system environment * Do not import excluded submodules. * Add pyzmq hook * Add copyright and trademarks to version information * Fix compilation on Ubuntu * Set defaults in class directly, rather than as defaults in the function signature. * Added support for storing packages in the file system instead of in the zip file. There are a number of packages that assume that they are found in the file system and if found in a zip file instead produce strange errors. * Significantly simplified startup code. * Added logging statements for improved debugging. * Updated samples to handle recent updates to packages. * Avoid infinite loop for deferred imports which are cycles of one another. Version 4.3.4 (December 2014) * Rebuilt for Python 3.4.2. Dropped support for Python versions less than 2.6. * Correct stale comment. * Fix processing path specs from config when targets are not explicit. * Tweaks to improve compiling with MSVC 10 (2010) on Windows. * Added support for using the –deep and –resource-rules options when code signing through cx_Freeze on OS X. * Catch error if GetDependentFiles() is called on a non-library * Added FAQ entry on single file executables * Only look one level deep for implicit relative imports * Removed statement that was filtering out the ntpath module. Version 4.3.3 (May 2014) * Added support for release version of 3.4 * Added support for code signing in bdist_mac * Added custom Info.plist and Framework suport to bdist_mac * Added support for resolving dependencies on OS X where paths are relative * Added hook for QtWebKit module * Added support for finding packages inside zip files * Ensure that syntax errors in code do not prevent freezing from taking place but simply ignore those modules * Init scripts now use code that works in both Python 2 and 3 * Simplify service sample * Fix documentation for bdist_dmg * All options that accept multiple values are split on commas as documented Version 4.3.2 (October 2013) * Added support for Python 3.4. * Added hooks for PyQt4, PyQt5 and PySide to handle their plugins. * Added support for creating a shortcut/alias to the Applications directory within distributed DMG files for OS X. * Improve missing modules output. * Avoid polluting the extension module namespace when using the bootstrap module to load the extension. * Added support for using setuptools and pip if such tools are available. * Added first tests; nose and mock are required to run them. * Remove –bundle-iconfile in favor of –iconfile as a more generic method of including the icon for bdist_mac. * Documentation improved and FAQ added. * Converted samples to follow PEP 8. Version 4.3.1 (November 2012) * Added support for the final release of Python 3.3. * Added support for copying the MSVC runtime DLLs and manifest if desired by using the –include-msvcr switch. * Clarified the documentation on the –replace-paths option. Version 4.3 (July 2012) * Added options to build Mac OS X application bundles and DMG packages using bdist_mac and bdist_dmg distutils commands. * The documentation is now using Sphinx, and is available on ReadTheDocs.org. * Added support for Python 3.3 which uses a different compiled file format than earlier versions of Python. * Added support for Windows services which start automatically and which are capable of monitoring changes in sessions such as lock and unlock. * New cxfreeze-quickstart wizard to create a basic setup.py file. Initially written by Thomas Kluyver. * Included files under their original name can now be passed to include_files as a tuple with an empty second element. * File inclusions/exclusions can now be specified using a full path, or a shared library name with a version number suffix.
2017-02-13Update lang/nodejs4 to 4.7.3.fhajny2-7/+7
Notable Changes - deps: upgrade openssl sources to 1.0.2k
2017-02-13Update lang/nodejs6 to 6.9.5.fhajny2-7/+7
Notable Changes - deps: upgrade openssl sources to 1.0.2k
2017-02-13Update lang/nodejs to 7.5.0.fhajny3-664/+65
Notable changes - crypto: - ability to select cert store at runtime - Use system CAs instead of using bundled ones - deps: - upgrade npm to 4.1.2 - upgrade openssl sources to 1.0.2k - doc: add basic documentation for WHATWG URL API - process: add NODE_NO_WARNINGS environment variable - url: allow use of URL with http.request and https.request
2017-02-12Recursive revbump from fonts/harfbuzzryoon8-16/+16
2017-02-11Import owl-lisp-0.1.13 as lang/owl-lisp.kamil4-0/+45
Owl Lisp is a purely functional dialect of Scheme. It is based on the applicable subset of R7RS standard, extending it mainly with threads and data structures necessary for purely functional operation. Owl can be used on most UNIX-like systems, such as Linux, BSDs and OS X. Programs are typically compiled via C to standalone binaries, so Owl isn't needed to run programs written in it. Owl project originally got started both as an attempt to extend R5RS Scheme with some necessary features, such as threads and modules, and as an experiment on how being purely functional influences the runtime and use of an applicative order purely functional language. While things have been added to Scheme, Owl tries to keep the core language as simple as possible. Implementationwise the goal was to get a small portable system which could be used to ship programs easily. This is currently accomplished by using a small register-based virtual machine, which can be extended with program-specific instructions to reduce interpretive overhead.
2017-02-10Update lang/lua53 to version 5.3.4.alnsn2-7/+7
Lua 5.3.4 fixes all bugs listed in http://www.lua.org/bugs.html#5.3.3 1. Expression list with four or more expressions in a 'for' loop can crash the interpreter. reported by Marco Scho:pl on 17 Jun 2016. existed since 5.2. fixed in 5.3.4. 2. Checking a format for os.date may read pass the format string. reported by Nagaev Boris on 10 Jul 2016. existed since 5.3.3. fixed in 5.3.4. 3. Lua can generate wrong code in functions with too many constants. reported by Marco Scho:pl on 17 Jul 2016. existed since 5.3.3. fixed in 5.3.4. 4. When a coroutine tries to resume a non-suspended coroutine, it can do some mess (and break C assertions) before detecting the error. reported by Marco Scho:pl on 20 Jul 2016. fixed in 5.3.4. Lua 5.3.4 also contains several internal improvements and includes a revised reference manual: http://www.lua.org/manual/5.3/
2017-02-10Add ruby-gherkinminskim1-1/+2
2017-02-10Import ruby-gherkin-4.0.0 as lang/ruby-gherkinminskim4-0/+49
Gherkin is a parser and compiler for the Gherkin language.
2017-02-08Mark setuptools dependencies with BOOTSTRAP_SETUPTOOLS=yes.wiz1-1/+11
2017-02-08Add new BOOTSTRAP_SETUPTOOLS variable.wiz1-1/+15
setuptools is one of the basic methods to install python packages. However, since 34.0 it does not provide its dependencies any longer; so they need to be installed from pkgsrc. For bootstrapping, python itself comes with a copy of (pip and) setuptools. Use this copy to install the necessary packages. They need to be marked by BOOTSTRAP_SETUPTOOLS=yes for this.
2017-02-07+ py-js2pyjoerg1-1/+2
2017-02-07Add py-js2py-0.43, a simple Javascript to Python converter.joerg4-0/+183
2017-02-07+ py-jsparserjoerg1-1/+2
2017-02-07Add py-jsparser-2.4.5, a fast Javascript parser in Python.joerg5-0/+62
2017-02-06Recursive bump for harfbuzz's new graphite2 dependency.wiz8-13/+16
2017-02-05Update nim from 0.14.2 to 0.16.0kamil3-12/+27
Upstream changelog ================== Changelog 0.16.0 Changes affecting backwards compatibility staticExec now uses the directory of the nim file that contains the staticExec call as the current working directory. TimeInfo.tzname has been removed from times module because it was broken. Because of this, the option "ZZZ" will no longer work in format strings for formatting and parsing. Library Additions Added new parameter to error proc of macro module to provide better error message Added new deques module intended to replace queues. deques provides a superset of queues API with clear naming. queues module is now deprecated and will be removed in the future. Added hideCursor, showCursor, terminalWidth, terminalWidthIoctl and terminalSize to the terminal (doc) module. Added new module distros (doc) that can be used in Nimble packages to aid in supporting the OS's native package managers. Tool Additions Compiler Additions The C/C++ code generator has been rewritten to use stable name mangling rules. This means that compile times for edit-compile-run cycles are much reduced. Language Additions The emit pragma now takes a list of Nim expressions instead of a single string literal. This list can easily contain non-strings like template parameters. This means emit works out of the box with templates and no new quoting rules needed to be introduced. The old way with backtick quoting is still supported but will be deprecated. type Vector* {.importcpp: "std::vector", header: "<vector>".}[T] = object template `[]=`*[T](v: var Vector[T], key: int, val: T) = {.emit: [v, "[", key, "] = ", val, ";"].} proc setLen*[T](v: var Vector[T]; size: int) {.importcpp: "resize", nodecl.} proc `[]`*[T](v: var Vector[T], key: int): T {.importcpp: "(#[#])", nodecl.} proc main = var v: Vector[float] v.setLen 1 v[0] = 6.0 echo v[0] The import statement now supports importing multiple modules from the same directory: import compiler / [ast, parser, lexer] Is a shortcut for: import compiler / ast, compiler / parser, compiler / lexer Bugfixes The list below has been generated based on the commits in Nim's git repository. As such it lists only the issues which have been closed via a commit, for a full list see this link on Github. Fixed "staticRead and staticExec have different working directories" (#4871) Fixed "CountTable doesn't support the '==' operator" (#4901) Fixed "documentation for module sequtls apply proc" (#4386) Fixed "Operator == for CountTable does not work." (#4946) Fixed "sysFatal (IndexError) with parseUri and the / operator" (#4959) Fixed "initialSize parameter does not work in OrderedTableRef" (#4940) Fixed "error proc from macro library could have a node parameter" (#4915) Fixed "Segfault when comparing OrderedTableRef with nil" (#4974) Fixed "Bad codegen when comparing isNil results" (#4975) Fixed "OrderedTable cannot delete entry with empty string or 0 key" (#5035) Fixed "Deleting specific keys from ordered table leaves it in invalid state." (#5057) Fixed "Paths are converted to lowercase on Windows" (#5076) Fixed "toTime(getGMTime(...)) doesn't work correctly when local timezone is not UTC" (#5065) Fixed "out of memory error from test= type proc call when parameter is a call to a table's [] proc" (#5079) Fixed "Incorrect field order in object construction" (#5055) Fixed "Incorrect codegen when importing nre with C++ backend (commit 8494338)" (#5081) Fixed "Templates, {.emit.}, and backtick interpolation do not work together" (#4730) Fixed "Regression: getType fails in certain cases" (#5129) Fixed "CreateThread doesn't accept functions with generics" (#43) Fixed "No instantiation information when template has error" (#4308) Fixed "realloc leaks" (#4818) Fixed "Regression: getType" (#5131) Fixed "Code generation for generics broken by sighashes" (#5135) Fixed "Regression: importc functions are not declared in generated C code" (#5136) Fixed "Calling split("") on string hangs program" (#5119) Fixed "Building dynamic library: undefined references (Linux)" (#4775) Fixed "Bad codegen for distinct + importc - sighashes regression" (#5137) Fixed "C++ codegen regression: memset called on a result variable of importcpp type" (#5140) Fixed "C++ codegen regression: using channels leads to broken C++ code" (#5142) Fixed "Ambiguous call when overloading var and non-var with generic type" (#4519) Fixed "[Debian]: build.sh error: unknown processor: aarch64" (#2147) Fixed "RFC: asyncdispatch.poll behaviour" (#5155) Fixed "Can't access enum members through alias (possible sighashes regression)" (#5148) Fixed "Type, declared in generic proc body, leads to incorrect codegen (sighashes regression)" (#5147) Fixed "Compiler SIGSEGV when mixing method and proc" (#5161) Fixed "Compile-time SIGSEGV when declaring .importcpp method with return value " (#3848) Fixed "Variable declaration incorrectly parsed" (#2050) Fixed "Invalid C code when naming a object member "linux"" (#5171) Fixed "[Windows] MinGW within Nim install is missing libraries" (#2723) Fixed "async: annoying warning for future.finished" (#4948) Fixed "new import syntax doesn't work?" (#5185) Fixed "Fixes #1994" (#4874) Fixed "Can't tell return value of programs with staticExec" (#1994) Fixed "startProcess() on Windows with poInteractive: Second call fails ("Alle Pipeinstanzen sind ausgelastet")" (#5179) Version 0.15.2 released We're happy to announce that the latest release of Nim, version 0.15.2, is now available! As always, you can grab the latest version from the downloads page. This release is a pure bugfix release fixing the most pressing issues and regressions of 0.15.0. For Windows we now provide zipfiles in addition to the NSIS based installer which proves to be hard to maintain and after all these months still has serious issues. So we encourage you download the .zip file instead of the .exe file! Unzip it somewhere, run finish.exe to detect your MingW installation, done. finish.exe can also set your PATH environment variable. Bugfixes The list below has been generated based on the commits in Nim's git repository. As such it lists only the issues which have been closed via a commit, for a full list see this link on Github. Fixed "NimMain not exported in DLL, but NimMainInner is" (#4840) Fixed "Tables clear seems to be broken" (#4844) Fixed "compiler: internal error" (#4845) Fixed "trivial macro breaks type checking in the compiler" (#4608) Fixed "derived generic types with static[T] breaks type checking in v0.15.0 (worked in v0.14.2)" (#4863) Fixed "xmlparser.parseXml is not recognised as GC-safe" (#4899) Fixed "async makes generics instantiate only once" (#4856) Fixed "db_common docs aren't generated" (#4895) Fixed "rdstdin disappeared from documentation index" (#3755) Fixed "ICE on template call resolution" (#4875) Fixed "Invisible code-block" (#3078) Fixed "nim doc does not generate doc comments correctly" (#4913) Fixed "nim doc2 fails on ARM when running against lib/pure/coro.nim" (#4879) Fixed "xmlparser does not unescape correctly" (#1518) Fixed "[docs] mysterious "raise hook"" (#3485) Fixed "assertion failure in non-release Nim when compiling NimYAML" (#4869) Fixed "A closure causes nimscript to fail with unhandled exception" (#4906) Fixed "startProcess changes working directory" (#4867) Fixed "bindsym to void template produces ICE" (#4808) Fixed "readline(TFile, var string) segfaults if second argument is nil" (#564) Fixed "times.parse gives the wrong day of the week for the first hour of the day." (#4922) Fixed "Internal error when passing parameter proc inside .gcsafe closure" (#4927) Fixed "Upcoming asyncdispatch doesn't compile with C++ backend on OS X" (#4928) Changelog 0.15.0 Changes affecting backwards compatibility The json module now uses an OrderedTable rather than a Table for JSON objects. The split (doc) procedure in the strutils module (with a delimiter of type set[char]) no longer strips and splits characters out of the target string by the entire set of characters. Instead, it now behaves in a similar fashion to split with string and char delimiters. Use splitWhitespace to get the old behaviour. The command invocation syntax will soon apply to open brackets and curlies too. This means that code like a [i] will be interpreted as a([i]) and not as a[i] anymore. Likewise f (a, b) means that the tuple (a, b) is passed to f. The compiler produces a warning for a [i]: Warning: a [b] will be parsed as command syntax; spacing is deprecated See Issue #3898 for the relevant discussion. Overloading the special operators ., .(), .=, () now needs to be enabled via the {.experimental.} pragma. immediate templates and macros are now deprecated. Use untyped (doc) parameters instead. The metatype expr is deprecated. Use untyped (doc) instead. The metatype stmt is deprecated. Use typed (doc) instead. The compiler is now more picky when it comes to tuple types. The following code used to compile, now it's rejected: import tables var rocketaims = initOrderedTable[string, Table[tuple[k: int8, v: int8], int64]]() rocketaims["hi"] = {(-1.int8, 0.int8): 0.int64}.toTable() Instead be consistent in your tuple usage and use tuple names for named tuples: import tables var rocketaims = initOrderedTable[string, Table[tuple[k: int8, v: int8], int64]]() rocketaims["hi"] = {(k: -1.int8, v: 0.int8): 0.int64}.toTable() Now when you compile console applications for Windows, console output encoding is automatically set to UTF-8. Unhandled exceptions in JavaScript are now thrown regardless of whether noUnhandledHandler is defined. But the stack traces should be much more readable now. In JavaScript, the system.alert procedure has been deprecated. Use dom.alert instead. De-deprecated re.nim because there is too much code using it and it got the basic API right. The type of headers field in the AsyncHttpClient type (doc) has been changed from a string table to the specialised HttpHeaders type. The httpclient.request (doc) procedure which takes the httpMethod as a string value no longer requires it to be prefixed with "http" (or similar). Converting a HttpMethod (doc) value to a string using the $ operator will give string values without the "Http" prefix now. The Request (doc) object defined in the asynchttpserver module now uses the HttpMethod type for the request method. Library Additions Added readHeaderRow and rowEntry to the parsecsv (doc) module to provide a lightweight alternative to python's csv.DictReader. Added setStdIoUnbuffered proc to the system module to enable unbuffered I/O. Added center and rsplit to the strutils (doc) module to provide similar Python functionality for Nim's strings. Added isTitle, title, swapCase, isUpper, toUpper, isLower, toLower, isAlpha, isSpace, and capitalize to the unicode.nim (doc) module to provide unicode aware case manipulation and case testing. Added a new module strmisc (doc) to hold uncommon string operations. Currently contains partition, rpartition and expandTabs. Split out walkFiles in the os (doc) module to three separate procs in order to make a clear distinction of functionality. walkPattern iterates over both files and directories, while walkFiles now only iterates over files and walkDirs only iterates over directories. Added a synchronous HttpClient in the httpclient (doc) module. The old get, post and similar procedures are now deprecated in favour of it. Added a new macro called multisync allowing you to write procedures for synchronous and asynchronous sockets with no duplication. The async macro will now complete FutureVar[T] parameters automatically unless they have been completed already. Tool Additions The documentation is now searchable and sortable by type. Pragmas are now hidden by default in the documentation to reduce noise. Edit links are now present in the documentation. Compiler Additions The -d/--define flag can now optionally take a value to be used by code at compile time. (doc) Nimscript Additions It's possible to enable and disable specific hints and warnings in Nimscript via the warning and hint procedures. Nimscript exports a proc named patchFile which can be used to patch modules or include files for different Nimble packages, including the stdlib package. Language Additions Added {.intdefine.} and {.strdefine.} macros to make use of (optional) compile time defines. (doc) If the first statement is an import system statement then system is not imported implicitly anymore. This allows for code like import system except echo or from system import nil. Bugfixes The list below has been generated based on the commits in Nim's git repository. As such it lists only the issues which have been closed via a commit, for a full list see this link on Github. Fixed "RFC: should startsWith and endsWith work with characters?" (#4252) Fixed "Feature request: unbuffered I/O" (#2146) Fixed "clear() not implemented for CountTableRef" (#4325) Fixed "Cannot close file opened async" (#4334) Fixed "Feature Request: IDNA support" (#3045) Fixed "Async: wrong behavior of boolean operations on futures" (#4333) Fixed "os.walkFiles yields directories" (#4280) Fixed "Fix #4392 and progress on #4170" (#4393) Fixed "Await unable to wait futures from objects fields" (#4390) Fixed "TMP variable name generation should be more stable" (#4364) Fixed "nativesockets doesn't compile for Android 4.x (API v19 or older) because of gethostbyaddr" (#4376) Fixed "no generic parameters allowed for ref" (#4395) Fixed "split proc in strutils inconsistent for set[char]" (#4305) Fixed "Problem with sets in devel" (#4412) Fixed "Compiler crash when using seq[PNimrodNode] in macros" (#537) Fixed "ospaths should be marked for nimscript use only" (#4249) Fixed "Repeated deepCopy() on a recursive data structure eventually crashes" (#4340) Fixed "Analyzing destructor" (#4371) Fixed "getType does not work anymore on a typedesc" (#4462) Fixed "Error in rendering empty JSON array" (#4399) Fixed "Segmentation fault when using async pragma on generic procs" (#2377) Fixed "Forwarding does not work for generics, | produces an implicit generic" (#3055) Fixed "Inside a macro, the length of the seq data inside a queue does not increase and crashes" (#4422) Fixed "compiler sigsegv while processing varargs" (#4475) Fixed "JS codegen - strings are assigned by reference" (#4471) Fixed "when statement doesn't verify syntax" (#4301) Fixed ".this pragma doesn't work with .async procs" (#4358) Fixed "type foo = range(...) crashes compiler" (#4429) Fixed "Compiler crash" (#2730) Fixed "Crash in compiler with static[int]" (#3706) Fixed "Bad error message "could not resolve"" (#3548) Fixed "Roof operator on string in template crashes compiler (Error: unhandled exception: sons is not accessible [FieldError])" (#3545) Fixed "SIGSEGV during compilation with parallel block" (#2758) Fixed "Codegen error with template and implicit dereference" (#4478) Fixed "@ in importcpp should work with no-argument functions" (#4496) Fixed "Regression: findExe raises" (#4497) Fixed "Linking error - repeated symbols when splitting into modules" (#4485) Fixed "Error: method is not a base" (#4428) Fixed "Casting from function returning a tuple fails" (#4345) Fixed "clang error with default nil parameter" (#4328) Fixed "internal compiler error: openArrayLoc" (#888) Fixed "Can't forward declare async procs" (#1970) Fixed "unittest.check and sequtils.allIt do not work together" (#4494) Fixed "httpclient package can't make SSL requests over an HTTP proxy" (#4520) Fixed "False positive warning "declared but not used" for enums." (#4510) Fixed "Explicit conversions not using converters" (#4432) Fixed "Unclear error message when importing" (#4541) Fixed "Change console encoding to UTF-8 by default" (#4417) Fixed "Typedesc ~= Generic notation does not work anymore!" (#4534) Fixed "unittest broken?" (#4555) Fixed "Operator "or" in converter types seems to crash the compiler." (#4537) Fixed "nimscript failed to compile/run -- Error: cannot 'importc' variable at compile time" (#4561) Fixed "Regression: identifier expected, but found ..." (#4564) Fixed "varargs with transformation that takes var argument creates invalid c code" (#4545) Fixed "Type mismatch when using empty tuple as generic parameter" (#4550) Fixed "strscans" (#4562) Fixed "getTypeImpl crashes (SIGSEGV) on variant types" (#4526) Fixed "Wrong result of sort in VM" (#4065) Fixed "I can't call the random[T](x: Slice[T]): T" (#4353) Fixed "invalid C code generated (function + block + empty tuple)" (#4505) Fixed "performance issue: const Table make a copy at runtime lookup." (#4354) Fixed "Compiler issue: libraries without absolute paths cannot be found correctly" (#4568) Fixed "Cannot use math.`^` with non-int types." (#4574) Fixed "C codegen fails when constructing an array using an object constructor." (#4582) Fixed "Visual Studio 10 unresolved external symbol _trunc(should we support VS2010?)" (#4532) Fixed "Cannot pass generic subtypes to proc for generic supertype" (#4528) Fixed "Lamda-lifting bug leading to crash." (#4551) Fixed "First-class iterators declared as inline are compiled at Nim side (no error message) and fail at C" (#2094) Fixed "VS2010-warning C4090 : 'function' : different 'const' qualifiers" (#4590) Fixed "Regression: type mismatch with generics" (#4589) Fixed "„can raise an unlisted exception“ when assigning nil as default value" (#4593) Fixed "upcoming asyncdispatch.closeSocket is not GC-safe" (#4606) Fixed "Visual Studio 10.0 compiler errors, 12.0 warning" (#4459) Fixed "Exception of net.newContext: result.extraInternalIndex == 0 [AssertionError]" (#4406) Fixed "error: redeclaration of 'result_115076' with no linkage" (#3221) Fixed "Compiler crashes on conversion from int to float at compile time" (#4619) Fixed "wrong number of arguments regression in devel" (#4600) Fixed "importc $ has broken error message (and is not documented)" (#4579) Fixed "Compiler segfaults on simple importcpp in js mode [regression]" (#4632) Fixed "Critical reference counting codegen problem" (#4653) Fixed "tables.nim needs lots of {.noSideEffect.}" (#4254) Fixed "Capture variable error when using => macro" (#4658) Fixed "Enum from char: internal error getInt" (#3606) Fixed "Compiler crashes in debug mode (no error in release mode) with Natural discriminant in object variants" (#2865) Fixed "SIGSEGV when access field in const object variants" (#4253) Fixed "varargs cannot be used with template converter." (#4292) Fixed "Compiler crashes when borrowing $" (#3928) Fixed "internal error: genMagicExpr: mArrPut" (#4491) Fixed "Unhelpful error message on importc namespace collision" (#4580) Fixed "Problem with openarrays and slices" (#4179) Fixed "Removing lines from end of file then rebuilding does not rebuild [js only?]" (#4656) Fixed "getCurrentException and getCurrentExceptionMsg do not work with JS" (#4635) Fixed "generic proc parameter is not inferred if type parameter has specifier" (#4672) Fixed "Cannot instantiate generic parameter when it is parent type parameter" (#4673) Fixed "deepCopy doesn't work with inheritance after last commit" (#4693) Fixed "Multi-methods don't work when passing ref to a different thread" (#4689) Fixed "Infinite loop in effect analysis on generics" (#4677) Fixed "SIGSEGV when compiling NimYAML tests" (#4699) Fixed "Closing AsyncEvent now also unregisters it on non-Windows platforms" (#4694) Fixed "Don't update handle in upcoming/asyncdispatch poll() if it was closed" (#4697) Fixed "generated local variables declared outside block" (#4721) Fixed "Footer Documentation links, & Community link point to the wrong place under news entries" (#4529) Fixed "Jester's macro magic leads to incorrect C generation" (#4088) Fixed "cas bug in atomics.nim" (#3279) Fixed "nimgrep PEG not capturing the pattern 'A'" (#4751) Fixed "GC assert triggers when assigning TableRef threadvar" (#4640) Fixed ".this pragma conflicts with experimental ptr dereferencing when names conflict" (#4671) Fixed "Generic procs accepting var .importcpp type do not work [regression]" (#4625) Fixed "C Error on tuple assignment with array" (#4626) Fixed "module securehash not gcsafe" (#4760) Fixed "Nimble installation failed on Windows x86." (#4764) Fixed "Recent changes to marshal module break old marshalled data" (#4779) Fixed "tnewasyncudp.nim test loops forever" (#4777) Fixed "Wrong poll timeout behavior in asyncdispatch" (#4262) Fixed "Standalone await shouldn't read future" (#4170) Fixed "Regression: httpclient fails to compile without -d:ssl" (#4797) Fixed "C Error on declaring array of heritable objects with bitfields" (#3567) Fixed "Corruption when using Channels and Threads" (#4776) Fixed "Sometimes Channel tryRecv() erroneously reports no messages available on the first call on Windows" (#4746) Fixed "Improve error message of functions called without parenthesis" (#4813) Fixed "Docgen doesn't find doc comments in macro generated procs" (#4803) Fixed "asynchttpserver may consume unbounded memory reading headers" (#3847) Fixed "TLS connection to api.clashofclans.com hangs forever." (#4587)
2017-02-04Revert previous. "+" is a valid terminator for find -exec, andwiz1-2/+2
the change broke basically all python packages on at least NetBSD.
2017-02-04Escape the semicolon to terminate exec statement.sevan1-2/+2
Heads up by jperkin@
2017-02-04Update to 1.8.121ryoon2-9/+8
Changelog: http://www.oracle.com/technetwork/java/javase/8u121-relnotes-3315208.html core-libs/javax.naming Improved protection for JNDI remote class loading Remote class loading via JNDI object factories stored in naming and directory services is disabled by default. To enable remote class loading by the RMI Registry or COS Naming service provider, set the following system property to the string "true", as appropriate: com.sun.jndi.rmi.object.trustURLCodebase com.sun.jndi.cosnaming.object.trustURLCodebase JDK-8158997 (not public) security-libs/java.security jarsigner -verbose -verify should print the algorithms used to sign the jar The jarsigner tool has been enhanced to show details of the algorithms and keys used to generate a signed JAR file and will also provide an indication if any of them are considered weak. Specifically, when "jarsigner -verify -verbose filename.jar" is called, a separate section is printed out showing information of the signature and timestamp (if it exists) inside the signed JAR file, even if it is treated as unsigned for various reasons. If any algorithm or key used is considered weak, as specified in the Security property, jdk.jar.disabledAlgorithms, it will be labeled with "(weak)". For example: - Signed by "CN=weak_signer" Digest algorithm: MD2 (weak) Signature algorithm: MD2withRSA (weak), 512-bit key (weak) Timestamped by "CN=strong_tsa" on Mon Sep 26 08:59:39 CST 2016 Timestamp digest algorithm: SHA-256 Timestamp signature algorithm: SHA256withRSA, 2048-bit key See JDK-8163304 New Features core-libs/java.io:serialization Serialization Filter Configuration Serialization Filtering introduces a new mechanism which allows incoming streams of object-serialization data to be filtered in order to improve both security and robustness. Every ObjectInputStream applies a filter, if configured, to the stream contents during deserialization. Filters are set using either a system property or a configured security property. The value of the "jdk.serialFilter" patterns are described in JEP 290 Serialization Filtering and in <JRE>/lib/security/java.security. Filter actions are logged to the 'java.io.serialization' logger, if enabled. See JDK-8155760 core-libs/java.rmi RMI Better constraint checking RMI Registry and Distributed Garbage Collection use the mechanisms of JEP 290 Serialization Filtering to improve service robustness. RMI Registry and DGC implement built-in white-list filters for the typical classes expected to be used with each service. Additional filter patterns can be configured using either a system property or a security property. The "sun.rmi.registry.registryFilter" and "sun.rmi.transport.dgcFilter" property pattern syntax is described in JEP 290 and in <JRE>/lib/security/java.security. JDK-8156802 (not public) security-libs Add mechanism to allow non-default root CAs to not be subject to algorithm restrictions *New certpath constraint: jdkCA* In the java.security file, an additional constraint named "jdkCA" is added to the jdk.certpath.disabledAlgorithms property. This constraint prohibits the specified algorithm only if the algorithm is used in a certificate chain that terminates at a marked trust anchor in the lib/security/cacerts keystore. If the jdkCA constraint is not set, then all chains using the specified algorithm are restricted. jdkCA may only be used once in a DisabledAlgorithm expression. Example: To apply this constraint to SHA-1 certificates, include the following: SHA1 jdkCA See JDK-8140422 Changes tools/javadoc(tool) New --allow-script-in-comments option for javadoc The javadoc tool will now reject any occurrences of JavaScript code in the javadoc documentation comments and command-line options, unless the command-line option, --allow-script-in-comments is specified. With the --allow-script-in-comments option, the javadoc tool will preserve JavaScript code in documentation comments and command-line options. An error will be given by the javadoc tool if JavaScript code is found and the command-line option is not set. JDK-8138725 (not public) security-libs/javax.xml.crypto Increase the minimum key length to 1024 for XML Signatures The secure validation mode of the XML Signature implementation has been enhanced to restrict RSA and DSA keys less than 1024 bits by default as they are no longer secure enough for digital signatures. Additionally, a new security property named jdk.xml.dsig.SecureValidationPolicy has been added to the java.security file and can be used to control the different restrictions enforced when the secure validation mode is enabled. The secure validation mode is enabled either by setting the xml signature property org.jcp.xml.dsig.secureValidation to true with the javax.xml.crypto.XMLCryptoContext.setProperty method, or by running the code with a SecurityManager. If an XML Signature is generated or validated with a weak RSA or DSA key, an XMLSignatureException will be thrown with the message, "RSA keys less than 1024 bits are forbidden when secure validation is enabled" or "DSA keys less than 1024 bits are forbidden when secure validation is enabled." JDK-8140353 (not public) docs/release_notes Restrict certificates with DSA keys less than 1024 bits. DSA keys less than 1024 bits are not strong enough and should be restricted in certification path building and validation. Accordingly, DSA keys less than 1024 bits have been deactivated by default by adding "DSA keySize < 1024" to the "jdk.certpath.disabledAlgorithms" security property. Applications can update this restriction in the security property ("jdk.certpath.disabledAlgorithms") and permit smaller key sizes if really needed (for example, "DSA keySize < 768"). JDK-8139565 (not public) security-libs More checks added to DER encoding parsing code More checks are added to the DER encoding parsing code to catch various encoding errors. In addition, signatures which contain constructed inparsing. Note that signatures generated using JDK default providers are not affected by this change. JDK-8168714 (not public) core-libs/java.net Additional access restrictions for URLClassLoader.newInstance Class loaders created by the java.net.URLClasslasses from a list of given URLs. If the calling code does not have access to one or more of the URLs and the URL artifacts that can be accessed do not contain the required class, then a ClassNotFoundException, or similar, will be thrown. Previously, a Sege can be disabled by setting the jdk.net.URLClassPath.disableRestrictedPermissions system property. JDK-8151934 (not public) core-libs/java.util.logging A new configurable property in logging.properties java.util.logging.FileHandler.maxLocks A new "java.util.logging.FileHandler.maxLocks" configurable property is added to java.util.logging.FileHandler. This new logging property can be defined in the logging configuration file and makes it possible to configure the maximum number of concurrent log file locks a FileHandler can handle. The default value is 100. In a highly concurrent environment where multiple (more than 101) standalone client applications are using the JDK Logging API with FileHandler simultaneously, it may happen that the default limit of 100 is reached, resulting in a failure to acquire FileHandler file locks and causing an IO Exception to be thrown. In such a case, the new logging property can be used to increase the maximum number of locks before deploying the application. If not overridden, the default value of maxLocks (100) remains unchanged. See java.util.logging.LogManager and java.util.logging.FileHandler API documentation for more details. See JDK-8153955 Bug Fixes The following are some of the notable bug fixes included in this release: client-libs/javax.swing Trackpad scrolling of text on OS X 10.12 Sierra is very fast The MouseWheelEvent.getWheelRotation() method returned rounded native NSEvent deltaX/Y events on Mac OS X. The latest macOS Sierra 10.12 produces very small NSEvent deltaX/Y values so rounding and summing them leads to the huge value returned from the MouseWheelEvent.getWheelRotation(). The JDK-8166591 fix accumulates NSEvent deltaX/Y and the MouseWheelEvent.getWheelRotation() method returns non-zero values only when the accumulated value exceeds a threshold and zero value. This is compliant with the MouseWheelEvent.getWheelRotation() specification (https://docs.oracle.com/javase/8/docs/api/java/awt/event/MouseWheelEvent.html#getWheelRotation): "Returns the number of "clicks" the mouse wheel was rotated, as an integer. A partial rotation may occur if the mouse supports a high-resolution wheel. In this case, the method returns zero until a full "click" has been accumulated." For the precise wheel rotation values, use the MouseWheelEvent.getPreciseWheelRotation() method instead. See JDK-8166591 This release also contains fixes for security vulnerabilities described in the Oracle Java SE Critical Patch Update Advisory. For a more complete list of the bug fixes included in this release, see the JDK 8u121 Bug Fixes page. Known Issues deploy/packager javapackager and fx:deploy bundle the whole JDK instead of JRE There is a known bug in the Java Packager for Mac where the entire JDK may be bundled with the application bundle resulting in an unusually large bundle. The work around is to use the bundler option -Bruntime option. For example: -Bruntime=JavaAppletPlugin.plugin sets where the JavaAppletPlugin.plugin for the desired JRE to bundle is located in the current directory. See JDK-8166835 install/install Java Installation will fail for non-admin users with UAC off The Java installation on Windows will fail without warning or prompting, for non-admin users with User Access Control (UAC) disabled. The installer will leave a directory, jds<number>.tmp, in the %TEMP% directory. JDK-8161460 (not public)
2017-02-01Put back bdb bl3, required for the dbm module.jperkin3-3/+6
2017-02-01Put back bdb bl3, required for the dbm module.jperkin1-1/+2
2017-01-30Update to 1.7.5wen3-8/+10
Upstream changes: go1.7.5 (released 2017/01/26) includes fixes to the compiler, runtime, and the crypto/x509 and time packages. See the Go 1.7.5 milestone on our issue tracker for details.
2017-01-27Changes 5.24.1:adam2-7/+7
* -Di switch is now required for PerlIO debugging output * Core modules and tools no longer search "." for optional modules * Updated Modules and Pragmata
2017-01-26Do not install bsddb185 module by default.wiz4-41/+35
Bump PKGREVISION. Based on patch from Jesus Cea on tech-pkg. If you need this module, let me know and we can package it separately.
2017-01-26Remove obsolete bsddb bits carried over from python2. Patch from jcea injperkin9-45/+18
joyent/pkgsrc#457.
2017-01-26Again, remove platform name from config path; also remove _multiarch ↵adam6-27/+44
component in get_makefile_filename() to reflect the former change.
2017-01-26php71: don't disable pcre-jit on amd64maya1-3/+4
(accidentially commented out condition). now bump pkgrevision.
2017-01-25Fix packaging on NetBSD (and hopefully other platforms)ryoon2-3/+17
* Always include a platform string in a config directory name
2017-01-25Revert config directory naming to include platform name, so ↵adam4-28/+17
sysconfig.get_makefile_filename() works again.
2017-01-25Fix building on macOS: disable multilib (it requires fat-binaries); now ↵adam2-2/+12
builds without Command Line Tools.