Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Issue with Interfaces

Date2014-05-12 20:00
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Issue with Interfaces
AttachmentsNone  

Date2014-05-12 20:21
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
I'm not seeing that here; all of the Java functions are generating as
MYFLT=double in the build I just did, at least for the Java wrappers.
Is it happening for all of the interfaces there for you?

On Mon, May 12, 2014 at 8:00 PM,   wrote:
> The problem that upset me originally was that MYFLT is double in
> csound code but float in SWIG, so something was certainly wrong
>
> Quoting Steven Yi :
>
>> Hi All,
>>
>> So I've determined that my commit to remove extraneous MYFLT
>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>> *not* extraneous in any way. They were there because when SWIG is
>> used, the include of sysdep.h is not used during pre-processing
>> (though the header is included for compilation).  Therefore, during
>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>> it was some kind of object to generate a pointer for.
>>
>> This was a mistake.  I have reverted that code change and pushed to develop.
>>
>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>> setup a hotfix branch and cherry pick the change so that this would be
>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>> from develop branch).
>>
>> Thanks!
>> steven
>>
>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>> Hi All,
>>>
>>> I've discovered there is an issue with the interfaces, at least for
>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>> definitions, but API methods that formerly get/set doubles are now
>>> setting SWIGTYPE_p_MYFLT.
>>>
>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>> this for API apps.
>>>
>>> Thanks,
>>> steven
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 20:26
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Issue with Interfaces
AttachmentsNone  

Date2014-05-12 20:35
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
That looks like a specific problem just to CsoundFile.hpp.  I think I
see a fix.  I just uploaded four builds but I'll fix this and
rebuild/reupload in a moment.

Please hold off on builds for the next few minutes, thanks!


On Mon, May 12, 2014 at 8:26 PM,   wrote:
> As I posted before
>
> ...skipping
> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
> de/csound.h:201:0,
>                   from /home/jpff/Sourceforge/csound/New/csound6/interfa
> ces/CsoundFile.cpp:30:
> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
> ning: "MYFLT" redefined [enabled by default]
>   #    define MYFLT double
>   ^
> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
> ces/CsoundFile.cpp:23:0:
> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
> 0: note: this is the location of the previous definition
>   #define MYFLT float
>   ^
>
>
> Quoting Steven Yi :
>
>> I'm not seeing that here; all of the Java functions are generating as
>> MYFLT=double in the build I just did, at least for the Java wrappers.
>> Is it happening for all of the interfaces there for you?
>>
>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>> The problem that upset me originally was that MYFLT is double in
>>> csound code but float in SWIG, so something was certainly wrong
>>>
>>> Quoting Steven Yi :
>>>
>>>> Hi All,
>>>>
>>>> So I've determined that my commit to remove extraneous MYFLT
>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>> *not* extraneous in any way. They were there because when SWIG is
>>>> used, the include of sysdep.h is not used during pre-processing
>>>> (though the header is included for compilation).  Therefore, during
>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>> it was some kind of object to generate a pointer for.
>>>>
>>>> This was a mistake.  I have reverted that code change and pushed
>>>> to develop.
>>>>
>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>> from develop branch).
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>> Hi All,
>>>>>
>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>
>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>> this for API apps.
>>>>>
>>>>> Thanks,
>>>>> steven
>>>>
>>>> ------------------------------------------------------------------------------
>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>> Get unparalleled scalability from the best Selenium testing platform
>>>> available
>>>> Simple to use. Nothing to install. Get started now for free."
>>>> http://p.sf.net/sfu/SauceLabs
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing
>>> platform available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 20:45
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
I think i have the CsoundFile.hpp fixed, but I am double checking if
we need to include float-version.h in some places, I'll reply again in
a few more minutes.

On Mon, May 12, 2014 at 8:35 PM, Steven Yi  wrote:
> That looks like a specific problem just to CsoundFile.hpp.  I think I
> see a fix.  I just uploaded four builds but I'll fix this and
> rebuild/reupload in a moment.
>
> Please hold off on builds for the next few minutes, thanks!
>
>
> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>> As I posted before
>>
>> ...skipping
>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>> de/csound.h:201:0,
>>                   from /home/jpff/Sourceforge/csound/New/csound6/interfa
>> ces/CsoundFile.cpp:30:
>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>> ning: "MYFLT" redefined [enabled by default]
>>   #    define MYFLT double
>>   ^
>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>> ces/CsoundFile.cpp:23:0:
>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>> 0: note: this is the location of the previous definition
>>   #define MYFLT float
>>   ^
>>
>>
>> Quoting Steven Yi :
>>
>>> I'm not seeing that here; all of the Java functions are generating as
>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>> Is it happening for all of the interfaces there for you?
>>>
>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>>> The problem that upset me originally was that MYFLT is double in
>>>> csound code but float in SWIG, so something was certainly wrong
>>>>
>>>> Quoting Steven Yi :
>>>>
>>>>> Hi All,
>>>>>
>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>> (though the header is included for compilation).  Therefore, during
>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>> it was some kind of object to generate a pointer for.
>>>>>
>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>> to develop.
>>>>>
>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>> from develop branch).
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>
>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>> this for API apps.
>>>>>>
>>>>>> Thanks,
>>>>>> steven
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>> available
>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>> http://p.sf.net/sfu/SauceLabs
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>> Get unparalleled scalability from the best Selenium testing
>>>> platform available
>>>> Simple to use. Nothing to install. Get started now for free."
>>>> http://p.sf.net/sfu/SauceLabs
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing platform
>>> available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 20:55
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
Okay, I've made the following change:

