Commit Graph

115 Commits

Author SHA1 Message Date
Jeff Garland
e26fd2ed98
pull develop to master for boost 1.72 (#117)
* Synchronize each miscrosec test to the next second (#109)

* Synchronize each miscrosec test to the next second

The aim is to avoid false positives in test_microsec when the seconds,
minutes or hours change during time read between the second_clock and
the microsec_clock.

* Improved readability of the microcec_time_clock test

* Improve performance of adding and subtracting time durations from a ptime. (#99)

Modifying ptime objects by adding and subtracting time durations was
inefficient because it extracted the date and time of day and then
re-constructed a ptime using the date and modified time of day.

This can be avoided by using the existing time_system utilities which
perform the operation by adjusting the number of ticks.

Performance is improved by a factor of 48 on my system.

* Update CI Scripts

* Add time_duration helper functions: (#113)

1. is_positive()
  - Return boolean value to indicate whether or not time duration is
    positive.
2. is_zero()
  - Return boolean value to indicate whether or not time duration is
    zero.
3. abs()
  - Return a time_duration which is the absolute value of time
    duration.

Added documentation for these helper functions and improved existing
documentation to indicate constness, return values or static
functions.

* Cease dependence on MPL (#115)
2019-12-03 17:06:28 -07:00
Mana Borwornpadungkitti
345abc6b67 Fix a typo in example of time_duration xmldoc (#100) 2019-03-24 08:32:07 -07:00
James E. King III
f35bbbe906 trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
James E. King III
18b6ca8160 trac-11142: fix boost::date_time::period_parser::delimiter_strings and add a unit test for it
also added project declarations to jamfiles, added a top level jamfile, and fixed the xmldoc jamfile
also fixed a silent failure y2038 issue in localtime handling and fixed a timezone database parse issue
2018-01-16 12:46:45 -05:00
Edward Diener
53d5131244
Merge pull request #65 from jeking3/trac-12101
trac-12101: fix is_pos_infinity example
2017-12-30 23:23:10 -05:00
Edward Diener
73178412b0
Merge pull request #66 from jeking3/trac-12074
trac-12074: fix get_day_of_week documentation
2017-12-30 23:22:31 -05:00
Edward Diener
2e4a3010f0
Merge pull request #58 from jeking3/issue-56
issue-56: fix binary serialization compatibility problem with time_duration
2017-12-30 16:26:42 -05:00
James E. King III
de171954fe Fix serialization problem with time_duration
This fixes #56
2017-12-29 23:38:44 -05:00
James E. King III
1a931e2f5e trac-12074: fix get_day_of_week documentation 2017-12-28 21:36:42 -05:00
James E. King III
f302689484 trac-12101: fix is_pos_infinity example 2017-12-28 21:33:24 -05:00
James E. King, III
b3b6ddd5ba trac-13194: fix time input facet processing for %e 2017-12-22 08:02:24 -05:00
Jurko Gospodnetić
f690b29348 correct example folder path in docs from examples/ to example/ 2017-03-21 16:51:33 +01:00
Marshall Clow
f1f27d9a55 Apply pull request #22 manually; Fixes #10014 2015-03-01 13:38:04 -08:00
Marshall Clow
ca30f6a01e Documentation patch from 'faithandbrave' 2014-11-18 06:21:59 -08:00
Daniel James
e4f4a89339 Update link to lexical cast. 2014-06-16 11:15:38 +01:00
Marshall Clow
21a29b977b Clarified the docs and examples for previous_weekday and next_weekday. Refs #5753. 2014-03-15 08:53:14 -07:00
Marshall Clow
2dd066d92c Fix typo in docs; Refs #7182
[SVN r80055]
2012-08-16 03:52:00 +00:00
Jeff Garland
a6bca8a4a5 fix for ticket 6077 -- document the NO LIB option
[SVN r79213]
2012-07-01 18:58:59 +00:00
Marshall Clow
b498fbdd1b Applied patches - Refs #3651 Refs #4845
[SVN r70766]
2011-03-30 22:22:15 +00:00
Daniel James
85d61ef073 Fix some links in date_time.
[SVN r63388]
2010-06-27 16:38:50 +00:00
Daniel James
aa1b72b62a 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
Andrey Semashev
901cb1fd20 Refs #3876. Made format flags %T and %R to be processed by the library in order to support them on more platforms. Also marked some flags that are known to have similar problems in the docs.
[SVN r62450]
2010-06-05 17:09:37 +00:00
Marshall Clow
73e55ee157 Fixes bug 2708
[SVN r57844]
2009-11-22 17:08:22 +00:00
Andrey Semashev
4558ebe892 Docs updated according to fixes for tickets #1861 and #2213.
[SVN r56507]
2009-10-01 20:22:04 +00:00
Daniel James
84ae903714 Add depencies on doxygen documentation to standalone documentation targets.
This seems to be needed for building pdfs.

[SVN r55729]
2009-08-23 10:07:25 +00:00
Andrey Semashev
87dab33026 Added recent changes.
[SVN r53680]
2009-06-06 11:29:09 +00:00
Andrey Semashev
ee7665b716 Fixes #2710.
[SVN r53620]
2009-06-04 09:47:12 +00:00
John Maddock
8a5d48f39c 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
Andrey Semashev
acc5739dbd Moved last two bug fixes to 1.38 section as they are going to this release.
[SVN r50941]
2009-02-01 11:18:26 +00:00
Andrey Semashev
4812f46d4e Replaced tabs with spaces.
[SVN r50878]
2009-01-29 18:58:24 +00:00
Andrey Semashev
15c4ebd523 Removed dereferencing of end iterators of strings, which could cause crashes on MSVC. Fixed #2698.
[SVN r50877]
2009-01-29 18:54:17 +00:00
Andrey Semashev
45512be109 testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users.
[SVN r49933]
2008-11-25 20:55:03 +00:00
Andrey Semashev
462d59604b Fixed a possible crash in gregorian::special_value_from_string if the string did not represent a valid special value. The find_match function now accepts the size of lookup tables rater than the maximum index.
[SVN r49875]
2008-11-22 13:40:54 +00:00
Andrey Semashev
4ea026b835 In FILETIME support functions fixed a possible integer wrapping that would cause to invalid conversion of FILETIME before 1970-01-01 into a DateTime time. In time facet changed the reaction on a too long hours string to an assert rather than truncating the string. Updated docs and tests to reflect these changes.
[SVN r49874]
2008-11-22 12:49:20 +00:00
Andrey Semashev
33fb3ebfe0 Fixed missing <entry> tag.
[SVN r49726]
2008-11-13 19:34:32 +00:00
Andrey Semashev
f518db10a5 Fixed examples for time_period constructors.
[SVN r49724]
2008-11-13 19:22:08 +00:00
Andrey Semashev
58f4e4bbd7 Changed the Boost version that will contain the latest changes.
[SVN r49702]
2008-11-12 18:01:37 +00:00
Andrey Semashev
d170c71007 Fixed a number of misprints in the documentation, added change notes for
the latest commit. The tests are modified to support the latest changes.


[SVN r49506]
2008-11-01 10:36:57 +00:00
Daniel James
aebbc1c144 Merge in documentation fixes. Apart from the change to optional's documenation
Jamfile, which I included by mistake.

Fixes #1659, #1661, #1684, #1685, 1687, #1690, #1801

I wrote about this at:

http://lists.boost.org/Archives/boost/2008/04/136405.php

Merged revisions 44585-44806 via svnmerge from 
https://svn.boost.org/svn/boost/branches/doc

........
  r44585 | danieljames | 2008-04-19 16:25:27 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to vacpp in bjam docs. Refs #1512
........
  r44586 | danieljames | 2008-04-19 16:27:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to bcpp in bjam docs. Refs #1513
........
  r44587 | danieljames | 2008-04-19 16:33:58 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  DateTime documentation - Fix a link to the serialization library. Refs #1659
........
  r44588 | danieljames | 2008-04-19 16:35:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in interprocess & intrusive. Refs #1661
........
  r44589 | danieljames | 2008-04-19 16:37:39 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the python docs. Refs #1684.
........
  r44590 | danieljames | 2008-04-19 16:38:29 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Work around a quickbook bug which is affecting the python docs. Refs #1684.
........
  r44591 | danieljames | 2008-04-19 16:39:34 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a broken link in the numeric conversion docs. Refs #1685
........
  r44592 | danieljames | 2008-04-19 16:40:45 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the optional docs. Refs #1687
........
  r44593 | danieljames | 2008-04-19 16:42:09 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix link to the hash documentation from bimap. Refs #1690
........
  r44599 | danieljames | 2008-04-19 18:07:33 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a typo in the format library. Refs #1801
........
  r44600 | danieljames | 2008-04-19 19:20:59 +0100 (Sat, 19 Apr 2008) | 1 line
  
  Initialise svnmerge.
........
  r44641 | danieljames | 2008-04-20 18:59:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix the lincense url in shared container iterator documentation.
........
  r44642 | danieljames | 2008-04-20 19:00:00 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix image link in the mpi documentation.
........
  r44643 | danieljames | 2008-04-20 19:00:11 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix a typo in the spirit docs.
........
  r44644 | danieljames | 2008-04-20 19:00:23 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Escape the slash so that quickbook doesn't think it the start of an italic section, and mess up the link. Refs #1844
........
  r44647 | danieljames | 2008-04-20 19:39:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix another typo in spirit docs.
........


[SVN r44807]
2008-04-27 07:39:49 +00:00
Daniel James
9b5d99078e Fix broken copyright urls. Fixes #1573.
[SVN r43422]
2008-02-27 18:51:14 +00:00
Daniel James
1629ac31d0 Frank Mori Hess's patch to get the documentation building.
[SVN r41506]
2007-11-30 19:28:46 +00:00
Jeff Garland
387f8b7bf6 fix and clarify ticks_per_second docs.
[SVN r37476]
2007-04-21 18:17:19 +00:00
Rene Rivera
9586e247ac Put in the build support for using the doxproc, Python based, Doxygen to BoostBook translator.
[SVN r37457]
2007-04-17 04:44:59 +00:00
Jeff Garland
2a19fc5fb0 SF tracker 1672139 - fix end time in au_dst_traits to 3 hours instead of 2
[SVN r37130]
2007-03-02 05:19:06 +00:00
Jeff Garland
998143109f Remove unused variables from serialization code to prevent warnings
[SVN r37129]
2007-03-02 02:50:49 +00:00
Jeff Garland
461e80afd6 Changes to fix the compile-time dst rules engines for 2007 US and Canada dst changes
[SVN r37128]
2007-03-02 02:04:55 +00:00
Jeff Garland
3dba864d34 updates to docs for new timezone checkins
[SVN r37043]
2007-02-23 02:21:58 +00:00
Jeff Garland
53042733a8 minor documentation fix for end_of_month method
[SVN r37004]
2007-02-19 13:30:42 +00:00
Jeff Garland
4288e5fc08 minor wording update
[SVN r34868]
2006-08-11 13:53:46 +00:00
Jeff Garland
ed1cb467d0 fixes for copyright
[SVN r34640]
2006-07-20 15:55:16 +00:00