History log of /haiku/headers/cpp/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
691e517b 12-Nov-2015 Adrien Destugues <pulkomandy@pulkomandy.tk>

build fix.

* can't use min here, this header is not supposed to #include
<algorithm>.

4e3137c0 12-Nov-2015 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add another missing string::compare method

* Makes our gcc2 slightly more C++98 compliant...

4c7f391f 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Add a <limits> header for gcc2.

Hacked from the gcc4 version. There may be wrong values returned in some
cases.

Fixes #6701.

56abf4aa 27-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Fix std::isnan and friends for gcc2.

gcc2 was relying on the c99 functions being there, but they are not in
the std namespace.
* Disable the C99 functions and macros in C++ mode
* Redefine them as inline functions in cmath in the std namespace.

Fixes #7396.

850f2d1e 26-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Add the at() method to C++ vectors.

* There is no reason not to have this.

e1caa56b 17-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add another mssing string::compare prototype.

Matches buildtools change 8b70c20ed25f905e7e217376c9e2f65a8dee6729.

73ad2473 05-Nov-2013 Pawel Dziepak <pdziepak@quarnos.org>

Remove remaining unnecessary 'volatile' qualifiers

100db087 27-Oct-2012 Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>

Allow use of c_str() on wstring.

7ee53ed3 27-Oct-2012 Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>

Add tan(), tanh(), log10() to std::complex
Keep the haiku/ version of the headers in sync with buildtools
(see btrev43041)

I'm curious: why do we have a copy of these headers in haiku/ tree ?

837b1625 31-Oct-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Fix #7948: add correct prototype for String::compare alongside the wrong one
for BeOS compatibility.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43023 a95241bf-73f2-0310-859d-f6bbb57e9c96

481f986b 05-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Added missing clear() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37924 a95241bf-73f2-0310-859d-f6bbb57e9c96

2222d055 24-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced new header directory "config", which ATM contains HaikuConfig.h
and types.h. The idea is to provide a basic architecture/compiler
abstraction by defining types and macros that allow the posix/ and os/
headers to be mostly architecture/compiler agnostic.
* Adjusted the posix/ and os/ headers accordingly.
* <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI*
and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int*
types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX
macros. Also the B_PRI* and B_SCN* macros are available unconditionally,
unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be
defined in C++ mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96

9fba8251 29-Jul-2009 Rene Gollent <anevilyak@gmail.com>

Since wchar support now works, the wstring typedef should now also be safe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31909 a95241bf-73f2-0310-859d-f6bbb57e9c96

64ccb6b5 26-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Synced the different definitions of BUFSIZ with the internal one. What a mess...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31776 a95241bf-73f2-0310-859d-f6bbb57e9c96

da82d38f 16-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* Removed hack used by BeOS to trick stl allocator into using malloc/free for
all allocations, instead we now directly request the use of malloc/free in
stl_config.h. This avoids warnings about 'arrays of size 0' when building
any stl-code with -pedantic (like e.g. ICU does).
Alternatively, we could active pthread-type threading support, but since in
some small tests, I have not been able to see any advantage, I've just added
a respective comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31609 a95241bf-73f2-0310-859d-f6bbb57e9c96

967294db 08-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* Turns out that the "upper" half of the old (gcc2) libio - the C++ classes -
keeps its own idea about what a wchar_t is and that was still a short.
This of course made the data structure of a streambuf incompatible with the
"lower" half - the glibc part - causing (potentially all sorts of) crashes
when these classes were used.
This should fix the crash of gensyscalls when building haiku natively
on a gcc2-haiku.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31462 a95241bf-73f2-0310-859d-f6bbb57e9c96

d157bf85 26-Jun-2009 Oliver Tappe <zooey@hirschkaefer.de>

[the first commit of this fix was applied to the 32bit-wchar_t-branch instead
of trunk]
Fixed a bug exposed by changes in the locale kit branch:
* the signature of stringbuf::setbuf() wasn't matching the one from streambuf,
which caused the base version to be hidden instead of overridden - leading
to crashes during cleanup of stringstream objects

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31262 a95241bf-73f2-0310-859d-f6bbb57e9c96

bc3955fe 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96

cbe35e20 11-Dec-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

GCC 4 fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15494 a95241bf-73f2-0310-859d-f6bbb57e9c96

d67f94ca 10-Mar-2005 Jérôme Duval <korli@users.berlios.de>

commented out hypot prototype : it conflicts with glibc signature when building libstdc++ which uses glibc headers
zooey agreed when discussing this (and we hope this don't break anything)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11660 a95241bf-73f2-0310-859d-f6bbb57e9c96

f2ced752 10-Nov-2004 Oliver Tappe <zooey@hirschkaefer.de>

- added implementation of stdc++ for haiku
- this differs slightly from the one that lives in buildtools/gcc as it
has been "ported" to the newer libio that haiku uses as part of its own
libroot


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9906 a95241bf-73f2-0310-859d-f6bbb57e9c96


PlotFile.h
SFile.h
algo.h
algobase.h
algorithm
alloc.h
bitset
builtinbuf.h
bvector.h
cassert
cctype
cerrno
cfloat
ciso646
climits
clocale
cmath
complex
complex.h
csetjmp
csignal
cstdarg
cstddef
cstdio
cstdlib
cstring
ctime
cwchar
cwctype
defalloc.h
deque
deque.h
editbuf.h
floatio.h
fstream
fstream.h
function.h
functional
hash_map
hash_map.h
hash_set
hash_set.h
hashtable.h
heap.h
indstream.h
iomanip
iomanip.h
iosfwd
iostdio.h
iostream
iostream.h
istream.h
iterator
iterator.h
list
list.h
map
map.h
memory
multimap.h
multiset.h
numeric
ostream.h
pair.h
parsestream.h
pfstream.h
procbuf.h
pthread_alloc
pthread_alloc.h
queue
rope
rope.h
ropeimpl.h
set
set.h
slist
slist.h
sstream
stack
stack.h
std/bastring.cc
std/bastring.h
std/complext.cc
std/complext.h
std/dcomplex.h
std/fcomplex.h
std/gslice.h
std/gslice_array.h
std/indirect_array.h
std/ldcomplex.h
std/mask_array.h
std/slice.h
std/slice_array.h
std/std_valarray.h
std/straits.h
std/valarray_array.h
std/valarray_array.tcc
std/valarray_meta.h
stdexcept
stdiostream.h
stl.h
stl_algo.h
stl_algobase.h
stl_alloc.h
stl_bvector.h
stl_config.h
stl_construct.h
stl_deque.h
stl_function.h
stl_hash_fun.h
stl_hash_map.h
stl_hash_set.h
stl_hashtable.h
stl_heap.h
stl_iterator.h
stl_list.h
stl_map.h
stl_multimap.h
stl_multiset.h
stl_numeric.h
stl_pair.h
stl_queue.h
stl_raw_storage_iter.h
stl_relops.h
stl_rope.h
stl_set.h
stl_slist.h
stl_stack.h
stl_tempbuf.h
stl_tree.h
stl_uninitialized.h
stl_vector.h
stream.h
streambuf.h
strfile.h
string
strstream
strstream.h
tempbuf.h
tree.h
type_traits.h
utility
valarray
vector
vector.h