1. CsoundFile.hpp does not need any definition of MYFLT as it does not
use MYFLT in the .hpp (so swig doesn't care), and it is defined in
sysdep which is used in the cpp.

2. I added #include of float-version.h so that the other headers that
do the definition of MYFLT will have the correct value for USE_DOUBLE.

3. I added a macro guard to float-version.h.in to prevent double
definitions of USE_DOUBLE.

I am not seeing any redefinitions in the compile now, and I am getting
MYFLT=double correctly (at least in the Java wrapper).

Please pull the latest from hotfix/6.03.2 before builds.  I am going
to rebuild OSX 10.9, android, iOS, and emscripten now.

Thanks!
steven

On Mon, May 12, 2014 at 8:45 PM, Steven Yi  wrote:
> I think i have the CsoundFile.hpp fixed, but I am double checking if
> we need to include float-version.h in some places, I'll reply again in
> a few more minutes.
>
> On Mon, May 12, 2014 at 8:35 PM, Steven Yi  wrote:
>> That looks like a specific problem just to CsoundFile.hpp.  I think I
>> see a fix.  I just uploaded four builds but I'll fix this and
>> rebuild/reupload in a moment.
>>
>> Please hold off on builds for the next few minutes, thanks!
>>
>>
>> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>>> As I posted before
>>>
>>> ...skipping
>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>>> de/csound.h:201:0,
>>>                   from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>> ces/CsoundFile.cpp:30:
>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>>> ning: "MYFLT" redefined [enabled by default]
>>>   #    define MYFLT double
>>>   ^
>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>> ces/CsoundFile.cpp:23:0:
>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>>> 0: note: this is the location of the previous definition
>>>   #define MYFLT float
>>>   ^
>>>
>>>
>>> Quoting Steven Yi :
>>>
>>>> I'm not seeing that here; all of the Java functions are generating as
>>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>>> Is it happening for all of the interfaces there for you?
>>>>
>>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>>>> The problem that upset me originally was that MYFLT is double in
>>>>> csound code but float in SWIG, so something was certainly wrong
>>>>>
>>>>> Quoting Steven Yi :
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>>> (though the header is included for compilation).  Therefore, during
>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>>> it was some kind of object to generate a pointer for.
>>>>>>
>>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>>> to develop.
>>>>>>
>>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>>> from develop branch).
>>>>>>
>>>>>> Thanks!
>>>>>> steven
>>>>>>
>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>>
>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>>> this for API apps.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> steven
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>> available
>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>> Get unparalleled scalability from the best Selenium testing
>>>>> platform available
>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>> http://p.sf.net/sfu/SauceLabs
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>> Get unparalleled scalability from the best Selenium testing platform
>>>> available
>>>> Simple to use. Nothing to install. Get started now for free."
>>>> http://p.sf.net/sfu/SauceLabs
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing platform available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 21:16
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
Android, and Emscripten.

Thanks!
steven

On Mon, May 12, 2014 at 8:55 PM, Steven Yi  wrote:
> Okay, I've made the following change:
>
> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
> sysdep which is used in the cpp.
>
> 2. I added #include of float-version.h so that the other headers that
> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>
> 3. I added a macro guard to float-version.h.in to prevent double
> definitions of USE_DOUBLE.
>
> I am not seeing any redefinitions in the compile now, and I am getting
> MYFLT=double correctly (at least in the Java wrapper).
>
> Please pull the latest from hotfix/6.03.2 before builds.  I am going
> to rebuild OSX 10.9, android, iOS, and emscripten now.
>
> Thanks!
> steven
>
> On Mon, May 12, 2014 at 8:45 PM, Steven Yi  wrote:
>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>> we need to include float-version.h in some places, I'll reply again in
>> a few more minutes.
>>
>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi  wrote:
>>> That looks like a specific problem just to CsoundFile.hpp.  I think I
>>> see a fix.  I just uploaded four builds but I'll fix this and
>>> rebuild/reupload in a moment.
>>>
>>> Please hold off on builds for the next few minutes, thanks!
>>>
>>>
>>> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>>>> As I posted before
>>>>
>>>> ...skipping
>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>>>> de/csound.h:201:0,
>>>>                   from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>> ces/CsoundFile.cpp:30:
>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>>>> ning: "MYFLT" redefined [enabled by default]
>>>>   #    define MYFLT double
>>>>   ^
>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>> ces/CsoundFile.cpp:23:0:
>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>>>> 0: note: this is the location of the previous definition
>>>>   #define MYFLT float
>>>>   ^
>>>>
>>>>
>>>> Quoting Steven Yi :
>>>>
>>>>> I'm not seeing that here; all of the Java functions are generating as
>>>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>>>> Is it happening for all of the interfaces there for you?
>>>>>
>>>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>>>>> The problem that upset me originally was that MYFLT is double in
>>>>>> csound code but float in SWIG, so something was certainly wrong
>>>>>>
>>>>>> Quoting Steven Yi :
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>>>> (though the header is included for compilation).  Therefore, during
>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>>>> it was some kind of object to generate a pointer for.
>>>>>>>
>>>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>>>> to develop.
>>>>>>>
>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>>>> from develop branch).
>>>>>>>
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>>
>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>>>
>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>>>> this for API apps.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> steven
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>> available
>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>> Get unparalleled scalability from the best Selenium testing
>>>>>> platform available
>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>> available
>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>> http://p.sf.net/sfu/SauceLabs
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>> Get unparalleled scalability from the best Selenium testing platform available
>>>> Simple to use. Nothing to install. Get started now for free."
>>>> http://p.sf.net/sfu/SauceLabs
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 21:22
FromVictor Lazzarini
SubjectRe: [Cs-dev] Issue with Interfaces
I'm uploading OSX 10.6. I don't think I need to update the nacl build, as it was unaffected.
On 12 May 2014, at 21:16, Steven Yi wrote:

