Pen primitives additions

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Pen primitives additions

by thelych :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If some are interested in it...
here are some primitive additions to Pen (more bonus-like than really  
important (and os x only) but i remember some requested at least a  
curve primitive)

so mainly i added

- native bezier curves primitive (curveTo, quadCurveTo)
- shadows
- gradients (axial, radial)
- dash line patterns ...ect... and some more






attached diff if one needs it or wants it, just help yourself... :)
not tested on PPC but seems ok on Intel although not intensively  
tested...

it updates :
GUIPrimitives.M
Pen.sc
Pen.html


best,
charles

PenAdditions.diff (297K) Download Attachment

Re: Pen primitives additions

by Fredrik Olofsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

looks very interesting but it fails to build here on my macbook pro  
2.16ghz, osx.4.11
_f


CompileC "Intermediate Build Files/Language.build/SuperCollider.build/
Objects-normal/ppc/GUIPrimitives.o" /Applications/SuperCollider3/
Source/app/GUIPrimitives.M normal ppc objective-c++  
com.apple.compilers.gcc.4_0
     cd /Applications/SuperCollider3
     /usr/bin/gcc-4.0 -x objective-c++ -arch ppc -pipe -Wno-trigraphs  
-fobjc-exceptions -fpascal-strings -fasm-blocks -Os -fmessage-
length=0 -funroll-loops -mtune=G4 -ftree-vectorize -
fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-
min=10.4 -I/Applications/SuperCollider3/Intermediate\ Build\ Files/
Language.build/SuperCollider.build/SuperCollider.hmap -mdynamic-no-
pic -F/Applications/SuperCollider3/build -F/Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks -F/Applications/SuperCollider3/build -I/
Applications/SuperCollider3/build/include -I/Applications/
SuperCollider3/Intermediate\ Build\ Files/Language.build/
SuperCollider.build/DerivedSources -DSC_DARWIN -Wstrict-aliasing -
isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Applications/
SuperCollider3/Source/app/GUIPrimitives.M -o /Applications/
SuperCollider3/Intermediate\ Build\ Files/Language.build/
SuperCollider.build/Objects-normal/ppc/GUIPrimitives.o
/Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
'int prPen_BeginTransparencyLayer(VMGlobals*, int)':
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
'struct CGRect' has no member named 'width'
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
'struct CGRect' has no member named 'height'
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2834: error:  
'CGContextBeginTransparencyLayerWithRect' was not declared in this scope
/Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
'void stringBounds(char*, int, Rect&)':
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:540)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:540)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:513)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:513)

CompileC "Intermediate Build Files/Language.build/SuperCollider.build/
Objects-normal/i386/GUIPrimitives.o" /Applications/SuperCollider3/
Source/app/GUIPrimitives.M normal i386 objective-c++  
com.apple.compilers.gcc.4_0
     cd /Applications/SuperCollider3
     /usr/bin/gcc-4.0 -x objective-c++ -arch i386 -pipe -Wno-
trigraphs -fobjc-exceptions -fpascal-strings -fasm-blocks -Os -
fmessage-length=0 -funroll-loops -ftree-vectorize -msse3 -
fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-
min=10.4 -I/Applications/SuperCollider3/Intermediate\ Build\ Files/
Language.build/SuperCollider.build/SuperCollider.hmap -mdynamic-no-
pic -F/Applications/SuperCollider3/build -F/Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/
Versions/A/Frameworks -F/Applications/SuperCollider3/build -I/
Applications/SuperCollider3/build/include -I/Applications/
SuperCollider3/Intermediate\ Build\ Files/Language.build/
SuperCollider.build/DerivedSources -DSC_DARWIN -Wstrict-aliasing -
isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Applications/
SuperCollider3/Source/app/GUIPrimitives.M -o /Applications/
SuperCollider3/Intermediate\ Build\ Files/Language.build/
SuperCollider.build/Objects-normal/i386/GUIPrimitives.o
/Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
'int prPen_BeginTransparencyLayer(VMGlobals*, int)':
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
'struct CGRect' has no member named 'width'
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
'struct CGRect' has no member named 'height'
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:2834: error:  
'CGContextBeginTransparencyLayerWithRect' was not declared in this scope
/Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
'void stringBounds(char*, int, Rect&)':
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:540)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:540)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:513)
/Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/
QuickdrawText.h:513)
** BUILD FAILED **



