Mart Raudsepp
663dfa4671
FileNames: Support XDG paths handling under wxGTK 3.0
...
Signed-off-by: Mart Raudsepp <leio@gentoo.org >
2021-09-08 00:29:10 +03:00
Mart Raudsepp
930a3a7386
FileNames: Fix typo in __WXMSW__ preprocessor check
...
Fixes: 401979369b
Signed-off-by: Mart Raudsepp <leio@gentoo.org >
2021-09-08 00:29:10 +03:00
Sol Fisher Romanoff
401979369b
Rename config and data directories
...
Also deprecate ~/.audacity-data
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com >
2021-07-26 00:54:17 +03:00
Campbell Jones
c0c275ffaf
Use XDG dirs by default on Linux
...
Signed-off-by: Campbell Jones <git@serebit.com >
2021-07-25 19:01:48 +03:00
Ajay Ramachandran
cb7a6c9056
Rename executable names and package name
...
Switch folder paths to tenacity
Signed-off-by: Ajay Ramachandran <dev@ajay.app >
2021-07-22 14:16:19 +00:00
Panagiotis Vasilopoulos
44968d3ac3
Rebranding: Replace 'Audacity: A Digital Audio Editor' in source files ( #248 )
...
List of commands that were executed in the `src directory`:
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.h
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.cpp
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com >
2021-07-13 09:30:42 +00:00
gera
a0ea8b63ad
Add additional checks for macro output directory.
...
This bug still available in case: using old settings file or manual set it into settings file.
2021-07-11 12:23:26 +00:00
Paul Licameli
e6e96de0fd
Replace most inclusions of MemoryX.h with <memory> ...
...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -04:00
Paul Licameli
c5ebc396eb
Audacity.h has shrunk to nothing, now remove it!
2021-05-10 00:05:23 -05:00
Leland Lucius
25089ff3ee
Modules should go into <prefix>/<libdir>/audacity/modules on Linux
2021-05-06 00:47:27 -05:00
Paul Licameli
e653b4aaf8
Eliminate Experimental.h, configure compile options instead...
...
... This makes it impossible to forget to include the EXPERIMENTAL definitions
(such as when cutting and pasting code) and so get unintended quiet changes of
behavior.
The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
2021-04-27 12:40:07 -04:00
James Crook
224053f0ff
Proper path for directory out.
2021-04-19 12:59:36 +01:00
Paul Licameli
43574553fc
Break dependency cycle introduced at 50f3321...
...
... This only cuts and pastes some functions from FileNames to another new file
and namespace, and changes namespace qualifiers where they are called.
The cycle resulted because of the need to include widgets/ErrorDialog.h
2021-01-16 13:28:37 -05:00
Yuri Chornoivan
85f333a31f
Fix minor typo ( #719 )
2021-01-12 10:36:43 +00:00
Leland Lucius
c13407d692
Bug 2628 - Linux: FAT/FAT32 drives can wrongly have projects saved to them
2021-01-12 02:25:15 -06:00
Leland Lucius
98e00c92ad
Detect temp dir FAT drive change while Audacity is active
2021-01-11 13:12:59 -06:00
Leland Lucius
c7a8b824a1
Reset temp directory if found to be on FAT drive
2021-01-11 11:09:34 -06:00
Leland Lucius
6a5d4fdbc0
Update FAT filesystem messages
2021-01-05 13:28:04 -06:00
Leland Lucius
bd4cab5e93
Bug 2621 - Windows: the use of exFAT formatted dives is prohibited for saves and temp directory
2021-01-05 13:00:55 -06:00
Leland Lucius
fd774c0de4
Second try to fix github build
2021-01-05 03:24:15 -06:00
Leland Lucius
50f3321154
Bug 2576 - FAT formatted disks can readily run out of space with multiple edits - wrong error message can be displayed
2021-01-05 01:32:03 -06:00
Leland Lucius
8e333e1fae
Fix statfs() call for OSX
2021-01-04 13:23:14 -06:00
Paul Licameli
4e260389da
Move AbbreviatePath to FileNames
2020-12-06 14:55:12 -05:00
Paul Licameli
d225d24092
Bug2602: Correct Windows case of IsOnFATFileSystem
2020-12-06 12:25:47 -05:00
Paul Licameli
c5e454e109
Move IsOnFATFileSystem to FileNames
2020-12-06 12:23:19 -05:00
Paul Licameli
8cb6749741
Bug2592: should clean old temp directory at exit after prefs change
2020-11-22 15:43:24 -05:00
Leland Lucius
e2d6e1cc24
AUP3: Update default/lastused path handling
2020-07-27 14:11:50 -05:00
Leland Lucius
79b8c65f60
AUP3: Make the AUP3/AUP file types consistent
2020-07-15 11:58:45 -05:00
Leland Lucius
d39590cf41
AUP3: First round of updates
...
!!! THERE WILL NO DOUBT BE BUGS !!!
This is a big one and there's still several things to
complete. Just want to get this in the wild to start
receiving feedback.
One big thing right now is that it will NOT load pre-aup3
files. An importer is on the way for that.
2020-07-01 02:30:18 -05:00
Leland Lucius
cbf1bb558e
AUP3: Removes OD code related to project file handling
...
This removes all of the OnDemand code embedded throughout
the main codebase. Individual files related specifically
to OD have been left in place, but removed from the build.
2020-07-01 01:14:05 -05:00
Paul Licameli
4ff0a9d74e
Can build for windows without precompiled headers...
...
... Requires some more wx header inclusions, a renaming of CopyFile (to avoid
colliding with a certain macro changing it to CopyFileW), and an explicit
deletion of a copy constructor and assignment (to avoid generation of
std::vector members for an incomplete type)
2020-05-27 17:36:25 -04:00
Paul Licameli
7fbfc2b292
Finish the job of 30dbdf4, deleting abandoned source files...
...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00
Paul Licameli
e0453d1b7e
Fix redefinition compilation error on Windows
2019-12-31 11:13:12 -05:00
Paul Licameli
aa39f9ade2
Rewrite FileNames::SelectFile using FileTypes...
...
... And more uniformity in the descriptions of file types used in more than
one place
Also fixes missing translations in VSTEffect.cpp
2019-12-29 15:35:04 -05:00
Paul Licameli
fc668f09b0
Define FileNames::FileType and related utility functions
2019-12-29 15:35:03 -05:00
Paul Licameli
3f88df06ec
Fix inconsistencies in default extension passed to SelectFile...
...
... It must be empty, or else one extension not including the leading dot;
then correct the string passed to FileSelector in lib-src, which should be
a filename pattern
2019-12-27 11:49:07 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
ae42397d64
FileNames::SelectFile takes TranslatableString for message
2019-12-20 13:40:20 -05:00
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
Paul Licameli
0b85251885
Fewer inclusions of AudioIO.h and Import.h
2019-06-06 12:53:20 -04:00
Paul Licameli
f86403378b
Move AudacityMessageBox to its own files...
...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
273ba9f64d
Fix Windows build...
...
... unfortunately inclusion of ErrorDialog.h in FileNames.h ties nine files
into a low-level s.c.c.
2019-05-20 13:49:26 -04:00
Paul Licameli
25db4652b0
Internat.cpp has fewer dependencies...
...
... after we move a function to FileNames.cpp.
This frees ten files from cyclic dependencies
2019-05-18 20:29:25 -04:00
Paul Licameli
a1ff74b5bb
Move AudacityPathList & utilities from AudacityApp.h to FileNames.h
2019-05-17 16:29:03 -04:00
Paul Licameli
757d90d3b9
Move default temporary directory from AudacityApp.h to FileNames
2019-05-17 16:29:03 -04:00
Paul Licameli
31a80fb4d1
Fix Windows build
2019-05-16 13:44:48 -04:00
James Crook
750014d655
Bug 1899 - Fix path not terminated with separator issue.
...
This led Audacity to think a directory existed when it did not.
2019-04-04 13:30:31 +01:00
James Crook
4e9b6582b6
Bug 1899 - Enh: Windows: previously deleted folders are unnecessarily re-created on next Save
...
Now checks for unusable path before prompting the user.
2019-04-04 10:17:13 +01:00
Mike Barker
44fde0a90f
Bug 1899 - Windows: previously deleted folders are unnecessarily re-created on next Save
2019-04-02 17:11:40 +01:00
Paul Licameli
5e7d41ec07
Each .cpp/.mm file includes corresponding header before any other...
...
... except Audacity.h
This forces us to make each header contain all forward declarations or nested
headers that it requires, rather than depend on context.
2019-03-17 22:54:52 -04:00