> I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
> Android, and Emscripten.
> 
> Thanks!
> steven
> 
> On Mon, May 12, 2014 at 8:55 PM, Steven Yi  wrote:
>> Okay, I've made the following change:
>> 
>> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
>> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
>> sysdep which is used in the cpp.
>> 
>> 2. I added #include of float-version.h so that the other headers that
>> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>> 
>> 3. I added a macro guard to float-version.h.in to prevent double
>> definitions of USE_DOUBLE.
>> 
>> I am not seeing any redefinitions in the compile now, and I am getting
>> MYFLT=double correctly (at least in the Java wrapper).
>> 
>> Please pull the latest from hotfix/6.03.2 before builds.  I am going
>> to rebuild OSX 10.9, android, iOS, and emscripten now.
>> 
>> Thanks!
>> steven
>> 
>> On Mon, May 12, 2014 at 8:45 PM, Steven Yi  wrote:
>>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>>> we need to include float-version.h in some places, I'll reply again in
>>> a few more minutes.
>>> 
>>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi  wrote:
>>>> That looks like a specific problem just to CsoundFile.hpp.  I think I
>>>> see a fix.  I just uploaded four builds but I'll fix this and
>>>> rebuild/reupload in a moment.
>>>> 
>>>> Please hold off on builds for the next few minutes, thanks!
>>>> 
>>>> 
>>>> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>>>>> As I posted before
>>>>> 
>>>>> ...skipping
>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>>>>> de/csound.h:201:0,
>>>>>                  from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>> ces/CsoundFile.cpp:30:
>>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>>>>> ning: "MYFLT" redefined [enabled by default]
>>>>>  #    define MYFLT double
>>>>>  ^
>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>> ces/CsoundFile.cpp:23:0:
>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>>>>> 0: note: this is the location of the previous definition
>>>>>  #define MYFLT float
>>>>>  ^
>>>>> 
>>>>> 
>>>>> Quoting Steven Yi :
>>>>> 
>>>>>> I'm not seeing that here; all of the Java functions are generating as
>>>>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>>>>> Is it happening for all of the interfaces there for you?
>>>>>> 
>>>>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>>>>>> The problem that upset me originally was that MYFLT is double in
>>>>>>> csound code but float in SWIG, so something was certainly wrong
>>>>>>> 
>>>>>>> Quoting Steven Yi :
>>>>>>> 
>>>>>>>> Hi All,
>>>>>>>> 
>>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>>>>> (though the header is included for compilation).  Therefore, during
>>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>>>>> it was some kind of object to generate a pointer for.
>>>>>>>> 
>>>>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>>>>> to develop.
>>>>>>>> 
>>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>>>>> from develop branch).
>>>>>>>> 
>>>>>>>> Thanks!
>>>>>>>> steven
>>>>>>>> 
>>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>>>>>> Hi All,
>>>>>>>>> 
>>>>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>>>> 
>>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>>>>> this for API apps.
>>>>>>>>> 
>>>>>>>>> Thanks,
>>>>>>>>> steven
>>>>>>>> 
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>>> available
>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>> Get unparalleled scalability from the best Selenium testing
>>>>>>> platform available
>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>> available
>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>> Get unparalleled scalability from the best Selenium testing platform available
>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>> http://p.sf.net/sfu/SauceLabs
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 21:24
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
Sounds good, thanks Victor!

On Mon, May 12, 2014 at 9:22 PM, Victor Lazzarini
 wrote:
