Commit Graph

635 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
e08235d038 Chrono: extract do_get_prefix_unit function so that the facet can be specialized to take in account more periods like days, weeks needed for dates
[SVN r75420]
2011-11-08 23:23:36 +00:00
Vicente J. Botet Escriba
15ac7d0741 Chrono: Removed unused files io/duration_unit_string.hpp and io/translate.hpp
[SVN r75419]
2011-11-08 22:58:16 +00:00
Vicente J. Botet Escriba
24321eeab2 Chrono: refactor stopwatch_reporter
[SVN r75408]
2011-11-08 16:52:56 +00:00
Vicente J. Botet Escriba
3c8e6def84 Chrono: refactor duration_get to allow more than 2 plural forms
[SVN r75346]
2011-11-06 20:54:21 +00:00
Vicente J. Botet Escriba
2e72cd0f15 Chrono: Make duration_units use ratio_io
[SVN r75345]
2011-11-06 13:58:24 +00:00
Vicente J. Botet Escriba
48b7a3f675 Chrono: fix bad use of duration_style::prefix in IO V1
[SVN r75344]
2011-11-06 12:26:44 +00:00
Vicente J. Botet Escriba
4f755ded61 Chrono: Fix some bad setting of err
[SVN r75335]
2011-11-06 03:54:39 +00:00
Vicente J. Botet Escriba
3a82672df5 Chrono: Added time_point units, get and put facets and adapt time_point I/O
[SVN r75334]
2011-11-06 03:07:43 +00:00
Vicente J. Botet Escriba
a14852f0f7 Chrono: cleanup io v2 version removing v1 parts.
[SVN r75332]
2011-11-05 23:19:09 +00:00
Vicente J. Botet Escriba
ec165883bd Chrono: restore io v1 and fix some error in it.
[SVN r75331]
2011-11-05 22:12:23 +00:00
Vicente J. Botet Escriba
d80da9c037 Chrono: fix some error in duration_get err parameter
[SVN r75330]
2011-11-05 22:08:43 +00:00
Vicente J. Botet Escriba
70d12d3bb4 Chrono: Fix error in time ios state savers
[SVN r75329]
2011-11-05 22:07:04 +00:00
Vicente J. Botet Escriba
167639c4e6 Chrono: Cleanup
[SVN r75328]
2011-11-05 22:05:23 +00:00
Vicente J. Botet Escriba
23a1693923 Chrono: Cleanup
[SVN r75327]
2011-11-05 22:03:22 +00:00
Vicente J. Botet Escriba
d594ebe0c5 Chrono: Cleanup
[SVN r75326]
2011-11-05 22:01:27 +00:00
Vicente J. Botet Escriba
f46ed6e3a0 Chrono: Added duration_units::global() and some refactoring so that the client code is simpler: imbue_if_has_not
[SVN r75292]
2011-11-03 22:39:07 +00:00
Vicente J. Botet Escriba
db8f56a576 Chrono: Added ios_base flasgs and state interal utilities and adapt the ios_base_state.hpp to them.
[SVN r75291]
2011-11-03 19:40:26 +00:00
Vicente J. Botet Escriba
b7b55ceb0d Chrono: remove warning
[SVN r75282]
2011-11-03 00:43:06 +00:00
Vicente J. Botet Escriba
6e65157355 Chrono: Added internal manip utility + adaptation, rename internam time_info by ios_base_data
[SVN r75281]
2011-11-02 21:46:47 +00:00
Vicente J. Botet Escriba
4d159756c5 Chrono: Update french show the customization for '0 seconde'.
[SVN r75242]
2011-11-01 22:48:51 +00:00
Vicente J. Botet Escriba
b138e35634 Chrono: Update french example to use the new facet.
[SVN r75241]
2011-11-01 22:40:12 +00:00
Vicente J. Botet Escriba
28c4558e88 Chrono: fix 2 new tests [N/D]second and duration input from float or double
[SVN r75239]
2011-11-01 20:33:32 +00:00
Vicente J. Botet Escriba
14e5946f5c Chrono: fix 2 new tests [N/D]second and duration input from float or double
[SVN r75237]
2011-11-01 20:23:03 +00:00
Vicente J. Botet Escriba
1f7cb34ed6 Chrono: simplify the switch
[SVN r75206]
2011-10-31 23:53:27 +00:00
Vicente J. Botet Escriba
b9e65a8e24 Chrono: complete plural forms
[SVN r75203]
2011-10-31 22:41:49 +00:00
Vicente J. Botet Escriba
7d742c31a9 Chrono: Added duration_get facade + some needed adaptations
[SVN r75202]
2011-10-31 19:04:46 +00:00
Vicente J. Botet Escriba
d0198e2541 Chrono: rename unit_strings.hpp to duration_units.hpp
[SVN r75191]
2011-10-31 13:34:34 +00:00
Vicente J. Botet Escriba
112967323a Chrono: refactor the ios_base state+Add duration_put facet+refactor duration_units
[SVN r75186]
2011-10-31 11:43:23 +00:00
Vicente J. Botet Escriba
3dc1109b13 Chrono: refactor the virtual functions to avois possible conversions
[SVN r75178]
2011-10-30 14:02:21 +00:00
Vicente J. Botet Escriba
5710f9a8e2 Ratio/Chrono Fix issue with overflow while seen if is_evenly_divisible_by
[SVN r75177]
2011-10-30 13:59:22 +00:00
Vicente J. Botet Escriba
78445a90c5 Chrono: refactor time fmt xalloc/pword
[SVN r75173]
2011-10-29 22:04:55 +00:00
Vicente J. Botet Escriba
4688e15b00 Chrono: Replaced symbol m by min to conform with standards + Added unit_strings facet that would replace the duration_punct facet + extract duratio_style.hpp + try to fix strdup bug on sunstudio + Ratio: Added prefix and symbol functions
[SVN r75171]
2011-10-29 20:36:47 +00:00
Vicente J. Botet Escriba
5b24adf30e Chrono: Added some perf tests
[SVN r75156]
2011-10-28 14:52:26 +00:00
Vicente J. Botet Escriba
66de0fd5aa Chrono: Towards the replacement of facet by xalloc
[SVN r75155]
2011-10-28 14:48:30 +00:00
Vicente J. Botet Escriba
f9e356bcaa Chrono: use time_fmt with a format
[SVN r75154]
2011-10-28 14:47:07 +00:00
Vicente J. Botet Escriba
7bec680590 Chrono: Add return boost::report_errors();
[SVN r75153]
2011-10-28 14:45:44 +00:00
Vicente J. Botet Escriba
4a956d4cef Chrono: French test works only with old implementation
[SVN r75150]
2011-10-27 22:58:19 +00:00
Vicente J. Botet Escriba
432ff702b4 Chrono: Adapt test to new I/O implementation
[SVN r75149]
2011-10-27 22:55:52 +00:00
Vicente J. Botet Escriba
baf41adc4d Chrono: fix [1/1]seconds
[SVN r75147]
2011-10-27 21:50:04 +00:00
Vicente J. Botet Escriba
c8fd694c8d Chrono: fix missin '-' in Y-m-d
[SVN r75146]
2011-10-27 21:48:28 +00:00
Vicente J. Botet Escriba
e61648c955 Chrono: Fix single threaded build issue
[SVN r75001]
2011-10-16 22:56:22 +00:00
Vicente J. Botet Escriba
b53f84ec3d Chrono: Fix single threaded build issue
[SVN r75000]
2011-10-16 22:55:10 +00:00
Vicente J. Botet Escriba
2642763895 Chrono: Fix bug when using translation (missing returnsvn diff! and typo)
[SVN r74941]
2011-10-13 22:32:29 +00:00
Vicente J. Botet Escriba
a227c207b7 Chrono: try to solve issue building Boost.Chrono with <threading>single
[SVN r74902]
2011-10-10 19:57:57 +00:00
Vicente J. Botet Escriba
14c585046e Chrono: use config macros CONSTEXPR and NOEXCEPT
[SVN r74901]
2011-10-10 19:27:40 +00:00
Vicente J. Botet Escriba
091a7ef251 Chrono:Fix bad merge
[SVN r74835]
2011-10-09 01:10:03 +00:00
Vicente J. Botet Escriba
6db7aba17e Chrono: Fix protecting include file
[SVN r74834]
2011-10-09 00:57:37 +00:00
Vicente J. Botet Escriba
4a8f7ae96e Chrono: Fix missing include config.hpp
[SVN r74829]
2011-10-09 00:35:42 +00:00
Vicente J. Botet Escriba
fe8aa040ee Chrono: Fix missing include config.hpp
[SVN r74828]
2011-10-09 00:35:17 +00:00
Vicente J. Botet Escriba
bf0b11db25 Chrono: Add some io tests
[SVN r74807]
2011-10-08 15:02:46 +00:00