* Noteworthy changes in release 2.6 (2012-07-19) [stable]
** Future Changes
The next major release of Bison will drop support for the following
deprecated features. Please report disagreements to bug-bison@gnu.org.
*** K&C parsers
Support for generating parsers in K&R C will be removed. Parsers
generated for C support ISO C90, and are tested with ISO C99 and ISO C11
compilers.
*** Features deprecated since Bison 1.875
The definitions of yystype and yyltype will be removed; use YYSTYPE and
YYLTYPE.
YYPARSE_PARAM and YYLEX_PARAM, deprecated in favor of %parse-param and
%lex-param, will no longer be supported.
Support for the preprocessor symbol YYERROR_VERBOSE will be removed, use
%error-verbose.
*** The generated header will be included (yacc.c)
Instead of duplicating the content of the generated header (definition of
YYSTYPE, yyparse declaration etc.), the generated parser will include it,
as is already the case for GLR or C++ parsers. This change is deferred
because existing versions of ylwrap (e.g., Automake 1.12.1) do not support
it.
** Generated Parser Headers
*** Guards (yacc.c, glr.c, glr.cc)
The generated headers are now guarded, as is already the case for C++
parsers (lalr1.cc). For instance, with --defines=foo.h:
#ifndef YY_FOO_H
# define YY_FOO_H
...
#endif /* !YY_FOO_H */
*** New declarations (yacc.c, glr.c)
The generated header now declares yydebug and yyparse. Both honor
--name-prefix=bar_, and yield
int bar_parse (void);
rather than
#define yyparse bar_parse
int yyparse (void);
in order to facilitate the inclusion of several parser headers inside a
single compilation unit.
*** Exported symbols in C++
The symbols YYTOKEN_TABLE and YYERROR_VERBOSE, which were defined in the
header, are removed, as they prevent the possibility of including several
generated headers from a single compilation unit.
*** YYLSP_NEEDED
For the same reasons, the undocumented and unused macro YYLSP_NEEDED is no
longer defined.
** New %define variable: api.prefix
Now that the generated headers are more complete and properly protected
against multiple inclusions, constant names, such as YYSTYPE are a
problem. While yyparse and others are properly renamed by %name-prefix,
YYSTYPE, YYDEBUG and others have never been affected by it. Because it
would introduce backward compatibility issues in projects not expecting
YYSTYPE to be renamed, instead of changing the behavior of %name-prefix,
it is deprecated in favor of a new %define variable: api.prefix.
The following examples compares both:
%name-prefix "bar_" | %define api.prefix "bar_"
%token <ival> FOO %token <ival> FOO
%union { int ival; } %union { int ival; }
%% %%
exp: 'a'; exp: 'a';
bison generates:
#ifndef BAR_FOO_H #ifndef BAR_FOO_H
# define BAR_FOO_H # define BAR_FOO_H
/* Enabling traces. */ /* Enabling traces. */
# ifndef YYDEBUG | # ifndef BAR_DEBUG
> # if defined YYDEBUG
> # if YYDEBUG
> # define BAR_DEBUG 1
> # else
> # define BAR_DEBUG 0
> # endif
> # else
# define YYDEBUG 0 | # define BAR_DEBUG 0
> # endif
# endif | # endif
# if YYDEBUG | # if BAR_DEBUG
extern int bar_debug; extern int bar_debug;
# endif # endif
/* Tokens. */ /* Tokens. */
# ifndef YYTOKENTYPE | # ifndef BAR_TOKENTYPE
# define YYTOKENTYPE | # define BAR_TOKENTYPE
enum yytokentype { | enum bar_tokentype {
FOO = 258 FOO = 258
}; };
# endif # endif
#if ! defined YYSTYPE \ | #if ! defined BAR_STYPE \
&& ! defined YYSTYPE_IS_DECLARED | && ! defined BAR_STYPE_IS_DECLARED
typedef union YYSTYPE | typedef union BAR_STYPE
{ {
int ival; int ival;
} YYSTYPE; | } BAR_STYPE;
# define YYSTYPE_IS_DECLARED 1 | # define BAR_STYPE_IS_DECLARED 1
#endif #endif
extern YYSTYPE bar_lval; | extern BAR_STYPE bar_lval;
int bar_parse (void); int bar_parse (void);
#endif /* !BAR_FOO_H */ #endif /* !BAR_FOO_H */
DragonFly's file control options aren't fully posix-compliant yet, and
the O_DIRECTORY flag hasn't been implemented (all the flag spots are full
and old ones need to be recycled).
These patches adds additional support checks for each fcntl flag used with
vlc_open and vlc_openat and only sets the supported one. There is no need
to revbump because any platform requiring this check couldn't have built.
- Fix PR#46748 Error occurs when pkg_chk is used with both "-g" & "-C conf"
pkg_chk was failing if run outside of a valid pkgsrc/$category/$pkg directory
- Merge in (adjusted) changes from Mike Volokhov to by default not downgrade
packages if installed version is larger than that in pkgsrc or packages.
Will still report, and can override with -B
While here: the program has enough dependencies that an additional python
one (used by many scripts installed by the package) will not hurt; add
proper dependency on python and remove python replacement hack.
Bump PKGREVISION for python dependency.
When tiff was upgraded to 4.0, camlimages stopped building. Both
caml and tiff redefine several common typedefs such as uint32. Unlike
the 3-series of tiff, tiff-4.0 also redefined int64 and uint64. The
existing hack didn't foresee int64 and uint64 getting used, and so
camlimages broke.
One patch was created and another revised to override the caml typedef
definitions with macros before tiff.h is included. The original
tiffread.c patch was reworked to override uint16 and uint32 *again*
after the tiff.h include and not before as it was originally. Very ugly
all around, but I just extended what camlimages was already doing.
GCC 4.6 and newer on SunOS will force C99 with C++, which requires
_XOPEN_SOURCE=600 to be set. On the other hand, GCC 4.5 and earlier will
require C99 for _XOPEN_SOURCE=600, but reject C99 for C++ code.
Set _XOPEN_SOURCE to 500 or 600 accordingly.
- Compatibility fix with new c-icap 0.2.1 release that prevent
squidclamav service to be initialized.
- Fix issue with new c-icap 0.2.1 release that generate an error
error each time squidclamav return CI_MOD_204 in end of data
handler function.
changelog from the website:
UDFclient.0.7.5 : After some time being dormant, this new release fixes a lot of small standing bugs and a serious bugfix that prevented it to read Microsoft formatted UDF 2.50 and UDF 2.60 discs. Also, logical volume integrity checking is now fixed, directory handling has been made more robust and UDF 2.50 and UDF 2.60 are now correctly signaled as read-only and won't try to corrupt a disc anymore. cd_disect has been enhanced and extended to also support BluRay recorders.
UDFclient.0.7.1 : Fix Linux compilation issues.
* Fix for bug #679013 - AtspiCollection should be implemented for
all containers
* Plug ref count leaks (BGO#679285).
* Only add items to the cache on children-changed if the children are
included in the event.
* Only send PropertyChange signals used for caching, absent listeners.
Especially:
* Only create a directory and a socket when requested.
Currently, atk-bridge clutters XDG_RUNTIME_DIR with directories for sockets,
which is especially annoying since gtk currently does not call
atk_bridge_adaptor_cleanup, so the directories never go away. This change do
not really solve the problem--it only hides it from users who do not really
need AT-SPI--but, nevertheless, there is no reason to create a directory or
socket if nothing has requested it, so doing this lazily makes sense.
* Don't create a (non-readable) subdirectory for the socket when root.
If an application is running as root but within a user's runtime directory,
then creating a temporary directory will result in the directory being owned
by root, and the user will not have permission to search the directory to
access the socket, so an AT running as the normal user will not be able to
connect to the application running as root.
Fixes regression introduced by the fix for BGO#678348.
=== Transmission 2.61 (2012/07/23) ===
[http://trac.transmissionbt.com/query?milestone=2.61&group=component&order=severity All tickets closed by this release]
==== All Platforms ====
==== Mac ====
* Fix crash when creating a torrent file on Lion or newer
==== GTK+ ====
* Support startup notification
* Require GTK+ 3
==== Qt ====
* Fix bug when opening the web client via the Preferences dialog
* Better opening of magnet links
* The Torrent File list now handles very long lists faster
* Fix i18n problem introduced in 2.60
==== Web Client ====
* Close potential cross-scripting vulnerability from malicious torrent files
==== Utils ====
* Add magnet link generation to the transmission-show command line tool
* Compute and report sum of critical chunk lengths IHDR, PLTE, IDAT, and IEND,
plus the 8-byte PNG signature instead of just the total IDAT data length.
Simplify finding the lengths from the trial compressions, by replacing
the write function with one that simply counts the bytes that would have
been written to a trial PNG, instead of actually writing a PNG, reading it
back, and counting the IDAT bytes. The savings, while measurable, are
not very significant -- The "-brute" and default pngcrush runs that I
tried are between one and five percent faster. Most of the time is
expended in zlib compression of the IDATs, which is not affected by
the change.
* Removed comments about the system library having to be libpng14 or earlier.
This restriction was fixed in version 1.7.20.
2012-07-27 Yevgen Muntyan <emuntyan@users.sourceforge.net>
* === Released 1.1.1 ===
Fixed some build errors:
Check for sys/wait.h, so that HAVE_SYS_WAIT_H is defined when needed.
Link with gmodule explicitly.