Commit Graph

106 Commits

Author SHA1 Message Date
Lorenzo Caminiti
bbc5b4ec92 Fixed a bug with _ALL on MSVC.
[SVN r77697]
2012-04-01 19:57:23 +00:00
Lorenzo Caminiti
fd59638b93 Fixed a spelling bug in a ScopeExit regression test (executed only in type-of emulation mode).
[SVN r77690]
2012-04-01 18:55:40 +00:00
Lorenzo Caminiti
5273b2aae7 Using Boost.Detail/LightweightTest instead of Boost.Test for ScopeExit tests and examples (because Boost.Test fails to build on some regression test platforms and because this library tests are simple enough that they don't really require Boost.Test).
[SVN r77663]
2012-03-31 13:27:36 +00:00
Lorenzo Caminiti
729650add3 Added linking to Boost.Test in Boost.ScopeExit example Jamfile.
[SVN r77566]
2012-03-26 19:02:48 +00:00
Lorenzo Caminiti
57b43c4464 I think I fixed a bug in ScopeExit that caused not to use typename prefix on non-variadic compilers when capturing this (e.g., on Intel compilers). I don't have such a compiler so I need to check the regression tests to verify the fix...
Also using MPL_ASSERT to improve compiler error messages when trying to capture this on MSVC in type-of emulation mode (which doesn't work because of a MSVC bug).

[SVN r77565]
2012-03-26 18:26:30 +00:00
Lorenzo Caminiti
16c02a6f33 Fixed an include (wrong file).
[SVN r77548]
2012-03-25 21:03:05 +00:00
Lorenzo Caminiti
d57263204c Added #error to tests and examples that require variadic macros and/or lambda functions for better error reporting.
Split all sequence syntax with forced no-variadic tests and examples (..._nova) in their own separate file (to avoid macro redefinition warning on compilers within variadic macros).
Updated docs.

[SVN r77546]
2012-03-25 20:05:38 +00:00
Lorenzo Caminiti
9e61d72c30 Fixed a typo that caused a test to fail on PGI with type-of emu (peron instead of person).
[SVN r77520]
2012-03-24 22:11:10 +00:00
Lorenzo Caminiti
59cf49476e Fixed a bug in deducing this type on MSVC when using lambda implementation for SCOPE_EXIT_ALL (I was missing a typename).
[SVN r77488]
2012-03-22 21:39:49 +00:00
Lorenzo Caminiti
e1cd1d21e7 Split Utility/IdentityType and Functional/OverloadedFunction tests into smaller tests.
Updated docs for ScopeExit, LocalFunction, Utility/IdentityType, and Functional/OverloadedFunction.

[SVN r77484]
2012-03-22 20:54:20 +00:00
Lorenzo Caminiti
e102c9397c Renamed cpp11 to cxx11 in LocalFunction.
Added _ID to ScopeExit and LocalFunction.

[SVN r77425]
2012-03-20 02:14:14 +00:00
Lorenzo Caminiti
15c7db9c2d Fixed type capture for this via this_ for scope exit lambda implementation (disabled by default).
[SVN r77421]
2012-03-19 21:43:15 +00:00
Lorenzo Caminiti
37eb2eedd2 Added tests for ScopeExit and LocalFunction _ID macros.
[SVN r77407]
2012-03-19 18:09:12 +00:00
Lorenzo Caminiti
11238c4196 Added _ID macro to LocalFunction and corrected code doc typo in ScopeExit.
[SVN r77406]
2012-03-19 17:09:34 +00:00
Lorenzo Caminiti
614e08b594 Updated docs.
[SVN r77404]
2012-03-19 17:00:07 +00:00
Lorenzo Caminiti
cf11e972ae Updating ScopeExit docs.
[SVN r77403]
2012-03-19 16:55:55 +00:00
Lorenzo Caminiti
7ac325cf4d Fixed a bug that on MSVC did not expand () around this when constructing params struct with only 1 capture for this_.
Workaround MSVC PP problem in dealing with empty params by trailing EMPTY as in `BOOST_PP_IS_EMPTY(ty BOOST_PP_EMPTY())`.

[SVN r77398]
2012-03-19 00:14:52 +00:00
Lorenzo Caminiti
cfefb68957 Fixed a bug in capturing this_ that caused ScopeExit tests to fail with an internal error on old GCCs for templates (now this type is deduced within a struct like all other type captures to workaround this). Added a test for this case (..._this_tpl.cpp).
Fixed a bug that omitted `= {}` when this_ was the only ScopeExit captured variable (now generating `= {}` even when only this_ is captured).
Fixed LocalFunction to work with the above ScopeExit fixes (some of which required changes to ScopeExit protected macro interface).

[SVN r77389]
2012-03-18 21:53:39 +00:00
Lorenzo Caminiti
af73df65c0 Using MSVC typeof(this) workaround on all MSVC version not just 8.0 because trunk regression tests shown this MSVC bug (which raises error C2355) was not fixed in 9 and later version as originally thought.
[SVN r77336]
2012-03-14 18:28:49 +00:00
Lorenzo Caminiti
2f3dee02af Fixed a bug that was not defining SCOPE_EXIT_ALL when BOOST_NO_VARIADIC_MACROS is defined (because of a typo, SOPE_EXIT_AUX_LAMBDAS was used instead of SCOPE_EXIT_LAMBDAS_01).
[SVN r77086]
2012-02-21 02:21:51 +00:00
Lorenzo Caminiti
96863a6bc2 Fixed all sequence syntax tests and examples and always compiling them also forcing BOOST_NO_VARIADIC_MACROS.
[SVN r77085]
2012-02-20 21:47:47 +00:00
Lorenzo Caminiti
a944a554da Updated docs.
[SVN r77081]
2012-02-20 20:18:07 +00:00
Lorenzo Caminiti
c073d753cc Updated ScopeExit "world" tests making person a struct instead of a class.
Added a code comment to Utility/IdentityType tmp_assert test.

[SVN r77071]
2012-02-18 19:29:35 +00:00
Lorenzo Caminiti
40c505750e Added Boost.Utility/IdentityType and Boost.Functional/OverloadedFunction to status/Jamfile.v2 list of regression tests.
Updated Boost.ScopeExit documentation.

[SVN r77059]
2012-02-17 21:02:00 +00:00
Lorenzo Caminiti
95385ba025 Not compiling tests that require variadic macros on compilers for with BOOST_NO_VARIADIC_MACROS is defined.
[SVN r77057]
2012-02-17 17:52:33 +00:00
Lorenzo Caminiti
698e2abc9f Removed compilation of SCOPE_EXIT_ALL forcing no variadics because it always requires C++11.
[SVN r77044]
2012-02-16 21:35:12 +00:00
Lorenzo Caminiti
09cc9ca357 Fixed a bug in BOOST_LOCAL_FUNCTION_DETAIL_PP_VOID_LIST: a typo VOId -> VOID.
Fixed a bug in scope_exit.hpp: An extra trailing \ in a macro definition (compiled only when BOOST_NO_VARIADIC_MACROS is defined).
Renamed LocalFunction and ScopeExit tests and examples from _err to _error.
Updated LocalFunction docs.

[SVN r77042]
2012-02-16 18:24:34 +00:00
Lorenzo Caminiti
5a97739f59 Updated ScopeExit docs.
[SVN r77031]
2012-02-15 01:23:13 +00:00
Lorenzo Caminiti
fdc03a4eeb Updating ScopeExit docs, examples, and tests after supporting variadics (with full backward compatibility), this capture (this_), no capture (void), and C++11 extensions.
[SVN r77030]
2012-02-15 01:19:41 +00:00
Lorenzo Caminiti
ee5afa259e Committing ScopeExit improvements: variadic macro syntax (with full backward compatibility to pp-seq), capture this, capture nothing (void), and C++11 extensions.
[SVN r77026]
2012-02-15 00:44:45 +00:00
Alexander Nasonov
1707a6ea06 Use C++-0X lambdas when they are available.
[SVN r75550]
2011-11-19 12:21:36 +00:00
Alexander Nasonov
30711a780d Test modification of a variable passed to a block by value.
[SVN r75549]
2011-11-19 11:53:58 +00:00
Daniel James
fab7538f6c Merge more rebuilt documentation.
[SVN r63771]
2010-07-08 23:13:28 +00:00
Daniel James
fd2168edf8 Rebuild the scope_exit documentation.
I didn't use the latest version which changes a file name and hasn't
been merged yet.

[SVN r63769]
2010-07-08 22:51:00 +00:00
Daniel James
d7e8e69967 Merge documentation fixes.
* Use `doc/src/*.css` instead of `doc/html/*.css`.
* Remove wiki and people directories.
* Some documentation fixes.
* Left out `minimal.css` changes and boostbook changes because of clashes.


[SVN r63347]
2010-06-26 12:30:09 +00:00
Daniel James
85948b66aa Update various libraries' documentation build.
Mostly to use the images and css files under doc/src instead of
doc/html, usually be deleting the settings in order to use the defaults.
Also add 'boost.root' to some builds in order to fix links which rely on
it.

[SVN r63146]
2010-06-20 18:00:48 +00:00
Alexander Nasonov
c71a335101 ScopeExit: merge from trunk
[SVN r56112]
2009-09-08 20:29:10 +00:00
Alexander Nasonov
6ae137ab10 Get rid of "comparisons like X<=Y<=Z do not have their mathematical meaning" gcc warning, based on the patch from Kim Barrett.
[SVN r56073]
2009-09-06 23:17:53 +00:00
Alexander Nasonov
f995d7ea7f Rename a section
[SVN r53101]
2009-05-18 23:18:18 +00:00
John Maddock
934b0b77de Merge PDF build changes from Trunk.
[SVN r51417]
2009-02-23 18:39:32 +00:00
John Maddock
9ce12ad74c Add PDF generation options to fix external links to point to the web site.
Added a few more Boostbook based libs that were missed first time around.
Fixed PDF naming issues.

[SVN r51284]
2009-02-17 10:05:58 +00:00
Daniel James
0d6a43befb Merge several documentation fixes. Plus a small inspect fix.
Merged revisions 50798-50799,50837-50839,50847-50848 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r50798 | danieljames | 2009-01-26 23:14:53 +0000 (Mon, 26 Jan 2009) | 5 lines
  
  Make checking for duplicated names case insensitive.
  
  This avoids generating filenames with names that only differ by case as they
  cause problems on case insensitive file systems.
........
  r50799 | danieljames | 2009-01-26 23:29:52 +0000 (Mon, 26 Jan 2009) | 1 line
  
  Label the line ending inspect errors.
........
  r50837 | danieljames | 2009-01-28 09:14:21 +0000 (Wed, 28 Jan 2009) | 1 line
  
  Add scope exit to the root html file.
........
  r50838 | danieljames | 2009-01-28 09:14:45 +0000 (Wed, 28 Jan 2009) | 1 line
  
  Fix a link in the typeof forwarding html file.
........
  r50839 | danieljames | 2009-01-28 09:14:56 +0000 (Wed, 28 Jan 2009) | 1 line
  
  Fix an incorrectly escaped right arrow.
........
  r50847 | danieljames | 2009-01-28 15:17:34 +0000 (Wed, 28 Jan 2009) | 2 lines
  
  Fix some documentation issues with scope_exit.
........
  r50848 | danieljames | 2009-01-28 15:32:46 +0000 (Wed, 28 Jan 2009) | 1 line
  
  Generate the scope_exit documentation.
........


[SVN r50849]
2009-01-28 15:53:42 +00:00
Daniel James
f8f7b3500a Generate the scope_exit documentation.
[SVN r50848]
2009-01-28 15:32:46 +00:00
Daniel James
a8b0e9fa53 Fix some documentation issues with scope_exit.
[SVN r50847]
2009-01-28 15:17:34 +00:00
Alexander Nasonov
945d709e17 Add missing copyright&license.
[SVN r50793]
2009-01-26 20:13:37 +00:00
Alexander Nasonov
bcd24f93e1 Add missing copyright&license.
[SVN r50792]
2009-01-26 20:13:12 +00:00
Alexander Nasonov
c507b59eab Merge ScopeExit documentation from trunk.
[SVN r50761]
2009-01-25 11:25:05 +00:00
Alexander Nasonov
5c005105ca Fix some typos and make minor changes
[SVN r50732]
2009-01-22 20:42:59 +00:00
Alexander Nasonov
7da6dbe0d0 ScopeExit documentation.
[SVN r50718]
2009-01-21 23:51:17 +00:00
Alexander Nasonov
72aab34e29 Merge ScopeExit from trunk.
[SVN r50712]
2009-01-21 20:33:17 +00:00