> I'm uploading OSX 10.6. I don't think I need to update the nacl build, as it was unaffected.
> On 12 May 2014, at 21:16, Steven Yi wrote:
>
>> I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
>> Android, and Emscripten.
>>
>> Thanks!
>> steven
>>
>> On Mon, May 12, 2014 at 8:55 PM, Steven Yi  wrote:
>>> Okay, I've made the following change:
>>>
>>> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
>>> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
>>> sysdep which is used in the cpp.
>>>
>>> 2. I added #include of float-version.h so that the other headers that
>>> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>>>
>>> 3. I added a macro guard to float-version.h.in to prevent double
>>> definitions of USE_DOUBLE.
>>>
>>> I am not seeing any redefinitions in the compile now, and I am getting
>>> MYFLT=double correctly (at least in the Java wrapper).
>>>
>>> Please pull the latest from hotfix/6.03.2 before builds.  I am going
>>> to rebuild OSX 10.9, android, iOS, and emscripten now.
>>>
>>> Thanks!
>>> steven
>>>
>>> On Mon, May 12, 2014 at 8:45 PM, Steven Yi  wrote:
>>>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>>>> we need to include float-version.h in some places, I'll reply again in
>>>> a few more minutes.
>>>>
>>>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi  wrote:
>>>>> That looks like a specific problem just to CsoundFile.hpp.  I think I
>>>>> see a fix.  I just uploaded four builds but I'll fix this and
>>>>> rebuild/reupload in a moment.
>>>>>
>>>>> Please hold off on builds for the next few minutes, thanks!
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>>>>>> As I posted before
>>>>>>
>>>>>> ...skipping
>>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>>>>>> de/csound.h:201:0,
>>>>>>                  from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>>> ces/CsoundFile.cpp:30:
>>>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>>>>>> ning: "MYFLT" redefined [enabled by default]
>>>>>>  #    define MYFLT double
>>>>>>  ^
>>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>>> ces/CsoundFile.cpp:23:0:
>>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>>>>>> 0: note: this is the location of the previous definition
>>>>>>  #define MYFLT float
>>>>>>  ^
>>>>>>
>>>>>>
>>>>>> Quoting Steven Yi :
>>>>>>
>>>>>>> I'm not seeing that here; all of the Java functions are generating as
>>>>>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>>>>>> Is it happening for all of the interfaces there for you?
>>>>>>>
>>>>>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>>>>>>>> The problem that upset me originally was that MYFLT is double in
>>>>>>>> csound code but float in SWIG, so something was certainly wrong
>>>>>>>>
>>>>>>>> Quoting Steven Yi :
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>>>>>> (though the header is included for compilation).  Therefore, during
>>>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>>>>>> it was some kind of object to generate a pointer for.
>>>>>>>>>
>>>>>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>>>>>> to develop.
>>>>>>>>>
>>>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>>>>>> from develop branch).
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi  wrote:
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>>>>>
>>>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>>>>>> this for API apps.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>>>> available
>>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>>> Get unparalleled scalability from the best Selenium testing
>>>>>>>> platform available
>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>> available
>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>> Get unparalleled scalability from the best Selenium testing platform available
>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-12 23:03
FromAndres Cabrera
SubjectRe: [Cs-dev] Issue with Interfaces
AttachmentsNone  None  
Thanks. It's good to see that creating release packages is no longer too tedious :).

Cheers,
Andrés


On Mon, May 12, 2014 at 1:24 PM, Steven Yi <stevenyi@gmail.com> wrote:
Sounds good, thanks Victor!

