- Updating Perl-Tidy from 20071205 to 20090616
- Setting license to gnu-gpl-v2
Upstream changes:
2009 06 16
- Allow configuration file to be 'perltidy.ini' for Windows systems.
i.e. C:\Documents and Settings\User\perltidy.ini
and added documentation for setting configuation file under Windows in man
page. Thanks to Stuart Clark.
- Corrected problem of unwanted semicolons in hash ref within given/when code.
Thanks to Nelo Onyiah.
- added new flag -cscb or --closing-side-comments-balanced
When using closing-side-comments, and the closing-side-comment-maximum-text
limit is exceeded, then the comment text must be truncated. Previous
versions of perltidy terminate with three dots, and this can still be
achieved with -ncscb:
perltidy -csc -ncscb
} ## end foreach my $foo (sort { $b cmp $a ...
However this causes a problem with older editors which cannot recognize
comments or are not configured to doso because they cannot "bounce" around in
the text correctly. The B<-cscb> flag tries to help them by
appending appropriate terminal balancing structure:
perltidy -csc -cscb
} ## end foreach my $foo (sort { $b cmp $a ... })
Since there is much to be gained and little to be lost by doing this,
the default is B<-cscb>. Use B<-ncscb> if you do not want this.
Thanks to Daniel Becker for suggesting this option.
- After an isolated closing eval block the continuation indentation will be
removed so that the braces line up more like other blocks. Thanks to Yves Orton.
OLD:
eval {
#STUFF;
1; # return true
}
or do {
#handle error
};
NEW:
eval {
#STUFF;
1; # return true
} or do {
#handle error
};
-A new flag -asbl (or --opening-anonymous-sub-brace-on-new-line) has
been added to put the opening brace of anonymous sub's on a new line,
as in the following snippet:
my $code = sub
{
my $arg = shift;
return $arg->(@_);
};
This was not possible before because the -sbl flag only applies to named
subs. Thanks to Benjamin Krupp.
-Fix tokenization bug with the following snippet
print 'hi' if { x => 1, }->{x};
which resulted in a semicolon being added after the comma. The workaround
was to use -nasc, but this is no longer necessary. Thanks to Brian Duggan.
-Fixed problem in which an incorrect error message could be triggered
by the (unusual) combination of parameters -lp -i=0 -l=2 -ci=0 for
example. Thanks to Richard Jelinek.
-A new flag --keep-old-blank-lines=n has been added to
give more control over the treatment of old blank lines in
a script. The manual has been revised to discuss the new
flag and clarify the treatment of old blank lines. Thanks
to Oliver Schaefer.
Upstream changes:
1.15 Mon Jun 22 20:39:48 UTC 2009
- moved Module::Build dependency to config_requires (RT #47165, hdp)
- unified licensing between README and module (RT #46934, nhandler)
- updating package for p5 module Array::Compare from 1.17 to 1.18
- setting license to ${PERL5_LICENSE} according to META.yml
Upstream changes:
2009-06-14 Dave Cross <dave@dave.org.uk>
* lib/Array/Compare.pm: Bump version number for release.
2009-06-14 Dave Cross <dave@dave.org.uk>
* lib/Array/Compare.pm: Added version number. Fixed
https://rt.cpan.org/Ticket/Display.html?id=45145
2009-06-14 Dave Cross <dave@dave.org.uk>
* Build.PL: Moved version setting into .pm.
2009-02-21 Dave Cross <dave@dave.org.uk>
* : Removed execute bit.
2008-06-29 Dave Cross <dave@dave.org.uk>
* Build.PL, lib/Array/Compare.pm: Added LICENSE section (for
cpants).
of imported devel/p5-MooseX-Traits-Pluggable.
When you import a function into a Perl package, it will naturally also be
available as a method.
The namespace::autoclean pragma will remove all imported symbols at the end
of the current package's compile cycle. Functions called in the package
itself will still be bound by their name, but they won't show up as methods
on your class or instances.
This module is very similar to namespace::clean, except it will clean all
imported functions, no matter if you imported them before or after you used
the pagma. It will also not touch anything that looks like a method,
according to Class::MOP::Class::get_method_list.
as dependency of scheduled import of p5 module CatalystX::Component::Traits
(dependency of scheduled update of databases/p5-Catalyst-Model-DBIC-Schema).
Adds support for class precedence search for traits and some extra attributes.
of scheduled import of MooseX::Traits::Pluggable (dependency for
CatalystX::Component::Traits etc.)
Often a developer want to create components that can be added to a class
arbitrarily. This module makes it easy for the end user to use these
components. Instead of requiring the user to create a named class with the
desired roles applied, or applying roles to the instance one-by-one, he can
just pass a traits parameter to the class's new_with_traits constructor.
This role will then apply the roles in one go, cache the resulting class
(for efficiency), and return a new instance. Arguments meant to initialize
the applied roles' attributes can also be passed to the constructor.
- Updating package for p5 module Moose from 0.81 to 0.87
- Adjust dependencies according to META.yml
Upstream changes:
0.87 Tue Jul 7, 2009
* Moose::Meta::Method::Delegation
- Once again allow class names as well as objects for
delegation. This was changed in 0.86.
0.86 Fri Jul 3, 2009
* Moose::Meta::Class::Immutable::Trait
- Fixes to work with the latest Class::MOP.
* Moose::Meta::Method::Delegation
- Delegation now dies with a more useful error message if the
attribute's accessor returns something defined but
unblessed. (hdp)
0.85 Fri, Jun 26, 2009
* Moose::Meta::Attribute
- The warning for 'no associated methods' is now split out into
the _check_associated_methods method, so that extensions can
safely call 'after install_accessors => ...'. This fixes a
warning from MooseX::AttributeHelpers. (hdp)
0.84 Fri, Jun 26, 2009
* Moose::Role
- has now sets definition_context for attributes defined in
roles. (doy)
* Moose::Meta::Attribute
- When adding an attribute to a metaclass, if the attribute has
no associated methods, it will give a deprecation
warning. (hdp)
- Methods generated by delegation were not being added to
associated_methods. (hdp)
- Attribute accessors (reader, writer, accessor, predicate,
clearer) now warn if they overwrite an existing method. (doy)
- Attribute constructors now warn very noisily about unknown (or
mispelled) arguments
* Moose::Util::TypeConstraints
- Deprecated the totally useless Role type name, which just
checked if $object->can('does'). Note that this is _not_ the
same as a type created by calling role_type('RoleName').
* Moose::Util::TypeConstraints
* Moose::Meta::TypeConstraint::DuckType
- Reify duck type from a regular subtype into an actual class
(Sartak)
- Document this because Sartak did all my work for me
(perigrin)
* Moose::Meta::Attribute
- Allow Moose::Meta::TypeConstraint::DuckType in handles, since
it is just a list of methods (Sartak)
* Moose::Meta::Role
- The get_*_method_modifiers methods would die if the role had
no modifiers of the given type (Robert Buels).
0.83 Tue, Jun 23, 2009
* Moose::Meta::Class
- Fix _construct_instance not setting the special __MOP__ object
key in instances of anon classes. (doy)
0.82 Sun, Jun 21, 2009
* Moose::Manual::Types
- Mention MooseX::Types early to avoid users falling down the
string parsing rathole (mst)
* Moose::Manual::MooseX
- Add warnings about class-level extensions and mention considering
using plain objects instead
- Updating package for p5 module Class::MOP from 0.85 to 0.89
- Correcting LICENSE according to META.yml
- Correcting dependencies
Upstream changes:
0.89 Fri Jul 3, 2009
* Class::MOP::Class
* Class::MOP::Class::Immutable::Trait
- Made the Trait act like a role with a bunch of "around"
modifiers, rather than sticking it in the inheritance
hierarchy. This fixes various problems that caused with
metaclass compatibility, which broke Fey::ORM.
* Class::MOP::Method
- Allow a blessed code reference as the method body. Fixes a
problem interaction with MooseX::Types. (ash)
* Class::MOP::Instance
- add inline version of rebless_instance_structure. (doy)
- change inline_slot_access to use single quotes (gphat)
0.88 Tue, Jun 23, 2009
* Class::MOP::Class
- Moved the __INSTANCE__ parameter to _construct_instance from
Moose to here. (doy)
- Fixed some issues involving metaclasses of metaclasses and
immutability. (doy)
0.87 Sun, Jun 21, 2009
* Various
- Made sure to always local-ize $@ and $SIG{__DIE__} before
calling an eval. Fixes RT #45973.
* Class::MOP::Class
- Synced docs about immutability with the current reality (which
changed back in 0.82_01)
- Removed the immutable_transformer method, which had been
returning undef since 0.82_01 anyway.
* Tests
- Got rid of tests which needed Moose and improved testing of
constructor/destructor inlining warnings. Fixes RT #47119.
0.86 Tue, Jun 16, 2009
* Class::MOP::Class
- If you redefined a subroutine at runtime and then wrapped it
with a method modifier, the modifier could in some cases wrap
the original version of the subroutine. Fixes RT #46957.
* Class::MOP::Class
- make_immutable issues a warning instead of overriding an
existing DESTROY method (Dylan William Hardison). Fixes RT
#46854.
File::Util provides a comprehensive toolbox of utilities to automate all
kinds of common tasks on file / directories. Its purpose is to do so in
the most portable manner possible so that users of this module won't have
to worry about whether their programs will work on other OSes and machines.
scheduled import of p5 module File::Util.
Class::OOorNO helps a module handle the input for its subroutines whether
called in object-oriented style (as object methods or class methods with
the arrow syntax ->), or in functional programming style (as subroutines
imported to the caller's namespace via Exporter).
- updating from 2.1.1 to 2.2.0
- adding destdir support
Upstream changes:
Version 2.2.0 (23 November 2008)
--------------------------------
New features:
* cvs2git: Omit fixup branch if a tag can be copied from an existing revision.
* cvs2git: Add option to set the maximum number of merge sources per commit.
* Allow arbitrary SVN directories to be created when a project is created.
* Allow vendor branches to be excluded, grafting child symbols to trunk.
* By default, omit trivial import branches from conversion.
- Add --keep-trivial-imports option to get old behavior.
* By default, don't include .cvsignore files in output (except as svn:ignore).
- Add option --keep-cvsignore to get the old behavior.
* Allow the user to specify the form of cvs2svn-generated log messages.
* Allow file contents to be written inline in git-fast-import streams.
* --create-option: allow arbitrary options to be passed to "svnadmin create".
* Improve handling of auto-props file:
- Discard extraneous spaces where they don't make sense.
- Warn if parts of the file might be commented out unintentionally.
- Warn if the user appears to be trying to quote a property value.
Bugs fixed:
* Fix issue #81: Remove svn:ignore property when .cvsignore is deleted.
* Fix svn dumpfile conformance:
- Don't include a leading '/' for Node-path.
- Include the Node-kind field when copying nodes.
* Make symlink test create symlinks explicitly, to avoid packaging problems.
* Accept symbol references to revision numbers that end with ".0".
Improvements and output changes:
* When -v, log reasons for symbol conversion choices (tag/branch/exclude).
* Log preferred parent determinations at verbose (rather than debug) level.
* Log symbol transformations at verbose (rather than warn) level.
* Log statistics about all symbol transformations at normal level.
* cvs2git: Generate lightweight rather than annotated tags.
* contrib/destroy_repository.py:
- Allow symbols, files, and directories to be renamed.
- Allow CVSROOT directory contents to be erased.
- Specify what aspects of a repo to destroy via command-line options.
Miscellaneous:
* cvs2svn now requires Python version 2.4 or later.
- Updating package for p5 module ANSIColor from 2.00 to 2.01
- Adding licese (perl license as named in META.yml)
- Adding destdir support
Upstream changes:
2009-07-04 Russ Allbery <rra@stanford.edu>
* ANSIColor.pm: Version 2.01 released.
* t/basic.t: Test error handling in color, colored, and uncolor.
* ANSIColor.pm (uncolor): When reporting errors for bad escape
sequences, don't include the leading \e[ or trailing m in the
error message.
* ANSIColor.pm: Add section headings to the DESCRIPTION section of
the module since it's getting rather long.
(colorstrip): New function to remove ANSI color codes from
strings. Thanks, Paul Miller.
* t/basic.t: New tests for colorstrip.
* ANSIColor.pm (AUTOLOAD): Untaint $AUTOLOAD, required by Perl
5.10 when running in taint mode. Thanks, Tim Bellinghausen.
* t/basic.t: Two new tests for AUTOLOAD error handling. Enable
warnings and taint mode.
-----------------------
Maintenance release: compatibility with bzr 1.16 (bencode releated changes),
improved performance of qlog, more fixes for side-by-side qdiff, a dozen of
various bugfixes.
Windows standalone installer for QBzr now built with Inno Setup.
Now user can install only main QBzr files without additional libraries
(e.g. PyQt4). So this installer now can be used to upgrade copy of QBzr plugin
installed as part of standalone bzr.exe installer.
* qbrowse:
* Fix problem with opening the log for file/directory. (#383192)
* qinfo:
* Add a basic help string (#384632)
* qview command renamed to qviewer (previously qviewer was alias for qview)
to avoid confusion with bzr views feature. (#385225)
NOTES: when upgrading your standalone installation of qbzr (on Windows)
you should uninstall old QBzr first, and then re-install it from new installer.
0.10.0 - 2009-06-02
-----------------------
Maintenance release: log widget with revisions graph used in qannotate,
and qcommit (to show pending merges); you can search for tags and bugs
in qlog; improvements to show qlog for multiple files or for dir content;
more context menus; various bugfixes.
* qlog:
* Added search for tags and bugs.
* Fixed a bug with qlog FILE where it was not showing revisions if the
revision that changed the file had been merge into another branch before
it was merged into the mainline. (Bug #350166)
* Fixed a bug when clicking refresh with multiple branches open.
(Bug #351633)
* When viewing a remote branch, qlog will load the revisions from local
current directory if availible.
* Improvements to the graph layout.
* When opening diffs, there is less of a delay.
* When running qlog DIR, revisions that change the children of the directory
are also displayed. This only works if you are using bzr 1.14.
(Bug #314528)
* When runing qlog FILE1 FILE2 or qlog DIR, changes to the specified files are
displayed in bold. By default diff will show changes only to selected
items. Full diff could be invoked via context menu.
* Add context menu to file list.
* qannotate:
* Use the log widget to display the revision list with a folding graph. The
graph can be disabled by using the --no-graph command line argument.
(Bug #328595)
* Fixed a bug where qannotate crashes if you scroll to the bottom of the
file and the file's last line is blank. (Bug #340956)
* Add option to the log context menu to select a revision to annotate.
* qcommit:
* Use the log widget to display the pending merges list with a folding
graph. (Bug #328592)
* qdiff:
* Fixed a bug with the error reporting when launching external diffs.
* qpull/qpush/qmerge:
* If there is no default saved location then set focus on URL combobox
FEATURES
* Integrated "bzr svn-serve" into "bzr serve --svn".
* ``append_revisions_only`` now defaults to True, to prevent new users
from accidently changing their Subversion mainline and upsetting their
fellow committers. (#383777)
* ``bzr svn-set-revprops`` has been folded into ``bzr reconcile``.
PERFORMANCE
* Avoid expensive fetching of tags just to figure out they are supported.
* Only check paths that actually have file properties set for
Bazaar revision id properties.
* Reduced number of revisions analysed for repository layout from 2000 to
300.
BUG FIXES
* Only look for file properties if there are actually new file properties.
(#383414)
* Repository.iter_inventories() is now implemented.
* Tags.get_reverse_dict().has_key() is now implemented.
* Tags.get_reverse_dict().iteritems() is now implemented.
* Register Subversion smart server as first server control format,
before the Bazaar smart client attempts to send POST to .bzr/smart over
HTTP.
* Support "bzr push --create-prefix". (#383778)
* In authentication fallback, ignore schemes that can not be
mapped to ports rather than erroring out. (#384813)
* Cope with forbidden parts of the repository a bit better. (#261194)
* Handle annotate after copies in Subversion. (#381523)
* Support unicode characters in tag names. (#385813)
* Support pulling older revisions that are direct ancestors of the current
tip. (#386198)
* "bzr svn-import --incremental" now handles resurrected branches correctly.
(#383980)
* Initial support for WorkingTree.apply_inventory_delta(). (#332107)
* Support using parameter to Repository.find_branches(). (#388960)
bzr-svn 0.6.1 2009-05-22
BUG FIXES
* Cope with credentials in shared connections sometimes being a direct
dictionary.
* Fix cache inspection after push when using the TDB database.
* Prevent NoSuchRevision exception when pulling into a local branch that
is ahead of the remote branch.
* Avoid buggy LogWalker.find_latest_change(). (#378799)
* Use xdg cache directory (~/.cache/bzr-svn usually) if the Python XDG
module is available.
* Handle hidden revisions properly during branch fetch.
bzr-svn 0.6.0 2009-05-20
FEATURES
* New cache database based on TDB (http://tdb.samba.org/). This is
significantly faster than the previous SQLite backend. The TDB
backend will automatically be used if TDB is available; if not,
the old SQLite database will be used.
TDB allows multiple writers to the database. (#185200)
* The version-info command now prints 'svn revno' and 'svn uuid'
when used in Subversion checkouts.
* The info command now prints the repository UUID and last committed
revision number when used on Subversion repositories. (#320271)
* Now registers a fallback credentials store, allowing
Subversion credentials to be used for non-Subversion
access. This is useful accessing http(s) URLs will
always attempt to open using the native Bazaar formats
first.
* Better error when pushing to a (diverged) empty branch. Unfortunately
"bzr push" masks this better error at the moment. (#354929)
* New option ``warn-upgrade`` that can be used to turn off the
warnings about slow servers. (#377949)
PERFORMANCE
* A custom reverse-tag dictionary implementation is now provided, making
"bzr log" a lot faster since there's no need to find all tags beforehand.
BUG FIXES
* Support working copies with non-ascii characters in the
base path. (#356845)
* Fix handling of newlines in Bazaar revision properties round-tripped to
Subversion file properties. (#360477)
* utf8-encode basenames when looking up file ids in CHKInventories.
* Handle root replaces when doing lightweight checkouts. (#352509)
* Simplify finding local changes. (#370755)
* Handle browsing of revisions outside of prefix in repository with
branch container directories (e.g. project1/trunk, etc). (#343382)
#####################
End user testing of the 2a format revealed two serious bugs. The first,
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
This meant that commits or pushes to 2a-format repositories failed
intermittently.
The second bug, #390563, caused the smart server to raise AbsentContentFactory
when streaming 2a stacked 2a-format branches. This particularly affected
branches stored on Launchpad in the 2a format.
Bug Fixes
*********
* We now properly request a more minimal set of file texts when fetching
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
* Repositories using CHK pages (which includes the new 2a format) will no
longer error during commit or push operations when an autopack operation
is triggered. (Robert Collins, #365615)
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
of referenced nodes rather than the *union* to determine what
uninteresting pages we still need to look at. Prior to this,
incrementally pushing to stacked branch would push the minimal data, but
fetching everything would request extra texts. There are some unhandled
cases wrt trees of different depths, but this fixes the common cases.
(Robert Collins, John Arbash Meinel, #390563)
* ``GroupCompress`` repositories now take advantage of the pack hints
parameter to permit cross-format fetching to incrementally pack the
converted data. (Robert Collins)
* ``Repository.commit_write_group`` now returns opaque data about what
was committed, for passing to the ``Repository.pack``. Repositories
without atomic commits will still return None. (Robert Collins)
* ``Repository.pack`` now takes an optional ``hint`` parameter
which will support doing partial packs for repositories that can do
that. (Robert Collins)
* RepositoryFormat has a new attribute 'pack_compresses' which is True
when doing a pack operation changes the compression of content in the
repository. (Robert Collins)
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
``Repository.pack`` with the hint returned by
``Repository.commit_write_group`` if the formats were different and the
repository can increase compression by doing a pack operation.
(Robert Collins, #376748)
bzr 1.16 "It's yesterday in California" 2009-06-18
##################################################
:Codename: yesterday-in-california
:1.16rc1: 2009-06-11
:1.16: 2009-06-18
This version of Bazaar contains the beta release of the new ``2a`` repository
format, suitable for testing by fearless, advanced users. This format or an
updated version of it will become the default format in Bazaar 2.0. Please
read the NEWS entry before even thinking about upgrading to the new format.
Also included are speedups for many operations on huge projects, a bug fix for
pushing stacked new stacked branches to smart servers and the usual bevy of
bug fixes and improvements.
Changes from 1.16rc1 to 1.16final
*********************************
* Fix the nested tree flag check so that upgrade from development formats to
2a can work correctly.
(Jelmer Vernooij, #388727)
* Automatic format upgrades triggered by default stacking policies on a
1.16rc1 (or later) smart server work again.
(Andrew Bennetts, #388675)
Compatibility Breaks
********************
* Display prompt on stderr (instead of stdout) when querying users so
that the output of commands can be safely redirected.
(Vincent Ladeuil, #376582)
New Features
************
* A new repository format ``2a`` has been added. This is a beta release
of the the brisbane-core (aka group-compress) project. This format now
suitable for wider testing by advanced users willing to deal with some
bugs. We would appreciate test reports, either positive or negative.
Format 2a is substantially smaller and faster for many operations on
many trees. This format or an updated version will become the default
in bzr 2.0.
This is a rich-root format, so this repository format can be used with
bzr-svn. Bazaar branches in previous non-rich-root formats can be
converted (including by merge, push and pull) to format 2a, but not vice
versa. We recommend upgrading previous development formats to 2a.
Upgrading to this format can take considerable time because it expands
and more concisely repacks the full history.
If you use stacked branches, you must upgrade the stacked branches
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
but using a Revision serializer using bencode rather than XML.
(Jelmer Vernooij, John Arbash Meinel)
* mail_client=claws now supports --body (and message body hooks). Also uses
configured from address. (Barry Warsaw)
Improvements
************
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
bugs with stacking and non default formats.)
(John Arbash Meinel, #373455)
* ``--development6-rich-root`` delays generating a delta index for the
first object inserted into a group. This has a beneficial impact on
``bzr commit`` since each committed texts goes to its own group. For
committing a 90MB file, it drops peak memory by about 200MB, and speeds
up commit from 7s => 4s. (John Arbash Meinel)
* Numerous operations are now faster for huge projects, i.e. those
with a large number of files and/or a large number of revisions,
particularly when the latest development format is used. These
operations (and improvements on OpenOffice.org) include:
* branch in a shared repository (2X faster)
* branch --no-tree (100X faster)
* diff (2X faster)
* tags (70X faster)
(Ian Clatworthy)
* Pyrex version of ``bencode`` support. This provides optimized support
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
``bzrlib.utils.bencode`` is now deprecated.
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
Bug Fixes
*********
* Bazaar can now pass attachment files to the mutt email client.
(Edwin Grubbs, #384158)
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
see which files can also be added. (Jason Spashett, #76616)
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
Also, the ``Branch.revision_history()`` API now works in the same
situation. (Andrew Bennetts, #380314)
* ``bzr serve`` on Windows no longer displays a traceback simply because a
TCP client disconnected. (Andrew Bennetts)
* Clarify the rules for locking and fallback repositories. Fix bugs in how
``RemoteRepository`` was handling fallbacks along with the
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
branch. Not often triggered, because it required ghosts to be part of
the fetched revisions, not in the stacked-on ancestry.
(John Arbash Meinel)
* Fix status and commit to work with content filtered trees, addressing
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
* Fix problem of "directory not empty" when contending for a lock over
sftp. (Martin Pool, #340352)
* Fix rule handling so that eol is optional, not mandatory.
(Ian Clatworthy, #379370)
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
1.16, but required changes to the network protocol, so the
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
still work with a 1.16 server as they will fallback to slower (and
bug-free) methods.
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
* Reconcile can now deal with text revisions that originated in revisions
that are ghosts. (Jelmer Vernooij, #336749)
* Support cloning of branches with ghosts in the left hand side history.
(Jelmer Vernooij, #248540)
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
helpful message to the trace file, unless the temp directory really was
removed (which would be very strange). Since the diff operation has
succeeded from the user's perspective, no output is written to stderr
or stdout. (Maritza Mendez, #363837)
* Translate errors received from a smart server in response to a
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
This was causing tracebacks even for mundane errors like
``PermissionDenied``. (Andrew Bennetts, #381329)
Documentation
*************
* Added directory structure and started translation of docs in Russian.
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
Volodymyr Kotulskyi)
API Changes
***********
* Added osutils.parent_directories(). (Ian Clatworthy)
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
* ``graph.StackedParentsProvider`` is now a public API, replacing
``graph._StackedParentsProvider``. The api is now considered stable and ready
for external users. (Gary van der Merwe)
* ``bzrlib.user_encoding`` is deprecated in favor of
``get_user_encoding``. (Alexander Belchenko)
* TreeTransformBase no longer assumes that limbo is provided via disk.
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
Internals
*********
* Remove ``weave.py`` script for accessing internals of old weave-format
repositories. (Martin Pool)
Testing
*******
* The number of cores is now correctly detected on OSX. (John Szakmeister)
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
bzr 1.15
########
:1.15rc1: 2009-05-16
:1.15: 2009-05-22
:1.15.1: 2009-06-09
The smart server will no longer raise 'NoSuchRevision' when streaming content
with a size mismatch in a reconstructed graph search. New command ``bzr
dpush``. Plugins can now define their own annotation tie-breaker when two
revisions introduce the exact same line.
Changes from 1.15.1 to 1.15.2
*****************************
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
(Alexander Belchenko)
Changes from 1.15final to 1.15.1
*********************************
* Translate errors received from a smart server in response to a
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
This was causing tracebacks even for mundane errors like
``PermissionDenied``. (Andrew Bennetts, #381329)
Changes from 1.15rc1 to 1.15final
*********************************
* No changes
Compatibility Breaks
********************
* ``bzr ls`` is no longer recursive by default. To recurse, use the
new ``-R`` option. The old ``--non-recursive`` option has been removed.
If you alias ``ls`` to ``ls -R``, you can disable recursion using
``--no-recursive`` instead. (Ian Clatworthy)
New Features
************
* New command ``bzr dpush`` that can push changes to foreign
branches (svn, git) without setting custom bzr-specific metadata.
(Jelmer Vernooij)
* The new development format ``--development6-rich-root`` now supports
stacking. We chose not to use a new format marker, since old clients
will just fail to open stacked branches, the same as if we used a new
format flag. (John Arbash Meinel, #373455)
* Plugins can now define their own annotation tie-breaker when two revisions
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
Be aware though that this is temporary, private (as indicated by the leading
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
* New command ``bzr dpush`` that can push changes to foreign
branches (svn, git) without setting custom bzr-specific metadata.
(Jelmer Vernooij)
* ``bzr send`` will now check the ``child_submit_format`` setting in
the submit branch to determine what format to use, if none was
specified on the command-line. (Jelmer Vernooij)
Improvements
************
* -Dhpss output now includes the number of VFS calls made to the remote
server. (Jonathan Lange)
* ``--coverage`` works for code running in threads too.
(Andrew Bennets, Vincent Ladeuil)
* ``bzr pull`` now has a ``--local`` option to only make changes to the
local branch, and not the bound master branch.
(Gary van der Merwe, #194716)
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
Bug Fixes
*********
* Adding now works properly when path contains a symbolic link.
(Geoff Bache, #183831)
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
line, and the other side modifies the line. (John Arbash Meinel, #328171)
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
(Martin von Gagern, #248932)
* ``bzr send`` works to send emails again using MAPI.
(Neil Martinsen-Burrell, #346998)
* Check for missing parent inventories in StreamSink. This prevents
incomplete stacked branches being created by 1.13 bzr:// and
bzr+ssh:// clients (which have bug #354036). Instead, the server now
causes those clients to send the missing records. (Andrew Bennetts)
* Correctly handle http servers proposing multiple authentication schemes.
(Vincent Ladeuil, #366107)
* End-Of-Line content filters are now loaded correctly.
(Ian Clatworthy, Brian de Alwis, #355280)
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
longer than 64KiB. (John Arbash Meinel, #364900)
* Fix TypeError in running ``bzr break-lock`` on some URLs.
(Alexander Belchenko, Martin Pool, #365891)
* Non-recursive ``bzr ls`` now works properly when a path is specified.
(Jelmer Vernooij, #357863)
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
(Vincent Ladeuil, #367726)
* Several bugs related to unicode symlinks have been fixed and the test suite
enhanced to better catch regressions for them. (Vincent Ladeuil)
* The smart server will no longer raise 'NoSuchRevision' when streaming
content with a size mismatch in a reconstructed graph search: it assumes
that the client will make sure it is happy with what it got, and this
sort of mismatch is normal for stacked environments.
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
getting all the content expected would be a bug. However the graph
search is how we figured out what we wanted, so a mismatch is both odd
and unrecoverable without starting over, and starting over will end up
with the same data as if we just permitted the mismatch. If data is
gc'd, doing a new search will find only the truncated data, so sending
only the truncated data seems reasonable. bzr versions newer than this
will stream from stacked branches and check the stream to find missing
content in the stacked-on branch, and thus will handle the situation
implicitly. (Robert Collins, #360791)
* Upgrading to, or fetching into a 'rich-root' format will now correctly
set the root data the same way that reconcile does.
(Robert Collins, #368921)
* Using unicode Windows API to obtain command-line arguments.
(Alexander Belchenko, #375934)
Documentation
*************
API Changes
***********
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
instead of ``InstallFailed`` when they detect a missing revision.
``InstallFailed`` itself has been deleted. (Jonathan Lange)
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
arguments from ``osutils.get_unicode_argv()`` which has proper support
for unicode arguments on windows. Further, the supplied arguments are now
required to be unicode strings, rather than user_encoded strings.
(Alexander Belchenko)
Internals
*********
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
class and will call ``_set_parent_location`` after doing unicode
encoding. (Robert Collins)
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
``Branch.set_parent_location`` removing further VFS operations.
(Robert Collins)
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
or similar when the dir supports configuration settings. The base class
defaults to None. There is a matching new server verb
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
configuration. (Robert Collins)
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
called before the first test is started, ``done`` called after the last
test completes, and a new parameter ``strict``. (Robert Collins)
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
VFS operations are started on a smart server repository. This should not
occur on regular push and pull operations, and is a key indicator for
performance regressions. (Robert Collins)
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
cause mismatched physical locks to cause test errors rather than just
reporting to the screen. (Robert Collins)
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
are now be able to provide credentials if obtaining credentials
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
Vincent Ladeuil, #321918)
* New hook ``Lock.lock_broken`` which runs when a lock is
broken. This is mainly for testing that lock/unlock are
balanced in tests. (Vincent Ladeuil)
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
alter a body for the message produced by ``bzr send``.
* New smart server verb ``BzrDir.initialize_ex`` which implements a
refactoring to the core of clone allowing less round trips on new
branches. (Robert Collins)
* New method ``Tags.rename_revisions`` that can rename revision ids tags
are pointing at. (Jelmer Vernooij)
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
Testing
*******
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
tests. Using ``-Dlock`` will turn the related failures into warnings.
(Vincent Ladeuil, Robert Collins)
* Fix critical problem of BigDecimal class in 1.8.7-p173.
Fri Jun 12 16:36:44 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/bigdecimal.c (VpToString): fixed a bug introduced
in r23613. [ruby-talk:338957]
- Updating package of p5 module Devel::Declare from 0.005002 to
0.005005
- Adjusting license according to META.yaml
- Use Module::Install as module type
- Adjust MEM_WRAP_CHECK_ patch (was it submitted upstream?)
Upstream changes:
0.005005
- Improve compatibility with MAD-enabled perls
(Reini Urban, Closes RT#45779).
0.005004
- Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of
compilation errors on some perls (Maik Fischer).
0.005003
- Failing tests for line number issues (Ash Berlin).
- Add strip_names_and_args (Cory Watson).
- Various pod fixes (Yanick Champoux, Florian Ragwitz).
- Add copyright statements.
- Updating package of p5 module MooseX::Types from 0.10 to 0.12
- Adjusting dependencies according to META.yaml
- Setting license to ${PERL5_LICENSE} according to META.yaml
- Using Module::Install as module type
Upstream changes:
0.12 Sun Jun 14 14:39:57 PDT 2009
- fix mixing of typelibs with regular Moose classes
0.11 Sat May 23 18:02:35 PDT 2009
- warning on string types and unregistered class/role types
- better error for missing comma
- MooseX::Types::Combine for combining type libs
- Updating package for p5 module MooseX::Emulate::Class::Accessor::Fast
from 0.00802 to 0.00900
- Adjusting license according to META.yaml
- Using Module::Install as module type
Upstream changes:
0.00900 May 29, 2009
- Fix so that classes which implement BUILD themselves still get
all attributes passed to their constuctor placed into the instance
hash (t0m)