21 jul 2008 kl. 22.25 skrev thelych@...:

> If some are interested in it...
> here are some primitive additions to Pen (more bonus-like than  
> really important (and os x only) but i remember some requested at  
> least a curve primitive)
>
> so mainly i added
>
> - native bezier curves primitive (curveTo, quadCurveTo)
> - shadows
> - gradients (axial, radial)
> - dash line patterns ...ect... and some more
>
> <PenAdditions.diff>
>
>
> attached diff if one needs it or wants it, just help yourself... :)
> not tested on PPC but seems ok on Intel although not intensively  
> tested...
>
> it updates :
> GUIPrimitives.M
> Pen.sc
> Pen.html
>
>
> best,
> charles


   #|
      fredrikolofsson.com     klippav.org     musicalfieldsforever.com
   |#


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by thelych :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fredrik,

the -mmacosx-version-min is fine so i don't really understand why the  
macro switch as if you had 10.5
but thanks for pointing me the CGRect problem with this configuration !

i put a new diff file for the all thing here and deactivate for now  
the specific 10.5 function call, i will fix later this macro thing. :)

http://www.lpaudiolab.com/cpicasso/proj/sc/PenAdditions.diff

this should build fine...

tell me if it is ok

thx

best
charles


> looks very interesting but it fails to build here on my macbook pro  
> 2.16ghz, osx.4.11
> _f



>
>
>
> CompileC "Intermediate Build Files/Language.build/
> SuperCollider.build/Objects-normal/ppc/GUIPrimitives.o" /
> Applications/SuperCollider3/Source/app/GUIPrimitives.M normal ppc  
> objective-c++ com.apple.compilers.gcc.4_0
>    cd /Applications/SuperCollider3
>    /usr/bin/gcc-4.0 -x objective-c++ -arch ppc -pipe -Wno-trigraphs -
> fobjc-exceptions -fpascal-strings -fasm-blocks -Os -fmessage-
> length=0 -funroll-loops -mtune=G4 -ftree-vectorize -
> fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-
> min=10.4 -I/Applications/SuperCollider3/Intermediate\ Build\ Files/
> Language.build/SuperCollider.build/SuperCollider.hmap -mdynamic-no-
> pic -F/Applications/SuperCollider3/build -F/Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/
> Versions/A/Frameworks -F/Applications/SuperCollider3/build -I/
> Applications/SuperCollider3/build/include -I/Applications/
> SuperCollider3/Intermediate\ Build\ Files/Language.build/
> SuperCollider.build/DerivedSources -DSC_DARWIN -Wstrict-aliasing -
> isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Applications/
> SuperCollider3/Source/app/GUIPrimitives.M -o /Applications/
> SuperCollider3/Intermediate\ Build\ Files/Language.build/
> SuperCollider.build/Objects-normal/ppc/GUIPrimitives.o
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
> 'int prPen_BeginTransparencyLayer(VMGlobals*, int)':
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
> 'struct CGRect' has no member named 'width'
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
> 'struct CGRect' has no member named 'height'
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2834: error:  
> 'CGContextBeginTransparencyLayerWithRect' was not declared in this  
> scope
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
> 'void stringBounds(char*, int, Rect&)':
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
> warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:540)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
> warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:540)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
> warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:513)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
> warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:513)
>
> CompileC "Intermediate Build Files/Language.build/
> SuperCollider.build/Objects-normal/i386/GUIPrimitives.o" /
> Applications/SuperCollider3/Source/app/GUIPrimitives.M normal i386  
> objective-c++ com.apple.compilers.gcc.4_0
>    cd /Applications/SuperCollider3
>    /usr/bin/gcc-4.0 -x objective-c++ -arch i386 -pipe -Wno-trigraphs  
> -fobjc-exceptions -fpascal-strings -fasm-blocks -Os -fmessage-
> length=0 -funroll-loops -ftree-vectorize -msse3 -fvisibility=hidden -
> fvisibility-inlines-hidden -mmacosx-version-min=10.4 -I/Applications/
> SuperCollider3/Intermediate\ Build\ Files/Language.build/
> SuperCollider.build/SuperCollider.hmap -mdynamic-no-pic -F/
> Applications/SuperCollider3/build -F/Developer/SDKs/MacOSX10.4u.sdk/
> System/Library/Frameworks/CoreServices.framework/Versions/A/
> Frameworks -F/Applications/SuperCollider3/build -I/Applications/
> SuperCollider3/build/include -I/Applications/SuperCollider3/
> Intermediate\ Build\ Files/Language.build/SuperCollider.build/
> DerivedSources -DSC_DARWIN -Wstrict-aliasing -isysroot /Developer/
> SDKs/MacOSX10.4u.sdk -c /Applications/SuperCollider3/Source/app/
> GUIPrimitives.M -o /Applications/SuperCollider3/Intermediate\ Build\  
> Files/Language.build/SuperCollider.build/Objects-normal/i386/
> GUIPrimitives.o
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
> 'int prPen_BeginTransparencyLayer(VMGlobals*, int)':
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
> 'struct CGRect' has no member named 'width'
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2831: error:  
> 'struct CGRect' has no member named 'height'
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:2834: error:  
> 'CGContextBeginTransparencyLayerWithRect' was not declared in this  
> scope
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M: In function  
> 'void stringBounds(char*, int, Rect&)':
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
> warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:540)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3463:  
> warning: 'GetFontInfo' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:540)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
> warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:513)
> /Applications/SuperCollider3/Source/app/GUIPrimitives.M:3465:  
> warning: 'TextWidth' is deprecated (declared at /Developer/SDKs/
> MacOSX10.4u.sdk/System/Library/Frameworks/
> ApplicationServices.framework/Frameworks/QD.framework/Headers/
> QuickdrawText.h:513)
> ** BUILD FAILED **
>
>
>
> 21 jul 2008 kl. 22.25 skrev thelych@...:
>
>> If some are interested in it...
>> here are some primitive additions to Pen (more bonus-like than  
>> really important (and os x only) but i remember some requested at  
>> least a curve primitive)
>>
>> so mainly i added
>>
>> - native bezier curves primitive (curveTo, quadCurveTo)
>> - shadows
>> - gradients (axial, radial)
>> - dash line patterns ...ect... and some more
>>
>> <PenAdditions.diff>
>>
>>
>> attached diff if one needs it or wants it, just help yourself... :)
>> not tested on PPC but seems ok on Intel although not intensively  
>> tested...
>>
>> it updates :
>> GUIPrimitives.M
>> Pen.sc
>> Pen.html
>>
>>
>> best,
>> charles
>
>
>  #|
>     fredrikolofsson.com     klippav.org     musicalfieldsforever.com
>  |#
>
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by Fredrik Olofsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