On Mon, May 12, 2014 at 9:22 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I'm uploading OSX 10.6. I don't think I need to update the nacl build, as it was unaffected.
> On 12 May 2014, at 21:16, Steven Yi wrote:
>
>> I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
>> Android, and Emscripten.
>>
>> Thanks!
>> steven
>>
>> On Mon, May 12, 2014 at 8:55 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>> Okay, I've made the following change:
>>>
>>> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
>>> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
>>> sysdep which is used in the cpp.
>>>
>>> 2. I added #include of float-version.h so that the other headers that
>>> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>>>
>>> 3. I added a macro guard to float-version.h.in to prevent double
>>> definitions of USE_DOUBLE.
>>>
>>> I am not seeing any redefinitions in the compile now, and I am getting
>>> MYFLT=double correctly (at least in the Java wrapper).
>>>
>>> Please pull the latest from hotfix/6.03.2 before builds.  I am going
>>> to rebuild OSX 10.9, android, iOS, and emscripten now.
>>>
>>> Thanks!
>>> steven
>>>
>>> On Mon, May 12, 2014 at 8:45 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>>>> we need to include float-version.h in some places, I'll reply again in
>>>> a few more minutes.
>>>>
>>>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>> That looks like a specific problem just to CsoundFile.hpp.  I think I
>>>>> see a fix.  I just uploaded four builds but I'll fix this and
>>>>> rebuild/reupload in a moment.
>>>>>
>>>>> Please hold off on builds for the next few minutes, thanks!
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 8:26 PM,  <jpff@cs.bath.ac.uk> wrote:
>>>>>> As I posted before
>>>>>>
>>>>>> ...skipping
>>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/./inclu
>>>>>> de/csound.h:201:0,
>>>>>>                  from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>>> ces/CsoundFile.cpp:30:
>>>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0: war
>>>>>> ning: "MYFLT" redefined [enabled by default]
>>>>>>  #    define MYFLT double
>>>>>>  ^
>>>>>> In file included from /home/jpff/Sourceforge/csound/New/csound6/interfa
>>>>>> ces/CsoundFile.cpp:23:0:
>>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>>>>>> 0: note: this is the location of the previous definition
>>>>>>  #define MYFLT float
>>>>>>  ^
>>>>>>
>>>>>>
>>>>>> Quoting Steven Yi <stevenyi@gmail.com>:
>>>>>>
>>>>>>> I'm not seeing that here; all of the Java functions are generating as
>>>>>>> MYFLT=double in the build I just did, at least for the Java wrappers.
>>>>>>> Is it happening for all of the interfaces there for you?
>>>>>>>
>>>>>>> On Mon, May 12, 2014 at 8:00 PM,  <jpff@cs.bath.ac.uk> wrote:
>>>>>>>> The problem that upset me originally was that MYFLT is double in
>>>>>>>> csound code but float in SWIG, so something was certainly wrong
>>>>>>>>
>>>>>>>> Quoting Steven Yi <stevenyi@gmail.com>:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>>>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions were
>>>>>>>>> *not* extraneous in any way. They were there because when SWIG is
>>>>>>>>> used, the include of sysdep.h is not used during pre-processing
>>>>>>>>> (though the header is included for compilation).  Therefore, during
>>>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to think
>>>>>>>>> it was some kind of object to generate a pointer for.
>>>>>>>>>
>>>>>>>>> This was a mistake.  I have reverted that code change and pushed
>>>>>>>>> to develop.
>>>>>>>>>
>>>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?  I can
>>>>>>>>> setup a hotfix branch and cherry pick the change so that this would be
>>>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete work
>>>>>>>>> from develop branch).
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I've discovered there is an issue with the interfaces, at least for
>>>>>>>>>> the Java ones.  I am not sure if it was due to removing the MYFLT
>>>>>>>>>> definitions, but API methods that formerly get/set doubles are now
>>>>>>>>>> setting SWIGTYPE_p_MYFLT.
>>>>>>>>>>
>>>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to address
>>>>>>>>>> this for API apps.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>>>> available
>>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>>> Get unparalleled scalability from the best Selenium testing
>>>>>>>> platform available
>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>>> Get unparalleled scalability from the best Selenium testing platform
>>>>>>> available
>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>>>>> Get unparalleled scalability from the best Selenium testing platform available
>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-05-12 23:19
FromSteven Yi
SubjectRe: [Cs-dev] Issue with Interfaces
Well, it's still a slow affair to compile Csound from scratch for four
platforms and upload (30-45 minutes here).  But yes, most everything
is automated which is great. :)

