1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-13 15:17:42 +02:00

6064 Commits

Author SHA1 Message Date
tip2tail
56b1f2d2cb Bug 1403 - Message can now be displayed in multiple columns
Uses 'End-of-Transmission-Block' character to mark the column split(s)
and is defined as a static constant for ease of use.
2016-09-12 19:30:10 +01:00
Sven Giermann
ce09f4b883 Make RuleTable scrollable & DnD move instead of copy
Having lots of rules in RuleTable may lead to an assertion failure on opening preferences dialog:

> assert "sz.x <= 1000 && sz.y <= 750" failed in
> PrefsDialog::PrefsDialog(): Preferences dialog exceeds max size

This change will make the RuleTable scrollable (as it is/was when creating many rules) instead of expanding the dialog size.
Further I had to fix the calculation of the clicked row from the given coords. Even without this proposed change for scrolling, the calculated row has always been the one above the clicked row - maybe this changed in wxWidgets 3.0.
Now it uses CalcUnscrolledPosition() which seems to work fine even without scrolling.

Last change is for drag and drop mode: rules are not being copied, but moved on dnd - I changed this to reflect this mode on the cursor while dragging an item.
2016-09-12 17:09:42 +01:00
Thomas Fehér
df2de94f6b ThomasFeher - continuous integration (appVeyor) of build for Windows
Adds a configuration for appVeyor triggering a build of the release
version for each new commit. Needs registering at ci.appveyor.com with
the github account. Debug is not built, due to time limit of the free
version of appVeyor. Release build takes at least 30 minutes and up to
45 minutes. The time limit is 60 minutes.

Uses the undocumented possibility of building wxWidgets as dynamic
library by specifying "DLL Release" as configuration. The method in the
install instructions is impossible to automate as far as I could find
out.

Builds all targets except of "help" and "locale", because locale took
too long for the complete build to succeed the time limit.
This is not satisfying as new targets must be added manually to the
build. If this does not happen, the build will not fail, although the
new target could possibly fail building.
Unfortunately their seems to be no way to build the default targets
while excluding specific ones.
Adding target "help" was not tested.

Possible improvement: Put the complete "install" part into a install
script. That would help people easily building audacity and prevent
outdated install instruction as is the case at the moment.

I am not sure if renaming wx/setup_redirect.h into wx/setup.h is the
correct way, but it seems to work. Following the install instructions
resulted in missing wx/setup.h.
2016-09-12 15:34:56 +01:00
Paul Licameli
6403031ff7 correct mistake in Paulstretch 2016-09-12 07:51:58 -04:00
James Crook
4eeef25191 More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
James Crook
e39cdce0fc Merge remote-tracking branch 'walisser/upstream' 2016-09-12 12:22:36 +01:00
Paul Licameli
ed21545c80 pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
Paul Licameli
b910bf63da Style changes and use of unsigned types in PaulStretch effect 2016-09-11 20:28:13 -04:00
James Crook
0f417a65c7 RaphaelMarinier - Initialise mFreqSelTrack (found by Valgrind) 2016-09-11 22:00:01 +01:00
James Crook
b44ad7cd71 More unused parameters. 2016-09-11 20:52:04 +01:00
James Crook
65c7e8051a ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Gale Andrews
e8bf7a41eb Use agreed www. version of our address
rather than some entries with and some not.
2016-09-11 17:31:25 +01:00
James Crook
4251ef8c48 Avoid wasteful Refresh() in stereo track spectrogram view.
Thanks to Darrell Walisser for the outline of the problem, which was causing laggy dragging of stereo track sizes in spectrogram view.
This was caused by refreshing the horizontal ruler unnecessarily.
2016-09-11 16:52:49 +01:00
James Crook
03291943d1 #include "Experiemental.h" 2016-09-11 16:07:55 +01:00
James Crook
afb3687a05 Use extern in function definitions. 2016-09-11 15:45:25 +01:00
James Crook
2fe24c9f4d Moved two functions to Internat.cpp so Linux will actually compile them. 2016-09-11 15:14:07 +01:00
James Crook
7db684d0a2 More merges details. (Shift-Record; About Text) 2016-09-11 14:33:04 +01:00
James Crook
324026df6c Merge branch 'master' into darkaudacityrelease
Conflicts fixed by hand:
	src/AboutDialog.cpp
2016-09-11 14:13:59 +01:00
James Crook
8b9fab8ff5 Fix line continuation on Linux. 2016-09-11 13:47:53 +01:00
James Crook
7f4ea77dee Fix typo: 'available' twice. 2016-09-11 13:43:03 +01:00
James Crook
dc5b6819ae Remove duplicate function (caused by merge). 2016-09-11 13:30:44 +01:00
James Crook
cde80d1918 Merge branch 'master' into datidy
Conflicts resolved by hand:
	src/AColor.cpp
	src/AboutDialog.cpp
	src/Audacity.h
	src/import/ImportGStreamer.cpp
