📄 changelog
字号:
* Makefile.am: Removed compiler from list of SUBDIRS and deleted the check-compiler target. This work is now done by autoconf and the configure script, so we don't need to do it again. * configure.in: Bumped AC_PREREQ value to 2.59. Changed blitz/new-config.h back to standard name blitz/config.h. This will now replace the old file that was generate with the bzconfig script. Added nostdinc to list of automake options to prevent automake from adding -I../blitz to set of default include flags. This causes problems with Compaq cxx and is unnecessary because blitz header files are always included as <blitz/foo.h> anyway. * examples/random.cpp: Added workaround for problem with streams when using Compaq cxx compiler. Sending a long double to an ostream causes a core dump, so cast to double before sending value. * examples/rand2.cpp: Added workaround for problem with streams when using Compaq cxx compiler. Sending a long double to an ostream causes a core dump, so cast to double before sending value. * lib/Makefile.am: Corrected setting of include flags. * testsuite/Makefile.am: Corrected setting of include flags. * examples/Makefile.am: Corrected setting of include flags. * benchmarks/Makefile.am: Corrected setting of include flags. * doc/examples/Makefile.am: Corrected setting of include flags. * doc/stencils/Makefile.am: Corrected setting of include flags. * blitz/generate/Makefile.am: Removed incorrect and unneeded definition of generatedir. * m4/ac_cxx_flags_preset.m4: Modified default flags for Compaq cxx compiler to allow use of restrict keyword and simplified the set of optimization flags.2004-03-24 Patrick Guio <patrick.guio@fys.uio.no> * doc/doxygen/Makefile.am doc/doxygen/Doxyfile.in: New files. Handles doxygen documentation. Mostly "cut and paste" from tvmet project (tvmet.sourceforge.net). * configure.in: Added generation of doc/doxygen/Doxyfile from doc/doxygen/Doxyfile.in and doc/doxygen/Makefile. * doc/doxygen/blitz.doxygen: Removed. Replaced by doc/doxygen/Doxyfile.2004-03-22 Patrick Guio <patrick.guio@fys.uio.no> * m4: New directory containing m4 macros files that replace acinclude.m4. * m4/ac_check_cxx_features.m4 m4/ac_compilers_64bits.m4 m4/ac_cxx_bool.m4 m4/ac_cxx_complex_math_in_namespace_std.m4 m4/ac_cxx_const_cast.m4 m4/ac_cxx_default_template_parameters.m4 m4/ac_cxx_dynamic_cast.m4 m4/ac_cxx_enable_debug.m4 m4/ac_cxx_enable_optimize.m4 m4/ac_cxx_enum_computations.m4 m4/ac_cxx_enum_computations_with_cast.m4 m4/ac_cxx_exceptions.m4 m4/ac_cxx_explicit.m4 m4/ac_cxx_explicit_template_function_qualification.m4 m4/ac_cxx_flags_preset.m4 m4/ac_cxx_full_specialization_syntax.m4 m4/ac_cxx_function_nontype_parameters.m4 m4/ac_cxx_general.m4 m4/ac_cxx_have_climits.m4 m4/ac_cxx_have_complex.m4 m4/ac_cxx_have_complex_math.m4 m4/ac_cxx_have_ieee_math.m4 m4/ac_cxx_have_numeric_limits.m4 m4/ac_cxx_have_rusage.m4 m4/ac_cxx_have_std.m4 m4/ac_cxx_have_stl.m4 m4/ac_cxx_have_system_v_math.m4 m4/ac_cxx_have_valarray.m4 m4/ac_cxx_keywords.m4 m4/ac_cxx_math_fn_in_namespace_std.m4 m4/ac_cxx_member_constants.m4 m4/ac_cxx_member_templates.m4 m4/ac_cxx_member_templates_outside_class.m4 m4/ac_cxx_mutable.m4 m4/ac_cxx_namespace.m4 m4/ac_cxx_nceg_restrict.m4 m4/ac_cxx_nceg_restrict_egcs.m4 m4/ac_cxx_old_scoping.m4 m4/ac_cxx_partial_ordering.m4 m4/ac_cxx_partial_specialization.m4 m4/ac_cxx_reinterpret_cast.m4 m4/ac_cxx_rtti.m4 m4/ac_cxx_standard_library.m4 m4/ac_cxx_static_cast.m4 m4/ac_cxx_template_keyword_qualifier.m4 m4/ac_cxx_template_qualified_return_type.m4 m4/ac_cxx_template_qualifier_base_class.m4 m4/ac_cxx_template_scoped_argument_matching.m4 m4/ac_cxx_templates.m4 m4/ac_cxx_templates_as_template_arguments.m4 m4/ac_cxx_templates_features.m4 m4/ac_cxx_type_casts.m4 m4/ac_cxx_type_promotion.m4 m4/ac_cxx_typename.m4 m4/ac_cxx_use_numtrait.m4 m4/ac_env.m4 m4/ac_fortran_flags_preset.m4 m4/ac_info.m4 m4/ac_lib_blas.m4 m4/ac_prog_doxygen.m4 m4/ac_send_config.m4: New files. M4 macros containing functions definitions for the configure.in autoconf file. * acinclude.m4: Removed. Renamed m4/blitz.m4. * m4/blitz.m4: New file. Old acinclude.m4. * Makefile.am configure.in: Updated to use the new m4 macros in m4 directory. configure.in now integrates all the C++ feature tests handled earlier by compiler/bzconfig. It creates the file blitz/new-config.h from the template file blitz/new-config.h.in. blitz/new-config.h replaces blitz/config.h earlier generated by compiler/bzconfig. The --with-cxx option is removed and replaced by standard variable parsing. The C++ compiler flags preset can be overwritten with the new option --disable-cxx-flags-preset. Fortran 77/90 compilers and flags can be overwritten with the new option --disable-fortran-flags-preset. For more help check configure --help. * blitz/compiler.h: Include blitz/new-config.h instead of blitz/config.h. * blitz/Makefile.am: Added new-config.h as a file to install. * blitz/benchext.cc blitz/benchext.h: Added optional argument for saveMatlabGraph to be able to plot 2d graph with requested Matlab command (other type than the earlier default semilogx). * benchmarks/Makefile.am: Cleaned the Fortran 77/90 variables definitions. Make use of the new FC* variables system introduced in configure.in. * benchmarks/loop25.cpp: Corrected number of arithmetic operations to be 6. * benchmarks/plot_benchmarks.m.in: Added information about compiler set up and flags in the front page. * benchmarks/stencil.cpp: Replaced Matlab semilogx command by a linear plot command. * config: New directory containing generated configuration files. * config/texinfo.tex config/mdate-sh: New file. Replace doc/texinfo.tex doc/mdate-sh. * doc/texinfo.tex doc/mdate-sh: Removed. Replaced by config/texinfo.tex config/mdate-sh. * m4/ac_cxx_flags_preset.m4 m4/ac_fortran_flags_preset.m4: Fixed unsupported syntax variable assignement of several strings on several lines to one long string. * benchmarks/Makefile.am: Fixed clean-local target core* into core.[0-9]*. * m4/ac_cxx_flags_preset.m4: Fixed CXXFLAGS flag for Compaq cxx ver.>=6.3. Actually tested just for cxx ver. 6.5. * Makefile.am: Added so_locations cxx_repository in the clean-local target.2004-03-16 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/blitz.h: Added C++ tag for Emacs. I am testing the cvs commit notification system.2004-03-15 Patrick Guio <patrick.guio@fys.uio.no> * configure.in: Replaced "echo" commands by autoconf AC_MSG_NOTICE calls. * acinclude.m4: Quote-protected function definition names.2004-03-09 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/prettyprint.h: Eliminated compiler warnings by adding explicit casts in nextArrayOperandSymbol and nextScalarOperandSymbol methods. * blitz/mathfunc.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. Regenerated from genmathfunc.cpp code. * blitz/generate/genmathfunc.cpp: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/funcs.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/indexexpr.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/mathf2.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/ops.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/update.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/expr.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/fastiter.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/functorExpr.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/map.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/newet-macros.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/reduce.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/stencil-et.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/where.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/zip.h: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/eval.cc: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed. * blitz/array/reduce.cc: Use BZ_STD_SCOPE macro to insert std:: qualifier in front of string type where needed.2004-03-01 Julian Cummings <cummings@artemis.cacr.caltech.edu> * doc/examples/Makefile.am: Added $(EXEEXT) to program names when listed as prerequisites for .out files, so these executables get built properly on platforms where executables do have a filename extension.2004-02-09 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/newet-macros.h: Added new macro BZ_DECLARE_FUNCTION2_SCALAR, which allows the user to declare that a user-defined binary function may be applied to a combination of an Array type and the given scalar type. This macro is intended to be used in conjunction with either BZ_DECLARE_FUNCTION2 or BZ_DECLARE_FUNCTION2_RET, which declare a user-defined binary function applicable to a pair of Array types. The arguments for BZ_DECLARE_FUNCTION2_SCALAR are the function name and the scalar argument type.2004-02-05 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/newet-macros.h: Added space between macro argument "sca" and closing angled bracket ">" to accommodate the use of a scalar type that is a template, such as complex<double>. This eliminates errors reported by the Intel icc compiler.2004-01-20 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/ops.cc: Removed inline keyword from Array::initialize() member function, since this triggers a bug in the gcc optimizer when repeatedly assigning a scalar to an Array slice. * blitz/memblock.cc: Changed argument type for member function allocate() from int to size_t and made type usage consistent throughout this function. * blitz/memblock.h: Changed argument type for member function allocate() from int to size_t to eliminate unintended type conversion. Also fixed internal include guard, removed external include guards and added Emacs C++ tag. * blitz/vector.h: Consolidated multiple versions of copy constructor with const and non-const reference argument into a single version to eliminate compiler warning. Also eliminated external include guards and added Emacs C++ tag.2004-01-08 Julian Cummings <cummings@artemis.cacr.caltech.edu> * examples/prettyprint.cpp: Replaced use of obsolete macro kludge _bz_true with ANSI C++ boolean value true.2004-01-06 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/iter.h: Fixed bug in ConstPointerStack assignment operator.2003-12-30 Julian Cummings <cummings@artemis.cacr.caltech.edu> * testsuite/extract.cpp: Use new BZ_DECLARE_ARRAY_ET_SCALAR_OPS macro to provide binary operators that combine an Array and an RGB24 object. This is needed here to provide the definition for operator==. This is an example of how to place a user-defined concrete data type into the blitz ET system. * testsuite/newet.cpp: Removed the final test in this testsuite code, which was attempting to invoke a ternary functor with one of the arguments being a scalar int. This no longer works because the ternary operator definition has been modified to accept only Array-like ETBase<T> objects. This seems like a more reasonable behavior. One could define ternary combinations that involve one or two scalar objects and convert them into _bz_ArrayExprConstant objects, but I'm not sure there is any real need for such operators. * blitz/array/funcs.h: Added new macro BZ_DECLARE_ARRAY_ET_SCALAR_FUNCS that provides binary functions for combinations of an ETBase<T> and a scalar type. This macro is used to provide binary funcs for Array-like objects interacting with all the common built-in scalar types. It can also be used to define similar functions with a user-defined scalar type. * blitz/array/ops.h: Added new macro BZ_DECLARE_ARRAY_ET_SCALAR_OPS that provides binary operators for combinations of an ETBase<T> and a scalar type. This macro is used to provide binary ops for Array-like objects interacting with all the common built-in scalar types. It can also be used to define similar operators with a user-defined scalar type. * blitz/array/zip.h: Renamed class _bz_ArrayExprOp to _bz_ArrayExprBinaryOp for imporoved clarity. * blitz/array/newet-macros.h: Renamed class _bz_ArrayExprOp to _bz_ArrayExprBinaryOp for imporoved clarity. Reduced the complexity of the BZ_DECLARE_ARRAY_ET_BINARY macro. This macro now applies only to the combination of an ETBase<T1> and an ETBase<T2>, so the operands must be Arrays or Array expression-like objects. Interactions between an ETBase<T> and a scalar type are handled by a new macro called BZ_DECLARE_ARRAY_ET_BINARY_SCALAR, which converts the scalar into an expression object using the asExpr class. The advantage of this approach is that we have fewer combinations to handle and we can avoid ambiguities that might arise with general function templates.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -