Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 12 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# Normalize line endings of all files that Git considers to be text
* text=auto
* text eol=lf
#except images and sounds
*.png -text
*.jpg -text
*.icns -text
*.wav -text
*.au -text
*.ico -text
# and weird stuff in lib-src
*.ttl text=auto
*.aps text=auto
*.trig text=auto
16 changes: 14 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CMakeUserPresets.json

# Autotools generated files
locale/Makefile.in
Makefile
Expand Down Expand Up @@ -29,6 +31,7 @@ lib-src/twolame/doc/html/Doxyfile
lib-src/twolame/libtwolame/config.h
locale/POTFILES
src/audacity.desktop
src/audacity-url-handler.desktop
src/RevisionIdent.h
src/configunix.h
src/configwin.h
Expand Down Expand Up @@ -148,6 +151,10 @@ help/temp*
# Misc
src/RevisionIdent.h
win/resetPrefs.txt
libraries/lib-music-information-retrieval/tests/benchmarking-dataset/
libraries/lib-music-information-retrieval/tests/TatumQuantizationFitVisualization/debug_output.py
libraries/lib-music-information-retrieval/tests/TatumQuantizationFitVisualization/stft_log.py
libraries/lib-music-information-retrieval/tests/TatumQuantizationFitVisualization/__pycache__/

# Emacs backup files
*~
Expand All @@ -167,7 +174,12 @@ win/xaudacity.ico
linuxdeploy/*
appimagetool/*

.build.x64/
.build.arm64/
.build.*/
.cache/
.conan/
.debug/
build-*
build.release/
build.debug/
build.install/
build.artifacts/
6 changes: 3 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Prerequisites

* **python3** >= 3.8
* **cmake** >= 3.16
* **python3** >= 3.8 (you can find an official download here: https://www.python.org/downloads/)
* **cmake** >= 3.16 (you can find an official download here: https://cmake.org/download/)
* A working C++ 17 compiler
* Graphviz (optional)

Expand Down Expand Up @@ -45,7 +45,7 @@ Here are the dependencies you need to install on various distribution families.
```
$ sudo apt-get update
$ sudo apt-get install -y build-essential cmake git python3-pip
$ sudo pip3 install conan
$ sudo pipx install conan
$ sudo apt-get install libgtk2.0-dev libasound2-dev libjack-jackd2-dev uuid-dev
```

Expand Down
273 changes: 248 additions & 25 deletions CHANGELOG.txt

Large diffs are not rendered by default.

32 changes: 23 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ endif()
# Increment as appropriate after release of a new version, and set back
# AUDACITY_BUILD_LEVEL to 0
set( AUDACITY_VERSION 3 )
set( AUDACITY_RELEASE 4 )
set( AUDACITY_REVISION 2 )
set( AUDACITY_RELEASE 7 )
set( AUDACITY_REVISION 3 )
set( AUDACITY_MODLEVEL 0 )

string( TIMESTAMP __TDATE__ "%Y%m%d" )
Expand Down Expand Up @@ -154,18 +154,25 @@ set( _OPT "audacity_" )
# Our very own project
project( Audacity )

# XCode 14 no longer allows building unsigned binaries.
# So for the XCode 14 `-` is passed as the code sign identity, which stands for
# local signing. `--deep` is passed, because 3d party libraries are copied unsigned.
# XCODE_VERSION is defined only after the project() command

if( APPLE )
# XCode 14 no longer allows building unsigned binaries.
# So for the XCode 14 `-` is passed as the code sign identity, which stands for
# local signing. `--deep` is passed, because 3d party libraries are copied unsigned.
# XCODE_VERSION is defined only after the project() command
if (XCODE_VERSION VERSION_LESS 14)
set( CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "" CACHE INTERNAL "" )
else()
set( CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "-" CACHE INTERNAL "" )
set( CMAKE_XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "--deep -o linker-signed --timestamp" CACHE INTERNAL "")
endif()

# Xcode 15 breaks compatibility with macOS vesions older than 12
# https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking
if (XCODE_VERSION VERSION_GREATER_EQUAL 15)
# link_libraries is guaranteed to set the flag for all
# linker invocations
link_libraries("-Wl,-ld_classic")
endif()
endif()

# Load our functions/macros
Expand Down Expand Up @@ -287,6 +294,12 @@ set_from_env(SENTRY_HOST)
set_from_env(SENTRY_PROJECT)
set_from_env(CRASH_REPORT_URL)

option(
${_OPT}has_whats_new
"Show \"What's New\" dialog on startup"
On
)

cmake_dependent_option(
${_OPT}has_crashreports
"Enables crash reporting for Audacity"
Expand Down Expand Up @@ -516,7 +529,7 @@ check_include_files( "float.h;stdarg.h;stdlib.h;string.h" STDC_HEADERS )
check_include_file( "assert.h" HAVE_ASSERT_H )
check_include_file( "fenv.h" HAVE_FENV_H )
check_include_file( "inttypes.h" HAVE_INTTYPES_H )
if( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
if( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "OpenBSD" )
check_include_file( "stdlib.h" HAVE_MALLOC_H )
else()
check_include_file( "malloc.h" HAVE_MALLOC_H )
Expand Down Expand Up @@ -671,7 +684,8 @@ string( JOIN "\n" GRAPH_EDGES ${GRAPH_EDGES} )
# Choose edge attributes making it easy to hover at either end of edge
# and see a tooltip describing the edge, in svg image
file( WRITE "${CMAKE_CURRENT_BINARY_DIR}/modules.dot" "digraph {
graph [rankdir=LR] edge [dir=both,arrowtail=inv] \n"
graph [rankdir=LR newrank=true] edge [dir=both,arrowtail=inv] \n"
"${GRAPH_SUBGRAPHS}\n"
"${GRAPH_EDGES}"
"\n}\n"
)
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
There are several ways to contribute to Audacity:
There are several ways to contribute to Audacity:

## Developing

Expand All @@ -21,15 +21,15 @@ You can download current development builds in the [Actions tab on Github](https

When reporting bugs, try to find the most general form of it. For example, if you encounter a bug when amplifying a clip 2 hours into a project, try to see if it also happens when you're using a different effect (Normalize, for example), and if it also happens if the clip is near the beginning.

Bugs must be reproducible. If you can't find steps to reproduce a bug, try asking if you went wrong somewhere [in the Audacity forum](https://forum.audacityteam.org/) instead.
Bugs must be reproducible. If you can't find steps to reproduce a bug, try asking if you went wrong somewhere [in the Audacity forum](https://forum.audacityteam.org/) instead.

## Translating

See [our translators page](https://www.audacityteam.org/community/translators/) for more information on how to translate Audacity.
See [our translators page](https://www.audacityteam.org/community/translators/) for more information on how to translate Audacity.

## Feedback & Feature requests

If you have anything you thing Audacity can do better, you can voice it in [the relevant section in the forum](https://forum.audacityteam.org/c/feedback-and-discussion-forum/adding-features-to-audacity/22). If you have a very concrete idea something in the code which should be added or changed, you can also [make an enhancement request in the issue tracker](https://github.com/audacity/audacity/issues/new/choose).
If you have anything you think Audacity can do better, you can voice it in [the relevant section in the forum](https://forum.audacityteam.org/c/feedback-and-discussion-forum/adding-features-to-audacity/22). If you have a very concrete idea something in the code which should be added or changed, you can also [make an enhancement request in the issue tracker](https://github.com/audacity/audacity/issues/new/choose).

## Supporting Users

Expand Down
78 changes: 78 additions & 0 deletions au4/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
.*,
*~
*.swp
*.autosave
.qped
.directory
.idea
.vscode/
/builds
build
/build_overrides.cmake
build.release
build.debug
build.install
build.tooldata
build.qtc
build-*
win32build
win32install
win64build
win64install
build.xcode
applebuild
build.artifacts
build.symbols
vtest.artifacts
MuseScorePortable
/*.config
/*.creator
/*.files
/*.includes
*.user
/share/locale/*placeholder.ts
/share/locale/*.qm
/share/instruments/tsv
Doc
DocLib
build.qt5
*.sfd~
/.project
mscore/revision.h
local_build_revision.env
.DS_Store
CMakeLists.txt.user.*
*.qmlc
*.jsc
vtest/html
vtest/compare
thirdparty/mupdf-qt
vtest/LOG
vtest/META-INF
vtest/Thumbnails
vtest/Pictures
.vs
dependencies

# Downloaded files during build process
VERSION
/mscore/data/mscore.aps
/msvc.*

# Files created during build process
/thirdparty/lame/config.h
/thirdparty/flac/flac-1.3.4/config.h
/thirdparty/opusenc/libopusenc-0.2.1/config.h

# Backup Files created by Merging Softwares (Example: Meld)
*.orig

temp_*

*.local.cmake

*_deps/*

*.AppImage

build.*
Loading