very nice!  works.  i'd be happy to have this in the distro.
although you use clipRect in the pen helpfile example.  is this your  
own private method?
_f

22 jul 2008 kl. 19.55 skrev thelych@...:

> Hi Fredrik,
>
> the -mmacosx-version-min is fine so i don't really understand why  
> the macro switch as if you had 10.5
> but thanks for pointing me the CGRect problem with this  
> configuration !
>
> i put a new diff file for the all thing here and deactivate for now  
> the specific 10.5 function call, i will fix later this macro thing. :)
>
> http://www.lpaudiolab.com/cpicasso/proj/sc/PenAdditions.diff
>
> this should build fine...
>
> tell me if it is ok
>
> thx
>
> best
> charles


   #|
      fredrikolofsson.com     klippav.org     musicalfieldsforever.com
   |#


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by thelych :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Fredrik,

glad you like it :)

very nice!  works.  i'd be happy to have this in the distro.
although you use clipRect in the pen helpfile example.  is this your own private method?
_f

oh yes.... pretty bad mistake because you do not need really this line to make the example work, i forgot to erase it ! 
That should be corrected for sure.

in case you want the method :)

*clipRect {
|argRect|
this.addRect(argRect);
this.clip;
}

but i think you can erase simply erase this line in the setLineDash example.

best
charles



22 jul 2008 kl. 19.55 skrev thelych@...:

Hi Fredrik,

the -mmacosx-version-min is fine so i don't really understand why the macro switch as if you had 10.5
but thanks for pointing me the CGRect problem with this configuration !

i put a new diff file for the all thing here and deactivate for now the specific 10.5 function call, i will fix later this macro thing. :)

