Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id C4CEB70508 for ; Tue, 11 Jun 2013 19:34:28 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 398D014A110; Tue, 11 Jun 2013 19:34:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C515C14A125 for ; Tue, 11 Jun 2013 19:34:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Xq62d4RGi9iz for ; Tue, 11 Jun 2013 19:34:15 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 1399B14A110 for ; Tue, 11 Jun 2013 19:34:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0DC8596; Tue, 11 Jun 2013 19:34:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 11 Jun 2013 19:34:15 +0000 From: "Aleksej Saushev" Subject: CVS commit: pkgsrc/lang/mercury To: pkgsrc-changes@NetBSD.org Reply-To: asau@netbsd.org X-Mailer: log_accum Message-Id: <20130611193415.0DC8596@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: asau Date: Tue Jun 11 19:34:15 UTC 2013 Modified Files: pkgsrc/lang/mercury: Makefile PLIST distinfo pkgsrc/lang/mercury/patches: patch-ad patch-at Log Message: Update to Mercury 13.05.1 Beta NEWS for Mercury 13.05.1 ------------------------ Changes to the Mercury standard library: * We have added the function bimap.count/1. NEWS for Mercury 13.05 ---------------------- Changes to the Mercury standard library: * We have swapped the argument order of the predicates set.singleton_set/2, set_bbbtree.singleton_set/2, set_ordlist.singleton_set/2 and set_unordlist.singleton_set/2 so that it conforms with the order in the other set modules. * All the modules that operate on sets now have two new predicates. One is insert_new: if the item is not already in the set, it inserts the item, otherwise it fails. The other is all_true: it succeeds if and only if all elements in the set pass a test. * The map and varset modules each have a new predicate that deletes a sorted list of items from a map or varset, and can do so faster than usual by exploiting the order. * The map, bimap and tree234 modules each have a new predicate that does a search, and if the search is unsuccessful, does an insertion during the *same* traversal. * The argument order of the following predicates has been changed so as to make them more conducive to the use of state variable notation: pqueue.insert/4, pqueue.remove/4, stack.push/3, stack.push_list/3, stack.pop/3 and stack.det_pop/3. * We have added versions of the operations in the math module that omit the domain checks. * We have added new predicates to the parsing_utils module: input_string/3, get_skip_whitespace_pred/2 and next_char_no_progress/4. * The lexer module returns base 10 integer literals in the string representation, if the integer is too large for an `int'. * We have add the following new predicates to the list module: list.all_true_corresponding/3, list.all_false_corresponding/3 and list.same_length3/3. * We have added the type maybe.maybe_error/2 which is polymorphic in the error type. * We have added predicates to the calendar module for folding over the days in a given range of dates: foldl_days/5, foldl2_days/7 and foldl3_days/9. * We have added two functions to both the hash_table and version_hash_table modules: copy/1 and from_assoc_list/4. Changes to the Mercury compiler: * Generation of 64-bit code on Windows using the MinGW64 port of GCC is now supported, i.e. the x86_64-w64-mingw32 architecture is now supported. * We have improved compilation times for very large programs. In particular, compilation times for predicates containing the following have been improved: - large ground terms - large disjunctions - large numbers of higher order constructs and/or code that uses large hierarchies of type classes * We have implemented a type representation optimisation, where a functor with exactly one argument can be represented by a tagged pointer to the argument value, which itself does not require the tag bits. * In C grades, consecutive enumeration arguments in discriminated union types can now be packed into a single word. * Double-precision `float' constructor arguments are now stored in unboxed form in high-level C grades. * Double-precision `float' constructor arguments are now stored in unboxed form on 32-bit architectures in the low-level C grades. This was previously so for 64-bit architectures. * Double-precision float arguments can now be passed via dedicated Mercury abstract machine registers to avoid boxing, in low-level C grades on 32-bit architectures. Float variables can occupy two words on the Mercury stack to avoid boxing. * The option `--warn-non-tail-recursion' no longer requires `--high-level-code'. * A new option, `--sign-assembly', provides supports for signing assemblies generated by the C# backend with a strong name. * A new option, `--cstack-reserve-size', allows the size of the C stack for executables to be changed on Microsoft Windows systems. Changes to the Mercury debugger: * We have added new capabilities to the "level", "retry" and "finish" mdb commands. If these commands are given the argument "clentry", they will operate on the ancestor of the current call that represents entry to the clique of mutually recursive procedures that the current call belongs to. If they are given the argument "clparent", they will operate on the parent of that call. * The mdb command "stack" can now find and mark cliques of mutually recursive calls on the stack, and can (and by default, will) impose a limit on the number of lines it prints for each clique. Changes to the extras distribution: * We have added a binding to the GLFW library. NEWS for Mercury 11.07.2, 3 August 2012 --------------------------------------- This is a bug-fix release: it fixes the following: * The name of the C# compiler in newer versions of Mono is now recognised. * The configure script now distinguishes between the MS C# compiler and the Chicken Scheme compiler. * Thread local storage now works on Mac OS X when using clang as the C compiler. * Various build issues on Solaris 10 have been resolved. * The --erlang option now sets all the relevant grade components correctly. * The binary input and output streams are now set to binary translation mode when using the MSVC CRT. * The standard library's lexer module now correctly tokenizes binary, octal and hexadecimal integer literals. * Some bugs in the UTF-8 routines used by the C grades have been fixed. Also, the performance of these routines has been improved. * The exit status is now correctly set when --warn-non-tail-recursion is being used. Changes to the Mercury standard library: * We have added additional modes to map.foldr/4, map.foldr/6 and the list.foldl_corresponding3 predicates. * The predicates parsing_utils.float_literal/3 and parsing_utils.float_literal_as_string/4 now accept an optional plus sign in the exponent. * The obsolete predicates string.remove_suffix_det/2 and string.index_det/2 have been removed. * The predicate time.times/4 is now implemented for the csharp grade. * The version_hash_table module is now supported in the csharp and java grades. * The unsafe versions of the predicates in the array2d module are now more efficient. Changes to the Mercury compiler: * The compiler now outputs #line directives in C# code it generates. NEWS for Mercury 11.07.1, 2 March 2012 -------------------------------------- This is a bug-fix release. It fixes a problem that was preventing the standard library from building in the csharp grade on Cygwin and also adds support for using GCC in C99 (or GNU99) mode with Mercury. In addition, there are a number of minor changes to the standard library. Changes to the Mercury standard library: * We have added the predicate map.keys_and_values/3. * We have added the predicates set.is_singleton/2, set_bbbtree.is_singleton/2, set_ctree234.is_singleton/2 and set_unordlist.is_singleton/2. * We have added the function list.foldl_corresponding/4. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/mercury/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/mercury/PLIST cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/mercury/distinfo cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/mercury/patches/patch-ad cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/mercury/patches/patch-at Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.