Michael Davidsaver
7e8c49f0a0
don't use shared_ptr::get() for null test
...
unnecesarily verbose
2018-02-21 11:17:49 -08:00
Michael Davidsaver
a239b95ca1
remove previously deprecated executor.h, queue.h and timerFunction.h
2018-01-05 11:14:59 -08:00
Michael Davidsaver
09574c0e82
sharedVector more c++11
...
support std::move() and construct
from initializer list.
2018-01-05 11:14:59 -08:00
Michael Davidsaver
0b6b01ef83
shared_vector limit MSVC workaround
...
limit 207efca15c
to MSVC <= 2010.
2018-01-05 11:14:59 -08:00
Andrew Johnson
34145e459b
Clean up compiler warnings.
2018-01-04 17:59:09 -06:00
Michael Davidsaver
207efca15c
workaround for msvc pickyness
...
The MSVC STL implementation asserts that
pointer/itertors are not null, even
when they would not be dereferenced
(eg. empty input range).
2018-01-04 11:52:19 -08:00
Michael Davidsaver
2046678caa
drop emptyStringtring
2018-01-04 11:52:19 -08:00
Michael Davidsaver
207c24a4fd
deprecate LOCAL_STATIC_LOCK
...
This construct is fairly useless.
Doesn't prevent ctor ordering problems.
2017-12-28 11:52:47 -06:00
Michael Davidsaver
6465ab3b6d
caseUnsafeV use switch instead of jump table
...
Change from jump table to switch.
reduces code size (~1k of 30k for rtems/mvme3100).
use indexed loop to help gcc vectorizer.
Helpfully won't fail to compile w/ gcc 4.1 (vxworks 6.6/6.7)
2017-12-28 11:52:47 -06:00
Michael Davidsaver
9787dbd14f
anyscalar.h ensure that storage really is large enough
...
correct failure on cygwin x86 where apparently
sizeof(double) > sizeof(std::string)
2017-12-11 21:08:59 -06:00
Michael Davidsaver
fd9081c80e
minor
2017-12-11 21:08:59 -06:00
Michael Davidsaver
5bc081a3af
skip unnecessary inclusion of localStaticLock.h
2017-12-11 21:08:59 -06:00
Andrew Johnson
7c1e0a51eb
Fixes needed for older VxWorks GCC
2017-11-29 16:35:22 -06:00
Michael Davidsaver
187fe67ffa
fixup debugPtr
2017-11-14 17:13:43 -06:00
Andrew Johnson
7136098c3c
Suppress unnecessary deprecation warnings
...
Disable warnings when compiling the implementations of
deprecated classes and functions.
Removes the unused USAGE_DEPRECATED and USAGE_ERROR macros
from pvData.h which aren't visible outside of it anyway.
2017-11-07 22:19:56 -06:00
Michael Davidsaver
c590204cf9
add epics::auto_ptr<T> and epics::swap()
...
Avoid the flood of auto_ptr deprecation warnings
in the common cases of using auto_ptr
to automatically delete.
2017-11-06 12:30:40 -06:00
Michael Davidsaver
284e49c807
add EPICS_NOT_COPYABLE()
...
More localize (my preference), and avoids
warning spam with windows builds.
2017-11-06 11:29:59 -06:00
Michael Davidsaver
43fcd3d1e2
debugPtr use libCom instead of std::
...
cross-builds of mingw claim c++11 but don't have std::mutex
2017-11-05 14:49:45 -06:00
Michael Davidsaver
a9f2d7df40
reftrack: remove inline operator[]
...
Use of class static member 'zero'
in an inline'd method is causing DLL confusion
in dependent modules.
2017-11-02 10:08:07 -05:00
Michael Davidsaver
0d12464e30
add AnyScalar
2017-09-29 17:22:43 -05:00
Michael Davidsaver
ccd9ab70ee
pvUnitTest.h const-ness
2017-09-29 16:12:01 -05:00
Michael Davidsaver
635eb9d36d
Status: inline trival and add maximize() w/ shorthand operator |=
2017-09-29 13:37:20 -05:00
Michael Davidsaver
7a71e758b1
pvUnitTest.h multi-line prints
2017-09-21 13:41:11 -05:00
Michael Davidsaver
787af8de18
BitSet building convenience
...
Allow set()/clear()/flip() to be chained.
Support c++11 initializer lists.
2017-09-07 11:49:07 -05:00
Michael Davidsaver
db6ebfe71b
parseJSON() assign union with scalar value
2017-09-06 18:34:00 -05:00
Michael Davidsaver
a152a64f1c
RefSnapshot operator
...
move into class definition to hopefully appease MSVC
2017-08-30 17:04:02 -05:00
Michael Davidsaver
08f50e56ac
win32 doesn't have ssize_t
2017-08-30 14:20:10 -05:00
Michael Davidsaver
34896560ea
add reftrack.h
...
Add global Reference Counter tracker
2017-08-30 11:11:47 -05:00
Michael Davidsaver
8bfe7b6b9d
debugPtr compat
...
Fails for newer RTEMS w/ c++11 but no backtrace()
2017-08-15 18:35:54 +02:00
Michael Davidsaver
dbae173399
don't import/export inline classes
2017-07-18 14:32:42 +02:00
Michael Davidsaver
fd4584a49d
resolve ambiguity
2017-07-18 11:12:44 +02:00
Michael Davidsaver
ee4fdf3f39
json print/parse from/to PVStructure
2017-07-13 18:02:10 +02:00
Michael Davidsaver
ef55345665
pvUnitTest: compare array fields
2017-07-12 18:26:43 +02:00
Michael Davidsaver
0a41dbb443
ScalarTypeFunc::allocArray missing export
2017-07-12 15:46:01 +02:00
Michael Davidsaver
934ad32e52
debugPtr import/export
2017-07-12 15:29:34 +02:00
Michael Davidsaver
8a7b9d776f
requester.h moves to pvAccessCPP
2017-07-12 13:13:44 +02:00
Michael Davidsaver
a8c5d1095d
remove MessageQueue
2017-07-12 13:07:36 +02:00
Michael Davidsaver
919bc0138a
add pvUnitTest.h
2017-07-06 17:05:30 +02:00
Michael Davidsaver
888291db9a
move destroyable.h to pvAccessCPP
2017-07-05 11:59:22 +02:00
Michael Davidsaver
bef616632c
add ValueBuilder
2017-07-03 17:34:38 +02:00
Michael Davidsaver
1d2e5d182e
oops
2017-06-26 19:26:59 +02:00
Michael Davidsaver
568ee1fa85
add debugPtr.h to troubleshoot shared_ptr problems
...
A wrapper around shared_ptr which tracks backwards references
to help untangle complicated ownership situations (aka. ref loop
waiting to happen).
2017-06-26 15:59:45 +02:00
Michael Davidsaver
18283b44b2
more sharedPtr
2017-06-19 14:15:06 +02:00
Michael Davidsaver
278696b28e
more sharedPtr compat
2017-06-15 18:23:20 +02:00
Michael Davidsaver
d272afc128
fixup sharedPtr
2017-06-14 13:59:02 +02:00
Michael Davidsaver
a72451cdbe
Add Destroyable::cleaner to help w/ shared_ptr<> wrapping
2017-06-06 18:38:55 +02:00
Michael Davidsaver
e82489b158
Timer: actually join thread
2017-06-02 11:03:46 +02:00
Michael Davidsaver
22da026888
deprecate unused Queue, MessageQueue, Executor, and TimeFunction
2017-05-15 15:12:28 -04:00
Michael Davidsaver
def0a63008
Queue remove nullElement
...
avoid potential 0=1 situation.
2017-05-15 14:53:54 -04:00
Michael Davidsaver
c5ce75888e
Merge remote-tracking branch 'md/overhaulbytebuf'
...
* md/overhaulbytebuf:
overhaul byteBuffer implementation
2017-05-10 15:36:49 -04:00