http://www.lpaudiolab.com/cpicasso/proj/sc/PenAdditions.diff

this should build fine...

tell me if it is ok

thx

best
charles


 #|
    fredrikolofsson.com     klippav.org     musicalfieldsforever.com
 |#


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/


Re: Pen primitives additions

by thor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Please put it in the distro!
I don't know how to apply this patch.

(there was a mail on that once, but searching for "patch" in the  
archives gives lots of
other results : )



On 22 Jul 2008, at 13:14, Fredrik Olofsson wrote:

> very nice!  works.  i'd be happy to have this in the distro.
> although you use clipRect in the pen helpfile example.  is this  
> your own private method?
> _f
>
> 22 jul 2008 kl. 19.55 skrev thelych@...:
>
>> Hi Fredrik,
>>
>> the -mmacosx-version-min is fine so i don't really understand why  
>> the macro switch as if you had 10.5
>> but thanks for pointing me the CGRect problem with this  
>> configuration !
>>
>> i put a new diff file for the all thing here and deactivate for  
>> now the specific 10.5 function call, i will fix later this macro  
>> thing. :)
>>
>> http://www.lpaudiolab.com/cpicasso/proj/sc/PenAdditions.diff
>>
>> this should build fine...
>>
>> tell me if it is ok
>>
>> thx
>>
>> best
>> charles
>
>
>   #|
>      fredrikolofsson.com     klippav.org     musicalfieldsforever.com
>   |#
>
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/ 
> MusicTechnology/880
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by nescivi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 22 July 2008 10:49:21 thor wrote:
> Please put it in the distro!
> I don't know how to apply this patch.
>
> (there was a mail on that once, but searching for "patch" in the
> archives gives lots of
> other results : )

open a terminal
and type
man patch

sincerely,
Marije

_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by Fredrik Olofsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

even though many of us would like to see these additions included in  
the distribution, i think sciss should have a say.  better to keep  
swing and cocoa in sync than to add new features.
but at least curveTo and quadCurveTo shouldn't be a problem as JPen  
already have these two implemented.  and from what i could see (after  
a few simple tests), they are identical to charles' osx implementation.


(
mail about patch and diff by felix...
http://www.listarc.bham.ac.uk/lists/sc-dev/msg02809.html
and now also under swiki/supercollider/developingSC/faq/
http://swiki.hfbk-hamburg.de:8888/MusicTechnology/884
)


23 jul 2008 kl. 00.29 skrev nescivi:

> On Tuesday 22 July 2008 10:49:21 thor wrote:
>> Please put it in the distro!
>> I don't know how to apply this patch.
>>
>> (there was a mail on that once, but searching for "patch" in the
>> archives gives lots of
>> other results : )
>
> open a terminal
> and type
> man patch
>
> sincerely,
> Marije


   #|
      fredrikolofsson.com     klippav.org     musicalfieldsforever.com
   |#


_______________________________________________
sc-dev mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Re: Pen primitives additions

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 22, 2008, at 9:51 PM, Fredrik Olofsson wrote:

even though many of us would like to see these additions included in the distribution, i think sciss should have a say.  better to keep swing and cocoa in sync than to add new features.

Yes yes yes -- these should be added as feature requests to the swingosc project at SF.

We really need to find one or two folks who know java to add these swing features -- currently every GUI enhancement on OSX means more pressure for sciss, which is not a good situation.

hjh


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



Re: Pen primitives additions

by thor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I understand that cross-platform support is good. No doubt.

However, in the current situation with many GUI servers, there will be
no progress or development if every addition has to be supported immediately
on all GUI platforms. 

I suggest that this little addition (a few methods to Pen) should be included in
the source and then we file a feature request for SwingOSC to support it.

There are things that only work on Cocoa anyway:
- Quarts Composer view
- focusColor_
- Pen Tablet
- and lots more that I can't remember right now (I stumbled into quite a few of them)

And lets not forget all the great stuff that SwingOSC gives us that is not supported
in Cocoa.

Pardon me if I'm not seeing some obvious argument against what I'm saying
but this is how I think we can get anywhere with SuperCollider.



On 23 Jul 2008, at 03:03, James Harkins wrote:

On Jul 22, 2008, at 9:51 PM, Fredrik Olofsson wrote:

