You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(42) |
Aug
(91) |
Sep
(97) |
Oct
(69) |
Nov
(16) |
Dec
(32) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(74) |
Feb
(109) |
Mar
(117) |
Apr
(86) |
May
(84) |
Jun
(47) |
Jul
(30) |
Aug
(25) |
Sep
(39) |
Oct
(59) |
Nov
(42) |
Dec
(38) |
2010 |
Jan
(30) |
Feb
(43) |
Mar
(59) |
Apr
(67) |
May
(29) |
Jun
(47) |
Jul
(48) |
Aug
(22) |
Sep
(22) |
Oct
(36) |
Nov
(40) |
Dec
(3) |
2011 |
Jan
(39) |
Feb
(21) |
Mar
(36) |
Apr
(35) |
May
(8) |
Jun
|
Jul
(14) |
Aug
(4) |
Sep
(10) |
Oct
(27) |
Nov
(1) |
Dec
|
2012 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(7) |
Aug
|
Sep
(15) |
Oct
(1) |
Nov
(3) |
Dec
(6) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(15) |
Oct
|
Nov
|
Dec
(1) |
2014 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
(5) |
Mar
|
Apr
(4) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(19) |
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
(2) |
2017 |
Jan
(16) |
Feb
(8) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(7) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(5) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(14) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(14) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(3) |
Dec
|
2023 |
Jan
(1) |
Feb
|
Mar
(12) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <bor...@us...> - 2022-10-05 20:34:17
|
Revision: 3783 http://sourceforge.net/p/ftm/code/3783 Author: borghesi Date: 2022-10-05 20:34:14 +0000 (Wed, 05 Oct 2022) Log Message: ----------- ftmediotr: partial fix of wrong display in Wave editor with fvec class Modified Paths: -------------- trunk/ftm/ftmlib/classes/ftmdatagui.c trunk/ftm/ftmlib/classes/fvec.c trunk/ftm/ftmlib/classes/fvec.h Modified: trunk/ftm/ftmlib/classes/ftmdatagui.c =================================================================== --- trunk/ftm/ftmlib/classes/ftmdatagui.c 2022-10-05 17:50:38 UTC (rev 3782) +++ trunk/ftm/ftmlib/classes/ftmdatagui.c 2022-10-05 20:34:14 UTC (rev 3783) @@ -2263,7 +2263,7 @@ } static void -fmat_gui_wave_get_ptr(void *obj, void *context, int onset, float **ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTile, double *ringOffset) +fmat_gui_wave_get_ptr(void *obj, void *context, int onset, float **ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTail, double *ringOffset) { fmat_t *self = (fmat_t *)obj; @@ -2272,7 +2272,7 @@ *stride = self->n; *ringIndex = -1; *ringSize = 0; - *ringTile = 0; + *ringTail = -1; *ringOffset = 0; } @@ -2572,7 +2572,7 @@ } static void -fmat_gui_multiwave_get_ptr(void *obj, void *context, int index, float **ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTale, double *ringOffset) +fmat_gui_multiwave_get_ptr(void *obj, void *context, int index, float **ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTail, double *ringOffset) { fmat_t *self = (fmat_t *)obj; @@ -2581,7 +2581,7 @@ *stride = self->n; *ringIndex = -1; *ringSize = 0; - *ringTale = 0; + *ringTail = -1; *ringOffset = 0; } @@ -4133,12 +4133,12 @@ } static void -fvec_gui_wave_get_ptr(void *obj, void *context, int onset, float ** ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTale, double *ringOffset) +fvec_gui_wave_get_ptr(void *obj, void *context, int onset, float ** ptr, int *size, int *stride, int *ringIndex, int *ringSize, int *ringTail, double *ringOffset) { fvec_vector_lock((fvec_t *)obj, ptr, size, stride); *ringIndex = -1; *ringSize = 0; - *ringTale = 0; + *ringTail = -1; *ringOffset = 0.0; } @@ -4154,16 +4154,16 @@ fvec_t *self = (fvec_t *)obj; float *p; int size, stride; - float vmax = 0.0; - float vmin = 0.0; + float vmax = -FLT_MAX; + float vmin = FLT_MAX; float vmean = 0.0; fvec_vector_lock(self, &p, &size, &stride); if(size > 0) { - vmin = fvec_vector_get_min(p, size, stride); - vmax = fvec_vector_get_max(p, size, stride); - vmean = fvec_vector_get_mean(p, size, stride); + vmin = fvec_vector_get_min_in_range(p, size, stride, rangeStartIndex, rangeSize); + vmax = fvec_vector_get_max_in_range(p, size, stride, rangeStartIndex, rangeSize); + vmean = fvec_vector_get_mean_in_range(p, size, stride, rangeStartIndex, rangeSize); } fvec_unlock(self); Modified: trunk/ftm/ftmlib/classes/fvec.c =================================================================== --- trunk/ftm/ftmlib/classes/fvec.c 2022-10-05 17:50:38 UTC (rev 3782) +++ trunk/ftm/ftmlib/classes/fvec.c 2022-10-05 20:34:14 UTC (rev 3783) @@ -541,6 +541,72 @@ return ABS_MAX; } + +float +fvec_vector_get_min_in_range(float *ptr, int size, int stride, int start, int range) +{ + if(size > 0 && start < size && start >= 0) + { + float min = ptr[start]; + int i; + + int num = (start+range >= size) ? size-start : range; + + for (i=stride*start; i<(start+num)*stride; i+=stride) + { + if (ptr[i] < min) + min = ptr[i]; + } + + return min; + } + + return ABS_MIN; +} + +float +fvec_vector_get_max_in_range(float *ptr, int size, int stride, int start, int range) +{ + if(size > 0 && start < size && start >= 0) + { + float max = ptr[start]; + int i; + int num = (start+range >= size) ? size-start : range; + + for (i=stride*start; i<(start+num)*stride; i+=stride) + { + if (ptr[i] > max) + max = ptr[i]; + } + + return max; + } + + return ABS_MAX; +} + +float +fvec_vector_get_mean_in_range(float *ptr, int size, int stride, int start, int range) +{ + if(size > 0 && start < size && start >= 0) + { + float mean = 0; + float val; + int i; + int num = (start+range >= size) ? size-start : range; + + for (i=stride*start; i<(start+num)*stride; i+=stride) + { + val = ptr[i]; + mean += val*val; + } + mean = sqrt(mean/size); + + return mean; + } + + return ABS_MAX; +} /******************************************************************** * * (thread-safe) class functions Modified: trunk/ftm/ftmlib/classes/fvec.h =================================================================== --- trunk/ftm/ftmlib/classes/fvec.h 2022-10-05 17:50:38 UTC (rev 3782) +++ trunk/ftm/ftmlib/classes/fvec.h 2022-10-05 20:34:14 UTC (rev 3783) @@ -307,6 +307,9 @@ FTS_API float fvec_vector_get_min(float *ptr, int size, int stride); FTS_API float fvec_vector_get_max(float *ptr, int size, int stride); FTS_API float fvec_vector_get_mean(float *ptr, int size, int stride); +FTS_API float fvec_vector_get_min_in_range(float *ptr, int size, int stride, int start, int range); +FTS_API float fvec_vector_get_max_in_range(float *ptr, int size, int stride, int start, int range); +FTS_API float fvec_vector_get_mean_in_range(float *ptr, int size, int stride, int start, int range); /** * @brief This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2022-10-05 17:50:41
|
Revision: 3782 http://sourceforge.net/p/ftm/code/3782 Author: borghesi Date: 2022-10-05 17:50:38 +0000 (Wed, 05 Oct 2022) Log Message: ----------- ftm.editor: fixed missing function in scatterplot interface Modified Paths: -------------- trunk/ftm/ftmlib/classes/ftmdatagui.c Modified: trunk/ftm/ftmlib/classes/ftmdatagui.c =================================================================== --- trunk/ftm/ftmlib/classes/ftmdatagui.c 2022-10-05 12:22:07 UTC (rev 3781) +++ trunk/ftm/ftmlib/classes/ftmdatagui.c 2022-10-05 17:50:38 UTC (rev 3782) @@ -10394,6 +10394,8 @@ ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->getAllInterfaces = fmat_get_possible_interfaces; ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->lockData = fmat_lock_data; ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->unlockData = fmat_unlock_data; + ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->retainData = fmat_retain_data; + ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->releaseData = fmat_release_data; ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&fmat_gui_interface_scatterplot)->getBufferObject = fts_get_buffer_object_default; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2022-10-04 10:25:49
|
Revision: 3780 http://sourceforge.net/p/ftm/code/3780 Author: borghesi Date: 2022-10-04 10:25:47 +0000 (Tue, 04 Oct 2022) Log Message: ----------- ftm compilation for arm64 platform Modified Paths: -------------- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj trunk/ftm/externals/max5/ftm.editor.cpp trunk/ftm/externals/max5/ftm.object.c trunk/ftm/ftmlib/classes/ftmdatagui.c trunk/ftm/ftmlib/max5/maxext.c trunk/ftm/ftmlib/object.c trunk/ftm/util/install-mxo.sh Modified: trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2021-04-09 07:41:59 UTC (rev 3779) +++ trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2022-10-04 10:25:47 UTC (rev 3780) @@ -107,6 +107,7 @@ 2195DE0B09A24AA6007DEFAF /* ftm.sdif.write.c in Sources */ = {isa = PBXBuildFile; fileRef = 2195DDA709A24A4A007DEFAF /* ftm.sdif.write.c */; }; 21DD1AFC1D9B137900476592 /* SplineEditor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 21DD1AFB1D9B137900476592 /* SplineEditor.cpp */; }; 3B01D3090A790E2A00950F15 /* ftm.sqlite.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B01D3080A790E2A00950F15 /* ftm.sqlite.c */; }; + 3B082B4028EB7AAF00FA2C50 /* SummaryEditor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B082B3F28EB7AAF00FA2C50 /* SummaryEditor.cpp */; }; 3B198EB20F8A0E3500F53450 /* ftm.object.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1B846F06D4C5F3009827F3 /* ftm.object.c */; }; 3B198EBE0F8A101F00F53450 /* commonsyms.c in Sources */ = {isa = PBXBuildFile; fileRef = 3BA1E34D0F6E6A4D007B27D1 /* commonsyms.c */; }; 3B198EBF0F8A101F00F53450 /* jpatcher_syms.c in Sources */ = {isa = PBXBuildFile; fileRef = 3BA1E34E0F6E6A4D007B27D1 /* jpatcher_syms.c */; }; @@ -128,7 +129,6 @@ 3B1CF46D161AE679007A5AE6 /* IndexChooserMarkersContainer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B1CF46B161AE679007A5AE6 /* IndexChooserMarkersContainer.cpp */; }; 3B3E8CB10AB81B2800EE3FAB /* ftm.guilistener.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B3E8CB00AB81B2800EE3FAB /* ftm.guilistener.c */; }; 3B46D2A310B566F800C927D9 /* ftm.tween.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B46D2A210B566F800C927D9 /* ftm.tween.c */; }; - 3B6614F51E363A0E00E5EFCC /* juce_opengl.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3B6614F41E363A0E00E5EFCC /* juce_opengl.mm */; }; 3B6614F71E363A1E00E5EFCC /* juce_core.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3B6614F61E363A1E00E5EFCC /* juce_core.mm */; }; 3B6614F91E363A2300E5EFCC /* juce_data_structures.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3B6614F81E363A2300E5EFCC /* juce_data_structures.mm */; }; 3B6614FB1E363A2800E5EFCC /* juce_events.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3B6614FA1E363A2800E5EFCC /* juce_events.mm */; }; @@ -444,6 +444,7 @@ 2195DE0A09A24A63007DEFAF /* ftm.sdif.write.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ftm.sdif.write.mxo; sourceTree = BUILT_PRODUCTS_DIR; }; 21DD1AFB1D9B137900476592 /* SplineEditor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SplineEditor.cpp; sourceTree = "<group>"; }; 3B01D3080A790E2A00950F15 /* ftm.sqlite.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = ftm.sqlite.c; sourceTree = "<group>"; }; + 3B082B3F28EB7AAF00FA2C50 /* SummaryEditor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SummaryEditor.cpp; sourceTree = "<group>"; }; 3B198EB80F8A0E3500F53450 /* ftm.object.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ftm.object.mxo; sourceTree = BUILT_PRODUCTS_DIR; }; 3B1B81D206D4A618009827F3 /* ftm.print.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ftm.print.mxo; sourceTree = BUILT_PRODUCTS_DIR; }; 3B1B820B06D4A663009827F3 /* ftm.print.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = ftm.print.c; sourceTree = "<group>"; }; @@ -877,6 +878,7 @@ 3BE1ACB4136EB1550036CFFC /* editors */ = { isa = PBXGroup; children = ( + 3B082B3F28EB7AAF00FA2C50 /* SummaryEditor.cpp */, 3B1CF464161AE66E007A5AE6 /* ImtrEditorSelectionListener.h */, 3B1CF465161AE66E007A5AE6 /* IndexChooserMarkersEditor.cpp */, 3B1CF466161AE66E007A5AE6 /* MarkersEditor.h */, @@ -2491,7 +2493,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh $PROJECT_DIR/../../../util/install-mxo.sh\n# call with the shell chosen above explicitly, since then the script doesn't need to have the executable permission set"; + shellScript = "/bin/sh $PROJECT_DIR/../../../util/install-mxo.sh\n# call with the shell chosen above explicitly, since then the script doesn't need to have the executable permission set\n"; }; 5CD47CEC0FBD800400A9AC30 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -2712,11 +2714,11 @@ 3BE1ACC4136EB1730036CFFC /* MarkersEditor.cpp in Sources */, 3BE1ACC5136EB1730036CFFC /* MatrixEditor.cpp in Sources */, 3BE1ACC6136EB1730036CFFC /* MultibpfEditor.cpp in Sources */, - 3B6614F51E363A0E00E5EFCC /* juce_opengl.mm in Sources */, 3BE1ACC7136EB1730036CFFC /* MultiwaveEditor.cpp in Sources */, 3BE1ACC8136EB1730036CFFC /* PixelsEditor.cpp in Sources */, 3BE1ACC9136EB1730036CFFC /* ScoreEditor.cpp in Sources */, 3BE1ACCA136EB1730036CFFC /* SonogramEditor.cpp in Sources */, + 3B082B4028EB7AAF00FA2C50 /* SummaryEditor.cpp in Sources */, 3BE1ACCB136EB1730036CFFC /* TracesEditor.cpp in Sources */, 3BE1ACCC136EB1730036CFFC /* WaveEditor.cpp in Sources */, 3B6614FB1E363A2800E5EFCC /* juce_events.mm in Sources */, @@ -2975,7 +2977,6 @@ 21195BA318800BF200EAB1FF /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; @@ -2995,7 +2996,7 @@ ); FTM_FRAMEWORKS = "$(FTM_FRAMEWORK_DIR)/ftm.mxo/Contents/MacOS/ftm"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.6; + FTM_VERSION = 2.7; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -3024,8 +3025,8 @@ INFOPLIST_FILE = ftmexternal.plist; JS_DIR = ../../../../components/js; JUCE_DIR = "$(COMPONENTS_DIR)/juce"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "-framework", @@ -3039,9 +3040,9 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif-debug.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif-debug.a"; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; WRAPPER_EXTENSION = mxo; }; @@ -3114,7 +3115,7 @@ 21195BAD18800BF200EAB1FF /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; GCC_INPUT_FILETYPE = automatic; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -3127,7 +3128,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(COMPONENTS_DIR)/juce", + "$(COMPONENTS_DIR)/juce/JuceLibraryCode", "$(COMPONENTS_DIR)/juce/modules", "$(COMPONENTS_DIR)/ImtrEditor/**", ); @@ -3395,7 +3396,7 @@ 218B72340E80091000A7CEAD /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; GCC_INPUT_FILETYPE = automatic; @@ -3409,7 +3410,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(COMPONENTS_DIR)/juce", + "$(COMPONENTS_DIR)/juce/JuceLibraryCode", "$(COMPONENTS_DIR)/juce/modules", "$(COMPONENTS_DIR)/ImtrEditor/**", ); @@ -3695,7 +3696,6 @@ 218B72540E80091000A7CEAD /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; @@ -3715,7 +3715,7 @@ ); FTM_FRAMEWORKS = "$(FTM_FRAMEWORK_DIR)/ftm.mxo/Contents/MacOS/ftm"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.6; + FTM_VERSION = 2.7; GCC_AUTO_VECTORIZATION = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 1; @@ -3743,8 +3743,8 @@ INFOPLIST_FILE = ftmexternal.plist; JS_DIR = ../../../../components/js; JUCE_DIR = "$(COMPONENTS_DIR)/juce"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "-framework", @@ -3758,9 +3758,9 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; WRAPPER_EXTENSION = mxo; }; @@ -3809,7 +3809,7 @@ 3B1CA7E00C467B12005F0280 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; GCC_INPUT_FILETYPE = automatic; @@ -3823,7 +3823,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(COMPONENTS_DIR)/juce", + "$(COMPONENTS_DIR)/juce/JuceLibraryCode", "$(COMPONENTS_DIR)/juce/modules", "$(COMPONENTS_DIR)/ImtrEditor/**", ); @@ -3847,7 +3847,7 @@ 3B1CA7E10C467B12005F0280 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; GCC_INPUT_FILETYPE = automatic; @@ -3861,7 +3861,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(COMPONENTS_DIR)/juce", + "$(COMPONENTS_DIR)/juce/JuceLibraryCode", "$(COMPONENTS_DIR)/juce/modules", "$(COMPONENTS_DIR)/ImtrEditor/**", ); @@ -4187,7 +4187,6 @@ 3B5DEE230861C3ED00B9AEEA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; @@ -4207,7 +4206,7 @@ ); FTM_FRAMEWORKS = "$(FTM_FRAMEWORK_DIR)/ftm.mxo/Contents/MacOS/ftm"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.6; + FTM_VERSION = 2.7; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -4233,8 +4232,8 @@ INFOPLIST_FILE = ftmexternal.plist; JS_DIR = ../../../../components/js; JUCE_DIR = "$(COMPONENTS_DIR)/juce"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "-framework", @@ -4248,9 +4247,9 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif-debug.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif-debug.a"; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; WRAPPER_EXTENSION = mxo; }; @@ -4259,7 +4258,6 @@ 3B5DEE240861C3ED00B9AEEA /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_ENUM_CONVERSION = YES; @@ -4277,7 +4275,7 @@ ); FTM_FRAMEWORKS = "$(FTM_FRAMEWORK_DIR)/ftm.mxo/Contents/MacOS/ftm"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.6; + FTM_VERSION = 2.7; GCC_AUTO_VECTORIZATION = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_OPTIMIZATION_LEVEL = 3; @@ -4311,8 +4309,8 @@ INFOPLIST_FILE = ftmexternal.plist; JS_DIR = ../../../../components/js; JUCE_DIR = "$(COMPONENTS_DIR)/juce"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "-framework", @@ -4325,10 +4323,10 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SECTORDER_FLAGS = ""; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; WARNING_CFLAGS = ""; WRAPPER_EXTENSION = mxo; @@ -4360,7 +4358,6 @@ 3BFD349324C1F61800A7EF6B /* ReleaseCodesign */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_ENUM_CONVERSION = YES; @@ -4380,7 +4377,7 @@ ); FTM_FRAMEWORKS = "$(FTM_FRAMEWORK_DIR)/ftm.mxo/Contents/MacOS/ftm"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.6; + FTM_VERSION = 2.7; GCC_AUTO_VECTORIZATION = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_OPTIMIZATION_LEVEL = 3; @@ -4414,8 +4411,8 @@ INFOPLIST_FILE = ftmexternal.plist; JS_DIR = ../../../../components/js; JUCE_DIR = "$(COMPONENTS_DIR)/juce"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_CODE_SIGN_FLAGS = "--timestamp"; OTHER_LDFLAGS = ( @@ -4429,10 +4426,10 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SECTORDER_FLAGS = ""; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; WARNING_CFLAGS = ""; WRAPPER_EXTENSION = mxo; @@ -4510,7 +4507,7 @@ 3BFD349D24C1F61800A7EF6B /* ReleaseCodesign */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; GCC_INPUT_FILETYPE = automatic; @@ -4520,11 +4517,11 @@ "_NDEBUG=1", "NDEBUG=1", "IMTREDITOR_DONT_USE_LOCAL_JUCEINCLUDES=1", - "JUCER_XCODE_MAC_F6D2F4CF=1", + "JUCE_MODULE_AVAILABLE_juce_opengl=0", ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(COMPONENTS_DIR)/juce", + "$(COMPONENTS_DIR)/juce/JuceLibraryCode", "$(COMPONENTS_DIR)/juce/modules", "$(COMPONENTS_DIR)/ImtrEditor/**", ); @@ -4538,8 +4535,6 @@ QuartzCore, "-framework", WebKit, - "-framework", - OpenGL, ); PRODUCT_NAME = ftm.editor; }; Modified: trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2021-04-09 07:41:59 UTC (rev 3779) +++ trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2022-10-04 10:25:47 UTC (rev 3780) @@ -711,6 +711,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.l"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( tokenizer.c, @@ -722,6 +724,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.y"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( parser.c, @@ -734,6 +738,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.l"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( tokenizer.c, @@ -745,6 +751,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.y"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( parser.h, @@ -757,6 +765,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.y"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( parser.c, @@ -769,6 +779,8 @@ compilerSpec = com.apple.compilers.proxy.script; filePatterns = "*.l"; fileType = pattern.proxy; + inputFiles = ( + ); isEditable = 1; outputFiles = ( tokenizer.c, @@ -1681,8 +1693,8 @@ 3BE2BBFC15F752F9008368F4 /* Resources */, 3BE2BBFD15F752F9008368F4 /* Sources */, 3BE2BBFE15F752F9008368F4 /* Frameworks */, + 3BF5E78E15FE23A4008429B7 /* Headers */, 3BE2BC5E15F75B52008368F4 /* ShellScript */, - 3BF5E78E15FE23A4008429B7 /* Headers */, ); buildRules = ( ); @@ -1855,7 +1867,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "sf1=/Developer/Tools/SetFile\nsf1=/Applications/Xcode.app/Contents/Developer/usr/bin/SetFile\nproddir=$EXTERNALS_DIR/ftm.mxo\n\nif [ -f $sf1 ]; then\n $sf1 -a B $proddir\nelse\n $sf2 -a B $proddir\nfi\n\nrm -Rf $proddir\ncp -Rf $BUILT_PRODUCTS_DIR/$PRODUCT_NAME.mxo $proddir\nmv $proddir/Contents/MacOS/$PRODUCT_NAME $proddir/Contents/MacOS/ftm"; + shellScript = "sf1=/Developer/Tools/SetFile\nsf1=/Applications/Xcode.app/Contents/Developer/usr/bin/SetFile\nproddir=$EXTERNALS_DIR/ftm.mxo\n\nif [ -f $sf1 ]; then\n $sf1 -a B $proddir\nelse\n $sf2 -a B $proddir\nfi\n\nrm -Rf $proddir\ncp -Rf $BUILT_PRODUCTS_DIR/$PRODUCT_NAME.mxo $proddir\nmv $proddir/Contents/MacOS/$PRODUCT_NAME $proddir/Contents/MacOS/ftm\n"; }; 2195C5E91B908DC50035FEBD /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -1885,7 +1897,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "sf1=/Developer/Tools/SetFile\nsf1=/Applications/Xcode.app/Contents/Developer/usr/bin/SetFile\nproddir=$EXTERNALS_DIR/ftm.mxo\n\nif [ -f $sf1 ]; then\n $sf1 -a B $proddir\nelse\n $sf2 -a B $proddir\nfi\n\nrm -Rf $EXTERNALS_DIR/ftm.mxo\ncp -Rf $BUILT_PRODUCTS_DIR/ftm.mxo $EXTERNALS_DIR"; + shellScript = "sf1=/Developer/Tools/SetFile\nsf1=/Applications/Xcode.app/Contents/Developer/usr/bin/SetFile\nproddir=$EXTERNALS_DIR/ftm.mxo\n\n#if [ -f $sf1 ]; then\n# $sf1 -a B $proddir\n#else\n#$sf2 -a B $proddir\n#fi\ncodesign --strict=all --timestamp --force --deep --verbose --sign 3BD2P55TR2 $BUILT_PRODUCTS_DIR/ftm.mxo/Contents/MacOS/$PRODUCT_NAME\n\nrm -Rf $EXTERNALS_DIR/ftm.mxo\ncp -Rf $BUILT_PRODUCTS_DIR/ftm.mxo $EXTERNALS_DIR\n"; }; 3BE2C945089A3F8F00AC1260 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -2341,7 +2353,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPYING_PRESERVES_HFS_DATA = YES; COPY_PHASE_STRIP = YES; @@ -2381,7 +2392,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPYING_PRESERVES_HFS_DATA = YES; COPY_PHASE_STRIP = YES; @@ -2422,7 +2432,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; DEBUG_MACROS = "DEBUG_LOCKS=1 DEBUG_REF_COUNT=0 DEBUG_OBJECT_RELEASE=1 USE_STDLIB_MALLOC=1 DEBUG=1"; EXECUTABLE_SUFFIX = ""; @@ -2458,7 +2467,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -2687,7 +2695,6 @@ 21ECC365164954EE00F9B177 /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -2734,8 +2741,8 @@ ); JUCE_DIR = "$(COMPONENTS_DIR)/juce"; LIBRARY_SEARCH_PATHS = "$(COMPONENTS_DIR)/**"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "$(SYS_FRAMEWORKS)", @@ -2744,17 +2751,17 @@ "$(SDIF_LIBS)", ); SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SKIP_INSTALL = YES; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"04/2021\\\""; + VERSION_DATE = "\\\"10/2022\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 5; + VERSION_RELEASE = 6; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug_optimised; @@ -2844,7 +2851,7 @@ COPY_PHASE_STRIP = YES; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.5; + FTM_VERSION = 2.7; GCC_AUTO_VECTORIZATION = YES; GCC_FAST_OBJC_DISPATCH = YES; GCC_OBJC_CALL_CXX_CDTORS = YES; @@ -2858,7 +2865,6 @@ INFOPLIST_EXPAND_BUILD_SETTINGS = YES; INFOPLIST_FILE = ftmexternal.plist; MACH_O_TYPE = mh_dylib; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max6.1"; PREBINDING = YES; PRODUCT_NAME = ftm; WRAPPER_EXTENSION = mxo; @@ -2908,7 +2914,6 @@ 3B5DEDA00861BFE900B9AEEA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -2955,8 +2960,8 @@ ); JUCE_DIR = "$(COMPONENTS_DIR)/juce"; LIBRARY_SEARCH_PATHS = "$(COMPONENTS_DIR)/**"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "$(SYS_FRAMEWORKS)", @@ -2965,17 +2970,17 @@ "$(SDIF_LIBS)", ); SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SKIP_INSTALL = YES; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"04/2021\\\""; + VERSION_DATE = "\\\"10/2022\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 5; + VERSION_RELEASE = 6; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug; @@ -2983,7 +2988,6 @@ 3B5DEDA10861BFE900B9AEEA /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = dwarf; @@ -3031,8 +3035,8 @@ ); JUCE_DIR = "$(COMPONENTS_DIR)/juce"; LIBRARY_SEARCH_PATHS = "$(COMPONENTS_DIR)/**"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "$(SYS_FRAMEWORKS)", @@ -3041,17 +3045,17 @@ "$(SDIF_LIBS)", ); SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SKIP_INSTALL = YES; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"04/2021\\\""; + VERSION_DATE = "\\\"10/2022\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 5; + VERSION_RELEASE = 6; VERSION_TAG = "\\\"BETA\\\""; WARNING_LDFLAGS = ""; }; @@ -3066,7 +3070,7 @@ COPY_PHASE_STRIP = YES; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.5; + FTM_VERSION = 2.7; GCC_AUTO_VECTORIZATION = NO; GCC_FAST_OBJC_DISPATCH = YES; GCC_OBJC_CALL_CXX_CDTORS = YES; @@ -3079,7 +3083,6 @@ INFOPLIST_EXPAND_BUILD_SETTINGS = YES; INFOPLIST_FILE = ftmexternal.plist; MACH_O_TYPE = mh_dylib; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max6.1"; PREBINDING = YES; PRODUCT_NAME = ftm; WRAPPER_EXTENSION = mxo; @@ -3094,7 +3097,7 @@ EXECUTABLE_SUFFIX = ""; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.5; + FTM_VERSION = 2.7; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_MODEL_TUNING = G5; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -3108,7 +3111,6 @@ ); INFOPLIST_FILE = ftmexternal.plist; MACH_O_TYPE = mh_dylib; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max6.1"; PREBINDING = NO; PRODUCT_NAME = ftm; WRAPPER_EXTENSION = mxo; @@ -3124,13 +3126,12 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.5; + FTM_VERSION = 2.7; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_MODEL_TUNING = G5; GENERATE_PKGINFO_FILE = YES; INFOPLIST_FILE = ftmexternal.plist; MACH_O_TYPE = mh_dylib; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max6.1"; PREBINDING = NO; PRODUCT_NAME = ftm; WRAPPER_EXTENSION = mxo; @@ -3141,7 +3142,6 @@ 3BFD348924C1F0F500A7EF6B /* ReleaseCodesign */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; CODE_SIGN_IDENTITY = "Developer ID Application: INST RECHER COORD ACOUST MUSICALE (3BD2P55TR2)"; CODE_SIGN_STYLE = Manual; COMPONENTS_DIR = ../../../../components; @@ -3191,8 +3191,8 @@ ); JUCE_DIR = "$(COMPONENTS_DIR)/juce"; LIBRARY_SEARCH_PATHS = "$(COMPONENTS_DIR)/**"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_CODE_SIGN_FLAGS = "--timestamp"; OTHER_LDFLAGS = ( @@ -3202,17 +3202,17 @@ "$(SDIF_LIBS)", ); SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SKIP_INSTALL = YES; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"04/2021\\\""; + VERSION_DATE = "\\\"10/2022\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 5; + VERSION_RELEASE = 6; VERSION_TAG = "\\\"BETA\\\""; WARNING_LDFLAGS = ""; }; @@ -3303,13 +3303,12 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; - FTM_VERSION = 2.5; + FTM_VERSION = 2.7; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_MODEL_TUNING = G5; GENERATE_PKGINFO_FILE = YES; INFOPLIST_FILE = ftmexternal.plist; MACH_O_TYPE = mh_dylib; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max6.1"; PREBINDING = NO; PRODUCT_NAME = ftm; WRAPPER_EXTENSION = mxo; @@ -3343,7 +3342,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -3497,7 +3495,6 @@ 8937598810760F4A00644327 /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -3544,8 +3541,8 @@ ); JUCE_DIR = "$(COMPONENTS_DIR)/juce"; LIBRARY_SEARCH_PATHS = "$(COMPONENTS_DIR)/**"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MAXAPI_DIR = "${COMPONENTS_DIR}/maxapi/max8.2"; MAX_FRAMEWORKS = "-framework MaxAPI -framework MaxAudioAPI"; OTHER_LDFLAGS = ( "$(SYS_FRAMEWORKS)", @@ -3554,17 +3551,17 @@ "$(SDIF_LIBS)", ); SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat-intel-arm/libsdif.a"; SKIP_INSTALL = YES; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; - SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; + SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos-x64-arm64/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"04/2021\\\""; + VERSION_DATE = "\\\"10/2022\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 5; + VERSION_RELEASE = 6; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug_harder; Modified: trunk/ftm/externals/max5/ftm.editor.cpp =================================================================== --- trunk/ftm/externals/max5/ftm.editor.cpp 2021-04-09 07:41:59 UTC (rev 3779) +++ trunk/ftm/externals/max5/ftm.editor.cpp 2022-10-04 10:25:47 UTC (rev 3780) @@ -143,6 +143,9 @@ long view_inspector_track; void *view_dummy_attr[2]; long view_dummy_attr_long; + float view_dummy_attr_float; + float view_dummy_attr_float_array[2]; + t_symbol *view_dummy_attr_sym; long view_dummy_attr_long_array[2]; ///////////////////////// @@ -432,7 +435,7 @@ const IMTREDITOR_JUCE_NAMESPACE::MessageManagerLock mmLock; editorContainer->getEditor(index)->replaceObject((void *)obj, guiInterface); - editorContainer->getEditor(index)->updateReplacements((void *)obj); + //editorContainer->getEditor(index)->updateReplacements((void *)obj); if(editorContainer->getEditor(index)->getViewName() == editorContainer->getEditor(index)->getDescription()) editorContainer->changeViewName(index, IMTREDITOR_JUCE_NAMESPACE::String( fts_symbol_name(fts_object_get_class_name(obj))) +":"+ @@ -490,27 +493,26 @@ ImtrEditor *imtred = dynamic_cast<ImtrEditor *>(editor); int index = editorContainer->getIndexOfView(imtred); IMTREDITOR_JUCE_NAMESPACE::String name = imtred->getViewName(); - IMTREDITOR_JUCE_NAMESPACE::Component *replacement = NULL; + //IMTREDITOR_JUCE_NAMESPACE::Component *replacement = NULL; - replacement = imtred->getReplacement(newInterfaceName); - - if(replacement == NULL) - { - IMTREDITOR_JUCE_NAMESPACE::StringArray replacedNames; - int i; - imtr_guiInterface *guiInterface = (imtr_guiInterface *)fts_object_get_gui_interface((fts_object_t *)obj, getSymbolFromString(newInterfaceName)); + //replacement = imtred->getReplacement(newInterfaceName); + //if(replacement == NULL) + //{ + IMTREDITOR_JUCE_NAMESPACE::StringArray replacedNames; + //int i; + imtr_guiInterface *guiInterface = (imtr_guiInterface *)fts_object_get_gui_interface((fts_object_t *)obj, getSymbolFromString(newInterfaceName)); - replacement = editorContainer->createEditor((void *)obj, context, (imtr_guiInterface *)(guiInterface)); + IMTREDITOR_JUCE_NAMESPACE::Component *replacement = editorContainer->createEditor((void *)obj, context, (imtr_guiInterface *)(guiInterface)); // set previous replacement in new one - replacedNames = imtred->getReplacementNames(); - for(i = 0; i < replacedNames.size(); i++) - dynamic_cast<ImtrEditor *>(replacement)->setReplacement(imtred->getReplacement(replacedNames[i]), replacedNames[i]); + //replacedNames = imtred->getReplacementNames(); + //for(i = 0; i < replacedNames.size(); i++) + //dynamic_cast<ImtrEditor *>(replacement)->setReplacement(imtred->getReplacement(replacedNames[i]), replacedNames[i]); // set current replacement - imtred->setReplacement(replacement, newInterfaceName); - (dynamic_cast<ImtrEditor *>(replacement))->setReplacement(editor, oldInterfaceName); - } + //imtred->setReplacement(replacement, newInterfaceName); + //(dynamic_cast<ImtrEditor *>(replacement))->setReplacement(editor, oldInterfaceName); + //} if(index >= 0) { @@ -524,7 +526,7 @@ editorContainer->replaceEditor(index, imtred, (dynamic_cast<ImtrEditor *>(replacement))); - if(name != IMTREDITOR_JUCE_NAMESPACE::String::empty) + if(name != IMTREDITOR_JUCE_NAMESPACE::String()) editorContainer->setViewName(index, name); editorContainer->setViewForegroundColor(index, imtred->getForegroundColor()); @@ -576,6 +578,14 @@ defer_low(external, (method)ftmeditor_change_interface_delayed, 0, 5, at); } + void changeSnapshotEditorInterface(int viewIndex, IMTREDITOR_JUCE_NAMESPACE::String newInterfaceName, IMTREDITOR_JUCE_NAMESPACE::String oldInterfaceName){} + virtual bool hasAudioBuffer() + { + return false; + } + int getNumIndexes(){return 1;} + int getCurrentIndex(){return 0;} + void updateContainer(bool resizeAll) { const IMTREDITOR_JUCE_NAMESPACE::MessageManagerLock mmLock; @@ -639,7 +649,7 @@ { ImtrEditor *editor = (dynamic_cast<ImtrEditor *>(edt)); int editorIndex = editorContainer->getIndexOfView(editor); - IMTREDITOR_JUCE_NAMESPACE::Array <int> selection = (arg != IMTREDITOR_JUCE_NAMESPACE::String::empty) ? editor->getSelection(arg) : editor->getSelection(); + IMTREDITOR_JUCE_NAMESPACE::Array <int> selection = (arg != IMTREDITOR_JUCE_NAMESPACE::String()) ? editor->getSelection(arg) : editor->getSelection(); bool selectionAsRange = editor->selectionAsRange(); fts_atom_t a[1024]; int i; @@ -647,7 +657,7 @@ fts_set_int(a, editorIndex); fts_set_symbol(a+1, fts_s_selection); - if(arg != IMTREDITOR_JUCE_NAMESPACE::String::empty) + if(arg != IMTREDITOR_JUCE_NAMESPACE::String()) { fts_set_symbol(a+2, getSymbolFromString(arg)); ac++; @@ -1446,7 +1456,7 @@ } else if(pname == fts_s_selection) { - IMTREDITOR_JUCE_NAMESPACE::String arg = IMTREDITOR_JUCE_NAMESPACE::String::empty; + IMTREDITOR_JUCE_NAMESPACE::String arg = IMTREDITOR_JUCE_NAMESPACE::String(); if(nargs == 1 && fts_is_symbol(args)) arg = IMTREDITOR_JUCE_NAMESPACE::String(fts_get_symbol(args)->s_name); @@ -1453,13 +1463,13 @@ ImtrEditor *editor = editorContainer->getEditor(idx); bool selectionAsRange = editor->selectionAsRange(); - IMTREDITOR_JUCE_NAMESPACE::Array <int> selection = (arg == IMTREDITOR_JUCE_NAMESPACE::String::empty) ? editor->getSelection() : editor->getSelection(arg); + IMTREDITOR_JUCE_NAMESPACE::Array <int> selection = (arg == IMTREDITOR_JUCE_NAMESPACE::String()) ? editor->getSelection() : editor->getSelection(arg); int i, size; size = 2; fts_set_int(at, idx); fts_set_symbol(at+1, fts_s_selection); - if(arg != IMTREDITOR_JUCE_NAMESPACE::String::empty) + if(arg != IMTREDITOR_JUCE_NAMESPACE::String()) { fts_set_symbol(at+2, getSymbolFromString(arg)); size++; @@ -7283,7 +7293,7 @@ self->outputselection = 0; self->ftmeditor_offscreen = NULL; - self->ftmeditorSnapshot = IMTREDITOR_JUCE_NAMESPACE::Image::null; + self->ftmeditorSnapshot = IMTREDITOR_JUCE_NAMESPACE::Image(); critical_new(&(self->critical_off)); /* attributes for inspector */ @@ -7408,7 +7418,7 @@ jgraphics_surface_destroy(self->ftmeditor_offscreen); self->ftmeditor_offscreen = NULL; } - self->ftmeditorSnapshot = IMTREDITOR_JUCE_NAMESPACE::Image::null; + self->ftmeditorSnapshot = IMTREDITOR_JUCE_NAMESPACE::Image(); linklist_chuck(self->attachedviews); @@ -7566,13 +7576,13 @@ CLASS_ATTR_PAINT(_mc,"view_visible", 0); CLASS_ATTR_ORDER(_mc, "view_visible", 0, "202"); - CLASS_ATTR_SYM(_mc, "view_interface", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc, "view_interface", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc, "view_interface", 0,"Choose View Interface"); CLASS_ATTR_ENUM(_mc, "view_interface", 0, ""); CLASS_ATTR_ACCESSORS(_mc, "view_interface", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_ORDER(_mc, "view_interface", 0, "203"); - CLASS_ATTR_FLOAT_ARRAY(_mc, "view_bounds", 0, ftmeditor_t, view_dummy_attr, 2); + CLASS_ATTR_FLOAT_ARRAY(_mc, "view_bounds", 0, ftmeditor_t, view_dummy_attr_float_array, 2); CLASS_ATTR_LABEL(_mc, "view_bounds", 0,"View Bounds Min/Max"); CLASS_ATTR_PAINT(_mc, "view_bounds", 0); CLASS_ATTR_ACCESSORS(_mc, "view_bounds", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); @@ -7584,7 +7594,7 @@ CLASS_ATTR_PAINT(_mc,"view_autobounds", 0); CLASS_ATTR_ORDER(_mc, "view_autobounds", 0, "205"); - CLASS_ATTR_SYM(_mc, "view_shape", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc, "view_shape", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc,"view_shape", 0,"View Shape"); CLASS_ATTR_PAINT(_mc,"view_shape", 0); CLASS_ATTR_ENUM(_mc, "view_shape", 0, "lines peaks points zeropeaks"); @@ -7597,7 +7607,7 @@ CLASS_ATTR_PAINT(_mc,"view_thickness", 0); CLASS_ATTR_ORDER(_mc, "view_thickness", 0, "207"); - CLASS_ATTR_SYM(_mc,"view_name", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc,"view_name", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc,"view_name", 0, "View Name"); CLASS_ATTR_PAINT(_mc,"view_name", 0); CLASS_ATTR_ACCESSORS(_mc, "view_name", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); @@ -7621,7 +7631,7 @@ CLASS_ATTR_ACCESSORS(_mc, "view_stavecolor", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_ORDER(_mc, "view_stavecolor", 0, "211"); - CLASS_ATTR_SYM(_mc, "view_colormode", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc, "view_colormode", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc,"view_colormode", 0,"View Color Mode"); CLASS_ATTR_PAINT(_mc,"view_colormode", 0); CLASS_ATTR_ACCESSORS(_mc, "view_colormode", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); @@ -7639,13 +7649,13 @@ CLASS_ATTR_PAINT(_mc,"view_fgcolorgradient", 0); CLASS_ATTR_ORDER(_mc, "view_fgcolorgradient", 0, "214"); - CLASS_ATTR_FLOAT_ARRAY(_mc, "view_depth", 0, ftmeditor_t, view_dummy_attr, 2); + CLASS_ATTR_FLOAT_ARRAY(_mc, "view_depth", 0, ftmeditor_t, view_dummy_attr_float_array, 2); CLASS_ATTR_LABEL(_mc, "view_depth", 0,"Color-View Depth Min/Max"); CLASS_ATTR_PAINT(_mc, "view_depth", 0); CLASS_ATTR_ACCESSORS(_mc, "view_depth", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_ORDER(_mc, "view_depth", 0, "215"); - CLASS_ATTR_FLOAT(_mc, "view_step", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_step", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_LABEL(_mc, "view_step", 0,"View Step"); CLASS_ATTR_PAINT(_mc, "view_step", 0); CLASS_ATTR_ACCESSORS(_mc, "view_step", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); @@ -7675,7 +7685,7 @@ CLASS_ATTR_PAINT(_mc,"view_showname", 0); CLASS_ATTR_ORDER(_mc, "view_showname", 0, "220"); - CLASS_ATTR_SYM(_mc, "view_layout", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc, "view_layout", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc,"view_layout", 0,"View Layout"); CLASS_ATTR_PAINT(_mc,"view_layout", 0); CLASS_ATTR_ENUM(_mc, "view_layout", 0, "juxtaposed superposed"); @@ -7682,7 +7692,7 @@ CLASS_ATTR_ACCESSORS(_mc, "view_layout", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_ORDER(_mc, "view_layout", 0, "221"); - CLASS_ATTR_SYM(_mc, "view_mixedlayout", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_SYM(_mc, "view_mixedlayout", 0, ftmeditor_t, view_dummy_attr_sym); CLASS_ATTR_LABEL(_mc,"view_mixedlayout", 0,"Layout Group With Mixed Layout"); CLASS_ATTR_PAINT(_mc,"view_mixedlayout", 0); CLASS_ATTR_ENUM(_mc, "view_mixedlayout", 0, "juxtaposed superposed"); @@ -7689,7 +7699,7 @@ CLASS_ATTR_ACCESSORS(_mc, "view_mixedlayout", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_ORDER(_mc, "view_mixedlayout", 0, "222"); - CLASS_ATTR_FLOAT(_mc, "view_opacity", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_opacity", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_LABEL(_mc, "view_opacity", 0,"View Opacity"); CLASS_ATTR_ACCESSORS(_mc, "view_opacity", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_PAINT(_mc, "view_opacity", 0); @@ -8053,22 +8063,22 @@ CLASS_ATTR_INVISIBLE(_mc, "domain_max", 0); /* deprecated (replaced by "view_bounds") */ - CLASS_ATTR_FLOAT(_mc, "view_max", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_max", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_ACCESSORS(_mc, "view_max", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_INVISIBLE(_mc, "view_max", 0); /* deprecated (replaced by "view_bounds") */ - CLASS_ATTR_FLOAT(_mc, "view_min", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_min", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_ACCESSORS(_mc, "view_min", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_INVISIBLE(_mc, "view_min", 0); /* deprecated (replaced by "view_depth") */ - CLASS_ATTR_FLOAT(_mc, "view_depth_max", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_depth_max", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_ACCESSORS(_mc, "view_depth_max", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_INVISIBLE(_mc, "view_depth_max", 0); /* deprecated (replaced by "view_depth") */ - CLASS_ATTR_FLOAT(_mc, "view_depth_min", 0, ftmeditor_t, view_dummy_attr); + CLASS_ATTR_FLOAT(_mc, "view_depth_min", 0, ftmeditor_t, view_dummy_attr_float); CLASS_ATTR_ACCESSORS(_mc, "view_depth_min", ftmeditor_get_attribute_view, ftmeditor_set_attribute_view); CLASS_ATTR_INVISIBLE(_mc, "view_depth_min", 0); Modified: trunk/ftm/externals/max5/ftm.object.c =================================================================== --- trunk/ftm/externals/max5/ftm.object.c 2021-04-09 07:41:59 UTC (rev 3779) +++ trunk/ftm/externals/max5/ftm.object.c 2022-10-04 10:25:47 UTC (rev 3780) @@ -2434,12 +2434,12 @@ CLASS_ATTR_ACCESSORS(_mc, "persistence", ftmobj_get_attribute_persistence, ftmobj_set_attribute_persistence); CLASS_ATTR_SAVE(_mc,"persistence", 0); - CLASS_ATTR_SYM(_mc, "description", ATTR_SET_OPAQUE_USER | ATTR_GET_OPAQUE_USER, ftmobj_t, head); + CLASS_ATTR_SYM(_mc, "description", ATTR_SET_OPAQUE_USER | ATTR_GET_OPAQUE_USER, ftmobj_t, description_init); CLASS_ATTR_ACCESSORS(_mc, "description", ftmobj_get_attribute_description, ftmobj_set_attribute_description); CLASS_ATTR_LABEL(_mc, "description", 0, "Description"); CLASS_ATTR_SAVE(_mc,"description", 0); - CLASS_ATTR_SYM(_mc, "name", 0, ftmobj_t, head); + CLASS_ATTR_SYM(_mc, "name", 0, ftmobj_t, name_init); CLASS_ATTR_ACCESSORS(_mc, "name", ftmobj_get_attribute_name, ftmobj_set_attribute_name); CLASS_ATTR_LABEL(_mc, "name", 0, "Name"); CLASS_ATTR_SAVE(_mc,"name", 0); Modified: trunk/ftm/ftmlib/classes/ftmdatagui.c =================================================================== --- trunk/ftm/ftmlib/classes/ftmdatagui.c 2021-04-09 07:41:59 UTC (rev 3779) +++ trunk/ftm/ftmlib/classes/ftmdatagui.c 2022-10-04 10:25:47 UTC (rev 3780) @@ -364,6 +364,12 @@ bpf_unlock_data(void *obj, void *context){} static void +bpf_retain_data(void *obj, void *context){} + +static void +bpf_release_data(void *obj, void *context){} + +static void dict_lock_data(void *obj, void *context, int exclusive){} static void @@ -370,6 +376,12 @@ dict_unlock_data(void *obj, void *context){} static void +dict_retain_data(void *obj, void *context){} + +static void +dict_release_data(void *obj, void *context){} + +static void mat_lock_data(void *obj, void *context, int exclusive){} static void @@ -376,6 +388,12 @@ mat_unlock_data(void *obj, void *context){} static void +mat_retain_data(void *obj, void *context){} + +static void +mat_release_data(void *obj, void *context){} + +static void fmat_lock_data(void *obj, void *context, int exclusive){} static void @@ -382,6 +400,12 @@ fmat_unlock_data(void *obj, void *context){} static void +fmat_retain_data(void *obj, void *context){} + +static void +fmat_release_data(void *obj, void *context){} + +static void fvec_lock_data(void *obj, void *context, int exclusive){} static void @@ -388,6 +412,12 @@ fvec_unlock_data(void *obj, void *context){} static void +fvec_retain_data(void *obj, void *context){} + +static void +fvec_release_data(void *obj, void *context){} + +static void sequence_lock_data(void *obj, void *context, int exclusive){} static void @@ -394,11 +424,23 @@ sequence_unlock_data(void *obj, void *context){} static void +sequence_retain_data(void *obj, void *context){} + +static void +sequence_release_data(void *obj, void *context){} + +static void track_lock_data(void *obj, void *context, int exclusive){} static void track_unlock_data(void *obj, void *context){} +static void +track_retain_data(void *obj, void *context){} + +static void +track_release_data(void *obj, void *context){} + static char * fts_empty_default_config(void *obj, void *context) { @@ -519,6 +561,8 @@ ((imtr_guiInterface *)&bpf_gui_interface_bpf)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&bpf_gui_interface_bpf)->lockData = bpf_lock_data; ((imtr_guiInterface *)&bpf_gui_interface_bpf)->unlockData = bpf_unlock_data; + ((imtr_guiInterface *)&bpf_gui_interface_bpf)->retainData = bpf_retain_data; + ((imtr_guiInterface *)&bpf_gui_interface_bpf)->releaseData = bpf_release_data; ((imtr_guiInterface *)&bpf_gui_interface_bpf)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&bpf_gui_interface_bpf)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&bpf_gui_interface_bpf)->getBufferObject = fts_get_buffer_object_default; @@ -677,6 +721,8 @@ ((imtr_guiInterface *)&bpf_gui_interface_matrix)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&bpf_gui_interface_matrix)->lockData = bpf_lock_data; ((imtr_guiInterface *)&bpf_gui_interface_matrix)->unlockData = bpf_unlock_data; + ((imtr_guiInterface *)&bpf_gui_interface_matrix)->retainData = bpf_retain_data; + ((imtr_guiInterface *)&bpf_gui_interface_matrix)->releaseData = bpf_release_data; ((imtr_guiInterface *)&bpf_gui_interface_matrix)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&bpf_gui_interface_matrix)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&bpf_gui_interface_matrix)->getBufferObject = fts_get_buffer_object_default; @@ -943,6 +989,8 @@ ((imtr_guiInterface *)&dict_gui_interface_matrix)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&dict_gui_interface_matrix)->lockData = dict_lock_data; ((imtr_guiInterface *)&dict_gui_interface_matrix)->unlockData = dict_unlock_data; + ((imtr_guiInterface *)&dict_gui_interface_matrix)->retainData = dict_retain_data; + ((imtr_guiInterface *)&dict_gui_interface_matrix)->releaseData = dict_release_data; ((imtr_guiInterface *)&dict_gui_interface_matrix)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&dict_gui_interface_matrix)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&dict_gui_interface_matrix)->getBufferObject = fts_get_buffer_object_default; @@ -996,8 +1044,8 @@ } static void -mat_gui_markers_get_column_indexes(void *obj, void *context, const char *durationColName, const char *offsetColName, const char *cueColName, const char *cue2ColName, const char *labelColName, - int *durationColIndex, int *offsetColIndex, int *cueColIndex, int *cue2ColIndex, int *labelColIndex) +mat_gui_markers_get_column_indexes(void *obj, void *context, const char *durationColName, const char *offsetColName, const char *cueColName, const char *cue2ColName, const char *labelColName, const char *colorColName, + int *durationColIndex, int *offsetColIndex, int *cueColIndex, int *cue2ColIndex, int *labelColIndex, int *colorColIndex) { mat_t *self = (mat_t *)obj; fts_schema_t *colschema = mat_get_schema(self, 2); @@ -1009,6 +1057,7 @@ *labelColIndex = fts_schema_get_index(colschema, fts_new_symbol(labelColName)); *durationColIndex = fts_schema_get_index(colschema, fts_new_symbol(durationColName)); *offsetColIndex = fts_schema_get_index(colschema, fts_new_symbol(offsetColName)); + *colorColIndex = fts_schema_get_index(colschema, fts_new_symbol(colorColName)); } else { @@ -1017,6 +1066,7 @@ *cueColIndex = (self->n > 3) ? 3 : -1; *cue2ColIndex = (self->n > 4) ? 4 : -1; *labelColIndex = (self->n > 5) ? 5 : -1; + *colorColIndex = -1; } } @@ -1060,8 +1110,7 @@ } static void * -mat_gui_markers_get_by_index(void *obj, void *context, int index, double *time, double *duration, double *offset, double *cue, double *cue2, char **label, - int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex) +mat_gui_markers_get_by_index(void *obj, void *context, int index, double *time, double *duration, double *offset, double *cue, double *cue2, char **label, double *color, int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex, int colorColIndex) { mat_t *self = (mat_t *)obj; int m = mat_get_m(self); @@ -1073,6 +1122,7 @@ *label = 0; *duration = 0.0; *offset = 0.0; + *color = -1.0; if((m > 0 && n > 2) && (index >= 0 && index < m)) { fts_atom_t *val; @@ -1113,6 +1163,12 @@ val = mat_get_element( self, index, offsetColIndex); if(fts_is_number(val)) *offset = (double)fts_get_number_float(val); } + /* color */ + if(colorColIndex > 0) + { + val = mat_get_element( self, index, colorColIndex); + if(fts_is_number(val)) *color = (double)fts_get_number_float(val); + } mat_unlock(self); } @@ -1143,8 +1199,8 @@ } static void * -mat_gui_markers_add(void *obj, void *context, double time, double duration, double offset, double cue, double cue2, const char *label, - int *ret_index, int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex) +mat_gui_markers_add(void *obj, void *context, double time, double duration, double offset, double cue, double cue2, const char *label, double color, + int *ret_index, int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex, int colorColIndex) { mat_t *self = (mat_t *)obj; int m = mat_get_m(self); @@ -1197,6 +1253,11 @@ mat_set_element(self, i, offsetColIndex, &k); } + if(colorColIndex > 0) + { + fts_set_float(&k, color); + mat_set_element(self, i, colorColIndex, &k); + } mat_unlock(self); fts_set_symbol(&k, fts_s_add); @@ -1207,7 +1268,7 @@ } static int -mat_gui_markers_move(void *obj, void *context, void *evt, int index, double time, int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex) +mat_gui_markers_move(void *obj, void *context, void *evt, int index, double time, int durationColIndex, int offsetColIndex, int cueColIndex, int cue2ColIndex, int labelColIndex, int colorColIndex) { mat_t *self = (mat_t *)obj; int m = mat_get_m(self); @@ -1401,6 +1462,8 @@ ((imtr_guiInterface *)&mat_gui_interface_markers)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&mat_gui_interface_markers)->lockData = mat_lock_data; ((imtr_guiInterface *)&mat_gui_interface_markers)->unlockData = mat_unlock_data; + ((imtr_guiInterface *)&mat_gui_interface_markers)->retainData = mat_retain_data; + ((imtr_guiInterface *)&mat_gui_interface_markers)->releaseData = mat_release_data; ((imtr_guiInterface *)&mat_gui_interface_markers)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&mat_gui_interface_markers)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&mat_gui_interface_markers)->getBufferObject = fts_get_buffer_object_default; @@ -1822,6 +1885,8 @@ ((imtr_guiInterface *)&mat_gui_interface_score)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&mat_gui_interface_score)->lockData = mat_lock_data; ((imtr_guiInterface *)&mat_gui_interface_score)->unlockData = mat_unlock_data; + ((imtr_guiInterface *)&mat_gui_interface_score)->retainData = mat_retain_data; + ((imtr_guiInterface *)&mat_gui_interface_score)->releaseData = mat_release_data; ((imtr_guiInterface *)&mat_gui_interface_score)->getDefaultConfig = fts_empty_default_config; ((imtr_guiInterface *)&mat_gui_interface_score)->getNumBuffers = fts_get_num_buffers_default; ((imtr_guiInterface *)&mat_gui_interface_score)->getBufferObject = fts_get_buffer_object_default; @@ -2083,6 +2148,8 @@ ((imtr_guiInterface *)&mat_gui_interface_matrix)->getAllInterfaces = object_get_all_interfaces; ((imtr_guiInterface *)&mat_gui_interface_matrix)->lockData = mat_lock_data; ... [truncated message content] |
From: <di...@us...> - 2021-04-09 08:03:12
|
Revision: 3779 http://sourceforge.net/p/ftm/code/3779 Author: diemo Date: 2021-04-09 07:41:59 +0000 (Fri, 09 Apr 2021) Log Message: ----------- update release notes from changelog Modified Paths: -------------- trunk/ftm/distrib/ReleaseNotes.txt Modified: trunk/ftm/distrib/ReleaseNotes.txt =================================================================== --- trunk/ftm/distrib/ReleaseNotes.txt 2021-04-09 07:33:56 UTC (rev 3778) +++ trunk/ftm/distrib/ReleaseNotes.txt 2021-04-09 07:41:59 UTC (rev 3779) @@ -9,12 +9,18 @@ ____________________________________________________ RELEASE NOTES FTM.2.7.5.BETA (09/04/2021) -- protect from rare case of extreme system load -- adapt to changes in (cycling private) data structure t_adobj in ad.h: relevant info has shifted 16 bytes backwards -- fixed crash in gabor.psolastic example, related to ftm.record -- codesigned and notarized osx release +- codesigned and notarized MacOS release + +FTM: +- allow loading of Spear SDIF files +- fix in ftm.sdif.info - other minor bug fixes +Gabor: +- adapt to changes in audio data structures from Max 8.1.6 on Mac +- fixed crash in gabor.psolastic example, related to ftm.record +- protect from rare case of extreme system load + ____________________________________________________ RELEASE NOTES FTM.2.7.4.BETA This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-09 07:34:19
|
Revision: 3777 http://sourceforge.net/p/ftm/code/3777 Author: borghesi Date: 2021-04-09 07:13:23 +0000 (Fri, 09 Apr 2021) Log Message: ----------- Modified Paths: -------------- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj Modified: trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2021-04-08 20:27:34 UTC (rev 3776) +++ trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2021-04-09 07:13:23 UTC (rev 3777) @@ -1672,6 +1672,98 @@ isa = PBXProject; attributes = { LastUpgradeCheck = 0620; + TargetAttributes = { + 211ADFD20A7902A2007B20AA = { + ProvisioningStyle = Manual; + }; + 2195DDFA09A24A63007DEFAF = { + ProvisioningStyle = Manual; + }; + 3B198EB00F8A0E3500F53450 = { + ProvisioningStyle = Manual; + }; + 3B1B81D106D4A618009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B82DE06D4B2E5009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B82FA06D4B5A3009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B84C506D4EE19009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B84E906D4EFE1009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B84F806D4F06A009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B850706D4F0B0009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B853406D4F2D0009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B855206D4F3A4009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B856106D4F506009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B857006D4F568009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B857F06D4F5C8009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B858E06D4F654009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1B859D06D4F6AF009827F3 = { + ProvisioningStyle = Manual; + }; + 3B1CA7CA0C467B12005F0280 = { + ProvisioningStyle = Manual; + }; + 3B3E8C9E0AB81AB100EE3FAB = { + ProvisioningStyle = Manual; + }; + 3BFEBB400AB172170026E8D4 = { + ProvisioningStyle = Manual; + }; + 5C23142007A28B3D00CC6F2E = { + ProvisioningStyle = Manual; + }; + 5C5F084F0782214600A59DE2 = { + ProvisioningStyle = Manual; + }; + 5C5F086F078222B700A59DE2 = { + ProvisioningStyle = Manual; + }; + 5CC616721604F43B000E6DD7 = { + ProvisioningStyle = Manual; + }; + 5CD5DD210E17F6A800C85139 = { + ProvisioningStyle = Manual; + }; + 5CEF80BA0AB157E500AE1943 = { + ProvisioningStyle = Manual; + }; + 5CEF80CD0AB1590700AE1943 = { + ProvisioningStyle = Manual; + }; + 5CFCB87C0AA5A86800DAB9A5 = { + ProvisioningStyle = Manual; + }; + F4781FEE0838E92400D47E77 = { + ProvisioningStyle = Manual; + }; + F47D6AE708A36663001D9636 = { + ProvisioningStyle = Manual; + }; + }; }; buildConfigurationList = 3B5DEE220861C3ED00B9AEEA /* Build configuration list for PBXProject "ftmexternals" */; compatibilityVersion = "Xcode 3.2"; @@ -2883,7 +2975,7 @@ 21195BA318800BF200EAB1FF /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; @@ -3603,7 +3695,7 @@ 218B72540E80091000A7CEAD /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; @@ -4095,7 +4187,7 @@ 3B5DEE230861C3ED00B9AEEA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; Modified: trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2021-04-08 20:27:34 UTC (rev 3776) +++ trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2021-04-09 07:13:23 UTC (rev 3777) @@ -1763,6 +1763,11 @@ isa = PBXProject; attributes = { LastUpgradeCheck = 0620; + TargetAttributes = { + 3BE2BBFF15F752F9008368F4 = { + ProvisioningStyle = Manual; + }; + }; }; buildConfigurationList = 3B5DED9F0861BFE900B9AEEA /* Build configuration list for PBXProject "ftmlib" */; compatibilityVersion = "Xcode 3.2"; @@ -2682,7 +2687,7 @@ 21ECC365164954EE00F9B177 /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -2745,7 +2750,7 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"03/2021\\\""; + VERSION_DATE = "\\\"04/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; @@ -2903,7 +2908,7 @@ 3B5DEDA00861BFE900B9AEEA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -2966,7 +2971,7 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"03/2021\\\""; + VERSION_DATE = "\\\"04/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; @@ -3042,7 +3047,7 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"03/2021\\\""; + VERSION_DATE = "\\\"04/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; @@ -3203,7 +3208,7 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"03/2021\\\""; + VERSION_DATE = "\\\"04/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; @@ -3492,7 +3497,7 @@ 8937598810760F4A00644327 /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; COMPONENTS_DIR = ../../../../components; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -3555,7 +3560,7 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"03/2021\\\""; + VERSION_DATE = "\\\"04/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-04-09 07:34:00
|
Revision: 3778 http://sourceforge.net/p/ftm/code/3778 Author: diemo Date: 2021-04-09 07:33:56 +0000 (Fri, 09 Apr 2021) Log Message: ----------- copy last release notes from forum page Modified Paths: -------------- trunk/ftm/distrib/ReleaseNotes.txt Modified: trunk/ftm/distrib/ReleaseNotes.txt =================================================================== --- trunk/ftm/distrib/ReleaseNotes.txt 2021-04-09 07:13:23 UTC (rev 3777) +++ trunk/ftm/distrib/ReleaseNotes.txt 2021-04-09 07:33:56 UTC (rev 3778) @@ -7,6 +7,20 @@ * ____________________________________________________ +RELEASE NOTES FTM.2.7.5.BETA (09/04/2021) + +- protect from rare case of extreme system load +- adapt to changes in (cycling private) data structure t_adobj in ad.h: relevant info has shifted 16 bytes backwards +- fixed crash in gabor.psolastic example, related to ftm.record +- codesigned and notarized osx release +- other minor bug fixes + +____________________________________________________ +RELEASE NOTES FTM.2.7.4.BETA + +64b / 32b - Max8 / Max7 + +____________________________________________________ RELEASE NOTES for FTM & Co 2.7.3 (06/12/2018) ftm.object: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-08 20:27:40
|
Revision: 3776 http://sourceforge.net/p/ftm/code/3776 Author: borghesi Date: 2021-04-08 20:27:34 +0000 (Thu, 08 Apr 2021) Log Message: ----------- Removed Paths: ------------- trunk/ftm/distrib/ftm.submit.notarization.sh trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh Deleted: trunk/ftm/distrib/ftm.submit.notarization.sh =================================================================== --- trunk/ftm/distrib/ftm.submit.notarization.sh 2021-04-08 16:33:18 UTC (rev 3775) +++ trunk/ftm/distrib/ftm.submit.notarization.sh 2021-04-08 20:27:34 UTC (rev 3776) @@ -1,169 +0,0 @@ -#!/bin/bash - -#============================================================================== -# @brief Submit a dmg or zip file to notarization -# @date 2020 - -# usage : ./ftm.submit.notarization.sh myfile.dmg -# or ./ftm.submit.notarization.sh myfile.zip - -THE_FILE=$1 - -#============================================================================== -CYAN='\033[0;36m' -BLUE='\033[0;34m' -RED='\033[0;31m' -GREEN='\033[92m' -NC='\033[0m' # No Color - -#============================================================================== -# make sure the file has the proper extension -if [ ${THE_FILE: -4} != ".dmg" ] && [ ${THE_FILE: -4} != ".zip" ] -then - echo -e "${RED}Error :${NC} File '${THE_FILE}' should be a dmg or zip file\n" - exit 1 -fi - -#============================================================================== -echo -e " " -echo -e "About to notarize ${CYAN}${THE_FILE}${NC} ...\n" - -#============================================================================== -# codesign the dmg or zip file before Notarisation -echo " " -echo -e "${CYAN}Code signing ${THE_FILE}...${NC}" -CODESIGN_IDENTITY=3BD2P55TR2 -codesign --timestamp --force --verbose --sign ${CODESIGN_IDENTITY} ${THE_FILE} -# no need for the --options=runtime, for dmg or zip file - -#============================================================================== -# First of all, check the code signature -echo " " -echo -e "Veryfing code signature for ${CYAN}${THE_FILE}${NC} ...\n" -codesign --verify --strict --deep --no-legacy-signing --verbose=2 ${THE_FILE} -echo -e " " - -# in case of DMG, check Gatekeeper -if [ ${THE_FILE: -4} == ".dmg" ] -then - echo -e "Checking Gatekeeper for ${CYAN}${THE_FILE}${NC} ..." - spctl --assess --type open --context "context:primary-signature" --verbose ${THE_FILE} -fi - -# check signature -#checked=`check-signature ${THE_FILE}` -#if [ $checked ] -#then - echo -e "${CYAN}Check code-signature = ${NC}${GREEN}${checked}${NC}\n" -#else -# echo -e "${CYAN}Check code-signature = ${NC}${RED}${checked}${NC}\n" -# exit 1 -#fi - -#============================================================================== -# determine which kind of app it is - -BUNDLEID="" - -if [[ ${THE_FILE} == *"FTM"* ]]; then - # echo "It's a FTM package!" - BUNDLEID="fr.ircam.ismm.ftm" -fi - -if [ -z "${BUNDLEID}" ]; then - echo -e "${RED}Error :${NC} Could not determine Bundle ID for ${THE_FILE}" - exit 1 -fi - - -#============================================================================== -# notarize DMG - -APP_SPECIFIC_USERNAME="ric...@ir..." -APP_SPECIFIC_PASSWORD="rkmr-gznm-hjzr-nwdk" -ASCPROVIDER="INSTRECHERCOORDACOUSTMUSICALE" - -echo " " -echo -e "Notarizing ${CYAN}${THE_FILE}${NC} ..." - -# NB : You can omit the --asc-provider flag for the notarization call if your credentials are associated with only a single team. -# NB2 : You can use "xcrun altool --list-providers --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}" to list the providers -xcrun altool --notarize-app \ - --type osx \ - --primary-bundle-id ${BUNDLEID} \ - --username ${APP_SPECIFIC_USERNAME} \ - --password ${APP_SPECIFIC_PASSWORD} \ - --asc-provider ${ASCPROVIDER} \ - --file ${THE_FILE} &> notarisation.result - -ASSET_UUID=`grep RequestUUID notarisation.result | cut -d" " -f 3` - -ASSET_UUID_LENGTH=${#ASSET_UUID} - -if [[ ${ASSET_UUID_LENGTH} -lt 5 ]]; then - echo -e "length = ${ASSET_UUID_LENGTH}" - echo -e "There seems to be a problem when sending the file for notarization : RequestUUID is ${RED}${ASSET_UUID}${NC} ..." - echo -e "usually this means new contracts must be signed online... (have a look at ./notarisation.result ?)" - exit 1 -fi - -rm notarisation.result - -echo " " -echo -e "Checking result of notarization for RequestUUID ${CYAN}${ASSET_UUID}${NC} ..." -echo -n 'Please wait ...' - -while true; do - echo -n '.' - - RESULT=`xcrun altool --notarization-info ${ASSET_UUID} --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}` - - if [[ `echo ${RESULT} | grep -c "Package Approved"` == "1" ]]; then - echo " " - echo -e "${GREEN}Notarization Approved${NC}" - break - fi - - if [[ `echo ${RESULT} | grep -c "Package Invalid"` == "1" ]]; then - echo " " - echo -e "${RED}Notarization FAILED${NC} (Package Invalid) !!" - echo " " - echo ${RESULT} - echo " " - echo "Useful command to check issues : " - echo -e "${CYAN}xcrun altool --notarization-info ${ASSET_UUID} --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}${NC}" - exit 1 - fi - - sleep 15 -done - -#============================================================================== -# explicitly verify notarization -# (better wait a little bit before checking the notarization with the codesign command; -# there seems to have some false negative) -sleep 30 -echo " " -echo -e "Checking notarization for ${CYAN}${THE_FILE}${NC} ..." -codesign --test-requirement="=notarized" --verify --verbose ${THE_FILE} - -#============================================================================== -echo " " -echo -e "Stapling ${CYAN}${THE_FILE}${NC} ..." - -# Last step, we need to staple the .DMG file. - -# Stapling means to attach the notarization result so that checking it later doesn't require a network connection. -xcrun stapler staple ${THE_FILE} - -# probably useless, but just for security : -xcrun stapler validate ${THE_FILE} - -#============================================================================== -# check gatekeeper for DMG -if [ ${THE_FILE: -4} == ".dmg" ]; then - # check access to DMG - echo -e "Checking Gatekeeper for ${CYAN}${THE_FILE}${NC} ..." - spctl --assess --ignore-cache --type open --context context:primary-signature --verbose ${THE_FILE} - echo -e " " -fi Deleted: trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh =================================================================== --- trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh 2021-04-08 16:33:18 UTC (rev 3775) +++ trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh 2021-04-08 20:27:34 UTC (rev 3776) @@ -1,248 +0,0 @@ -#!/bin/bash - -#============================================================================== -# @brief This script prepares a FTM package -# @author thanks to Thibaut Carpentier - -BUILD_DIR="$1" -DIST_DIR=FTM."$2" - -FTM_VERSION="$2" - -echo build directory is ${BUILD_DIR} -echo distribution directory is ${DIST_DIR} - -#============================================================================== -CYAN='\033[0;36m' -BLUE='\033[0;34m' -RED='\033[0;31m' -GREEN='\033[92m' -NC='\033[0m' # No Color - -#============================================================================== -create_subfolders_tree() -{ - # this function creates all the requires subfolders - # $1 : the base folder - mkdir -p -m ug=rwx,o=rx "$1"/FTM/externals/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/extras/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/help/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/images/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/gabor/ - mkdir -p -m ug=rwx,o=rx "$1"/FTM/patchers/ - - # set icon - fileicon set "$1"/FTM/ ../ftm.icns -} - -#============================================================================== -change_permission() -{ - # this function change the permission for a given folder - # $1 : the folder - chmod -R o+rx "$1" - chmod -R ug+rwx "$1" -} - -#============================================================================== -code_sign_all() -{ - # $1 : the folder - - VERBOSE=false - - if [ "${VERBOSE}" = true ] ; then - echo -e "Code signing folder ${CYAN}$1/FTM${NC}..." - fi - - # Developer ID Application: INST RECHER COORD ACOUST MUSICALE (3BD2P55TR2) - CODESIGN_IDENTITY=3BD2P55TR2 - - # NB : proper entitlements are required when using the --options=runtime - #ENTITLEMENTS=${BUILD_DIR}/distrib/macosx/FTM-Entitlements.plist - #CODESIGN_CMD="codesign --strict=all --entitlements ${ENTITLEMENTS} --timestamp --force --deep --options=runtime --verbose --sign ${CODESIGN_IDENTITY}" - CODESIGN_CMD="codesign --strict=all --entitlements --timestamp --force --deep --verbose --sign ${CODESIGN_IDENTITY}" - CODESIGN_VERIFY="codesign --verify --strict --deep --no-legacy-signing --verbose=3" - - #============================================================================== - # /external folder - for EXTERNAL in "$1"/FTM/externals/*.mxo; - do - if [ "${VERBOSE}" = true ] ; then - echo -e "Code signing ${CYAN}${EXTERNAL}${NC}..." - fi - ${CODESIGN_CMD} "${EXTERNAL}" - ${CODESIGN_VERIFY} "${EXTERNAL}" - done -} - -#============================================================================== -copy_ftm_data() -{ - # this function copies all the ftm data into the appropriate folder - # $1 : the containing folder - - #### externals ########################################## - - cp -Rf $BUILD_DIR/ftm.mxo "$1"/FTM/externals/ - cp -Rf $BUILD_DIR/ftm.*.mxo "$1"/FTM/externals/ - cp -Rf $BUILD_DIR/gbr.*.mxo "$1"/FTM/externals/ - cp -Rf $BUILD_DIR/mnm.*.mxo "$1"/FTM/externals/ - - #### abstractions ####################################### - - ditto --rsrc ../../patches/max5/abstractions/*.maxpat "$1"/FTM/patchers/ - ditto --rsrc ../../../mnm/patches/max5/abstractions/*.maxpat "$1"/FTM/patchers/ - - #### help ############################################### - - ditto --rsrc ../../patches/max5/help/*.maxhelp "$1"/FTM/help - ditto --rsrc ../../patches/max5/help/*.jpg "$1"/FTM/help - ditto --rsrc ../../patches/max5/help/*.js "$1"/FTM/help - ditto --rsrc ../../patches/max5/help/ftm.classes/*.maxhelp "$1"/FTM/help - ditto --rsrc ../../patches/max5/help/ftm.functions/*.maxhelp "$1"/FTM/help - ditto --rsrc ../../patches/max5/FTMObjectsList.maxpat "$1"/FTM/help/ - ditto --rsrc ../../../gabor/patches/max5/help/*.maxhelp "$1"/FTM/help/ - ditto --rsrc ../../../gabor/patches/max5/help/*.jpg "$1"/FTM/help/ - ditto --rsrc ../../../gabor/patches/max5/GaborObjectList.maxpat "$1"/FTM/help/ - ditto --rsrc ../../../mnm/patches/max5/help/*.maxhelp "$1"/FTM/help/ - ditto --rsrc ../../../mnm/patches/max5/help/*.jpg "$1"/FTM/help/ - ditto --rsrc ../../../mnm/patches/max5/MnmObjectsList.maxpat "$1"/FTM/help/ - - ### examples & tutorials ########################################### - - ditto --rsrc ../../patches/max5/tutorials/*.maxpat "$1"/FTM/examples/ftm/ - ditto --rsrc ../../patches/max5/tutorials/*.jpg "$1"/FTM/examples/ftm/ - ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.maxpat "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ - ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.html "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ - ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.aif "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ - ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/images/*.jpg "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/images/ - - ditto --rsrc ../../../gabor/patches/max5/examples/*.maxpat "$1"/FTM/examples/gabor/ - ditto --rsrc ../../../gabor/patches/max5/tutorials/*.maxpat "$1"/FTM/examples/gabor/ - - #### extras ############################################# - - ditto --rsrc ../../patches/max5/FTM-Overview.maxpat "$1"/"MuBu For Max"/extras/MuBu-Overview.maxpat - - ### package management ##### - - ditto --rsrc ../readme.md "$1"/FTM/readme.md - ditto --rsrc ../icon.png "$1"/FTM/icon.png - ditto --rsrc ../package-info.json "$1"/FTM/package-info.json - - # delete all possible .cstemp files as they would mess up with the codesigning - find ${DIST_DIR} -name "*.cstemp" -type f -delete - - cp ../readme.md "$1"/ -} - -#============================================================================== -# this one is the old version. -# it still works perfectly fine -create_dmg() -{ - # the filename of the final dmg - DATE=`date +%d-%m-%Y` - DMG_FINAL=./FTM-${FTM_VERSION}-macOS-${DATE}.dmg - - # a temporary dmg that will be tweak - DMG_TMP=./FTMTemp.dmg - - # remove the 'dmgcontent' folder if it exists - if [ -d "dmgcontent" ]; then - rm -rf dmgcontent - fi - mkdir dmgcontent - - if [ -f ${DMG_TMP} ]; then - rm -f ${DMG_TMP} - fi - - if [ -f ${DMG_FINAL} ]; then - rm -f ${DMG_FINAL} - fi - - mv Package/** dmgcontent - hdiutil create -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -volname "Ircam FTM" -srcfolder ./dmgcontent "${DMG_TMP}" - rm -rf dmgcontent - rm -rf Package - - # now make the final image a compressed disk image - echo -e "${CYAN}Creating compressed image...${NC}" - hdiutil convert "${DMG_TMP}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FINAL}" - - # remove the temporary dmg - rm -rf "${DMG_TMP}" - - #============================================================================== - # notarize DMG - /bin/bash ~/projects/ftm-and-co/ftm/distrib/ftm.submit.notarization.sh ${DMG_FINAL} -} - -#============================================================================== -create_zip() -{ - # the filename of the final zip - DATE=`date +%d-%m-%Y` - ZIP_FINAL=FTM-${FTM_VERSION}-macOS-${DATE}.zip - - if [ -f "${ZIP_FINAL}" ]; then - rm -f ${ZIP_FINAL} - fi - - cd ./Package - zip --quiet ../${ZIP_FINAL} -r ./FTM - cd .. - rm -rf Package - - # codesign and notarize the zip - /bin/bash ~/projects/ftm-and-co/ftm/distrib/ftm.submit.notarization.sh ${ZIP_FINAL} -} - -#============================================================================== -# The main script starts here -#============================================================================== -mkdir -p -m ug=rwx,o=rx ${DIST_DIR} - -cd ${DIST_DIR} - -echo -e "${CYAN}==============================================================================${NC}" -echo -e "Preparing distribution for FTM ${FTM_VERSION} for Max/MSP" -echo -e "${CYAN}==============================================================================${NC}" - -if [ -d "Package" ]; then - echo "Deleting folders..." - rm -rf Package/ -fi - -#============================================================================== -echo -e "${CYAN}Preparing folder hierarchy...${NC}" -mkdir -p -m ug=rwx,o=rx Package/ -create_subfolders_tree "Package" - -#============================================================================== -echo -e "${CYAN}Copying data...${NC}" -copy_ftm_data "Package" - -#============================================================================== -echo -e "${CYAN}Changing permissions...${NC}" -change_permission "Package/" - -#============================================================================== -echo -e " " -echo -e "${CYAN}Code signing every binary file...${NC}" -code_sign_all "Package" - -#============================================================================== -echo -e " " -echo -e "${CYAN}Creating dmg...${NC}" -create_dmg -#echo -e " " -#echo -e "${CYAN}Creating zip...${NC}" -#create_zip - -exit 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-08 16:33:20
|
Revision: 3775 http://sourceforge.net/p/ftm/code/3775 Author: borghesi Date: 2021-04-08 16:33:18 +0000 (Thu, 08 Apr 2021) Log Message: ----------- added script for ftm release notarization Added Paths: ----------- trunk/ftm/distrib/ftm.submit.notarization.sh Added: trunk/ftm/distrib/ftm.submit.notarization.sh =================================================================== --- trunk/ftm/distrib/ftm.submit.notarization.sh (rev 0) +++ trunk/ftm/distrib/ftm.submit.notarization.sh 2021-04-08 16:33:18 UTC (rev 3775) @@ -0,0 +1,169 @@ +#!/bin/bash + +#============================================================================== +# @brief Submit a dmg or zip file to notarization +# @date 2020 + +# usage : ./ftm.submit.notarization.sh myfile.dmg +# or ./ftm.submit.notarization.sh myfile.zip + +THE_FILE=$1 + +#============================================================================== +CYAN='\033[0;36m' +BLUE='\033[0;34m' +RED='\033[0;31m' +GREEN='\033[92m' +NC='\033[0m' # No Color + +#============================================================================== +# make sure the file has the proper extension +if [ ${THE_FILE: -4} != ".dmg" ] && [ ${THE_FILE: -4} != ".zip" ] +then + echo -e "${RED}Error :${NC} File '${THE_FILE}' should be a dmg or zip file\n" + exit 1 +fi + +#============================================================================== +echo -e " " +echo -e "About to notarize ${CYAN}${THE_FILE}${NC} ...\n" + +#============================================================================== +# codesign the dmg or zip file before Notarisation +echo " " +echo -e "${CYAN}Code signing ${THE_FILE}...${NC}" +CODESIGN_IDENTITY=3BD2P55TR2 +codesign --timestamp --force --verbose --sign ${CODESIGN_IDENTITY} ${THE_FILE} +# no need for the --options=runtime, for dmg or zip file + +#============================================================================== +# First of all, check the code signature +echo " " +echo -e "Veryfing code signature for ${CYAN}${THE_FILE}${NC} ...\n" +codesign --verify --strict --deep --no-legacy-signing --verbose=2 ${THE_FILE} +echo -e " " + +# in case of DMG, check Gatekeeper +if [ ${THE_FILE: -4} == ".dmg" ] +then + echo -e "Checking Gatekeeper for ${CYAN}${THE_FILE}${NC} ..." + spctl --assess --type open --context "context:primary-signature" --verbose ${THE_FILE} +fi + +# check signature +#checked=`check-signature ${THE_FILE}` +#if [ $checked ] +#then + echo -e "${CYAN}Check code-signature = ${NC}${GREEN}${checked}${NC}\n" +#else +# echo -e "${CYAN}Check code-signature = ${NC}${RED}${checked}${NC}\n" +# exit 1 +#fi + +#============================================================================== +# determine which kind of app it is + +BUNDLEID="" + +if [[ ${THE_FILE} == *"FTM"* ]]; then + # echo "It's a FTM package!" + BUNDLEID="fr.ircam.ismm.ftm" +fi + +if [ -z "${BUNDLEID}" ]; then + echo -e "${RED}Error :${NC} Could not determine Bundle ID for ${THE_FILE}" + exit 1 +fi + + +#============================================================================== +# notarize DMG + +APP_SPECIFIC_USERNAME="ric...@ir..." +APP_SPECIFIC_PASSWORD="rkmr-gznm-hjzr-nwdk" +ASCPROVIDER="INSTRECHERCOORDACOUSTMUSICALE" + +echo " " +echo -e "Notarizing ${CYAN}${THE_FILE}${NC} ..." + +# NB : You can omit the --asc-provider flag for the notarization call if your credentials are associated with only a single team. +# NB2 : You can use "xcrun altool --list-providers --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}" to list the providers +xcrun altool --notarize-app \ + --type osx \ + --primary-bundle-id ${BUNDLEID} \ + --username ${APP_SPECIFIC_USERNAME} \ + --password ${APP_SPECIFIC_PASSWORD} \ + --asc-provider ${ASCPROVIDER} \ + --file ${THE_FILE} &> notarisation.result + +ASSET_UUID=`grep RequestUUID notarisation.result | cut -d" " -f 3` + +ASSET_UUID_LENGTH=${#ASSET_UUID} + +if [[ ${ASSET_UUID_LENGTH} -lt 5 ]]; then + echo -e "length = ${ASSET_UUID_LENGTH}" + echo -e "There seems to be a problem when sending the file for notarization : RequestUUID is ${RED}${ASSET_UUID}${NC} ..." + echo -e "usually this means new contracts must be signed online... (have a look at ./notarisation.result ?)" + exit 1 +fi + +rm notarisation.result + +echo " " +echo -e "Checking result of notarization for RequestUUID ${CYAN}${ASSET_UUID}${NC} ..." +echo -n 'Please wait ...' + +while true; do + echo -n '.' + + RESULT=`xcrun altool --notarization-info ${ASSET_UUID} --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}` + + if [[ `echo ${RESULT} | grep -c "Package Approved"` == "1" ]]; then + echo " " + echo -e "${GREEN}Notarization Approved${NC}" + break + fi + + if [[ `echo ${RESULT} | grep -c "Package Invalid"` == "1" ]]; then + echo " " + echo -e "${RED}Notarization FAILED${NC} (Package Invalid) !!" + echo " " + echo ${RESULT} + echo " " + echo "Useful command to check issues : " + echo -e "${CYAN}xcrun altool --notarization-info ${ASSET_UUID} --username ${APP_SPECIFIC_USERNAME} --password ${APP_SPECIFIC_PASSWORD}${NC}" + exit 1 + fi + + sleep 15 +done + +#============================================================================== +# explicitly verify notarization +# (better wait a little bit before checking the notarization with the codesign command; +# there seems to have some false negative) +sleep 30 +echo " " +echo -e "Checking notarization for ${CYAN}${THE_FILE}${NC} ..." +codesign --test-requirement="=notarized" --verify --verbose ${THE_FILE} + +#============================================================================== +echo " " +echo -e "Stapling ${CYAN}${THE_FILE}${NC} ..." + +# Last step, we need to staple the .DMG file. + +# Stapling means to attach the notarization result so that checking it later doesn't require a network connection. +xcrun stapler staple ${THE_FILE} + +# probably useless, but just for security : +xcrun stapler validate ${THE_FILE} + +#============================================================================== +# check gatekeeper for DMG +if [ ${THE_FILE: -4} == ".dmg" ]; then + # check access to DMG + echo -e "Checking Gatekeeper for ${CYAN}${THE_FILE}${NC} ..." + spctl --assess --ignore-cache --type open --context context:primary-signature --verbose ${THE_FILE} + echo -e " " +fi Property changes on: trunk/ftm/distrib/ftm.submit.notarization.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-08 16:28:07
|
Revision: 3774 http://sourceforge.net/p/ftm/code/3774 Author: borghesi Date: 2021-04-08 16:28:05 +0000 (Thu, 08 Apr 2021) Log Message: ----------- added script for ftm objects codesign and release Added Paths: ----------- trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh Added: trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh =================================================================== --- trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh (rev 0) +++ trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh 2021-04-08 16:28:05 UTC (rev 3774) @@ -0,0 +1,248 @@ +#!/bin/bash + +#============================================================================== +# @brief This script prepares a FTM package +# @author thanks to Thibaut Carpentier + +BUILD_DIR="$1" +DIST_DIR=FTM."$2" + +FTM_VERSION="$2" + +echo build directory is ${BUILD_DIR} +echo distribution directory is ${DIST_DIR} + +#============================================================================== +CYAN='\033[0;36m' +BLUE='\033[0;34m' +RED='\033[0;31m' +GREEN='\033[92m' +NC='\033[0m' # No Color + +#============================================================================== +create_subfolders_tree() +{ + # this function creates all the requires subfolders + # $1 : the base folder + mkdir -p -m ug=rwx,o=rx "$1"/FTM/externals/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/extras/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/help/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/images/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/examples/gabor/ + mkdir -p -m ug=rwx,o=rx "$1"/FTM/patchers/ + + # set icon + fileicon set "$1"/FTM/ ../ftm.icns +} + +#============================================================================== +change_permission() +{ + # this function change the permission for a given folder + # $1 : the folder + chmod -R o+rx "$1" + chmod -R ug+rwx "$1" +} + +#============================================================================== +code_sign_all() +{ + # $1 : the folder + + VERBOSE=false + + if [ "${VERBOSE}" = true ] ; then + echo -e "Code signing folder ${CYAN}$1/FTM${NC}..." + fi + + # Developer ID Application: INST RECHER COORD ACOUST MUSICALE (3BD2P55TR2) + CODESIGN_IDENTITY=3BD2P55TR2 + + # NB : proper entitlements are required when using the --options=runtime + #ENTITLEMENTS=${BUILD_DIR}/distrib/macosx/FTM-Entitlements.plist + #CODESIGN_CMD="codesign --strict=all --entitlements ${ENTITLEMENTS} --timestamp --force --deep --options=runtime --verbose --sign ${CODESIGN_IDENTITY}" + CODESIGN_CMD="codesign --strict=all --entitlements --timestamp --force --deep --verbose --sign ${CODESIGN_IDENTITY}" + CODESIGN_VERIFY="codesign --verify --strict --deep --no-legacy-signing --verbose=3" + + #============================================================================== + # /external folder + for EXTERNAL in "$1"/FTM/externals/*.mxo; + do + if [ "${VERBOSE}" = true ] ; then + echo -e "Code signing ${CYAN}${EXTERNAL}${NC}..." + fi + ${CODESIGN_CMD} "${EXTERNAL}" + ${CODESIGN_VERIFY} "${EXTERNAL}" + done +} + +#============================================================================== +copy_ftm_data() +{ + # this function copies all the ftm data into the appropriate folder + # $1 : the containing folder + + #### externals ########################################## + + cp -Rf $BUILD_DIR/ftm.mxo "$1"/FTM/externals/ + cp -Rf $BUILD_DIR/ftm.*.mxo "$1"/FTM/externals/ + cp -Rf $BUILD_DIR/gbr.*.mxo "$1"/FTM/externals/ + cp -Rf $BUILD_DIR/mnm.*.mxo "$1"/FTM/externals/ + + #### abstractions ####################################### + + ditto --rsrc ../../patches/max5/abstractions/*.maxpat "$1"/FTM/patchers/ + ditto --rsrc ../../../mnm/patches/max5/abstractions/*.maxpat "$1"/FTM/patchers/ + + #### help ############################################### + + ditto --rsrc ../../patches/max5/help/*.maxhelp "$1"/FTM/help + ditto --rsrc ../../patches/max5/help/*.jpg "$1"/FTM/help + ditto --rsrc ../../patches/max5/help/*.js "$1"/FTM/help + ditto --rsrc ../../patches/max5/help/ftm.classes/*.maxhelp "$1"/FTM/help + ditto --rsrc ../../patches/max5/help/ftm.functions/*.maxhelp "$1"/FTM/help + ditto --rsrc ../../patches/max5/FTMObjectsList.maxpat "$1"/FTM/help/ + ditto --rsrc ../../../gabor/patches/max5/help/*.maxhelp "$1"/FTM/help/ + ditto --rsrc ../../../gabor/patches/max5/help/*.jpg "$1"/FTM/help/ + ditto --rsrc ../../../gabor/patches/max5/GaborObjectList.maxpat "$1"/FTM/help/ + ditto --rsrc ../../../mnm/patches/max5/help/*.maxhelp "$1"/FTM/help/ + ditto --rsrc ../../../mnm/patches/max5/help/*.jpg "$1"/FTM/help/ + ditto --rsrc ../../../mnm/patches/max5/MnmObjectsList.maxpat "$1"/FTM/help/ + + ### examples & tutorials ########################################### + + ditto --rsrc ../../patches/max5/tutorials/*.maxpat "$1"/FTM/examples/ftm/ + ditto --rsrc ../../patches/max5/tutorials/*.jpg "$1"/FTM/examples/ftm/ + ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.maxpat "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ + ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.html "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ + ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/*.aif "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/ + ditto --rsrc ../../patches/max5/tutorials/FTMTutorial-Dobrian/images/*.jpg "$1"/FTM/examples/ftm/FTMTutorial-Dobrian/images/ + + ditto --rsrc ../../../gabor/patches/max5/examples/*.maxpat "$1"/FTM/examples/gabor/ + ditto --rsrc ../../../gabor/patches/max5/tutorials/*.maxpat "$1"/FTM/examples/gabor/ + + #### extras ############################################# + + ditto --rsrc ../../patches/max5/FTM-Overview.maxpat "$1"/"MuBu For Max"/extras/MuBu-Overview.maxpat + + ### package management ##### + + ditto --rsrc ../readme.md "$1"/FTM/readme.md + ditto --rsrc ../icon.png "$1"/FTM/icon.png + ditto --rsrc ../package-info.json "$1"/FTM/package-info.json + + # delete all possible .cstemp files as they would mess up with the codesigning + find ${DIST_DIR} -name "*.cstemp" -type f -delete + + cp ../readme.md "$1"/ +} + +#============================================================================== +# this one is the old version. +# it still works perfectly fine +create_dmg() +{ + # the filename of the final dmg + DATE=`date +%d-%m-%Y` + DMG_FINAL=./FTM-${FTM_VERSION}-macOS-${DATE}.dmg + + # a temporary dmg that will be tweak + DMG_TMP=./FTMTemp.dmg + + # remove the 'dmgcontent' folder if it exists + if [ -d "dmgcontent" ]; then + rm -rf dmgcontent + fi + mkdir dmgcontent + + if [ -f ${DMG_TMP} ]; then + rm -f ${DMG_TMP} + fi + + if [ -f ${DMG_FINAL} ]; then + rm -f ${DMG_FINAL} + fi + + mv Package/** dmgcontent + hdiutil create -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -volname "Ircam FTM" -srcfolder ./dmgcontent "${DMG_TMP}" + rm -rf dmgcontent + rm -rf Package + + # now make the final image a compressed disk image + echo -e "${CYAN}Creating compressed image...${NC}" + hdiutil convert "${DMG_TMP}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FINAL}" + + # remove the temporary dmg + rm -rf "${DMG_TMP}" + + #============================================================================== + # notarize DMG + /bin/bash ~/projects/ftm-and-co/ftm/distrib/ftm.submit.notarization.sh ${DMG_FINAL} +} + +#============================================================================== +create_zip() +{ + # the filename of the final zip + DATE=`date +%d-%m-%Y` + ZIP_FINAL=FTM-${FTM_VERSION}-macOS-${DATE}.zip + + if [ -f "${ZIP_FINAL}" ]; then + rm -f ${ZIP_FINAL} + fi + + cd ./Package + zip --quiet ../${ZIP_FINAL} -r ./FTM + cd .. + rm -rf Package + + # codesign and notarize the zip + /bin/bash ~/projects/ftm-and-co/ftm/distrib/ftm.submit.notarization.sh ${ZIP_FINAL} +} + +#============================================================================== +# The main script starts here +#============================================================================== +mkdir -p -m ug=rwx,o=rx ${DIST_DIR} + +cd ${DIST_DIR} + +echo -e "${CYAN}==============================================================================${NC}" +echo -e "Preparing distribution for FTM ${FTM_VERSION} for Max/MSP" +echo -e "${CYAN}==============================================================================${NC}" + +if [ -d "Package" ]; then + echo "Deleting folders..." + rm -rf Package/ +fi + +#============================================================================== +echo -e "${CYAN}Preparing folder hierarchy...${NC}" +mkdir -p -m ug=rwx,o=rx Package/ +create_subfolders_tree "Package" + +#============================================================================== +echo -e "${CYAN}Copying data...${NC}" +copy_ftm_data "Package" + +#============================================================================== +echo -e "${CYAN}Changing permissions...${NC}" +change_permission "Package/" + +#============================================================================== +echo -e " " +echo -e "${CYAN}Code signing every binary file...${NC}" +code_sign_all "Package" + +#============================================================================== +echo -e " " +echo -e "${CYAN}Creating dmg...${NC}" +create_dmg +#echo -e " " +#echo -e "${CYAN}Creating zip...${NC}" +#create_zip + +exit 0 Property changes on: trunk/ftm/distrib/prepare-forum-ftm-package-codesign.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-08 09:26:38
|
Revision: 3773 http://sourceforge.net/p/ftm/code/3773 Author: borghesi Date: 2021-04-08 09:26:31 +0000 (Thu, 08 Apr 2021) Log Message: ----------- Added Paths: ----------- trunk/ftm/distrib/ftm.icns Added: trunk/ftm/distrib/ftm.icns =================================================================== (Binary files differ) Index: trunk/ftm/distrib/ftm.icns =================================================================== --- trunk/ftm/distrib/ftm.icns 2021-04-02 08:51:28 UTC (rev 3772) +++ trunk/ftm/distrib/ftm.icns 2021-04-08 09:26:31 UTC (rev 3773) Property changes on: trunk/ftm/distrib/ftm.icns ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:51:34
|
Revision: 3772 http://sourceforge.net/p/ftm/code/3772 Author: borghesi Date: 2021-04-02 08:51:28 +0000 (Fri, 02 Apr 2021) Log Message: ----------- Modified Paths: -------------- trunk/ftm/build/max5/winxp-vs/ftm.absargs.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.buffer.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.clone.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.copy.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.editor.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.inter.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.iter.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.jitter.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.list.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.mess.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.midiparse.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.midiunparse.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.object.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.play.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.print.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.record.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.schedule.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.sdif.info.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.sdif.write.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.sqlite.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.tween.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.value.vcxproj trunk/ftm/build/max5/winxp-vs/ftm.vecdisplay.vcxproj trunk/ftm/build/max5/winxp-vs/ftmlib.vcxproj trunk/ftm/build/max5/winxp-vs/libftmlight.vcxproj Modified: trunk/ftm/build/max5/winxp-vs/ftm.absargs.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.absargs.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.absargs.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{9A6DCB2A-62FF-493E-93F0-49760F8F60D3}</ProjectGuid> <RootNamespace>ftm.buffer</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -36,19 +36,19 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -101,7 +101,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <ExceptionHandling> @@ -108,7 +108,7 @@ </ExceptionHandling> <BasicRuntimeChecks>Default</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <StructMemberAlignment>2Bytes</StructMemberAlignment> + <StructMemberAlignment>Default</StructMemberAlignment> <FunctionLevelLinking>true</FunctionLevelLinking> <PrecompiledHeader> </PrecompiledHeader> @@ -127,7 +127,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.absargs.def</ModuleDefinitionFile> <DelayLoadDLLs> @@ -161,7 +161,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling> </ExceptionHandling> @@ -186,7 +186,7 @@ <AdditionalDependencies>ftmlib64.lib;MaxAPI.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.absargs64bits.def</ModuleDefinitionFile> <DelayLoadDLLs> @@ -221,13 +221,13 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> </ExceptionHandling> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <StructMemberAlignment>2Bytes</StructMemberAlignment> + <StructMemberAlignment>Default</StructMemberAlignment> <BufferSecurityCheck>false</BufferSecurityCheck> <FunctionLevelLinking>false</FunctionLevelLinking> <PrecompiledHeader> @@ -246,7 +246,7 @@ <AdditionalDependencies>ftmlib32.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.absargs.def</ModuleDefinitionFile> <ForceSymbolReferences> @@ -280,7 +280,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;_MSCVER;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -305,7 +305,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.absargs64bits.def</ModuleDefinitionFile> <ForceSymbolReferences> Modified: trunk/ftm/build/max5/winxp-vs/ftm.buffer.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.buffer.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.buffer.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{9E0B7BAD-0438-4255-99B5-1A671F8211D3}</ProjectGuid> <RootNamespace>ftm.buffer</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -36,19 +36,19 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -101,7 +101,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <ExceptionHandling> @@ -127,7 +127,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.buffer.def</ModuleDefinitionFile> <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs> @@ -157,7 +157,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling> </ExceptionHandling> @@ -182,7 +182,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.buffer64bits.def</ModuleDefinitionFile> <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs> @@ -213,7 +213,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -238,7 +238,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.buffer.def</ModuleDefinitionFile> <ForceSymbolReferences>_DllMain%4012;%(ForceSymbolReferences)</ForceSymbolReferences> @@ -271,7 +271,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -296,7 +296,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.buffer64bits.def</ModuleDefinitionFile> <ForceSymbolReferences> Modified: trunk/ftm/build/max5/winxp-vs/ftm.clone.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.clone.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.clone.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{73069FC3-D989-47DB-B15F-625703EED4DA}</ProjectGuid> <RootNamespace>ftm.clone</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -36,19 +36,19 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -101,7 +101,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <ExceptionHandling> @@ -127,7 +127,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.clone.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -156,7 +156,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling> </ExceptionHandling> @@ -181,7 +181,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.clone64bits.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -211,7 +211,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -233,7 +233,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.clone.def</ModuleDefinitionFile> <ForceSymbolReferences>_DllMain%4012;%(ForceSymbolReferences)</ForceSymbolReferences> @@ -266,7 +266,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -288,7 +288,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.clone64bits.def</ModuleDefinitionFile> <ForceSymbolReferences> Modified: trunk/ftm/build/max5/winxp-vs/ftm.copy.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.copy.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.copy.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{4579921A-B6DB-4945-B5BE-A8F7853A5CFA}</ProjectGuid> <RootNamespace>ftm.copy</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -36,19 +36,19 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -101,7 +101,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <ExceptionHandling> @@ -127,7 +127,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.copy.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -156,7 +156,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling> </ExceptionHandling> @@ -181,7 +181,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.copy64bits.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -211,7 +211,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -236,7 +236,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.copy.def</ModuleDefinitionFile> <ForceSymbolReferences> @@ -270,7 +270,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -295,7 +295,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.copy64bits.def</ModuleDefinitionFile> <ForceSymbolReferences> Modified: trunk/ftm/build/max5/winxp-vs/ftm.editor.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.editor.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.editor.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{B27C4E03-1801-419F-BA32-957CC314F208}</ProjectGuid> <RootNamespace>ftm.vecdisplay</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -37,19 +37,19 @@ <CharacterSet> </CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -110,7 +110,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;IMTREDITOR_C_GUI_INTERFACE;DISABLE_JUCE_NAMESPACE;_CRT_SECURE_NO_WARNINGS;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> <MinimalRebuild>true</MinimalRebuild> @@ -139,7 +139,7 @@ <AdditionalDependencies>ftmlib32.lib;MaxAPI.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <ModuleDefinitionFile>.\ftm.editor.def</ModuleDefinitionFile> @@ -173,8 +173,8 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;IMTREDITOR_C_GUI_INTERFACE;DISABLE_JUCE_NAMESPACE;_CRT_SECURE_NO_WARNINGS;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN_VERSION;WIN32;DEBUG;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;IMTREDITOR_C_GUI_INTERFACE;DISABLE_JUCE_NAMESPACE;_CRT_SECURE_NO_WARNINGS;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> <ExceptionHandling>Sync</ExceptionHandling> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> @@ -191,6 +191,7 @@ <CompileAs>Default</CompileAs> <ForcedIncludeFiles> </ForcedIncludeFiles> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -201,7 +202,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <ModuleDefinitionFile>.\ftm.editor64bits.def</ModuleDefinitionFile> @@ -236,7 +237,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;IMTREDITOR_C_GUI_INTERFACE;DISABLE_JUCE_NAMESPACE;_CRT_SECURE_NO_WARNINGS;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling>Sync</ExceptionHandling> @@ -260,7 +261,7 @@ <AdditionalDependencies>ftmlib32.lib;MaxAPI.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.editor.def</ModuleDefinitionFile> <ForceSymbolReferences> @@ -298,7 +299,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>Default</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\max-includes\common;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\max-includes\common;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\ImtrEditor\src;..\..\..\..\components\ImtrEditor\src\components;..\..\..\..\components\ImtrEditor\src\editors;..\..\..\..\components\ImtrEditor\src\images;..\..\..\..\components\ImtrEditor\src\tools;..\..\..\..\components\juce;..\..\..\..\components\juce\modules;..\..\..\..\components\juce\JuceLibraryCode;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;WIN64;_WIN64;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;IMTREDITOR_C_GUI_INTERFACE=1;DISABLE_JUCE_NAMESPACE=1;_CRT_SECURE_NO_WARNINGS;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;MTREDITOR_DONT_USE_LOCAL_JUCEINCLUDES=1;JUCER_VS2015_78A5022=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling> </StringPooling> @@ -326,7 +327,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries> </IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.editor64bits.def</ModuleDefinitionFile> Modified: trunk/ftm/build/max5/winxp-vs/ftm.inter.vcxproj =================================================================== --- trunk/ftm/build/max5/winxp-vs/ftm.inter.vcxproj 2021-04-02 08:50:24 UTC (rev 3771) +++ trunk/ftm/build/max5/winxp-vs/ftm.inter.vcxproj 2021-04-02 08:51:28 UTC (rev 3772) @@ -21,7 +21,7 @@ <PropertyGroup Label="Globals"> <ProjectGuid>{D60321DC-0DDB-4D05-BEFD-5D6918AAEEC8}</ProjectGuid> <RootNamespace>ftm.buffer</RootNamespace> - <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> @@ -29,7 +29,7 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> @@ -36,19 +36,19 @@ <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <WholeProgramOptimization>true</WholeProgramOptimization> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> - <PlatformToolset>v140</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -101,7 +101,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <ExceptionHandling> @@ -127,7 +127,7 @@ <AdditionalDependencies>ftmlib32.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.inter.def</ModuleDefinitionFile> <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs> @@ -160,7 +160,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling> </ExceptionHandling> @@ -185,7 +185,7 @@ <AdditionalDependencies>MaxAPI.lib;ftmlib64.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe64</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max6.1\max-includes\x64</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5\x64;..\..\..\..\components\maxapi\max8\max-includes\x64</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.inter64bits.def</ModuleDefinitionFile> <DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs> @@ -219,7 +219,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max6.1\max-includes;..\..\..\..\components\maxapi\max6.1\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\ftmlib\classes;..\..\..\ftmlib\max5;..\..\..\..\components\maxapi\max8\max-includes;..\..\..\..\components\maxapi\max8\msp-includes;..\..\..\..\components\sndfile;..\..\..\..\components\pthreads;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;HAVE_STRUCT_TIMESPEC=1;MAX611=1;MAXAPI_USE_MSCRT=1;_int64_t=int64_t;__int64_t=int64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <ExceptionHandling> @@ -244,7 +244,7 @@ <AdditionalDependencies>ftmlib32.lib;</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).mxe</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> - <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max6.1\max-includes</AdditionalLibraryDirectories> + <AdditionalLibraryDirectories>..\..\..\..\..\build-max5;..\..\..\..\components\maxapi\max8\max-includes</AdditionalLibraryDirectories> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <ModuleDefinitionFile>.\ftm.inter.def</ModuleDefinitionFile> <ForceSymbolReferences> @@ -278,7 +278,7 @@ <ClCompile> <Optimization>Full</Optimization> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> - <AdditionalIncludeDirectories>..\..\..\ftmlib;..\..\..\... [truncated message content] |
From: <bor...@us...> - 2021-04-02 08:50:26
|
Revision: 3771 http://sourceforge.net/p/ftm/code/3771 Author: borghesi Date: 2021-04-02 08:50:24 +0000 (Fri, 02 Apr 2021) Log Message: ----------- ususe of _malloca instead of alloca for Windows platform Modified Paths: -------------- trunk/ftm/ftmlib/classes/ftmdatagui.c Modified: trunk/ftm/ftmlib/classes/ftmdatagui.c =================================================================== --- trunk/ftm/ftmlib/classes/ftmdatagui.c 2021-04-02 08:49:24 UTC (rev 3770) +++ trunk/ftm/ftmlib/classes/ftmdatagui.c 2021-04-02 08:50:24 UTC (rev 3771) @@ -340,8 +340,11 @@ { char *str = fts_symbol_name(sym); int len = (int)strlen(str); - char *quoted = alloca(sizeof(char) * (len + 3)); - +#ifdef WIN32 + char *quoted = _malloca(sizeof(char) * (len + 3)); +#else + char* quoted = alloca(sizeof(char) * (len + 3)); +#endif strcpy(quoted + 1, str); quoted[0] = '\''; quoted[len + 1] = '\''; @@ -5831,7 +5834,11 @@ } else if(fts_is_object(val)) { - char *str = (char *)alloca(sizeof(char) * 256); +#ifdef WIN32 + char *str = (char *)_malloca(sizeof(char) * 256); +#else + char* str = (char*)alloca(sizeof(char) * 256); +#endif object_get_as_string(fts_get_object(val), 256, str); *string_val = str; ret = 3; @@ -9252,7 +9259,11 @@ } else if(fts_is_object(val)) { - char *str = (char *)alloca(sizeof(char) * 256); +#ifdef WIN32 + char *str = (char *)_malloca(sizeof(char) * 256); +#else + char* str = (char*)alloca(sizeof(char) * 256); +#endif if(fts_is_object(val)) { object_get_as_string(fts_get_object(val), 256, str); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:49:25
|
Revision: 3770 http://sourceforge.net/p/ftm/code/3770 Author: borghesi Date: 2021-04-02 08:49:24 +0000 (Fri, 02 Apr 2021) Log Message: ----------- use of _malloca instead of alloca for Windows platform Modified Paths: -------------- trunk/ftm/ftmlib/max5/ftmexternals.h Modified: trunk/ftm/ftmlib/max5/ftmexternals.h =================================================================== --- trunk/ftm/ftmlib/max5/ftmexternals.h 2021-04-02 08:48:06 UTC (rev 3769) +++ trunk/ftm/ftmlib/max5/ftmexternals.h 2021-04-02 08:49:24 UTC (rev 3770) @@ -132,7 +132,17 @@ */ #ifndef DOXYGEN_DOC +#ifdef WIN32 #define _FTMEXT_CONVERT_REFERENCES(e, n, a) do { \ + if((e)->head.ftm_objref_conv != 0) { fts_atom_t *_aa = (fts_atom_t *)_malloca(sizeof(fts_atom_t) * (n)); long _i; \ + for(_i=0; _i<(n); _i++) { _aa[_i] = (a)[_i]; \ + if(fts_is_symbol((a) + _i)) { \ + fts_object_t *_o = fts_object_get_from_symbol(fts_get_symbol((a) + _i)); \ + if(_o != NULL) { fts_set_object(_aa + _i, _o); } } } \ + (a) = _aa; } \ +} while (0) +#else +#define _FTMEXT_CONVERT_REFERENCES(e, n, a) do { \ if((e)->head.ftm_objref_conv != 0) { fts_atom_t *_aa = (fts_atom_t *)alloca(sizeof(fts_atom_t) * (n)); long _i; \ for(_i=0; _i<(n); _i++) { _aa[_i] = (a)[_i]; \ if(fts_is_symbol((a) + _i)) { \ @@ -140,6 +150,7 @@ if(_o != NULL) { fts_set_object(_aa + _i, _o); } } } \ (a) = _aa; } \ } while (0) +#endif /*#define FTMEXT_METHOD_VOID(p, m) static void _FTMEXT_GEN_METHOD_NAME(p, m) (ftmext_t *_e) { if(0) goto _ftmext_exit_label;*/ /*#define FTMEXT_METHOD_NUMBER(p, m) static void _FTMEXT_GEN_METHOD_NAME(p, m) (ftmext_t *_e, double _x) { if(0) goto _ftmext_exit_label;*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:48:14
|
Revision: 3769 http://sourceforge.net/p/ftm/code/3769 Author: borghesi Date: 2021-04-02 08:48:06 +0000 (Fri, 02 Apr 2021) Log Message: ----------- minor change Modified Paths: -------------- trunk/ftm/externals/max5/ftm.editor.cpp Modified: trunk/ftm/externals/max5/ftm.editor.cpp =================================================================== --- trunk/ftm/externals/max5/ftm.editor.cpp 2021-04-02 08:47:16 UTC (rev 3768) +++ trunk/ftm/externals/max5/ftm.editor.cpp 2021-04-02 08:48:06 UTC (rev 3769) @@ -7255,7 +7255,7 @@ long flags = 0 | JBOX_DRAWFIRSTIN | JBOX_DRAWINLAST - | JBOX_TRANSPARENT + | JBOX_TRANSPARENT | JBOX_GROWBOTH | JBOX_HILITE | JBOX_DRAWBACKGROUND This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:47:20
|
Revision: 3768 http://sourceforge.net/p/ftm/code/3768 Author: borghesi Date: 2021-04-02 08:47:16 +0000 (Fri, 02 Apr 2021) Log Message: ----------- addded missing return value Modified Paths: -------------- trunk/ftm/externals/max5/ftm.mess.c Modified: trunk/ftm/externals/max5/ftm.mess.c =================================================================== --- trunk/ftm/externals/max5/ftm.mess.c 2021-04-02 08:46:38 UTC (rev 3767) +++ trunk/ftm/externals/max5/ftm.mess.c 2021-04-02 08:47:16 UTC (rev 3768) @@ -1847,6 +1847,7 @@ jbox_redraw((t_jbox *)self); } } + return MAX_ERR_NONE; } t_max_err This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:46:44
|
Revision: 3767 http://sourceforge.net/p/ftm/code/3767 Author: borghesi Date: 2021-04-02 08:46:38 +0000 (Fri, 02 Apr 2021) Log Message: ----------- added missing return value Modified Paths: -------------- trunk/ftm/externals/max5/ftm.object.c Modified: trunk/ftm/externals/max5/ftm.object.c =================================================================== --- trunk/ftm/externals/max5/ftm.object.c 2021-04-02 08:45:50 UTC (rev 3766) +++ trunk/ftm/externals/max5/ftm.object.c 2021-04-02 08:46:38 UTC (rev 3767) @@ -2176,6 +2176,7 @@ jbox_redraw((t_jbox *)self); } } + return MAX_ERR_NONE; } static t_max_err This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2021-04-02 08:45:51
|
Revision: 3766 http://sourceforge.net/p/ftm/code/3766 Author: borghesi Date: 2021-04-02 08:45:50 +0000 (Fri, 02 Apr 2021) Log Message: ----------- fixed inlet method: outlet was before sequence_unlock Modified Paths: -------------- trunk/ftm/externals/ftm.record.c Modified: trunk/ftm/externals/ftm.record.c =================================================================== --- trunk/ftm/externals/ftm.record.c 2021-03-29 15:10:44 UTC (rev 3765) +++ trunk/ftm/externals/ftm.record.c 2021-04-02 08:45:50 UTC (rev 3766) @@ -172,7 +172,7 @@ { case status_reset: record_locate((ftmext_t *)self, 0.0); - + if(self->status == status_reset) break; @@ -342,13 +342,16 @@ self->event = event; fts_object_refer(event); + sequence_unlock(sequence); + ftmext_outlet_float((ftmext_t *)self, 0, here); } else + { + sequence_unlock(sequence); ftmext_error((ftmext_t *)self, "event type mismatch (%s)", fts_symbol_name(fts_get_class_name(a))); - - sequence_unlock(sequence); - + } + fts_object_changed(self->callback_obj); } } /* end if status == running */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-29 15:10:51
|
Revision: 3765 http://sourceforge.net/p/ftm/code/3765 Author: diemo Date: 2021-03-29 15:10:44 +0000 (Mon, 29 Mar 2021) Log Message: ----------- test file for ftm.sdif.info Added Paths: ----------- trunk/ftm/patches/max5/help/test.sdif Added: trunk/ftm/patches/max5/help/test.sdif =================================================================== (Binary files differ) Index: trunk/ftm/patches/max5/help/test.sdif =================================================================== --- trunk/ftm/patches/max5/help/test.sdif 2021-03-29 15:10:18 UTC (rev 3764) +++ trunk/ftm/patches/max5/help/test.sdif 2021-03-29 15:10:44 UTC (rev 3765) Property changes on: trunk/ftm/patches/max5/help/test.sdif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-29 15:10:21
|
Revision: 3764 http://sourceforge.net/p/ftm/code/3764 Author: diemo Date: 2021-03-29 15:10:18 +0000 (Mon, 29 Mar 2021) Log Message: ----------- spelling Modified Paths: -------------- trunk/ftm/ftmlib/ftmlib.c trunk/ftm/ftmlib/ftmsdif.c Modified: trunk/ftm/ftmlib/ftmlib.c =================================================================== --- trunk/ftm/ftmlib/ftmlib.c 2021-03-29 15:08:08 UTC (rev 3763) +++ trunk/ftm/ftmlib/ftmlib.c 2021-03-29 15:10:18 UTC (rev 3764) @@ -855,7 +855,7 @@ int ftmlib_init(void) { - /* check if already initilaized */ + /* check if already initialized */ if(ftm_version_symbol != NULL) return 0; Modified: trunk/ftm/ftmlib/ftmsdif.c =================================================================== --- trunk/ftm/ftmlib/ftmsdif.c 2021-03-29 15:08:08 UTC (rev 3763) +++ trunk/ftm/ftmlib/ftmsdif.c 2021-03-29 15:10:18 UTC (rev 3764) @@ -57,7 +57,7 @@ FTS_MODULE_INIT(sdif) { #if FTMSDIF_DEBUG - fts_post("ftmsdif: config\n"); + fts_post("ftmsdif: config (SdifInitialised %d at %p)\n", gSdifInitialised, &gSdifInitialised); #endif /* init sdif library, set callbacks to be called in case of @@ -78,7 +78,7 @@ FTS_MODULE_INIT_CALL(seqsdif) #if FTMSDIF_DEBUG - fts_post ("ftmsdif: config end\n"); + fts_post ("ftmsdif: config end (SdifInitialised %d)\n", gSdifInitialised); #endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-29 15:08:11
|
Revision: 3763 http://sourceforge.net/p/ftm/code/3763 Author: diemo Date: 2021-03-29 15:08:08 +0000 (Mon, 29 Mar 2021) Log Message: ----------- debug build universal, v2.7.5 Modified Paths: -------------- trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj Modified: trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2021-03-29 15:06:48 UTC (rev 3762) +++ trunk/ftm/build/max5/osx-macho/ftmlib.xcodeproj/project.pbxproj 2021-03-29 15:08:08 UTC (rev 3763) @@ -2387,7 +2387,7 @@ GCC_AUTO_VECTORIZATION = YES; GCC_FAST_OBJC_DISPATCH = YES; GCC_OBJC_CALL_CXX_CDTORS = YES; - GCC_OPTIMIZATION_LEVEL = 3; + GCC_OPTIMIZATION_LEVEL = 1; GCC_PREPROCESSOR_DEFINITIONS = ( "$(DEBUG_MACROS)", "$(VERSION_MACROS)", @@ -2419,7 +2419,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; - DEBUG_MACROS = "DEBUG_LOCKS=1 DEBUG_REF_COUNT=1 DEBUG_OBJECT_RELEASE=1 USE_STDLIB_MALLOC=1 DEBUG=1"; + DEBUG_MACROS = "DEBUG_LOCKS=1 DEBUG_REF_COUNT=0 DEBUG_OBJECT_RELEASE=1 USE_STDLIB_MALLOC=1 DEBUG=1"; EXECUTABLE_SUFFIX = ""; EXTERNALS_DIR = "../../../../../build-max5"; FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; @@ -2695,7 +2695,7 @@ ); FTM_FRAMEWORK_DIR = "$(EXTERNALS_DIR)"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = fast; + GCC_OPTIMIZATION_LEVEL = 3; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "$(MAXAPI_DIR)/max-includes/macho-prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -2745,11 +2745,11 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"07/2020\\\""; + VERSION_DATE = "\\\"03/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 4; + VERSION_RELEASE = 5; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug_optimised; @@ -2834,7 +2834,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD)"; COMBINE_HIDPI_IMAGES = YES; COPYING_PRESERVES_HFS_DATA = YES; COPY_PHASE_STRIP = YES; @@ -2967,11 +2966,11 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"07/2020\\\""; + VERSION_DATE = "\\\"03/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 4; + VERSION_RELEASE = 5; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug; @@ -3043,11 +3042,11 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"07/2020\\\""; + VERSION_DATE = "\\\"03/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 4; + VERSION_RELEASE = 5; VERSION_TAG = "\\\"BETA\\\""; WARNING_LDFLAGS = ""; }; @@ -3057,7 +3056,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; - ARCHS = "$(ARCHS_STANDARD)"; COMBINE_HIDPI_IMAGES = YES; COPYING_PRESERVES_HFS_DATA = YES; COPY_PHASE_STRIP = YES; @@ -3087,7 +3085,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD)"; COMBINE_HIDPI_IMAGES = YES; EXECUTABLE_SUFFIX = ""; EXTERNALS_DIR = "../../../../../build-max5"; @@ -3117,7 +3114,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -3207,11 +3203,11 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"07/2020\\\""; + VERSION_DATE = "\\\"03/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 4; + VERSION_RELEASE = 5; VERSION_TAG = "\\\"BETA\\\""; WARNING_LDFLAGS = ""; }; @@ -3297,7 +3293,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -3560,11 +3555,11 @@ SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate -framework Carbon"; VECLIB_FRAMEWORK_DIR = /System/Library/Frameworks/Accelerate.framework/Frameworks; - VERSION_DATE = "\\\"07/2020\\\""; + VERSION_DATE = "\\\"03/2021\\\""; VERSION_MACROS = "FTM_VERSION_MAJOR=$(VERSION_MAJOR) FTM_VERSION_MINOR=$(VERSION_MINOR) FTM_VERSION_RELEASE=$(VERSION_RELEASE) FTM_VERSION_TAG=$(VERSION_TAG) FTM_VERSION_DATE=$(VERSION_DATE)"; VERSION_MAJOR = 2; VERSION_MINOR = 7; - VERSION_RELEASE = 4; + VERSION_RELEASE = 5; VERSION_TAG = "\\\"BETA\\\""; }; name = Debug_harder; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-29 15:06:50
|
Revision: 3762 http://sourceforge.net/p/ftm/code/3762 Author: diemo Date: 2021-03-29 15:06:48 +0000 (Mon, 29 Mar 2021) Log Message: ----------- debug built universal, actually use libsdif-debug.a Modified Paths: -------------- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj Modified: trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj =================================================================== --- trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2021-03-29 11:03:28 UTC (rev 3761) +++ trunk/ftm/build/max5/osx-macho/ftmexternals.xcodeproj/project.pbxproj 2021-03-29 15:06:48 UTC (rev 3762) @@ -2883,7 +2883,8 @@ 21195BA318800BF200EAB1FF /* Debug_harder */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_ENUM_CONVERSION = YES; @@ -2909,12 +2910,11 @@ GCC_PREFIX_HEADER = "$(MAXAPI_DIR)/max-includes/macho-prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ( "$(DEBUG_FLAGS)", - "DEBUG_REF_COUNT=1", + "DEBUG_REF_COUNT=0", "DEBUG_OBJECT_RELEASE=1", "USE_STDLIB_MALLOC=1", "$(VERSION_MACROS)", - IMTREDITOR_C_GUI_INTERFACE, - "=1", + "IMTREDITOR_C_GUI_INTERFACE=1", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; @@ -2947,7 +2947,7 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif-debug.a"; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; @@ -3603,7 +3603,8 @@ 218B72540E80091000A7CEAD /* Debug_optimised */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_ENUM_CONVERSION = YES; @@ -3625,7 +3626,7 @@ FTM_VERSION = 2.6; GCC_AUTO_VECTORIZATION = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = fast; + GCC_OPTIMIZATION_LEVEL = 1; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "$(MAXAPI_DIR)/max-includes/macho-prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -4094,7 +4095,8 @@ 3B5DEE230861C3ED00B9AEEA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_ENUM_CONVERSION = YES; @@ -4154,7 +4156,7 @@ ); PRODUCT_NAME = install; SDIF_DIR = "$(COMPONENTS_DIR)/sdif"; - SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif.a"; + SDIF_LIBS = "$(SDIF_DIR)/macos-fat/libsdif-debug.a"; SNDFILE_DIR = "$(COMPONENTS_DIR)/sndfile"; SNDFILE_LIBS = "$(SNDFILE_DIR)/macos/libFLAC.a $(SNDFILE_DIR)/macos/libogg.a $(SNDFILE_DIR)/macos/libsndfile.a $(SNDFILE_DIR)/macos/libvorbis.a $(SNDFILE_DIR)/macos/libvorbisenc.a"; SYS_FRAMEWORKS = "-framework Accelerate"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-29 11:03:30
|
Revision: 3761 http://sourceforge.net/p/ftm/code/3761 Author: diemo Date: 2021-03-29 11:03:28 +0000 (Mon, 29 Mar 2021) Log Message: ----------- untabify Modified Paths: -------------- trunk/ftm/externals/ftm.sdif.info.c Modified: trunk/ftm/externals/ftm.sdif.info.c =================================================================== --- trunk/ftm/externals/ftm.sdif.info.c 2021-03-23 10:16:47 UTC (rev 3760) +++ trunk/ftm/externals/ftm.sdif.info.c 2021-03-29 11:03:28 UTC (rev 3761) @@ -100,7 +100,6 @@ sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); fts_atom_t *at = FTMEXT_GET_ANY(); - #if DEBUG_OUTPUT fts_post("sdifinfo_setname %-6s %p\n", fts_symbol_name(fts_get_class_name(at)), fts_get_object(at)); @@ -108,8 +107,8 @@ if (fts_is_symbol(at) && fts_get_symbol(at) != fts_s_minus) { - ftmsdif_set_file(&self->base, at); - /* check here if file exists to give immediate feedback if not? */ + ftmsdif_set_file(&self->base, at); + /* check here if file exists to give immediate feedback if not? */ } FTMEXT_METHOD_RETURN; @@ -127,18 +126,18 @@ #endif if (fts_is_a(at, mat_class)) - { /* explicit mat given */ - if (self->infomat) + { /* explicit mat given */ + if (self->infomat) fts_object_release(self->infomat); - self->infomat = (mat_t *) fts_get_object(at); - fts_object_refer(self->infomat); + self->infomat = (mat_t *) fts_get_object(at); + fts_object_refer(self->infomat); } if (self->infomat == NULL) - { /* allocate my own mat */ - self->infomat = (mat_t *) fts_object_create(mat_class, 0, NULL); - fts_object_refer(self->infomat); + { /* allocate my own mat */ + self->infomat = (mat_t *) fts_object_create(mat_class, 0, NULL); + fts_object_refer(self->infomat); } FTMEXT_METHOD_RETURN; @@ -157,17 +156,17 @@ if (fts_is_a(at, dict_class)) { /* explicit dict given */ - if (self->nvtdict) + if (self->nvtdict) fts_object_release(self->nvtdict); - self->nvtdict = (dict_t *) fts_get_object(at); - fts_object_refer(self->nvtdict); + self->nvtdict = (dict_t *) fts_get_object(at); + fts_object_refer(self->nvtdict); } if (self->nvtdict == NULL) { /* allocate my own dict */ - self->nvtdict = (dict_t *) fts_object_create(dict_class, 0, NULL); - fts_object_refer(self->nvtdict); + self->nvtdict = (dict_t *) fts_object_create(dict_class, 0, NULL); + fts_object_refer(self->nvtdict); } FTMEXT_METHOD_RETURN; @@ -225,13 +224,14 @@ { if (ac == 0 || (fts_is_symbol(at) && fts_get_symbol(at) == fts_s_minus)) { /* no name or "-": open dialog */ - fts_symbol_t prompt = fts_new_symbol("Choose SDIF file for info"); + fts_symbol_t prompt = fts_new_symbol("Choose SDIF file for info"); - ftmext_file_open_dialog((ftmext_t *) self, 0, NULL, + ftmext_file_open_dialog((ftmext_t *) self, 0, NULL, sdifinfo_open_callback, prompt, fts_new_symbol("sdif")); } else - setargs(self, ac, at); + setargs(self, ac, at); + return 1; } @@ -239,7 +239,7 @@ FTMEXT_METHOD_VARARGS (info, open) { sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); - int ac = (int)FTMEXT_GET_COUNT(); + int ac = (int)FTMEXT_GET_COUNT(); fts_atom_t *at = FTMEXT_GET_ARGS(); sdifinfo_open(self, ac, at); @@ -250,7 +250,7 @@ FTMEXT_METHOD_VARARGS (info, set) { sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); - int ac = (int)FTMEXT_GET_COUNT(); + int ac = (int)FTMEXT_GET_COUNT(); fts_atom_t *at = FTMEXT_GET_ARGS(); sdifinfo_open(self, ac, at); @@ -262,71 +262,71 @@ /* obtain header data, copy to dict */ static int getheaders(SdifFileT *file, void *userdata) { - /* nvt to list of dict and dict of dict, indexed by TableName, - number, and _all for combined values */ - dict_t *nvtdict = ((querytree_t *) userdata)->self->nvtdict; - SdifNameValuesLT *nvtlist = SdifFNameValueList(file); + /* nvt to list of dict and dict of dict, indexed by TableName, + number, and _all for combined values */ + dict_t *nvtdict = ((querytree_t *) userdata)->self->nvtdict; + SdifNameValuesLT *nvtlist = SdifFNameValueList(file); - /* clear dict (and all nvts in there) */ - dict_clear(nvtdict); + /* clear dict (and all nvts in there) */ + dict_clear(nvtdict); - if (SdifNameValuesLIsNotEmpty(nvtlist)) - { - fts_atom_t tablename, nvt; - int nvtcount = 0; - SdifListT *nvtl = SdifNameValueTableList(nvtlist); - SdifHashTableIteratorT *nvtiter = SdifCreateHashTableIterator(NULL); + if (SdifNameValuesLIsNotEmpty(nvtlist)) + { + fts_atom_t tablename, nvt; + int nvtcount = 0; + SdifListT *nvtl = SdifNameValueTableList(nvtlist); + SdifHashTableIteratorT *nvtiter = SdifCreateHashTableIterator(NULL); - /* make dict for combined nvt keys */ - dict_t *alldict = (dict_t *) fts_object_create(dict_class, 0, NULL); + /* make dict for combined nvt keys */ + dict_t *alldict = (dict_t *) fts_object_create(dict_class, 0, NULL); - SdifListInitLoop(nvtl); - while (SdifListIsNext(nvtl)) - { /* do one NVT */ - SdifNameValueTableT *currnvt = - (SdifNameValueTableT *) SdifListGetNext(nvtl); - SdifHashTableT *nvht = SdifNameValueTableGetHashTable(currnvt); + SdifListInitLoop(nvtl); + while (SdifListIsNext(nvtl)) + { /* do one NVT */ + SdifNameValueTableT *currnvt = + (SdifNameValueTableT *) SdifListGetNext(nvtl); + SdifHashTableT *nvht = SdifNameValueTableGetHashTable(currnvt); - /* make dict for new nvt */ - dict_t *newdict = (dict_t *) fts_object_create(dict_class, 0, NULL); + /* make dict for new nvt */ + dict_t *newdict = (dict_t *) fts_object_create(dict_class, 0, NULL); - /* possibly get more info from table: - fts_post("\nNameValueTable Number %d Stream %d Size %d:\n", - SdifNameValueTableGetNumTable(currnvt), - SdifNameValueTableGetStreamID(currnvt), - SdifHashTableGetNbData(nvht)); */ + /* possibly get more info from table: + fts_post("\nNameValueTable Number %d Stream %d Size %d:\n", + SdifNameValueTableGetNumTable(currnvt), + SdifNameValueTableGetStreamID(currnvt), + SdifHashTableGetNbData(nvht)); */ - SdifHashTableIteratorInitLoop(nvtiter, nvht); - while (SdifHashTableIteratorIsNext(nvtiter)) - { - SdifNameValueT *nv = - (SdifNameValueT *) SdifHashTableIteratorGetNext(nvtiter); - fts_atom_t name, value; + SdifHashTableIteratorInitLoop(nvtiter, nvht); + while (SdifHashTableIteratorIsNext(nvtiter)) + { + SdifNameValueT *nv = + (SdifNameValueT *) SdifHashTableIteratorGetNext(nvtiter); + fts_atom_t name, value; - fts_set_symbol(&name, fts_new_symbol(SdifNameValueGetName(nv))); - fts_set_symbol(&value, fts_new_symbol(SdifNameValueGetValue(nv))); + fts_set_symbol(&name, fts_new_symbol(SdifNameValueGetName(nv))); + fts_set_symbol(&value, fts_new_symbol(SdifNameValueGetValue(nv))); - dict_store(newdict, &name, &value); - dict_store(alldict, &name, &value); - } + dict_store(newdict, &name, &value); + dict_store(alldict, &name, &value); + } - /* store new dict in global dict under TableName, if - given, or current index, if not */ - dict_get(newdict, &tablenamekey, &tablename); - if (fts_is_void(&tablename)) - fts_set_int(&tablename, nvtcount); - fts_set_object(&nvt, newdict); + /* store new dict in global dict under TableName, if + given, or current index, if not */ + dict_get(newdict, &tablenamekey, &tablename); + if (fts_is_void(&tablename)) + fts_set_int(&tablename, nvtcount); + fts_set_object(&nvt, newdict); - /* takes care of refering the stored dict */ - dict_store(nvtdict, &tablename, &nvt); + /* takes care of refering the stored dict */ + dict_store(nvtdict, &tablename, &nvt); - nvtcount++; - } + nvtcount++; + } - /* store all name dict in global dict */ - fts_set_symbol(&tablename, sym_all); - fts_set_object(&nvt, alldict); - dict_store(nvtdict, &tablename, &nvt); + /* store all name dict in global dict */ + fts_set_symbol(&tablename, sym_all); + fts_set_object(&nvt, alldict); + dict_store(nvtdict, &tablename, &nvt); } return 1; /* continue reading */ @@ -342,13 +342,13 @@ { /* output mat column indices */ enum { framesig, stream, numframe, timemin, timemax, - matrixsig, nummatrix, rowmax, colmax, ncolums }; + matrixsig, nummatrix, rowmax, colmax, ncolums }; - sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); + sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); int ac = (int)FTMEXT_GET_COUNT(); fts_atom_t *at = FTMEXT_GET_ARGS(); - SdifQueryTreeT *tree = &self->qtree->stree; - size_t bytesize; + SdifQueryTreeT *tree = &self->qtree->stree; + size_t bytesize; int i, m, matrow = 0; #if DEBUG_OUTPUT @@ -370,17 +370,17 @@ for (i = 0; i < tree->num; i++) { - if (tree->elems[i].parent == -1) - { + if (tree->elems[i].parent == -1) + { /* search children matrices of this frame */ for (m = i+1; m < tree->num; m++) { - if (tree->elems[m].parent == i) - { /* copy one line to atoms */ + if (tree->elems[m].parent == i) + { /* copy one line to atoms */ fts_atom_t a[ncolums]; fts_set_symbol(a+framesig, fts_new_symbol( - SdifSignatureToString (tree->elems[i].sig))); + SdifSignatureToString (tree->elems[i].sig))); fts_set_int (a+stream, tree->elems[i].stream); fts_set_int (a+numframe, tree->elems[i].count); fts_set_float (a+timemin, tree->elems[i].time.min * 1000.); @@ -387,7 +387,7 @@ fts_set_float (a+timemax, tree->elems[i].time.max * 1000.); fts_set_symbol(a+matrixsig, fts_new_symbol( - SdifSignatureToString (tree->elems[m].sig))); + SdifSignatureToString (tree->elems[m].sig))); fts_set_int (a+nummatrix, tree->elems[m].count); fts_set_int (a+rowmax, tree->elems[m].nrow.max); fts_set_int (a+colmax, tree->elems[m].ncol.max); @@ -396,9 +396,9 @@ mat_set_from_atoms(self->infomat, matrow++ * ncolums, 1, ncolums, a); - } + } } - } + } } } @@ -417,7 +417,7 @@ #endif } else - fts_post("sdif.info: no filename given\n"); + fts_post("sdif.info: no filename given\n"); FTMEXT_METHOD_RETURN; } @@ -424,7 +424,7 @@ FTMEXT_METHOD_VOID (info, get_last) { - sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); + sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); info_get((ftmext_t *)self, 0, NULL); @@ -433,40 +433,40 @@ static int printheaders(SdifFileT *file, void *userdata) { - SdifNameValuesLT *nvtlist = SdifFNameValueList(file); + SdifNameValuesLT *nvtlist = SdifFNameValueList(file); - /* obtain header data, print or copy to dict */ - if (SdifNameValuesLIsNotEmpty(nvtlist)) - { - /* SdifFPrintAllNameValueNVT */ - SdifListInitLoop(nvtlist->NVTList); - while (SdifListIsNext(nvtlist->NVTList)) - { /* print one NVT */ - SdifNameValueTableT *currnvt = (SdifNameValueTableT *) - SdifListGetNext(nvtlist->NVTList); - SdifHashTableT *nvht = currnvt->NVHT; - SdifHashNT *pNV; - unsigned int i; + /* obtain header data, print or copy to dict */ + if (SdifNameValuesLIsNotEmpty(nvtlist)) + { + /* SdifFPrintAllNameValueNVT */ + SdifListInitLoop(nvtlist->NVTList); + while (SdifListIsNext(nvtlist->NVTList)) + { /* print one NVT */ + SdifNameValueTableT *currnvt = (SdifNameValueTableT *) + SdifListGetNext(nvtlist->NVTList); + SdifHashTableT *nvht = currnvt->NVHT; + SdifHashNT *pNV; + unsigned int i; - /* SizeW += SdifFPrintNameValueLCurrNVT (file); */ - fts_post("%s\n{\n", SdifSignatureToString(e1NVT)); + /* SizeW += SdifFPrintNameValueLCurrNVT (file); */ + fts_post("%s\n{\n", SdifSignatureToString(e1NVT)); - /* SizeW += SdifFPutNameValueLCurrNVT (file, 't'); */ - for (i = 0; i < nvht->HashSize; i++) - { - for (pNV = nvht->Table[i]; pNV; pNV = pNV->Next) - { - /* SizeW += SdifFPutOneNameValue(file, Verbose, (SdifNameValueT *)pNV->Data); */ - SdifNameValueT *NameValue = (SdifNameValueT *) pNV->Data; - fts_post("%s\t%s;\n", NameValue->Name, NameValue->Value); - } - } - fts_post("}\n"); + /* SizeW += SdifFPutNameValueLCurrNVT (file, 't'); */ + for (i = 0; i < nvht->HashSize; i++) + { + for (pNV = nvht->Table[i]; pNV; pNV = pNV->Next) + { + /* SizeW += SdifFPutOneNameValue(file, Verbose, (SdifNameValueT *)pNV->Data); */ + SdifNameValueT *NameValue = (SdifNameValueT *) pNV->Data; + fts_post("%s\t%s;\n", NameValue->Name, NameValue->Value); } - fts_post("\n"); + } + fts_post("}\n"); } + fts_post("\n"); + } - return 1; /* continue reading */ + return 1; /* continue reading */ } @@ -476,12 +476,12 @@ FTMEXT_METHOD_VARARGS (info, print) { sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); - int ac = (int)FTMEXT_GET_COUNT(); + int ac = (int)FTMEXT_GET_COUNT(); fts_atom_t *at = FTMEXT_GET_ARGS(); SdifQueryTreeT *tree = &self->qtree->stree; - size_t bytesize; - int i, m; + size_t bytesize; + int i, m; /* parse and check arguments */ if (setargs(self, ac, at)) @@ -498,8 +498,8 @@ { if (tree->elems[i].parent == -1) { - /* frames */ - fts_post("%5d %s frames in stream %d between time %f s and %f s containing\n", + /* frames */ + fts_post("%5d %s frames in stream %d between time %f s and %f s containing\n", tree->elems[i].count, SdifSignatureToString (tree->elems[i].sig), tree->elems[i].stream, @@ -506,11 +506,11 @@ tree->elems[i].time.min, tree->elems[i].time.max); - /* search children matrices of this frame */ - for (m = i+1; m < tree->num; m++) - { + /* search children matrices of this frame */ + for (m = i+1; m < tree->num; m++) + { if (tree->elems[m].parent == i) - fts_post(" %5d %s matrices with %3g --%3g rows, %3g --%3g columns\n", + fts_post(" %5d %s matrices with %3g --%3g rows, %3g --%3g columns\n", tree->elems[m].count, SdifSignatureToString (tree->elems[m].sig), tree->elems[m].nrow.min, @@ -517,13 +517,13 @@ tree->elems[m].nrow.max, tree->elems[m].ncol.min, tree->elems[m].ncol.max); - } + } } } fts_post("\n"); } else - fts_post("sdif.info: no filename given\n"); + fts_post("sdif.info: no filename given\n"); FTMEXT_METHOD_RETURN; } @@ -539,7 +539,7 @@ { sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); ftmsdif_t *base = &self->base; - int ac = FTMEXT_GET_COUNT(); + int ac = FTMEXT_GET_COUNT(); fts_atom_t *at = FTMEXT_GET_ARGS(); #if DEBUG_OUTPUT @@ -556,7 +556,7 @@ self->qtree->self = self; if (self->qtree->stree.elems == NULL) - fts_post("\nBANG!!! Max sysmem_resizeptr has lost our memory!!!\n\n"); + fts_post("\nBANG!!! Max sysmem_resizeptr has lost our memory!!!\n\n"); /* process arguments, allocate data objects */ /* use ftmext_attribute_init() to force argument parsing */ @@ -575,9 +575,10 @@ sdifinfo_t *self = (sdifinfo_t *) FTMEXT_GET_EXT(); if (self->infomat) - fts_object_release(self->infomat); + fts_object_release(self->infomat); if (self->nvtdict) - fts_object_release(self->nvtdict); + fts_object_release(self->nvtdict); + SdifFree(self->qtree); ftmsdif_delete(&self->base); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-23 10:16:49
|
Revision: 3760 http://sourceforge.net/p/ftm/code/3760 Author: diemo Date: 2021-03-23 10:16:47 +0000 (Tue, 23 Mar 2021) Log Message: ----------- more robust DEBUG_REF_COUNT and DEBUG_OBJECT_RELEASE handling Modified Paths: -------------- trunk/ftm/ftmlib/object.c trunk/ftm/ftmlib/object.h Modified: trunk/ftm/ftmlib/object.c =================================================================== --- trunk/ftm/ftmlib/object.c 2021-03-23 10:12:56 UTC (rev 3759) +++ trunk/ftm/ftmlib/object.c 2021-03-23 10:16:47 UTC (rev 3760) @@ -114,12 +114,12 @@ fts_object_free(obj); } -#ifdef DEBUG_REF_COUNT +#if (defined(DEBUG_REF_COUNT) && DEBUG_REF_COUNT == 1) void fts_object_refer(fts_object_t *obj) { obj->refcnt++; - if(fts_object_get_class_name(obj) != NULL) + if (fts_object_get_class(obj) != NULL && fts_object_get_class_name(obj) != NULL) post("fts_object_refer %p type %s refcount = %d", obj, fts_symbol_name(fts_object_get_class_name(obj)), obj->refcnt); } #endif @@ -129,22 +129,24 @@ { #define CLS(x) fts_object_get_class(x) #define TYP(x) fts_object_get_class(x)->type_id -#define FMT1 "WARNING: questionable release of object %p class %p with refcount %d at %s:%d\n" -#define FMT2 "WARNING: object %p is of class '%s', type_id %d'\n" - +#define NAM(x) (fts_object_get_class_name(x) ? fts_symbol_name(fts_object_get_class_name(o)) : "NULL!!!") + if (o->refcnt <= 0) { - fts_log (FMT1, o, CLS(o), o->refcnt, file, line); - fts_post(FMT1, o, CLS(o), o->refcnt, file, line); - if (CLS(o)) - { - fts_log (FMT2, o, fts_symbol_name(fts_object_get_class_name(o)), TYP(o)); - fts_post(FMT2, o, fts_symbol_name(fts_object_get_class_name(o)), TYP(o)); - } - } - - // old: ((--(((fts_object_t *)(o))->refcnt) > 0)? 0: (fts_object_destroy((fts_object_t *)(o)), 0)); - return fts_atomic_decrement(&(o->refcnt)) > 0 ? 0 : fts_object_destroy(o); +# define FMT1 "WARNING: SUPPRESSING questionable release of object %p class %p with refcount %d at %s:%d\n" + fts_log (FMT1, o, CLS(o), o->refcnt, file, line); + fts_post(FMT1, o, CLS(o), o->refcnt, file, line); + if (CLS(o)) + { +# define FMT2 "WARNING: object %p is of class '%s', type_id %d'\n" + fts_log (FMT2, o, NAM(o), TYP(o)); + fts_post(FMT2, o, NAM(o), TYP(o)); + } + return o->refcnt; + } + else + // as macro: ((--(((fts_object_t *)(o))->refcnt) > 0)? 0: (fts_object_destroy((fts_object_t *)(o)), 0)); + return fts_atomic_decrement(&(o->refcnt)) > 0 ? 0 : (fts_object_destroy(o), 0); } #endif Modified: trunk/ftm/ftmlib/object.h =================================================================== --- trunk/ftm/ftmlib/object.h 2021-03-23 10:12:56 UTC (rev 3759) +++ trunk/ftm/ftmlib/object.h 2021-03-23 10:16:47 UTC (rev 3760) @@ -30,7 +30,7 @@ #ifndef _FTS_OBJECT_H_ #define _FTS_OBJECT_H_ -#undef DEBUG_OBJECT_RELEASE +//#undef DEBUG_OBJECT_RELEASE //#define DEBUG_OBJECT_RELEASE 1 FTS_API char fts_4charstr_object_identifier[]; @@ -130,7 +130,7 @@ FTS_API void fts_object_destroy(fts_object_t *o); /* garbage collector handling */ -#if defined(DEBUG_REF_COUNT) || defined(DOXYGEN_DOC) +#if (defined(DEBUG_REF_COUNT) && DEBUG_REF_COUNT == 1) || defined(DOXYGEN_DOC) /** * @brief @@ -141,6 +141,12 @@ */ void fts_object_refer(fts_object_t *o); +#else +# define fts_object_refer(o) (fts_atomic_increment(&(((fts_object_t *)(o))->refcnt))) +#endif + +#if defined(DOXYGEN_DOC) + /** * @brief * Remove a reference from an object (decrement reference count). @@ -154,8 +160,6 @@ #else -#define fts_object_refer(o) (fts_atomic_increment(&(((fts_object_t *)(o))->refcnt))) - #ifdef DEBUG_OBJECT_RELEASE int fts_object_release_safe (fts_object_t *o, const char *file, int line); # define fts_object_release(o) fts_object_release_safe((fts_object_t *) (o), __FILE__, __LINE__) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2021-03-23 10:12:59
|
Revision: 3759 http://sourceforge.net/p/ftm/code/3759 Author: diemo Date: 2021-03-23 10:12:56 +0000 (Tue, 23 Mar 2021) Log Message: ----------- fix miscalc in ma_delete_rows (benign heap-buffer-overflow), add comments for mat, fmat delete Modified Paths: -------------- trunk/ftm/ftmlib/classes/fmat.c trunk/ftm/ftmlib/classes/mat.c Modified: trunk/ftm/ftmlib/classes/fmat.c =================================================================== --- trunk/ftm/ftmlib/classes/fmat.c 2020-08-09 08:28:00 UTC (rev 3758) +++ trunk/ftm/ftmlib/classes/fmat.c 2021-03-23 10:12:56 UTC (rev 3759) @@ -258,7 +258,7 @@ static void fm_delete_rows(fmat_t *self, int pos, int num) { - int m = self->m; + int m = self->m; // number of rows AFTER fm_reshape: m = oldm - num int n = self->n; float *ptr = self->values + pos * n; int tail = m - pos; Modified: trunk/ftm/ftmlib/classes/mat.c =================================================================== --- trunk/ftm/ftmlib/classes/mat.c 2020-08-09 08:28:00 UTC (rev 3758) +++ trunk/ftm/ftmlib/classes/mat.c 2021-03-23 10:12:56 UTC (rev 3759) @@ -238,10 +238,10 @@ static void ma_delete_rows(mat_t *self, int pos, int num) { - int m = mat_get_m(self); + int m = mat_get_m(self); // number of rows AFTER ma_reshape: m = oldm - num int n = mat_get_n(self); fts_atom_t *ptr = self->data + pos * n; - int tail = m + num - pos; + int tail = m - pos; // num. rows to be moved to fill deleted rows /* release atoms in deleted rows */ release_atoms(ptr, num * n); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2020-08-09 08:28:02
|
Revision: 3758 http://sourceforge.net/p/ftm/code/3758 Author: diemo Date: 2020-08-09 08:28:00 +0000 (Sun, 09 Aug 2020) Log Message: ----------- 64bit bug? int of a large float value can wrap to negative, need to check before trunc (better than re-check) Modified Paths: -------------- trunk/ftm/ftmlib/classes/fmat.c Modified: trunk/ftm/ftmlib/classes/fmat.c =================================================================== --- trunk/ftm/ftmlib/classes/fmat.c 2020-08-04 17:46:57 UTC (rev 3757) +++ trunk/ftm/ftmlib/classes/fmat.c 2020-08-09 08:28:00 UTC (rev 3758) @@ -2311,15 +2311,15 @@ else if(fts_is_float(at)) { double i_arg = fts_get_float(at); - - if(i_arg > 0.0) + + if (i_arg >= m - 1) + i = m - 1; + else if (i_arg < 0.0) + i = 0; + else { - i = (int)i_arg; - - if(i >= m - 1) - i = m - 1; - else - i_frac = i_arg - floor(i_arg); + i = (int)i_arg; + i_frac = i_arg - floor(i_arg); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |