Paul Licameli
4a6fd96a97
Commented out some unused functions
2016-02-26 12:35:30 -05:00
Paul Licameli
89f28546a3
Commented suspicious non-override virtual functions of Effect
2016-02-26 12:35:29 -05:00
Paul Licameli
ba4006a454
Removed unused functions of LabelTrack, but was there an error?
2016-02-26 12:35:28 -05:00
Paul Licameli
970205527b
Fix argument error, found using override!
2016-02-26 12:35:27 -05:00
Paul Licameli
d1a6f073ff
Merge pull request #110 from mojca/remove-extra-tokens-after-endif
...
comment out extra tokens at end of #endif directive to avoid compiler warnings [-Wextra-tokens]
2016-02-26 09:45:34 -05:00
Mojca Miklavec
ecc2138c5c
comment out extra tokens at end of #endif directive to avoid compiler warnings [-Wextra-tokens]
2016-02-26 15:11:55 +01:00
Paul Licameli
0eb4de9304
Eliminate some more news and deletes, with the help of class Maybe...
...
... which can stack-allocate an object conditionally.
(Name inspired by Haskell.)
2016-02-25 20:18:46 -05:00
Paul Licameli
a8652c5e74
uses
2016-02-25 20:18:31 -05:00
Paul Licameli
e3e10f1fc1
A few changes not using Maybe
2016-02-25 20:18:30 -05:00
Paul Licameli
62361c32f4
Define Maybe<X>
2016-02-25 20:18:29 -05:00
Paul Licameli
527a826b86
Define and use PROFILE_DLL_API
2016-02-24 21:29:25 -05:00
Paul Licameli
6a3d99a8e6
travis
2016-02-24 21:14:19 -05:00
Paul Licameli
7824e94030
Harmlessly qualify classes as final (or explicitly comment not)...
...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls. Mostly useful as documentation of design intent.
Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05:00
Paul Licameli
e2f7e5f6f6
travis
2016-02-24 20:45:49 -05:00
Paul Licameli
e815090139
travis
2016-02-24 20:30:26 -05:00
Paul Licameli
b3f60bc222
Bug1327, 1337: Changes to tags (edit, import or export) should undo and redo
2016-02-24 19:25:52 -05:00
Paul Licameli
88eeebcb8b
Undoing and redoing of Tags...
...
Use reference counting (in std::shared_ptr) to avoid replicating Tags with each
Undo state.
2016-02-24 19:25:39 -05:00
Paul Licameli
e12a060751
Define UndoState
2016-02-24 19:10:40 -05:00
Paul Licameli
a5b6c9fd8f
Add some const qualifiers; define TrackListConstIterator
2016-02-24 19:10:39 -05:00
Paul Licameli
ffe9989f7c
Don't use an internal iterator in Tags
2016-02-24 19:10:38 -05:00
Paul Licameli
a1c7b396b3
UndoStackElem has proper constructor and destructor; use std::vector
2016-02-24 19:10:36 -05:00
Paul Licameli
cd9bd79d83
Use an enumeration for UndoManager::PushState
2016-02-24 19:10:35 -05:00
Paul Licameli
73ced7b93f
Remove UndoManager.h from other headers
2016-02-24 19:10:34 -05:00
Michael T
beea490bb6
Updated Polish Translation. (pl.po).
2016-02-24 22:29:12 +00:00
Paul Licameli
0c182c3c0b
Shrink the command functor objects by using more subclasses...
...
... Let virtual function dispatch do the work, don't write our own dispatch!
2016-02-24 15:17:06 -05:00
Paul Licameli
09b4dfc5a2
travis
2016-02-24 13:52:21 -05:00
scootergrisen
c730622ca6
Updated Danish translation. (da.po).
2016-02-24 18:15:10 +00:00
Paul Licameli
c98b090182
Rename SyncLockTracksIterator::First to StartWith to be consistent
2016-02-24 12:59:28 -05:00
Paul Licameli
a9028e1184
Sweep unnecessary wxString copies in argument passing (but not yet in returns)
2016-02-23 02:16:47 -05:00
Paul Licameli
9bf098c7d9
Sweep unnecessary wxString copies: rest
2016-02-23 02:15:56 -05:00
Paul Licameli
6597575f6a
Sweep unnecessary wxString copies: blockfile
2016-02-23 01:40:29 -05:00
Paul Licameli
923a6ce4af
Sweep unnecessary wxString copies: commands
2016-02-23 01:40:21 -05:00
Paul Licameli
99f161c36c
Sweep unnecessary wxString copies: effects
2016-02-22 22:31:47 -05:00
Paul Licameli
83e8a80f61
Sweep unnecessary wxString copies: export
2016-02-22 22:22:25 -05:00
Paul Licameli
d21c0aa478
Sweep unnecessary wxString copies: import
2016-02-22 22:13:50 -05:00
Paul Licameli
0ce4fe0b83
Sweep unnecessary wxString copies: prefs
2016-02-22 21:30:42 -05:00
Paul Licameli
2efa24bc10
Sweep unnecessary wxString copies: widgets
2016-02-22 21:30:04 -05:00
Paul Licameli
4961006f1b
Sweep unnecessary wxString copies: xml
2016-02-22 21:26:31 -05:00
Paul Licameli
cf3daebff6
Reviewed allocations of wxMenuBar items.
2016-02-20 20:23:54 -05:00
Gale Andrews
af16636fe2
More accurate label for track name display
...
Feel free to tweak, but it was messing up docs to suggest it did not display in Spectrograms,
2016-02-19 23:52:25 +00:00
Paul Licameli
f933621b70
More simplifying of containers of little structures
2016-02-19 11:10:39 -05:00
Paul Licameli
8e995d66d0
Avoid extra indirection in FormatList
2016-02-19 10:59:51 -05:00
Paul Licameli
00db530c9b
Don't eliminate indirection for CommandListEntry. Explain why. Use unique_ptr
2016-02-19 10:49:50 -05:00
Paul Licameli
ca53b191b1
Merge branch 'master' into antifrag2
2016-02-19 10:48:32 -05:00
Paul Licameli
9e5d31d347
More changes to Audacity.h to hide new and delete from code sweeps...
...
... changed some comments, and hid = delete in a macro.
That is a new C++11 feature that lets you stipulate that a class suppresses an
otherwise inherited or generated name.
2016-02-19 10:46:23 -05:00
Paul Licameli
d9c2ff6dc2
fix compilation
2016-02-19 01:39:44 -05:00
Paul Licameli
8b7266fe2e
fix compilation
2016-02-19 01:37:27 -05:00
Paul Licameli
111bb1d217
No extra indirection accessing SnapPoint or CommandManager structures...
...
... also simplify memory management of CommandFunctor, using std::shared_ptr
2016-02-18 20:21:57 -05:00
Paul Licameli
1758f85451
No extra indirection accessing SnapPoint
2016-02-18 20:19:48 -05:00
Paul Licameli
e0c88b1e53
Remove needless indirection for more little structures, in CommandManager...
...
... Also use std::shared_ptr for functors to simplify resource management
2016-02-18 20:19:27 -05:00