even though many of us would like to see these additions included in the distribution, i think sciss should have a say.  better to keep swing and cocoa in sync than to add new features.

Yes yes yes -- these should be added as feature requests to the swingosc project at SF.

We really need to find one or two folks who know java to add these swing features -- currently every GUI enhancement on OSX means more pressure for sciss, which is not a good situation.

hjh


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman



Re: Pen primitives additions

by Scott Wilson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, a related point is that with real releases, we have time for cross-platform things to catch up if need be.

In the meantime code can be tested by us bleeding edge types.

That said, I have a lot of sympathy for Sciss (and Marije, and Chris...)

S.

On 23 Jul 2008, at 11:16, thor wrote:


I understand that cross-platform support is good. No doubt.

However, in the current situation with many GUI servers, there will be
no progress or development if every addition has to be supported immediately
on all GUI platforms. 

I suggest that this little addition (a few methods to Pen) should be included in
the source and then we file a feature request for SwingOSC to support it.

There are things that only work on Cocoa anyway:
- Quarts Composer view
- focusColor_
- Pen Tablet
- and lots more that I can't remember right now (I stumbled into quite a few of them)

And lets not forget all the great stuff that SwingOSC gives us that is not supported
in Cocoa.

Pardon me if I'm not seeing some obvious argument against what I'm saying
but this is how I think we can get anywhere with SuperCollider.



On 23 Jul 2008, at 03:03, James Harkins wrote:

On Jul 22, 2008, at 9:51 PM, Fredrik Olofsson wrote:

even though many of us would like to see these additions included in the distribution, i think sciss should have a say.  better to keep swing and cocoa in sync than to add new features.

Yes yes yes -- these should be added as feature requests to the swingosc project at SF.

We really need to find one or two folks who know java to add these swing features -- currently every GUI enhancement on OSX means more pressure for sciss, which is not a good situation.

hjh


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman




Re: Pen primitives additions

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That said, I have a lot of sympathy for Sciss (and Marije, and Chris...)

(***Please note***: me too.)


We can add to Thor's list Document and the help file system. 
More, I can report here after having examined 10/15 students.
I had two osxers (no troubles at all), and a really smart guy on linux (some -solved- troubles, but it's a peculiar case as he made some eccentric stuff with JCollider).
The other were on win. They *all* reported troubles with 3.2 Psycollider (I haven't asked by myself, they spontaneously felt the need to inform the teacher...).
Many told me that they were never able to close cleanly a session.
They were on different os (mainly xp, but also vista, 2003 server), but same experience.

In general, the osx experience is still a much more pleasant than the win one.

It can be just a fact.
But if cross platform is relevant, this is a big issue.

I know I can't help, so shame on me, but the idea of a e.g. Qt based unified IDE is a great one (like in PD).
It wouldn't prevent specific IDE "flavors" (Cocoa, Swing etc)

-a-





S.

On 23 Jul 2008, at 11:16, thor wrote:


I understand that cross-platform support is good. No doubt.

However, in the current situation with many GUI servers, there will be
no progress or development if every addition has to be supported immediately
on all GUI platforms. 

I suggest that this little addition (a few methods to Pen) should be included in
the source and then we file a feature request for SwingOSC to support it.

There are things that only work on Cocoa anyway:
- Quarts Composer view
- focusColor_
- Pen Tablet
- and lots more that I can't remember right now (I stumbled into quite a few of them)

And lets not forget all the great stuff that SwingOSC gives us that is not supported
in Cocoa.

Pardon me if I'm not seeing some obvious argument against what I'm saying
but this is how I think we can get anywhere with SuperCollider.



On 23 Jul 2008, at 03:03, James Harkins wrote:

On Jul 22, 2008, at 9:51 PM, Fredrik Olofsson wrote:

even though many of us would like to see these additions included in the distribution, i think sciss should have a say.  better to keep swing and cocoa in sync than to add new features.

Yes yes yes -- these should be added as feature requests to the swingosc project at SF.

We really need to find one or two folks who know java to add these swing features -- currently every GUI enhancement on OSX means more pressure for sciss, which is not a good situation.

hjh


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman




--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






Re: Pen primitives additions

by thor-2 :: Rate this Message:

Reply to Author