summaryrefslogtreecommitdiff
path: root/devel
AgeCommit message (Collapse)AuthorFilesLines
2016-08-20Fix the test target.alnsn3-4/+16
2016-08-20New package, go-termbox.bsiegert6-1/+87
Termbox is a library that provides a minimalistic API which allows the programmer to write text-based user interfaces. The library is crossplatform and has both terminal-based implementations on *nix operating systems and a winapi console based implementation for windows operating systems. The basic idea is an abstraction of the greatest common subset of features available on all major terminals and other terminal-like APIs in a minimalistic fashion. Small API means it is easy to implement, test, maintain and learn it, that's what makes the termbox a distinct library in its area.
2016-08-20Revbump packages using Go for Go 1.7 release.bsiegert11-18/+22
2016-08-19Update git* to 2.9.3.wiz2-7/+7
Fixes since v2.9.2 ------------------ * A helper function that takes the contents of a commit object and finds its subject line did not ignore leading blank lines, as is commonly done by other codepaths. Make it ignore leading blank lines to match. * Git does not know what the contents in the index should be for a path added with "git add -N" yet, so "git grep --cached" should not show hits (or show lack of hits, with -L) in such a path, but that logic does not apply to "git grep", i.e. searching in the working tree files. But we did so by mistake, which has been corrected. * "git rebase -i --autostash" did not restore the auto-stashed change when the operation was aborted. * "git commit --amend --allow-empty-message -S" for a commit without any message body could have misidentified where the header of the commit object ends. * More mark-up updates to typeset strings that are expected to literally typed by the end user in fixed-width font. * For a long time, we carried an in-code comment that said our colored output would work only when we use fprintf/fputs on Windows, which no longer is the case for the past few years. * "gc.autoPackLimit" when set to 1 should not trigger a repacking when there is only one pack, but the code counted poorly and did so. * One part of "git am" had an oddball helper function that called stuff from outside "his" as opposed to calling what we have "ours", which was not gender-neutral and also inconsistent with the rest of the system where outside stuff is usuall called "theirs" in contrast to "ours". * The test framework learned a new helper test_match_signal to check an exit code from getting killed by an expected signal. * "git blame -M" missed a single line that was moved within the file. * Fix recently introduced codepaths that are involved in parallel submodule operations, which gave up on reading too early, and could have wasted CPU while attempting to write under a corner case condition. * "git grep -i" has been taught to fold case in non-ascii locales correctly. * A test that unconditionally used "mktemp" learned that the command is not necessarily available everywhere. * "git blame file" allowed the lineage of lines in the uncommitted, unadded contents of "file" to be inspected, but it refused when "file" did not appear in the current commit. When "file" was created by renaming an existing file (but the change has not been committed), this restriction was unnecessarily tight. * "git add -N dir/file && git write-tree" produced an incorrect tree when there are other paths in the same directory that sorts after "file". * "git fetch http://user:pass [at] hos/repo..." scrubbed the userinfo part, but "git push" didn't. * An age old bug that caused "git diff --ignore-space-at-eol" misbehave has been fixed. * "git notes merge" had a code to see if a path exists (and fails if it does) and then open the path for writing (when it doesn't). Replace it with open with O_EXCL. * "git pack-objects" and "git index-pack" mostly operate with off_t when talking about the offset of objects in a packfile, but there were a handful of places that used "unsigned long" to hold that value, leading to an unintended truncation. * Recent update to "git daemon" tries to enable the socket-level KEEPALIVE, but when it is spawned via inetd, the standard input file descriptor may not necessarily be connected to a socket. Suppress an ENOTSOCK error from setsockopt(). * Recent FreeBSD stopped making perl available at /usr/bin/perl; switch the default the built-in path to /usr/local/bin/perl on not too ancient FreeBSD releases. * "git status" learned to suggest "merge --abort" during a conflicted merge, just like it already suggests "rebase --abort" during a conflicted rebase. * The .c/.h sources are marked as such in our .gitattributes file so that "git diff -W" and friends would work better. * Existing autoconf generated test for the need to link with pthread library did not check all the functions from pthread libraries; recent FreeBSD has some functions in libc but not others, and we mistakenly thought linking with libc is enough when it is not. * Allow http daemon tests in Travis CI tests. * Users of the parse_options_concat() API function need to allocate extra slots in advance and fill them with OPT_END() when they want to decide the set of supported options dynamically, which makes the code error-prone and hard to read. This has been corrected by tweaking the API to allocate and return a new copy of "struct option" array. * The use of strbuf in "git rm" to build filename to remove was a bit suboptimal, which has been fixed. * "git commit --help" said "--no-verify" is only about skipping the pre-commit hook, and failed to say that it also skipped the commit-msg hook. * "git merge" in Git v2.9 was taught to forbid merging an unrelated lines of history by default, but that is exactly the kind of thing the "--rejoin" mode of "git subtree" (in contrib/) wants to do. "git subtree" has been taught to use the "--allow-unrelated-histories" option to override the default. * The build procedure for "git persistent-https" helper (in contrib/) has been updated so that it can be built with more recent versions of Go. * There is an optimization used in "git diff $treeA $treeB" to borrow an already checked-out copy in the working tree when it is known to be the same as the blob being compared, expecting that open/mmap of such a file is faster than reading it from the object store, which involves inflating and applying delta. This however kicked in even when the checked-out copy needs to go through the convert-to-git conversion (including the clean filter), which defeats the whole point of the optimization. The optimization has been disabled when the conversion is necessary. * "git -c grep.patternType=extended log --basic-regexp" misbehaved because the internal API to access the grep machinery was not designed well. * Windows port was failing some tests in t4130, due to the lack of inum in the returned values by its lstat(2) emulation. * The characters in the label shown for tags/refs for commits in "gitweb" output are now properly escaped for proper HTML output. * FreeBSD can lie when asked mtime of a directory, which made the untracked cache code to fall back to a slow-path, which in turn caused tests in t7063 to fail because it wanted to verify the behaviour of the fast-path. * Squelch compiler warnings for netmalloc (in compat/) library. * The API documentation for hashmap was unclear if hashmap_entry can be safely discarded without any other consideration. State that it is safe to do so. * Not-so-recent rewrite of "git am" that started making internal calls into the commit machinery had an unintended regression, in that no matter how many seconds it took to apply many patches, the resulting committer timestamp for the resulting commits were all the same. * "git difftool <paths>..." started in a subdirectory failed to interpret the paths relative to that directory, which has been fixed. Also contains minor documentation updates and code clean-ups.
2016-08-19Updated libuuid to 2.28.1.wiz3-13/+22
Browsing the changelog, I see no relevant changes.
2016-08-19Updated py-virtualenv to 15.0.3.wiz3-10/+9
15.0.3 (2016-08-05) Test for given python path actually being an executable file, #939 Only search for copy actual existing Tcl/Tk directories (PR #937) Generically search for correct Tcl/Tk version (PR #926, PR #933) Upgrade setuptools to 22.0.5
2016-08-19Updated py-setuptools to 25.2.0.wiz2-7/+7
v25.2.0 ------- * #612 via #730: Add a LICENSE file which needs to be provided by the terms of the MIT license. v25.1.6 ------- * #725 v25.1.5 ------- * #720 * #723 v25.1.4 ------- * #717 * #713 * #707 via #715 v25.1.3 ------- * #714 and #704: Revert fix as it breaks other components downstream that can't handle unicode. See #709, #710, and #712. v25.1.2 ------- * #704: Fix errors when installing a zip sdist that contained files named with non-ascii characters on Windows would crash the install when it attempted to clean up the build. * #646: MSVC compatibility - catch errors properly in RegistryInfo.lookup. * #702: Prevent UnboundLocalError when initial working_set is empty.
2016-08-19Updated p5-Path-Class to 0.37.wiz2-8/+7
0.37 Sat Aug 13 21:33:23 CDT 2016 - Doc update for contains/subsumes [1916528] - Fix "contains" when $self is a relative path - #43 [1c01e86] - Handle case where $other evaluates false [70e4b6b] - Add additional test cases for contains and subsumes [434f244] - Test with Perl 5.24 [a4d2d73]
2016-08-19Updated p5-List-SomeUtils to 0.53.wiz2-9/+7
0.53 2016-08-14 - Replaced Exporter::Tiny with Exporter.
2016-08-19Updated p5-Try-Tiny to 0.27.wiz2-8/+7
0.27 2016-08-16 01:43:35Z - repository moved to the github p5sagit organization (the primary is on shadowcat, mirrored to github) - no changes since 0.26 0.26 2016-03-15 23:42:02Z (TRIAL RELEASE) - switch from finalizers using an array to a hash, to resolve segfaults when creating a pseudofork on MSWin before perl 5.20 (Graham Knop, karenetheridge/Sub-Name/#3) 0.25 2016-02-22 20:16:51Z (TRIAL RELEASE) - "finally" blocks are now run for all methods of leaving the try block (including via exit, goto) (Lukas Mai, RT#112099)
2016-08-19Added buildlink3.mk file. No upstream changes.jaapb1-0/+13
2016-08-19Updated devel/p5-Devel-ebug to 0.57mef2-8/+7
----------------------------------- 0.57 2016.08.11 - Set up travisci - Localize $/ to avoid hang (plicease) - Add dist metadata. Some other things (plicease) - Fix to work with newer stacktrace (picease)
2016-08-19Updated devel/p5-Devel-PatchPerl to 1.44mef2-8/+7
---------------------------------------- version 1.44 at 2016-08-18 11:38:32 +0000 ----------------------------------------- Date : 2016-08-18 12:38:32 +0000 Updated hints for darwin, freebsd and gnu (hurd)
2016-08-19pdated afl to 2.31b.wiz3-18/+20
-------------- Version 2.31b: -------------- - Changed havoc cycle counts for a marked performance boost, especially with -S / -d. See the discussion of FidgetyAFL in: https://groups.google.com/forum/#!topic/afl-users/fOPeb62FZUg While this does not implement the approach proposed by the authors of the CCS paper, the solution is a result of digging into that research; more improvements may follow as I do more experiments and get more definitive data. -------------- Version 2.30b: -------------- - Made minor improvements to persistent mode to avoid the remote possibility of "no instrumentation detected" issues with very low instrumentation densities. - Fixed a minor glitch with a leftover process in persistent mode. Reported by Jakub Wilk and Daniel Stender. - Made persistent mode bitmaps a bit more consistent and adjusted the way this is shown in the UI, especially in persistent mode. -------------- Version 2.29b: -------------- - Made a minor #include fix to llvm_mode. Suggested by Jonathan Metzman. - Made cosmetic updates to the docs. -------------- Version 2.28b: -------------- - Added "life pro tips" to docs/. - Moved testcases/_extras/ to dictionaries/ for visibility. - Made minor improvements to install scripts. - Added an important safety tip. -------------- Version 2.27b: -------------- - Added libtokencap, a simple feature to intercept strcmp / memcmp and generate dictionary entries that can help extend coverage. - Moved libdislocator to its own dir, added README. - The demo in experimental/instrumented_cmp is no more. -------------- Version 2.26b: -------------- - Made a fix for libdislocator.so to compile on MacOS X. - Added support for DYLD_INSERT_LIBRARIES. - Renamed AFL_LD_PRELOAD to AFL_PRELOAD. -------------- Version 2.25b: -------------- - Made some cosmetic updates to libdislocator.so, renamed one env variable. -------------- Version 2.24b: -------------- - Added libdislocator.so, an experimental, abusive allocator. Try it out with AFL_LD_PRELOAD=/path/to/libdislocator.so when running afl-fuzz.
2016-08-19Update to 0.22wen2-7/+8
Add missing BUILD_DEPENDS Upstream changes: 0.22 2016-08-19 03:45:32Z - properly find the list of modules to test (regression since 0.19)
2016-08-19Update to 0.21wen2-7/+8
Upstream changes: 0.21 2016-08-16 01:31:28Z - no changes since 0.20 0.20 2016-06-19 02:41:02Z (TRIAL RELEASE) - switch to plain old Exporter, removing build_* subs from the API,
2016-08-19Update to 0.19wen2-8/+7
Upstream changes: 0.19 2016-08-18 18:52:33Z - fix checking of SvUTF8 flag 0.18 2016-08-16 01:07:54Z - no changes since 0.17 0.17 2016-06-27 22:45:27Z (TRIAL RELEASE) - fixed parsing error where the name contains a single colon but the last separator is :: (Leon Timmermans) 0.16 2016-06-21 03:41:40Z (TRIAL RELEASE) - support binary and unicode symbol names (Leon Timmermans, Aristotle Pagaltzis, Peter Rabbitson, Reini Urban, PR#8)
2016-08-19Update to 0.374wen2-8/+7
Upstream changes: 0.374 2016-08-16 - Spelling fix (thanks to gregor herrmann rt-116399).
2016-08-18py-dot is ready for python-3.x now.wiz1-2/+1
2016-08-18update to Mako-1.0.4richard3-9/+8
.. changelog:: :version: 1.0.4 :released: Thu Mar 10 2016 .. change:: :tags: feature, test The default test runner is now py.test. Running "python setup.py test" will make use of py.test instead of nose. nose still works as a test runner as well, however. .. change:: :tags: bug, lexer :pullreq: github:19 Major improvements to lexing of intricate Python sections which may contain complex backslash sequences, as well as support for the bitwise operator (e.g. pipe symbol) inside of expression sections distinct from the Mako "filter" operator, provided the operator is enclosed within parentheses or brackets. Pull request courtesy Daniel Martin. .. change:: :tags: feature :pullreq: bitbucket:16 Added new method :meth:`.Template.list_defs`. Pull request courtesy Jonathan Vanasco. .. changelog:: :version: 1.0.3 :released: Tue Oct 27 2015 .. change:: :tags: bug, babel :pullreq: bitbucket:21 Fixed an issue where the Babel plugin would not handle a translation symbol that contained non-ascii characters. Pull request courtesy Roman Imankulov. .. changelog:: :version: 1.0.2 :released: Wed Aug 26 2015 .. change:: :tags: bug, installation :tickets: 249 The "universal wheel" marker is removed from setup.cfg, because our setup.py currently makes use of conditional dependencies. In :ticket:`249`, the discussion is ongoing on how to correct our setup.cfg / setup.py fully so that we can handle the per-version dependency changes while still maintaining optimal wheel settings, so this issue is not yet fully resolved. .. change:: :tags: bug, py3k :tickets: 250 Repair some calls within the ast module that no longer work on Python3.5; additionally replace the use of ``inspect.getargspec()`` under Python 3 (seems to be called from the TG plugin) to avoid deprecation warnings. .. change:: :tags: bug :pullreq: bitbucket:18 Update the Lingua translation extraction plugin to correctly handle templates mixing Python control statements (such as if, for and while) with template fragments. Pull request courtesy Laurent Daverio. .. change:: :tags: feature :tickets: 236 Added ``STOP_RENDERING`` keyword for returning/exiting from a template early, which is a synonym for an empty string ``""``. Previously, the docs suggested a bare ``return``, but this could cause ``None`` to appear in the rendered template result. .. seealso:: :ref:`syntax_exiting_early`
2016-08-18Updated package to latest version, 2.8.1. Changes include:jaapb4-24/+15
* Features/Changes ** Compiler: reduce memory usage for shortvar ** Lib: Add optional `prefix` arg to Jsonp.call ** Ppx: add ppx_driver compatibility * Bug fixes ** Lib: fix Js.object_keys, Js.export ** Lib: Async, do not ignore unhandled exceptions
2016-08-18Updated devel/p5-File-ShareDir-Install to 0.11mef2-8/+7
---------------------------------------------- 0.11 2016-08-08 02:50:03Z - release with new tooling, from the Perl-Toolchain-Gang organization
2016-08-18Update to 1.5.0ryoon4-38/+17
Changelog: * Thu Apr 14 2016 Sundeep Anand <suanand@redhat.com> - 1.5.0 - ZNTA-946 - zanata push StringIO fix - ZNTA-303 - podir projects handling - ZNTA-936 - redirection 301, 302 handling - ZNTA-934 - java-client compatible zanata.xml - ZNTA-927 - Project Status and Versions - ZNTA-929 - zanata-python-client failed to retrieve version in non-git environment - Bug 1139950 - Flexible Translation file naming
2016-08-18remove duplicated devel/py-cycler which can be found now in graphics/richard5-34/+1
2016-08-18Added patch filejaapb2-2/+21
2016-08-18Updated package to unreleased version, 114.01+04. This was necessaryjaapb4-37/+21
because the version in pkgsrc currently does not compile, and the changes needed are not yet in the release. Changes include: * Use the new context-free API * Change a behavior in ppx_type_conv: attributes inside the type definition such as @default are not removed. This is not really a big deal as we still check that they are used. We could restore this bevavior with a full pass at the end to remove used attributes.
2016-08-18Updated package to unreleased version 113.45.68, based on a GitHub tag.jaapb5-38/+54
This was necessary beacuse the latest released version does not compile with pkgsrc (and an update is needed to make devel/ocaml-ppx_type_conv compile)to make devel/ocaml-ppx_type_conv compile). Changes include: * Update for the new context free API
2016-08-18Updated package to version 114.01+04. This is an unreleased version basedjaapb5-36/+49
on a GitHub tag; reason for this is that the latest released version, 113.33.03, does not compile with pkgsrc. The patches for this are already in GitHub, hence this update. Changes include: * We currently reject code which contains attribute on constructor inside polymorphic variant types definition. The reason is that while there is a dedicated place for them in the AST, the surface syntax didn't allow one to write such attributes. This won't be true anymore once we switch to 4.03 as documentation comments present in these locations get turned into attributes. * accept attributes on object types fields. * Make all ppx rewriters context free. We currently have an API for context free extension expanders but other kind of transformations still require a full AST traversal, even though they are all local transformations. This features adds the necessary bits to make it possible to merge all the transformations in one pass. This both improve speed and semantic. Speed as we do less passes, and semantic as the resulting AST is completely independent of the order in which transformations are listed in jbuild files. Passes before this feature: $ ppx.exe -print-passes <builtin:freshen-and-collect-attributes> <bultin:context-free> type_conv custom_printf expect_test fail js_style pipebang <builtin:check-unused-attributes> <builtin:check-unused-extensions> After: <builtin:freshen-and-collect-attributes> <bultin:context-free> js_style <builtin:check-unused-attributes> <builtin:check-unused-extensions> The resulting driver is about twice faster, which might help compilation speed.
2016-08-18Updated package to latest release, 2.5.2. Package upstream has movedjaapb3-12/+16
to github. Changes include: - BatIO: make the ?cleanup parameter of BatIO.input_channel true by default: closing the returned input will close the underlying input channel #109, #489 (Simon Cruanes, report by Michael Ekstrand) - BatArray: add split : 'a BatOrd.ord -> 'a array -> 'a -> int * int search for the range equal to a given element in a sorted array #443, #470 (Simon Cruanes, Gabriel Scherer, request by Fran?ois Berenger) - BatEnum: BatEnum.combine is now curried, just like List.combine, its signature changes from: val combine: 'a t * 'b t -> ('a * 'b) t to val combine: 'a t -> 'b t -> ('a * 'b) t #578 (Fran?ois Berenger) - PSet: add a ?cmp argument to every function that creates a PSet: of_enum, of_list, of_array are changed. The default value is Pervasives.compare. #679 (Cedric Cellier)
2016-08-18Updated devel/acr to 0.10.5mef2-7/+7
--------------------------- ChangeLog unknown, https://github.com/radare/acr/releases says just Release 0.10.5
2016-08-17Updated package to latest version, 4.0. Changes include:jaapb3-10/+10
Show, eq, ord, map, iter, fold: add support for Result.result. Ppx_deriving.Arg: use Result.result instead of polymorphic variants. Ppx_deriving.sanitize: parameterize over an opened module. Add support for [@@deriving] in module type declarations. Add support for loading findlib packages instead of just files in ppx_deriving_main. Treat types explicitly qualified with Pervasives also as builtin. Compatibility with statically linked ppx drivers.
2016-08-17Added ocaml-result to SUBDIRsjaapb1-1/+2
2016-08-17Created a new package, devel/ocaml-result. This is a compatibility libraryjaapb6-0/+72
so that packages can remain compatible with OCaml <= 4.03 while using the Result type.
2016-08-17update to hgnested-0.8richard2-9/+9
CHANGES: Version 0.8 - 2016-08-10 * Add support for mercurial 3.8 and 3.9 * Drop support for mercurial 3.5 * Add support for mercurial 3.6 Version 0.7 - 2015-08-26 * Improve performance by skipping .hg directories * Add support for tortoisehg * Add nshare command * Drop support for mercurial 2.8
2016-08-17Update devel/libbson to 1.4.0.fhajny4-14/+32
- bson_reader_reset seeks to the beginning of a BSON buffer. - bson_steal efficiently transfers contents from one bson_t to another. - Fix Windows compile error with BSON_EXTRA_ALIGN disabled. - Potential buffer overrun in bson_strndup. - bson_oid_to_string optimization for MS Visual Studio - bson_oid_is_valid accepts uppercase hex characters. - bson_json_reader_read aborted on some invalid Extended JSON documents. - All man page names now begin with "bson_" to avoid install conflicts. - Error messages sometimes truncated at 63 chars.
2016-08-17update to pyparsing-2.1.8richard2-7/+7
========== Change Log ========== Version 2.1.8 - ------------------------------ - Fixed issue in the optimization to _trim_arity, when the full stacktrace is retrieved to determine if a TypeError is raised in pyparsing or in the caller's parse action. Code was traversing the full stacktrace, and potentially encountering UnicodeDecodeError. - Fixed bug in ParserElement.inlineLiteralsUsing, causing infinite loop with Suppress. - Fixed bug in Each, when merging named results from multiple expressions in a ZeroOrMore or OneOrMore. Also fixed bug when ZeroOrMore expressions were erroneously treated as required expressions in an Each expression. - Added a few more inline doc examples. - Improved use of runTests in several example scripts. Version 2.1.7 - ------------------------------ - Fixed regression reported by Andrea Censi (surfaced in PyContracts tests) when using ParseSyntaxExceptions (raised when using operator '-') with packrat parsing. - Minor fix to oneOf, to accept all iterables, not just space-delimited strings and lists. (If you have a list or set of strings, it is not necessary to concat them using ' '.join to pass them to oneOf, oneOf will accept the list or set or generator directly.) Version 2.1.6 - ------------------------------ - *Major packrat upgrade*, inspired by patch provided by Tal Einat - many, many, thanks to Tal for working on this! Tal's tests show faster parsing performance (2X in some tests), *and* memory reduction from 3GB down to ~100MB! Requires no changes to existing code using packratting. (Uses OrderedDict, available in Python 2.7 and later. For Python 2.6 users, will attempt to import from ordereddict backport. If not present, will implement pure-Python Fifo dict.) - Minor API change - to better distinguish between the flexible numeric types defined in pyparsing_common, I've changed "numeric" (which parsed numbers of different types and returned int for ints, float for floats, etc.) and "number" (which parsed numbers of int or float type, and returned all floats) to "number" and "fnumber" respectively. I hope the "f" prefix of "fnumber" will be a better indicator of its internal conversion of parsed values to floats, while the generic "number" is similar to the flexible number syntax in other languages. Also fixed a bug in pyparsing_common.numeric (now renamed to pyparsing_common.number), integers were parsed and returned as floats instead of being retained as ints. - Fixed bug in upcaseTokens and downcaseTokens introduced in 2.1.5, when the parse action was used in conjunction with results names. Reported by Steven Arcangeli from the dql project, thanks for your patience, Steven! - Major change to docs! After seeing some comments on reddit about general issue with docs of Python modules, and thinking that I'm a little overdue in doing some doc tuneup on pyparsing, I decided to following the suggestions of the redditor and add more inline examples to the pyparsing reference documentation. I hope this addition will clarify some of the more common questions people have, especially when first starting with pyparsing/Python. - Deprecated ParseResults.asXML. I've never been too happy with this method, and it usually forces some unnatural code in the parsers in order to get decent tag names. The amount of guesswork that asXML has to do to try to match names with values should have been a red flag from day one. If you are using asXML, you will need to implement your own ParseResults->XML serialization. Or consider migrating to a more current format such as JSON (which is very easy to do: results_as_json = json.dumps(parse_result.asDict()) Hopefully, when I remove this code in a future version, I'll also be able to simplify some of the craziness in ParseResults, which IIRC was only there to try to make asXML work. - Updated traceParseAction parse action decorator to show the repr of the input and output tokens, instead of the str format, since str has been simplified to just show the token list content. (The change to ParseResults.__str__ occurred in pyparsing 2.0.4, but it seems that didn't make it into the release notes - sorry! Too many users, especially beginners, were confused by the "([token_list], {names_dict})" str format for ParseResults, thinking they were getting a tuple containing a list and a dict. The full form can be seen if using repr().) For tracing tokens in and out of parse actions, the more complete repr form provides important information when debugging parse actions. Verison 2.1.5 - June, 2016 ------------------------------ - Added ParserElement.split() generator method, similar to re.split(). Includes optional arguments maxsplit (to limit the number of splits), and includeSeparators (to include the separating matched text in the returned output, default=False). - Added a new parse action construction helper tokenMap, which will apply a function and optional arguments to each element in a ParseResults. So this parse action: def lowercase_all(tokens): return [str(t).lower() for t in tokens] OneOrMore(Word(alphas)).setParseAction(lowercase_all) can now be written: OneOrMore(Word(alphas)).setParseAction(tokenMap(str.lower)) Also simplifies writing conversion parse actions like: integer = Word(nums).setParseAction(lambda t: int(t[0])) to just: integer = Word(nums).setParseAction(tokenMap(int)) If additional arguments are necessary, they can be included in the call to tokenMap, as in: hex_integer = Word(hexnums).setParseAction(tokenMap(int, 16)) - Added more expressions to pyparsing_common: . IPv4 and IPv6 addresses (including long, short, and mixed forms of IPv6) . MAC address . ISO8601 date and date time strings (with named fields for year, month, etc.) . UUID (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) . hex integer (returned as int) . fraction (integer '/' integer, returned as float) . mixed integer (integer '-' fraction, or just fraction, returned as float) . stripHTMLTags (parse action to remove tags from HTML source) . parse action helpers convertToDate and convertToDatetime to do custom parse time conversions of parsed ISO8601 strings - runTests now returns a two-tuple: success if all tests succeed, and an output list of each test and its output lines. - Added failureTests argument (default=False) to runTests, so that tests can be run that are expected failures, and runTests' success value will return True only if all tests *fail* as expected. Also, parseAll now defaults to True. - New example numerics.py, shows samples of parsing integer and real numbers using locale-dependent formats: 4.294.967.295,000 4 294 967 295,000 4,294,967,295.000 Version 2.1.4 - May, 2016 ------------------------------ - Split out the '==' behavior in ParserElement, now implemented as the ParserElement.matches() method. Using '==' for string test purposes will be removed in a future release. - Expanded capabilities of runTests(). Will now accept embedded comments (default is Python style, leading '#' character, but customizable). Comments will be emitted along with the tests and test output. Useful during test development, to create a test string consisting only of test case description comments separated by blank lines, and then fill in the test cases. Will also highlight ParseFatalExceptions with "(FATAL)". - Added a 'pyparsing_common' class containing common/helpful little expressions such as integer, float, identifier, etc. I used this class as a sort of embedded namespace, to contain these helpers without further adding to pyparsing's namespace bloat. - Minor enhancement to traceParseAction decorator, to retain the parse action's name for the trace output. - Added optional 'fatal' keyword arg to addCondition, to indicate that a condition failure should halt parsing immediately. Version 2.1.3 - May, 2016 ------------------------------ - _trim_arity fix in 2.1.2 was very version-dependent on Py 3.5.0. Now works for Python 2.x, 3.3, 3.4, 3.5.0, and 3.5.1 (and hopefully beyond). Version 2.1.2 - May, 2016 ------------------------------ - Fixed bug in _trim_arity when pyparsing code is included in a PyInstaller, reported by maluwa. - Fixed catastrophic regex backtracking in implementation of the quoted string expressions (dblQuotedString, sglQuotedString, and quotedString). Reported on the pyparsing wiki by webpentest, good catch! (Also tuned up some other expressions susceptible to the same backtracking problem, such as cStyleComment, cppStyleComment, etc.) Version 2.1.1 - March, 2016 --------------------------- - Added support for assigning to ParseResults using slices. - Fixed bug in ParseResults.toDict(), in which dict values were always converted to dicts, even if they were just unkeyed lists of tokens. Reported on SO by Gerald Thibault, thanks Gerald! - Fixed bug in SkipTo when using failOn, reported by robyschek, thanks! - Fixed bug in Each introduced in 2.1.0, reported by AND patch and unit test submitted by robyschek, well done! - Removed use of functools.partial in replaceWith, as this creates an ambiguous signature for the generated parse action, which fails in PyPy. Reported by Evan Hubinger, thanks Evan! - Added default behavior to QuotedString to convert embedded '\t', '\n', etc. characters to their whitespace counterparts. Found during Q&A exchange on SO with Maxim.
2016-08-17Recursive revbump from multimedia/libvpx uppdateryoon4-8/+8
2016-08-16- Add BUILD_DEPENDS+= p5-Object-Accessor-[0-9]* for make testmef1-1/+4
2016-08-16Update to 2.57wen2-7/+7
Upstream changes: 2.57 2016-08-13 - Added a remove_callback method to the main Log::Dispatch object as well as all outputs.
2016-08-16Update to 0.36wen2-7/+7
No upstream changelog found.
2016-08-16Update to 0.35wen2-14/+13
Update DEPENDS Upstream changes: 0.35 2016-08-11 - Bump module deps due to Test2. Test2 is tested well enough that you're probably OK, but you'll want to retest your code with this release.
2016-08-16Update to 1.302052wen2-7/+7
Upstream changes: 1.302052 2016-08-13 14:34:07-07:00 America/Los_Angeles - No Changes from last trial 1.302051 2016-08-11 20:26:22-07:00 America/Los_Angeles (TRIAL RELEASE) - Fix setting hub when getting context 1.302050 2016-08-10 22:12:19-07:00 America/Los_Angeles (TRIAL RELEASE) - Add contact info to main doc and readme 1.302049 2016-07-28 07:03:31-07:00 America/Los_Angeles - No Changes from last trial 1.302048 2016-07-27 07:42:14-07:00 America/Los_Angeles (TRIAL RELEASE) - Add 'active' attribute to hub
2016-08-15Update to 2.26.1ryoon6-194/+7
* Remove merged patches Changelog: gas: * Add a configure option --enable-x86-relax-relocations to decide whether x86 assembler should generate relax relocations by default. Default to yes, except for x86 Solaris targets older than Solaris 12. * New command line option -mrelax-relocations= for x86 target to control whether to generate relax relocations.
2016-08-15Update devel/ftncheck 3.2.2 to 3.3.1mef2-9/+7
------------------------------------ - Explicit ChangeLog unknown. Although README tells the features on 3.3.
2016-08-15Fix MASTER_SITES (no longer here, switch to MASTER_SITE_PYPI)leot1-2/+2
Thanks to Bernhard Riedel for noticing it!
2016-08-13Update php-xdebug to 2.4.1.taca2-7/+9
* It support php70 but not yet php71. Tue, Aug 02, 2016 - xdebug 2.4.1 = Fixed bugs: - Fixed issue #1106: A thrown Exception after a class with __debugInfo gives 2 errors - Fixed issue #1241: FAST_CALL/FAST_RET take #2 - Fixed issue #1246: Path and branch coverage should be initialised per request, not globally - Fixed issue #1263: Code coverage segmentation fault with opcache enabled - Fixed issue #1277: Crash when using a userland function from RSHUTDOWN with profiling enabled - Fixed issue #1282: var_dump() of integers > 32 bit is broken on Windows - Fixed issue #1288: Segfault when uncaught exception message does not contain " in " - Fixed issue #1291: Debugclient installation fails on Mac OS X - Fixed issue #1326: Tracing and generators crashes with PHP 7.x - Fixed issue #1333: Profiler accesses memory structures after freeing
2016-08-13Updated devel/re2 20160201 to 20160801mef3-11/+9
-------------------------------------- - ChangeLog unknown, but periodical release.
2016-08-13Update HOMEPAGE at sourceforgemef1-2/+2
2016-08-13Update to 1.35wen2-8/+7
No upstream changelog found.
2016-08-13Update to 0.5.2wen2-7/+7
Upstream changes: 0.5.2 - 2016-07-31 When opening files ourselves, make sure we always name the file variable 0.5.1 - 2016-07-28 Set default maximum complexity to -1 on the class itself 0.5.0 - 2016-05-30 PyCon 2016 PDX release Add support for Flake8 3.0 0.4.0 - 2016-01-27 Stop testing on Python 3.2 Add support for async/await keywords on Python 3.5 from PEP 0492