Happy New Year!
Finalize 1.8.2 release. Oh, and Happy New Year!
Happy New Year!
Happy New Year!
Happy New Year!
Happy New Year!
Happy New Year! Update copyright statements.
Clean up some header files and fix compilation with MSC. On MSC there is no <unistd.h>. It turns out that we need to #include <io.h> in order to use close(3). This fixes the build failure introduced in 8305ec38. Thanks to Jan Rheinländer for reporting this.
Replace mktemp with mkstemp. As the manpage says, mktemp is deprecated ("Never use mktemp") and gcc warns about the usage of mktemp. Replace mktemp with its safe variant mkstemp.
Install ginac-excompiler in $LIBEXECDIR, not in $BINDIR. ...and make the GiNaC library aware of where it is installed. The ginac-excompiler script is only invoked by GiNaC::compile_ex(...) and serves no purpose on its own. In compliance with the FHS, it should be installed in $LIBEXECDIR, not in $BINDIR. This also disburdens distribution packagers from having to provide a manpage (which may be required for all programs in $BINDIR). The location for $LIBEXECDIR defaults to ${prefix}/libexec/. It may be overwritten at configuration time. (Many distributions want to set it to ${prefix}/lib/ginac/.)
Happy New Year!
Use initializer lists to construct container<>, lst. Add constructor of initializer_list<ex> to container<C<ex>>. In particular, this means that we can finally declare lst objects as lst{a,2*b,2}. Convert GiNaC to this syntax throughout. Deprecate the old constructors taking 1..16 ex parameters and the ones from comma seaparated lists (without braces).
Use C++11 range-based foor loops and auto, where possible.
Replace use of NULL by C++11 nullptr.
Fix some apparent typos and misindentations.
Happy new year!
Update copyright statements.
Extend copyright to 2011.
Fix dangerous iterator use. This was detected by cppcheck and reported by Martin Ettl <ettl.martin@gmx.de>.
Fix memory leak in excompiler due to use of wrong operator delete. This was reported by Martin Ettl <ettl.martin@gmx.de>.