On Mon, May 12, 2014 at 11:03 PM, Andres Cabrera  wrote:
> Thanks. It's good to see that creating release packages is no longer too
> tedious :).
>
> Cheers,
> Andrés
>
>
> On Mon, May 12, 2014 at 1:24 PM, Steven Yi  wrote:
>>
>> Sounds good, thanks Victor!
>>
>> On Mon, May 12, 2014 at 9:22 PM, Victor Lazzarini
>>  wrote:
>> > I'm uploading OSX 10.6. I don't think I need to update the nacl build,
>> > as it was unaffected.
>> > On 12 May 2014, at 21:16, Steven Yi wrote:
>> >
>> >> I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
>> >> Android, and Emscripten.
>> >>
>> >> Thanks!
>> >> steven
>> >>
>> >> On Mon, May 12, 2014 at 8:55 PM, Steven Yi  wrote:
>> >>> Okay, I've made the following change:
>> >>>
>> >>> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
>> >>> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
>> >>> sysdep which is used in the cpp.
>> >>>
>> >>> 2. I added #include of float-version.h so that the other headers that
>> >>> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>> >>>
>> >>> 3. I added a macro guard to float-version.h.in to prevent double
>> >>> definitions of USE_DOUBLE.
>> >>>
>> >>> I am not seeing any redefinitions in the compile now, and I am getting
>> >>> MYFLT=double correctly (at least in the Java wrapper).
>> >>>
>> >>> Please pull the latest from hotfix/6.03.2 before builds.  I am going
>> >>> to rebuild OSX 10.9, android, iOS, and emscripten now.
>> >>>
>> >>> Thanks!
>> >>> steven
>> >>>
>> >>> On Mon, May 12, 2014 at 8:45 PM, Steven Yi  wrote:
>> >>>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>> >>>> we need to include float-version.h in some places, I'll reply again
>> >>>> in
>> >>>> a few more minutes.
>> >>>>
>> >>>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi 
>> >>>> wrote:
>> >>>>> That looks like a specific problem just to CsoundFile.hpp.  I think
>> >>>>> I
>> >>>>> see a fix.  I just uploaded four builds but I'll fix this and
>> >>>>> rebuild/reupload in a moment.
>> >>>>>
>> >>>>> Please hold off on builds for the next few minutes, thanks!
>> >>>>>
>> >>>>>
>> >>>>> On Mon, May 12, 2014 at 8:26 PM,   wrote:
>> >>>>>> As I posted before
>> >>>>>>
>> >>>>>> ...skipping
>> >>>>>> In file included from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/./inclu
>> >>>>>> de/csound.h:201:0,
>> >>>>>>                  from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfa
>> >>>>>> ces/CsoundFile.cpp:30:
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0:
>> >>>>>> war
>> >>>>>> ning: "MYFLT" redefined [enabled by default]
>> >>>>>>  #    define MYFLT double
>> >>>>>>  ^
>> >>>>>> In file included from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfa
>> >>>>>> ces/CsoundFile.cpp:23:0:
>> >>>>>>
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>> >>>>>> 0: note: this is the location of the previous definition
>> >>>>>>  #define MYFLT float
>> >>>>>>  ^
>> >>>>>>
>> >>>>>>
>> >>>>>> Quoting Steven Yi :
>> >>>>>>
>> >>>>>>> I'm not seeing that here; all of the Java functions are generating
>> >>>>>>> as
>> >>>>>>> MYFLT=double in the build I just did, at least for the Java
>> >>>>>>> wrappers.
>> >>>>>>> Is it happening for all of the interfaces there for you?
>> >>>>>>>
>> >>>>>>> On Mon, May 12, 2014 at 8:00 PM,   wrote:
>> >>>>>>>> The problem that upset me originally was that MYFLT is double in
>> >>>>>>>> csound code but float in SWIG, so something was certainly wrong
>> >>>>>>>>
>> >>>>>>>> Quoting Steven Yi :
>> >>>>>>>>
>> >>>>>>>>> Hi All,
>> >>>>>>>>>
>> >>>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>> >>>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions
>> >>>>>>>>> were
>> >>>>>>>>> *not* extraneous in any way. They were there because when SWIG
>> >>>>>>>>> is
>> >>>>>>>>> used, the include of sysdep.h is not used during pre-processing
>> >>>>>>>>> (though the header is included for compilation).  Therefore,
>> >>>>>>>>> during
>> >>>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to
>> >>>>>>>>> think
>> >>>>>>>>> it was some kind of object to generate a pointer for.
>> >>>>>>>>>
>> >>>>>>>>> This was a mistake.  I have reverted that code change and pushed
>> >>>>>>>>> to develop.
>> >>>>>>>>>
>> >>>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?
>> >>>>>>>>> I can
>> >>>>>>>>> setup a hotfix branch and cherry pick the change so that this
>> >>>>>>>>> would be
>> >>>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete
>> >>>>>>>>> work
>> >>>>>>>>> from develop branch).
>> >>>>>>>>>
>> >>>>>>>>> Thanks!
>> >>>>>>>>> steven
>> >>>>>>>>>
>> >>>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi 
>> >>>>>>>>> wrote:
>> >>>>>>>>>> Hi All,
>> >>>>>>>>>>
>> >>>>>>>>>> I've discovered there is an issue with the interfaces, at least
>> >>>>>>>>>> for
>> >>>>>>>>>> the Java ones.  I am not sure if it was due to removing the
>> >>>>>>>>>> MYFLT
>> >>>>>>>>>> definitions, but API methods that formerly get/set doubles are
>> >>>>>>>>>> now
>> >>>>>>>>>> setting SWIGTYPE_p_MYFLT.
>> >>>>>>>>>>
>> >>>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to
>> >>>>>>>>>> address
>> >>>>>>>>>> this for API apps.
>> >>>>>>>>>>
>> >>>>>>>>>> Thanks,
>> >>>>>>>>>> steven
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> ------------------------------------------------------------------------------
>> >>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing -
>> >>>>>>>>> For FREE
>> >>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>>>> platform
>> >>>>>>>>> available
>> >>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>>>> _______________________________________________
>> >>>>>>>>> Csound-devel mailing list
>> >>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> ------------------------------------------------------------------------------
>> >>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>>>> FREE
>> >>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>>> platform available
>> >>>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>>> _______________________________________________
>> >>>>>>>> Csound-devel mailing list
>> >>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> ------------------------------------------------------------------------------
>> >>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>>> FREE
>> >>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>> platform
>> >>>>>>> available
>> >>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>> _______________________________________________
>> >>>>>>> Csound-devel mailing list
>> >>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>> FREE
>> >>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>> platform available
>> >>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> >> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >> Get unparalleled scalability from the best Selenium testing platform
>> >> available
>> >> Simple to use. Nothing to install. Get started now for free."
>> >> http://p.sf.net/sfu/SauceLabs
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> > Dr Victor Lazzarini
>> > Senior Lecturer
>> > Dept. of Music
>> > NUI Maynooth Ireland
>> > tel.: +353 1 708 3545
>> > Victor dot Lazzarini AT nuim dot ie
>> >
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> > Instantly run your Selenium tests across 300+ browser/OS combos.
>> > Get unparalleled scalability from the best Selenium testing platform
>> > available
>> > Simple to use. Nothing to install. Get started now for free."
>> > http://p.sf.net/sfu/SauceLabs
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-de

