Commit graph

37873 commits

Author SHA1 Message Date
Daniel James
15de6c758e Html redirects for ratio.
[SVN r69255]
2011-02-24 22:40:21 +00:00
Barend Gehrels
172923ae8e Testcases for difference, assign, append
[SVN r69254]
2011-02-24 22:32:00 +00:00
Barend Gehrels
6544443252 Doc update, added images,
Added union/difference docs
Added samples

[SVN r69253]
2011-02-24 22:31:37 +00:00
Barend Gehrels
5fdda5357c Doc update
Fixed/added difference with box (box/Reversed)
Fixed/added append for some combinations (segment), splitted dispatch into two cases


[SVN r69252]
2011-02-24 22:29:01 +00:00
Peter Dimov
f681e34e99 Apply suggested fix. Refs #4127.
[SVN r69251]
2011-02-24 22:05:04 +00:00
Peter Dimov
8da8c47df0 Fix make_shared to not copy the deleter. Refs #4256. Refs #3875.
[SVN r69250]
2011-02-24 21:51:21 +00:00
Daniel James
598ff638ed Workaround for optimization bug in 64-bit g++ 4.4.
[SVN r69249]
2011-02-24 20:56:47 +00:00
Daniel James
078ac1f8b6 Same for chrono.
[SVN r69248]
2011-02-24 20:56:05 +00:00
Daniel James
e3ac1c5f46 Add ratio to generated documentation, clean up libraries.htm entry and fix ratio redirect.
[SVN r69247]
2011-02-24 20:55:31 +00:00
Peter Dimov
7e4a3e55a8 Apply patch. Refs #4478.
[SVN r69246]
2011-02-24 20:53:46 +00:00
Peter Dimov
11c5f6b195 Warning 4284 is obsolete. Refs #4433.
[SVN r69245]
2011-02-24 20:48:17 +00:00
Peter Dimov
96a1e94564 Apply patch to allow perfect forwarding without variadics. Refs #4892.
[SVN r69244]
2011-02-24 20:41:29 +00:00
Vicente J. Botet Escriba
c5b000508e correct á
[SVN r69243]
2011-02-24 20:39:17 +00:00
Peter Dimov
360120cbae Add include guards, make_shared.hpp to smart_ptr.hpp. Refs #4288. Refs #5189.
[SVN r69242]
2011-02-24 20:29:38 +00:00
David Deakins
cc9371918a Changes to complete Boost.Chrono support for Windows CE. Closes ticket 5218.
[SVN r69240]
2011-02-24 18:21:52 +00:00
Beman Dawes
d6ab80f480 Add release_history.html, update links accordingly.
[SVN r69237]
2011-02-24 12:27:40 +00:00
Joel de Guzman
a68313943a more updates
[SVN r69233]
2011-02-24 06:31:06 +00:00
Vicente J. Botet Escriba
d8d628ba90 Chrono: Force <threading multi for pgi compiler waiting for a better option.
[SVN r69232]
2011-02-24 06:28:50 +00:00
David Deakins
0cdae8175f Changes to resolve VC9 compiler errors
[SVN r69227]
2011-02-23 22:50:26 +00:00
Beman Dawes
e5ad6822f6 Fix for STLPort (#5217)
[SVN r69220]
2011-02-23 20:16:41 +00:00
Hartmut Kaiser
f9bfd38182 Spirit: Fixing obscure bug in qi::attr(), added test case
[SVN r69219]
2011-02-23 20:09:38 +00:00
Hartmut Kaiser
4113048139 Spirit: Fixing obscure bug in qi::attr()
[SVN r69218]
2011-02-23 20:08:35 +00:00
Joel de Guzman
0a7fb59f1e More updates
[SVN r69204]
2011-02-23 10:54:02 +00:00
John Maddock
90d5ae5bf0 Fix typo.
Fixes #5205.

[SVN r69203]
2011-02-23 09:54:02 +00:00
Joel de Guzman
3487cd5620 the compiler tutorial
[SVN r69202]
2011-02-23 07:21:33 +00:00
Christopher Kohlhoff
f665b38d59 Changes for asio version 1.5.1:
* Added support for signal handling, using a new class called
  signal_set. Programs may add one or more signals to the set, and then
  perform an async_wait() operation. The specified handler will be
  called when one of the signals occurs. The same signal number may
  registered with multiple signal_set objects, however the signal number
  must be used only with Asio.

* Added handler tracking, a new debugging aid. When enabled by defining
  BOOST_ASIO_ENABLE_HANDLER_TRACKING, Asio writes debugging output to
  the standard error stream. The output records asynchronous operations
  and the relationships between their handlers. It may be post-processed
  using the included [^handlerviz.pl] tool to create a visual
  representation of the handlers (requires GraphViz).

* Fixed a bug in asio::streambuf where the consume() function did not
  always update the internal buffer pointers correctly. The problem may
  occur when the asio::streambuf is filled with data using the standard
  C++ member functions such as sputn(). (Note: the problem does not
  manifest when the streambuf is populated by the Asio free functions
  read(), async_read(), read_until() or async_read_until().)

* Fixed a bug on kqueue-based platforms, where reactor read operations
  that return false from their perform() function are not correctly
  re-registered with kqueue.

* Modified the buffers_iterator<> and ip::basic_resolver_iterator
  classes so that the value_type typedefs are non-const byte types.


[SVN r69198]
2011-02-23 01:42:40 +00:00
Hartmut Kaiser
5852c303de Wave: Fixed whitespace handling, added a corresponding set of test cases
[SVN r69196]
2011-02-23 01:31:14 +00:00
Hartmut Kaiser
71d346d88f Wave: Fixed whitespace handling
[SVN r69195]
2011-02-23 01:30:13 +00:00
Christopher Kohlhoff
6a241b131f Changes for asio version 1.5.0:
* Added support for timeouts on socket iostreams, such as
  ip::tcp::iostream. A timeout is set by calling expires_at() or
  expires_from_now() to establish a deadline. Any socket operations
  which occur past the deadline will put the iostream into a bad state.

* Added a new error() member function to socket iostreams, for
  retrieving the error code from the most recent system call.

* Added a new basic_deadline_timer::cancel_one() function. This function
  lets you cancel a single waiting handler on a timer. Handlers are
  cancelled in FIFO order.

* Added a new transfer_exactly() completion condition. This can be used
  to send or receive a specified number of bytes even if the total size
  of the buffer (or buffer sequence) is larger.

* Added new free functions connect() and async_connect(). These
  operations try each endpoint in a list until the socket is
  successfully connected.

* Extended the buffer_size() function so that it works for buffer
  sequences in addition to individual buffers.

* Added a new buffer_copy() function that can be used to copy the raw
  bytes between individual buffers and buffer sequences.

* Added new non-throwing overloads of read(), read_at(), write() and
  write_at() that do not require a completion condition.

* Added friendlier compiler errors for when a completion handler does
  not meet the necessary type requirements. When C++0x is available
  (currently supported for g++ 4.5 or later, and MSVC 10), static_assert
  is also used to generate an informative error message. Checking may be
  disabled by defining BOOST_ASIO_DISABLE_HANDLER_TYPE_REQUIREMENTS.

* Made the is_loopback(), is_unspecified() and is_multicast() functions
  consistently available across the ip::address, ip::address_v4 and
  ip::address_v6 classes. Refs #3939.

* Added new non_blocking() functions for managing the non-blocking
  behaviour of a socket or descriptor. The io_control() commands named
  non_blocking_io are now deprecated in favour of these new functions.

* Added new native_non_blocking() functions for managing the
  non-blocking mode of the underlying socket or descriptor. These
  functions are intended to allow the encapsulation of arbitrary
  non-blocking system calls as asynchronous operations, in a way that is
  transparent to the user of the socket object. The functions have no
  effect on the behaviour of the synchronous operations of the socket or
  descriptor. Refs #3307.

* Added the io_control() member function for socket acceptors.
  Refs #3297.

* For consistency with the C++0x standard library, deprecated the
  native_type typedefs in favour of native_handle_type, and the native()
  member functions in favour of native_handle().

* Added a release() member function to posix descriptors. This function
  releases ownership of the underlying native descriptor to the caller.
  Refs #3900.

* Added support for sequenced packet sockets (SOCK_SEQPACKET).

* Added a new io_service::stopped() function that can be used to
  determine whether the io_service has stopped (i.e. a reset() call is
  needed prior to any further calls to run(), run_one(), poll() or
  poll_one()).

* Reduced the copying of handler function objects.

* Added support for C++0x move construction to further reduce copying of
  handler objects. Move support is enabled when compiling in -std=c++0x
  mode on g++ 4.5 or higher, or when using MSVC10.

* Removed the dependency on OS-provided macros for the well-known IPv4
  and IPv6 addresses. This should eliminate the annoying "missing braces
  around initializer" warnings. Refs #3741.

* Reduced the size of ip::basic_endpoint<> objects (such as
  ip::tcp::endpoint and ip::udp::endpoint).

* Changed the reactor backends to assume that any descriptors or sockets
  added using assign() may have been dup()-ed, and so require explicit
  deregistration from the reactor. Refs #4971.

* Changed the SSL error category to return error strings from the
  OpenSSL library.

* Changed the separate compilation support such that, to use Asio's SSL
  capabilities, you should also include 'asio/ssl/impl/src.hpp in one
  source file in your program.

* Removed the deprecated member functions named io_service(). The
  get_io_service() member functions should be used instead.

* Removed the deprecated typedefs resolver_query and resolver_iterator
  from the ip::tcp, ip::udp and ip::icmp classes.

* Fixed a compile error on some versions of g++ due to anonymous enums.
  Refs #4883.

* Added an explicit cast to the FIONBIO constant to int to suppress a
  compiler warning on some platforms. Refs #5128.

* Fixed warnings reported by g++'s -Wshadow compiler option. Refs #3905.


[SVN r69194]
2011-02-23 01:04:16 +00:00
Joel de Guzman
793f8711e3 tweaks for qi and karma: option to have no predefined terminals
[SVN r69193]
2011-02-23 00:39:39 +00:00
Joel de Guzman
51b41978e1 fixed test error
[SVN r69138]
2011-02-22 02:08:05 +00:00
Joel de Guzman
25cce786b3 renamed assign to copy and moved it to a new algorithm/auxiliary category
[SVN r69137]
2011-02-22 01:30:12 +00:00
Joel de Guzman
a4f47f80d4 added option to have no predefined terminals _1..._N _j, _val, etc.
[SVN r69136]
2011-02-22 01:28:11 +00:00
Barend Gehrels
a14b52a6ea Added geometry:: to set to avoid clash with std::set
[SVN r69134]
2011-02-21 23:15:33 +00:00
Paul Mensonides
1fdb8d58e0 commit test
[SVN r69130]
2011-02-21 22:51:57 +00:00
Joachim Faulhaber
1f064987f2 Bug fix for ticket 5207: intersects for interval_maps and segment_type/element_type. Added tests.
[SVN r69129]
2011-02-21 22:40:27 +00:00
Barend Gehrels
9b0286a1e0 Doc update
[SVN r69128]
2011-02-21 22:26:05 +00:00
Barend Gehrels
29c7b00c57 Deprecated copy_coordinates (=>convert)
Doc update (assign/make)

[SVN r69127]
2011-02-21 22:23:16 +00:00
Barend Gehrels
0313f8d167 Added several samples for make and assign
[SVN r69126]
2011-02-21 19:28:12 +00:00
Vladimir Prus
b03a549710 Make address-model affect gcc assembler compilations.
Patch from Gevorg Voskanyan.


[SVN r69123]
2011-02-21 17:32:38 +00:00
Joel de Guzman
7507034357 assign should be void
[SVN r69118]
2011-02-21 10:15:24 +00:00
David Deakins
a07f58af63 Minor patch to fix support for Windows CE (use 0xFFFFFFFF in place of TLS_OUT_OF_INDEXES on Windows CE since Windows CE does not define this constant).
[SVN r69115]
2011-02-21 04:07:13 +00:00
Joel de Guzman
62b0edc71a reverting 69103
[SVN r69114]
2011-02-21 01:31:56 +00:00
Joel de Guzman
f5937e06a1 new assign intrinsic
[SVN r69113]
2011-02-21 01:08:53 +00:00
Hartmut Kaiser
2c619d9a4b Spirit: Fixed a warning about class/struct mismatch
[SVN r69104]
2011-02-20 20:46:56 +00:00
Hartmut Kaiser
390e7bad9f Spirit: removing reference to not existing header file (this broke all of Spirit)
[SVN r69103]
2011-02-20 20:37:46 +00:00
Hartmut Kaiser
67e093700a Spirit: fixed karma::repeat to use the new attribute propagation scheme as well, adding tests
[SVN r69092]
2011-02-20 19:27:22 +00:00
Hartmut Kaiser
a866237d01 Spirit: fixed karma::repeat to use the new attribute propagation scheme as well
[SVN r69091]
2011-02-20 19:26:24 +00:00
Barend Gehrels
c628035216 Moved dissolve to extension
Fixed extensions connect/offset tests for gcc 



[SVN r69086]
2011-02-20 18:18:10 +00:00
Joachim Faulhaber
d8101c8779 Fixed std/boost::is_same ambiguity.
[SVN r69080]
2011-02-20 16:37:27 +00:00