← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Make va_list buffer size dynamic in log.cpp. This fixes strange bug

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   6113:9e670c4ea396d50c455bf0a2b31a7c51c4de00ce
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sun May 10 19:55:29 2009 +0200
files:       dolfin/log/Table.cpp dolfin/log/log.cpp dolfin/parameter/NewParameters.cpp
description:
Make va_list buffer size dynamic in log.cpp. This fixes strange bug
in printing parameters. Messages sent through the log system are no
longer limited to DOLFIN_LINELENGTH.


changeset:   6112:1b2b19ddacfa92c80d36dc78a5bb4829605a10c0
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sun May 10 00:33:56 2009 +0200
files:       dolfin/common/Variable.cpp dolfin/common/Variable.h dolfin/log/Logger.cpp dolfin/log/Table.cpp dolfin/log/Table.h dolfin/log/log.cpp dolfin/log/log.h dolfin/parameter/NewParameters.cpp dolfin/parameter/NewParameters.h sandbox/misc/cpp/main.cpp
description:
Add str() to Variable interface (in C++) and overload info()
to accept a Variable, printing the output of str().


changeset:   6111:cb273268cb9be9f70ab2769e704491d623005baf
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sat May 09 23:04:49 2009 +0200
files:       dolfin/swig/dolfin.i dolfin/swig/dolfin_shared_ptr_classes.i
description:
A swig fix for member functions of Variables, when called from dervied
classes that are also declared shared_ptr stored in the swig interface

I just reimplemented the Variable interface in the c++ proxy classes for
both Mesh and Function. This is done using a macro making further fixes
straightforward. Thansk to Ola for this fix.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin