Paul Licameli
fa53d521a2
IteratorRange utilities
2018-01-10 07:44:36 -05:00
Paul Licameli
bec6f237bc
Fix compilation warnings on Mac
2018-01-08 19:09:13 -05:00
Paul Licameli
cb403954fa
Use std::[tr1::]unordered_(set|map), not the wxWidgets container macros
2018-01-08 18:22:51 -05:00
Paul Licameli
0df4cd6c3f
Fix transform iterator code. It was only a missing #include.
2018-01-02 08:31:41 -05:00
James Crook
26a18679f2
Comment out iterator transform code
...
It was causing a problem on MSVC2013.
2018-01-01 16:15:40 +00:00
Paul Licameli
2cdf931e5a
More IteratorRange utility functions and member functions
2018-01-01 09:59:35 -05:00
Paul Licameli
86b9c5c5fe
Can use std::function on Mac too
2017-12-31 16:18:51 -05:00
Paul Licameli
5ca8766c52
define freer
2017-03-17 17:52:44 -04:00
Paul Licameli
1eff721f09
Define some useful type aliases for arrays of floats and doubles
2017-03-17 17:52:43 -04:00
Paul Licameli
aebaaf46a0
require unsigned arguments for Array(s)Of::reinit
2017-03-17 17:52:43 -04:00
Paul Licameli
ef2b747c16
Define ValueRestorer for a frequent kind of RAII action
2017-03-17 17:52:43 -04:00
Paul Licameli
a9396b912d
Change required to compile certain uses of finally, I don't know why
2017-03-17 17:52:23 -04:00
Paul Licameli
3b7b7e1481
avoid bogus warning about C99 compound literals
2016-09-18 10:36:54 -04:00
Paul Licameli
52cb094f0f
A safenew and comment changes
2016-08-16 13:00:07 -04:00
Paul Licameli
8b72bd2f92
Manage block files with std::shared_ptr, BlockHash stores weak_ptr
2016-08-16 12:29:59 -04:00
Paul Licameli
c9204af7fe
Rewrite functions managing the missing block file...
...
... removing one ref and deref of block files.
This unblocks a future development that will manage all block files with
std::shared_ptr.
2016-08-15 13:04:19 -04:00
Paul Licameli
fe5ab9a462
Remove the naked new in allocation of AudacityProject
2016-08-14 15:24:59 -04:00
Paul Licameli
41efaeeef0
Fix Windows build
2016-08-14 09:35:04 -04:00
Paul Licameli
6909bdf398
Define and use IteratorRange
2016-08-13 16:31:31 -04:00
Paul Licameli
6e4e710d3b
Remove seeming naked new and deletes in comments and uncompiled code
2016-08-10 11:05:51 -04:00
Paul Licameli
aaeaadff07
Define Destroy_ptr
2016-08-10 11:05:51 -04:00
Paul Licameli
9cc4eaadf8
Define swap for std::unique_ptr
2016-08-09 21:56:23 -04:00
Paul Licameli
3d222bcd87
Context menu for scrubbing in the ruler
2016-04-26 12:12:06 -04:00
Paul Licameli
48658097d6
Fix static_assert in default_delete and define move before unique_ptr
2016-04-12 00:55:59 -04:00
Paul Licameli
59af732763
Mac build fixes; and implement deleters for our imitation unique_ptr
2016-04-10 14:15:51 -04:00
Paul Licameli
7e8aad9148
Define finally
2016-04-09 20:44:38 -04:00
Paul Licameli
b6c4d579ca
ArraysOf::reinit
2016-04-02 14:21:28 -04:00
Paul Licameli
61525264ae
ArrayOf<X> move constructor
2016-04-02 14:17:20 -04:00
Paul Licameli
2d57549f0c
Define ArrayOf<T>::reinit
2016-04-02 13:04:52 -04:00
Paul Licameli
4d90ed1e2e
travis
2016-04-02 01:14:22 -04:00
Paul Licameli
3e155fb1e0
travis
2016-04-02 01:05:42 -04:00
Paul Licameli
b7f91e5674
Define movable_ptr_with_deleter
2016-04-02 00:50:19 -04:00
Paul Licameli
d9588dda9b
travis
2016-04-02 00:41:53 -04:00
Paul Licameli
1aa9ddc76d
Define ArrayOf<X>, ArraysOf<X> to hide uses of new[] and delete[]...
...
... but it's still unused.
2016-04-01 22:44:34 -04:00
Paul Licameli
1e641957ca
Fix MemoryX.h
2016-03-26 11:50:08 -04:00
Paul Licameli
3c57e1fc0c
Do that again without macros... I don't like macros if I can avoid 'em.
2016-03-26 00:06:51 -04:00
Paul Licameli
de75a00c10
Define movable_ptr and make_movable, use __AUDACITY_OLD_STD__ in fewer places
2016-03-25 20:27:25 -04:00
Paul Licameli
72705e8f31
Define reset for the array case of unique_ptr
2016-03-07 06:39:07 -05:00
Leland Lucius
9dc9348127
Fixes bug #1344 (mac build)
...
In addition, the Xcode project can now build against the 10.6
or 10.7 SDKs. All that is needed is to change the SDK version
and the other settings will change automatically.
2016-03-07 00:29:26 -06:00
Paul Licameli
3afcde1a70
Try another definition of Maybe for xcode 5.1
2016-03-03 01:26:02 -05:00
Paul Licameli
0c9deb398c
Fix mac build. No standard headers in Audacity.h.
2016-03-01 12:22:37 -05:00