2016-09-11 13:23:02 +01:00
James Crook
545d741eb2 Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
James Crook
8ae903babd Make DarkAudacity source more like Audacity source. 2016-09-11 12:14:33 +01:00
James Crook
b690404768 Merge branch 'master' into datidy 2016-09-11 11:56:08 +01:00
James Crook
8b3af218df Reduce differences between DA and Audacity 2016-09-11 11:54:33 +01:00
James Crook
0361169839 Start of hackery to reduce differences between DarkAudacity and Audacity 2016-09-10 23:39:09 +01:00
James Crook
70f7ccb58b Fix Travis build. 2016-09-10 22:05:58 +01:00
James Crook
8468dfb570 Merge branch 'dafixes' into darkaudacity
Conflicts:
	src/AboutDialog.cpp
	src/HelpText.cpp
	src/ViewInfo.cpp
	src/toolbars/ControlToolBar.cpp
2016-09-10 21:49:37 +01:00
James Crook
923eefaf90 Add code from merging.
This brings more of the code from DarkAudacity into Audacity, though not yet enabled.  This will make cherry picking later easier.
- Changing colour of html displays now possible, as colour links are visible for substitution.  (Can't use css as wxHTML is very limited).
- Export can now be preset to a particular format independent of preferences.
- SnapTo reversion on zoom now a DA controlled option.
- Caching of pinning preference for faster repaint because preferences are slow.
- Record Append now has sensible limit on number of tracks, rather than giving an error, and flipping the meaning of shift is now DA controlled.
2016-09-10 21:34:14 +01:00
James Crook
796b98de8b Bug 1510 - Moonphase: Crash cancelling Save As... character replacement dialogue when exporting multiple by tracks
Bug no longer moonphase when exporting stereo.  Iterator is iterating through channels, not tracks, so we need to allow for that when we skip whole tracks.
2016-09-10 20:00:32 +01:00
James Crook
1c00e18a5d Bug 322 - (Residual) Deal with iconized windows. 2016-09-10 18:36:15 +01:00
James Crook
83e355dc65 Bug 322 - (Residual) Project numbers renumbered after closing a project.
Now the project number is the order of creation.  Once assigned, project numbers do not change.
2016-09-10 16:59:23 +01:00
James Crook
858cc0cca0 Fix Travis build. 2016-09-10 12:37:15 +01:00
James Crook
bfa00d309c Add Powered By text and moved copyright and trademark notice up. 2016-09-09 23:16:35 +01:00
James Crook
6a738ff67d Merge remote-tracking branch 'upstream/master' into darkaudacity
Conflicts merged by hand:
	src/Menus.cpp
	src/Project.cpp
	src/toolbars/ToolManager.cpp
2016-09-09 22:28:51 +01:00
James Crook
553ceac47f Translation Update: Merge pull request #156 from rbuj/ca-20160822
Update Catalan translation
2016-09-09 19:06:17 +01:00
James Crook
dcaba6eed7 Travis: See gcc version
(Thanks to Thomas Feher)
2016-09-08 22:53:45 +01:00
James Crook
b7ab140622 Guess at cause of Linux build breaker. 2016-09-08 22:30:16 +01:00
James Crook
1e3200a80f Travis failing because log is too long.
Suppress all warnings to see if that is good enough to keep log size in bounds.  Later we can try less 'chatty' logs in other places.
2016-09-08 22:04:36 +01:00
James Crook
22726dc41d Bug 1495 - Scrub Toolbar is default-enabled for upgraders 2016-09-08 21:38:29 +01:00
James Crook
315679dad5 Bug 1508 - Scrubbing: Release mouse to exit Scrub Mode started by click & drag in Scrub Ruler 'no longer working'
It WAS working, just not the way QA wanted, because releasing mouse click when in the ruler and on the first seek continued the seek/scrub cycle.  Introduced a 'mInOneShotMode' variable to complete the baroque behaviour in the way that was requested.  Also updated tool tip code to reflect the one-shot and non one-shot difference in tooltip and status.
2016-09-08 19:02:55 +01:00
James Crook
bf06b0485f Bug 1507 - Project may be overwritten by new project without warning 2016-09-08 17:51:00 +01:00
Paul Licameli
b973698fdf Simplify some iterations over lists 2016-09-08 12:04:08 -04:00
Paul Licameli
2263a0f477 Don't use wxArrayPtrVoid with casts, use std::vector 2016-09-08 11:08:49 -04:00
Paul Licameli
43b4d3cc99 travis 2016-09-07 13:38:39 -04:00
Paul Licameli
301fa337d5 Fix bug when expanding a cutline that contains another cutline...
... rare case, indeed.
2016-09-07 12:50:53 -04:00
James Crook
b56ea0599b Bug 1440 - (Residual) Error message looks funny on Mac as only ":" is disallowed.
Previously the dialog listed multiple characters that are disallowed.  On Mac, only ":" is disallowed, so the text in that case can't say "any of" without looking funny.
2016-09-07 15:53:44 +01:00
Paul Licameli
67cec5ad83 Make many counts of tracks and channels unsigned...
... And in some places where a library uses signed types, assert that
the reported number is not negative.

What led me to this, is that there are many places where a size_t value for
an allocation is the product of a number of channels and some other number.
2016-09-07 10:11:41 -04:00
Max Kellermann
ef23de6a60 FFmpeg: add missing "const" to 3 prototypes 2016-09-07 06:26:05 -04:00