Date2014-05-12 23:59
FromAndres Cabrera
SubjectRe: [Cs-dev] Issue with Interfaces
AttachmentsNone  None  
Still a lot of work... You made it seem so simple :)

A


On Mon, May 12, 2014 at 3:19 PM, Steven Yi <stevenyi@gmail.com> wrote:
Well, it's still a slow affair to compile Csound from scratch for four
platforms and upload (30-45 minutes here).  But yes, most everything
is automated which is great. :)

On Mon, May 12, 2014 at 11:03 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
> Thanks. It's good to see that creating release packages is no longer too
> tedious :).
>
> Cheers,
> Andrés
>
>
> On Mon, May 12, 2014 at 1:24 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>
>> Sounds good, thanks Victor!
>>
>> On Mon, May 12, 2014 at 9:22 PM, Victor Lazzarini
>> <Victor.Lazzarini@nuim.ie> wrote:
>> > I'm uploading OSX 10.6. I don't think I need to update the nacl build,
>> > as it was unaffected.
>> > On 12 May 2014, at 21:16, Steven Yi wrote:
>> >
>> >> I've uploaded 6.03.2 builds for OSX 10.9 (made default for Mac), iOS,
>> >> Android, and Emscripten.
>> >>
>> >> Thanks!
>> >> steven
>> >>
>> >> On Mon, May 12, 2014 at 8:55 PM, Steven Yi <stevenyi@gmail.com> wrote:
>> >>> Okay, I've made the following change:
>> >>>
>> >>> 1. CsoundFile.hpp does not need any definition of MYFLT as it does not
>> >>> use MYFLT in the .hpp (so swig doesn't care), and it is defined in
>> >>> sysdep which is used in the cpp.
>> >>>
>> >>> 2. I added #include of float-version.h so that the other headers that
>> >>> do the definition of MYFLT will have the correct value for USE_DOUBLE.
>> >>>
>> >>> 3. I added a macro guard to float-version.h.in to prevent double
>> >>> definitions of USE_DOUBLE.
>> >>>
>> >>> I am not seeing any redefinitions in the compile now, and I am getting
>> >>> MYFLT=double correctly (at least in the Java wrapper).
>> >>>
>> >>> Please pull the latest from hotfix/6.03.2 before builds.  I am going
>> >>> to rebuild OSX 10.9, android, iOS, and emscripten now.
>> >>>
>> >>> Thanks!
>> >>> steven
>> >>>
>> >>> On Mon, May 12, 2014 at 8:45 PM, Steven Yi <stevenyi@gmail.com> wrote:
>> >>>> I think i have the CsoundFile.hpp fixed, but I am double checking if
>> >>>> we need to include float-version.h in some places, I'll reply again
>> >>>> in
>> >>>> a few more minutes.
>> >>>>
>> >>>> On Mon, May 12, 2014 at 8:35 PM, Steven Yi <stevenyi@gmail.com>
>> >>>> wrote:
>> >>>>> That looks like a specific problem just to CsoundFile.hpp.  I think
>> >>>>> I
>> >>>>> see a fix.  I just uploaded four builds but I'll fix this and
>> >>>>> rebuild/reupload in a moment.
>> >>>>>
>> >>>>> Please hold off on builds for the next few minutes, thanks!
>> >>>>>
>> >>>>>
>> >>>>> On Mon, May 12, 2014 at 8:26 PM,  <jpff@cs.bath.ac.uk> wrote:
>> >>>>>> As I posted before
>> >>>>>>
>> >>>>>> ...skipping
>> >>>>>> In file included from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/./inclu
>> >>>>>> de/csound.h:201:0,
>> >>>>>>                  from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfa
>> >>>>>> ces/CsoundFile.cpp:30:
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/./include/sysdep.h:189:0:
>> >>>>>> war
>> >>>>>> ning: "MYFLT" redefined [enabled by default]
>> >>>>>>  #    define MYFLT double
>> >>>>>>  ^
>> >>>>>> In file included from
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfa
>> >>>>>> ces/CsoundFile.cpp:23:0:
>> >>>>>>
>> >>>>>> /home/jpff/Sourceforge/csound/New/csound6/interfaces/CsoundFile.hpp:27:
>> >>>>>> 0: note: this is the location of the previous definition
>> >>>>>>  #define MYFLT float
>> >>>>>>  ^
>> >>>>>>
>> >>>>>>
>> >>>>>> Quoting Steven Yi <stevenyi@gmail.com>:
>> >>>>>>
>> >>>>>>> I'm not seeing that here; all of the Java functions are generating
>> >>>>>>> as
>> >>>>>>> MYFLT=double in the build I just did, at least for the Java
>> >>>>>>> wrappers.
>> >>>>>>> Is it happening for all of the interfaces there for you?
>> >>>>>>>
>> >>>>>>> On Mon, May 12, 2014 at 8:00 PM,  <jpff@cs.bath.ac.uk> wrote:
>> >>>>>>>> The problem that upset me originally was that MYFLT is double in
>> >>>>>>>> csound code but float in SWIG, so something was certainly wrong
>> >>>>>>>>
>> >>>>>>>> Quoting Steven Yi <stevenyi@gmail.com>:
>> >>>>>>>>
>> >>>>>>>>> Hi All,
>> >>>>>>>>>
>> >>>>>>>>> So I've determined that my commit to remove extraneous MYFLT
>> >>>>>>>>> definitions (in 6.03.1) was a mistake.  The MYFLT definitions
>> >>>>>>>>> were
>> >>>>>>>>> *not* extraneous in any way. They were there because when SWIG
>> >>>>>>>>> is
>> >>>>>>>>> used, the include of sysdep.h is not used during pre-processing
>> >>>>>>>>> (though the header is included for compilation).  Therefore,
>> >>>>>>>>> during
>> >>>>>>>>> preprocessing MYFLT wasn't getting defined and causing SWIG to
>> >>>>>>>>> think
>> >>>>>>>>> it was some kind of object to generate a pointer for.
>> >>>>>>>>>
>> >>>>>>>>> This was a mistake.  I have reverted that code change and pushed
>> >>>>>>>>> to develop.
>> >>>>>>>>>
>> >>>>>>>>> Question: Can we do a 6.03.2 release that would have this fix?
>> >>>>>>>>> I can
>> >>>>>>>>> setup a hotfix branch and cherry pick the change so that this
>> >>>>>>>>> would be
>> >>>>>>>>> the equivalent of 6.03.1 + one fix (and does not have incomplete
>> >>>>>>>>> work
>> >>>>>>>>> from develop branch).
>> >>>>>>>>>
>> >>>>>>>>> Thanks!
>> >>>>>>>>> steven
>> >>>>>>>>>
>> >>>>>>>>> On Mon, May 12, 2014 at 5:53 PM, Steven Yi <stevenyi@gmail.com>
>> >>>>>>>>> wrote:
>> >>>>>>>>>> Hi All,
>> >>>>>>>>>>
>> >>>>>>>>>> I've discovered there is an issue with the interfaces, at least
>> >>>>>>>>>> for
>> >>>>>>>>>> the Java ones.  I am not sure if it was due to removing the
>> >>>>>>>>>> MYFLT
>> >>>>>>>>>> definitions, but API methods that formerly get/set doubles are
>> >>>>>>>>>> now
>> >>>>>>>>>> setting SWIGTYPE_p_MYFLT.
>> >>>>>>>>>>
>> >>>>>>>>>> I'm looking into this now.  We may need to issue a 6.03.2 to
>> >>>>>>>>>> address
>> >>>>>>>>>> this for API apps.
>> >>>>>>>>>>
>> >>>>>>>>>> Thanks,
>> >>>>>>>>>> steven
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> ------------------------------------------------------------------------------
>> >>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing -
>> >>>>>>>>> For FREE
>> >>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>>>> platform
>> >>>>>>>>> available
>> >>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>>>> _______________________________________________
>> >>>>>>>>> Csound-devel mailing list
>> >>>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> ------------------------------------------------------------------------------
>> >>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>>>> FREE
>> >>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>>> platform available
>> >>>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>>> _______________________________________________
>> >>>>>>>> Csound-devel mailing list
>> >>>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> ------------------------------------------------------------------------------
>> >>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>>> FREE
>> >>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>>> platform
>> >>>>>>> available
>> >>>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>>> _______________________________________________
>> >>>>>>> Csound-devel mailing list
>> >>>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
>> >>>>>> FREE
>> >>>>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >>>>>> Get unparalleled scalability from the best Selenium testing
>> >>>>>> platform available
>> >>>>>> Simple to use. Nothing to install. Get started now for free."
>> >>>>>> http://p.sf.net/sfu/SauceLabs
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> >> Instantly run your Selenium tests across 300+ browser/OS combos.
>> >> Get unparalleled scalability from the best Selenium testing platform
>> >> available
>> >> Simple to use. Nothing to install. Get started now for free."
>> >> http://p.sf.net/sfu/SauceLabs
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> > Dr Victor Lazzarini
>> > Senior Lecturer
>> > Dept. of Music
>> > NUI Maynooth Ireland
>> > tel.: +353 1 708 3545
>> > Victor dot Lazzarini AT nuim dot ie
>> >
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> > Instantly run your Selenium tests across 300+ browser/OS combos.
>> > Get unparalleled scalability from the best Selenium testing platform
>> > available
>> > Simple to use. Nothing to install. Get started now for free."
>> > http://p.sf.net/sfu/SauceLabs
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel