1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

35 Commits

Author SHA1 Message Date
Carlo Bramini
55008cba24
[WIN32] mod-script-pipe: fix compile error with GCC (#469)
When compiling with CMake and MinGW, I got these two errors:

audacity/lib-src/mod-script-pipe/PipeServer.cpp:18:29: warning: ISO C++ forbids converting a string constant to 'LPTSTR' {aka 'char*'} [-Wwrite-strings]
   18 |    LPTSTR pipeNameToSrv= _T("\\\\.\\pipe\\ToSrvPipe");

audacity/lib-src/mod-script-pipe/PipeServer.cpp:32:32: warning: ISO C++ forbids converting a string constant to 'LPTSTR' {aka 'char*'} [-Wwrite-strings]
   32 |    LPTSTR pipeNameFromSrv= __T("\\\\.\\pipe\\FromSrvPipe");

The solution is to replace LPTSTR and convert these two pointers into two const objects.
2020-03-25 08:24:12 -05:00
Paul Licameli
56cd24a062 Rewrite insertion of menu items by null and Nyquist modules...
... using the new registration system, and without the fragile hacks making
assumptions about the positions of menus within the menu bar.
2020-01-30 15:09:30 -05:00
James Crook
d4baeed6a5 Fix building of mod-script-pipe
Include files not needed.
2019-12-05 23:08:19 +00:00
Paul Licameli
f4b209e4f7 Eliminate warning building mod-null and mod-script-pipe 2018-11-16 13:20:24 -05:00
James Crook
a18680647d Allow Unicode filenames via mod-script-pipe commands 2018-11-11 13:55:14 +00:00
Paul Licameli
f7545650f7 Remove empty files src/LoadModules.* and all mention of them 2018-09-14 14:27:03 -04:00
James Crook
04d7108509 Rejig mod-xxx building under Windows
The project files move from lib-src into the win/Projects folder.
Intermediate files are now kept well away from the files we want.
Less use of '..' and more of $(SolutionPath) in paths.
2018-04-07 12:41:57 +01:00
James Crook
1339c3a5e5 Add wx link info into mod-script-pipe for Windows
This puts it on the same footing as other mod-xxx
It also means we can shift between wxWidgets versions without updating the project file.
2018-04-07 12:41:57 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
b24dae713b Update configure.ac for modules. 2018-04-06 11:54:15 +01:00
James Crook
2004aa2be2 Add m4 macros for gnu++11 2018-04-06 11:54:14 +01:00
James Crook
60a8e832b7 Update module makefiles 2018-04-06 11:53:57 +01:00
James Crook
30d438958c Get module sources ready for building on linux 2018-04-06 10:00:59 +01:00
James Crook
26cf8a41c1 Upgrade mod-script-pipe to wx3.1.1 release build too. 2018-03-30 14:14:27 +01:00
James Crook
00b6664749 Upgrade mod-script-pipe to wx3.1.1 2018-03-30 10:48:57 +01:00
James Crook
549fa48a24 Fix order in which pipes are opened on linux. 2018-01-14 11:53:38 +00:00
James Crook
27d2b7c51b Add AutomationCommands class
- AutomationCommands replaces GetAllMenuCommands, and can provide
information about menus, buttons and toolbars to a script.
- BatchCommands can now return textual results to a script.
- There's a new GUID for mod-script-pipe and it is included in the .sln.
2018-01-06 19:27:45 +00:00
James Crook
94b1175684 mod-script-pipe: Recreate MS project and .sln files.
This was to work around a bug in MSVC that reports a
bogus warning MSB8012, caused by using an upgraded project.

I also in the process fixed the release build, which was building as debug earlier.
2017-12-31 15:44:47 +00:00
James Crook
37ec3b52c7 mod-script-pipe: Use release libs in release build. 2017-12-30 08:20:27 +00:00
Darrell Walisser
0a0a9f615c Bug 1528 - Linux: Mod-script-pipe can't be built 2017-02-24 22:54:57 +00:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Leland Lucius
3e709dd98c Update modules for wx3 2015-07-19 15:37:04 -05:00
James Crook
5bc41dec0f Compiler configuration names for mod_script_pipe project corrected.
These were debug wx284 and module_release.  Needed just debug and release for these to actually work.
2015-05-08 16:25:00 +01:00
james.k.crook@gmail.com
6112a2a8c1 Spectral selection cursor and mode selection changes from Paul Licameli.
This also now shows a new green 'play cursor' when ctrl is held down on wave track, and shift being held down is signalled by a cursor change to finger-pointer too.

I also accidentally enabled EXPERIMENTAL_MIDI_OUT.  We may disable that in December for release.  Leaving it in for now.
2014-11-08 14:30:19 +00:00
lllucius
22c7c0a4f6 Fix module builds for latest trunk
This also converts the module project files to VS2013
2014-10-26 19:17:03 +00:00
lllucius@gmail.com
a1219080e1 This should correct the build as mentioned in bug #716. 2014-05-01 00:22:32 +00:00
james.k.crook@gmail.com
9fe88405b1 Fixed file resource-leak spotted by Martin Ettl (linux only) 2014-01-18 23:22:45 +00:00
james.k.crook@gmail.com
8a1b3f38cc Added warning (comment) "use at your own risk". 2013-05-25 10:55:27 +00:00
james.k.crook@gmail.com
2bf327fec7 Ability to enable/disable loading of modules. Resized Prefs. Same-machine flag set when scripting (used by vista and later). 2012-07-14 22:45:12 +00:00
james.k.crook@gmail.com
004df99f78 _TCHAR -> wxChar for Ubuntu compatibility 2011-04-30 09:45:43 +00:00
james.k.crook@gmail.com
aca5cd7fff Use _TCHAR in place of wchar_t for VersionName 2011-04-29 07:52:00 +00:00
james.k.crook@gmail.com
c02f36cbcc Added mod-null, mod-nyq-bench, mod-track-panel. Updated mod-script-pipe to use wchar_t* for version number. 2011-04-25 16:40:22 +00:00
v.audacity
6b6b495021 Make it easier to enforce the requirement that module version string exactly matches Audacity version string, by directly including Audacity.h and using AUDACITY_VERSION_STRING. 2011-03-14 02:22:41 +00:00
ra
6e3e8dcfff Remove some old erratta, and do a major tidy up of line endings and properties on source files 2010-01-24 13:33:28 +00:00
ra
58caf78a86 Move library tree where it belongs 2010-01-24 09:19:39 +00:00