lists@iem
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
List overview
Download
Pd-cvs
July 2007
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
pd-cvs@lists.iem.at
20 participants
623 discussions
Start a n
N
ew thread
pd/extra/fiddle~ makefile,1.6.8.2,1.6.8.2.2.1
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/extra/fiddle~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23253 Modified Files: Tag: desiredata makefile Log Message: switch to using common makefile Index: makefile =================================================================== RCS file: /cvsroot/pure-data/pd/extra/fiddle~/makefile,v retrieving revision 1.6.8.2 retrieving revision 1.6.8.2.2.1 diff -C2 -d -r1.6.8.2 -r1.6.8.2.2.1 *** makefile 16 Jul 2005 16:21:09 -0000 1.6.8.2 ---
…
[View More]
makefile 30 Jul 2007 04:41:09 -0000 1.6.8.2.2.1 *************** *** 2,92 **** CSYM=fiddle_tilde ! current: pd_linux ! ! # ----------------------- NT ----------------------- ! ! pd_nt: $(NAME).dll ! ! .SUFFIXES: .dll ! ! PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo ! VC="C:\Program Files\Microsoft Visual Studio\Vc98" ! ! PDNTINCLUDE = /I. /I..\..\src /I$(VC)\include ! ! PDNTLDIR = $(VC)\lib ! PDNTLIB = $(PDNTLDIR)\libc.lib \ ! $(PDNTLDIR)\oldnames.lib \ ! $(PDNTLDIR)\kernel32.lib \ ! ..\..\bin\pd.lib ! ! .c.dll: ! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c ! link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB) ! ! # ----------------------- IRIX 5.x ----------------------- ! ! pd_irix5: $(NAME).pd_irix5 ! ! .SUFFIXES: .pd_irix5 ! ! SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2 ! ! SGIINCLUDE = -I../../src ! ! .c.pd_irix5: ! $(CC) $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o ! rm $*.o ! ! # ----------------------- IRIX 6.x ----------------------- ! ! pd_irix6: $(NAME).pd_irix6 ! ! .SUFFIXES: .pd_irix6 ! ! SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ ! -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ ! -Ofast=ip32 ! ! .c.pd_irix6: ! $(CC) $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o ! rm $*.o ! ! # ----------------------- LINUX i386 ----------------------- ! ! pd_linux: $(NAME).pd_linux ! ! .SUFFIXES: .pd_linux ! ! LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \ ! -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) ! ! LINUXINCLUDE = -I../../src ! ! .c.pd_linux: ! $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm ! strip --strip-unneeded $*.pd_linux ! rm -f $*.o ! ! # ----------------------- Mac OSX ----------------------- ! ! pd_darwin: $(NAME).pd_darwin ! ! .SUFFIXES: .pd_darwin ! ! DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch ! ! .c.pd_darwin: ! $(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! $(CC) -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o ! rm -f $*.o ! ! # ---------------------------------------------------------- ! ! clean: ! rm -f *.o *.pd_* so_locations --- 2,4 ---- CSYM=fiddle_tilde ! include ../makefile
[View Less]
1
0
0
0
pd/extra/choice makefile,1.2.8.2,1.2.8.2.2.1
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/extra/choice In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23139 Modified Files: Tag: desiredata makefile Log Message: switch to using common makefile Index: makefile =================================================================== RCS file: /cvsroot/pure-data/pd/extra/choice/makefile,v retrieving revision 1.2.8.2 retrieving revision 1.2.8.2.2.1 diff -C2 -d -r1.2.8.2 -r1.2.8.2.2.1 *** makefile 16 Jul 2005 16:20:58 -0000 1.2.8.2 --- makefile
…
[View More]
30 Jul 2007 04:40:19 -0000 1.2.8.2.2.1 *************** *** 2,92 **** CSYM=choice ! current: pd_linux ! ! # ----------------------- NT ----------------------- ! ! pd_nt: $(NAME).dll ! ! .SUFFIXES: .dll ! ! PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo ! VC="C:\Program Files\Microsoft Visual Studio\Vc98" ! ! PDNTINCLUDE = /I. /I..\..\src /I$(VC)\include ! ! PDNTLDIR = $(VC)\lib ! PDNTLIB = $(PDNTLDIR)\libc.lib \ ! $(PDNTLDIR)\oldnames.lib \ ! $(PDNTLDIR)\kernel32.lib \ ! ..\..\bin\pd.lib ! ! .c.dll: ! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c ! link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB) ! ! # ----------------------- IRIX 5.x ----------------------- ! ! pd_irix5: $(NAME).pd_irix5 ! ! .SUFFIXES: .pd_irix5 ! ! SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2 ! ! SGIINCLUDE = -I../../src ! ! .c.pd_irix5: ! $(CC) $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o ! rm $*.o ! ! # ----------------------- IRIX 6.x ----------------------- ! ! pd_irix6: $(NAME).pd_irix6 ! ! .SUFFIXES: .pd_irix6 ! ! SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ ! -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ ! -Ofast=ip32 ! ! .c.pd_irix6: ! $(CC) $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o ! rm $*.o ! ! # ----------------------- LINUX i386 ----------------------- ! ! pd_linux: $(NAME).pd_linux ! ! .SUFFIXES: .pd_linux ! ! LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \ ! -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) ! ! LINUXINCLUDE = -I../../src ! ! .c.pd_linux: ! $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm ! strip --strip-unneeded $*.pd_linux ! rm -f $*.o ! ! # ----------------------- Mac OSX ----------------------- ! ! pd_darwin: $(NAME).pd_darwin ! ! .SUFFIXES: .pd_darwin ! ! DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch ! ! .c.pd_darwin: ! $(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! $(CC) -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o ! rm -f $*.o ! ! # ---------------------------------------------------------- ! ! clean: ! rm -f *.o *.pd_* so_locations --- 2,4 ---- CSYM=choice ! include ../makefile
[View Less]
1
0
0
0
pd/extra/bonk~ makefile,1.6.8.2,1.6.8.2.2.1
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/extra/bonk~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21254 Modified Files: Tag: desiredata makefile Log Message: switch to using common makefile Index: makefile =================================================================== RCS file: /cvsroot/pure-data/pd/extra/bonk~/makefile,v retrieving revision 1.6.8.2 retrieving revision 1.6.8.2.2.1 diff -C2 -d -r1.6.8.2 -r1.6.8.2.2.1 *** makefile 16 Jul 2005 16:20:57 -0000 1.6.8.2 --- makefile 30
…
[View More]
Jul 2007 04:35:59 -0000 1.6.8.2.2.1 *************** *** 2,92 **** CSYM=bonk_tilde ! current: pd_linux ! ! # ----------------------- NT ----------------------- ! ! pd_nt: $(NAME).dll ! ! .SUFFIXES: .dll ! ! PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo ! VC="C:\Program Files\Microsoft Visual Studio\Vc98" ! ! PDNTINCLUDE = /I. /I..\..\src /I$(VC)\include ! ! PDNTLDIR = $(VC)\lib ! PDNTLIB = $(PDNTLDIR)\libc.lib \ ! $(PDNTLDIR)\oldnames.lib \ ! $(PDNTLDIR)\kernel32.lib \ ! ..\..\bin\pd.lib ! ! .c.dll: ! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c ! link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB) ! ! # ----------------------- IRIX 5.x ----------------------- ! ! pd_irix5: $(NAME).pd_irix5 ! ! .SUFFIXES: .pd_irix5 ! ! SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2 ! ! SGIINCLUDE = -I../../src ! ! .c.pd_irix5: ! $(CC) $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o ! rm $*.o ! ! # ----------------------- IRIX 6.x ----------------------- ! ! pd_irix6: $(NAME).pd_irix6 ! ! .SUFFIXES: .pd_irix6 ! ! SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ ! -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ ! -Ofast=ip32 ! ! .c.pd_irix6: ! $(CC) $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c ! ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o ! rm $*.o ! ! # ----------------------- LINUX i386 ----------------------- ! ! pd_linux: $(NAME).pd_linux ! ! .SUFFIXES: .pd_linux ! ! LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \ ! -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) ! ! LINUXINCLUDE = -I../../src ! ! .c.pd_linux: ! $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm ! strip --strip-unneeded $*.pd_linux ! rm -f $*.o ! ! # ----------------------- Mac OSX ----------------------- ! ! pd_darwin: $(NAME).pd_darwin ! ! .SUFFIXES: .pd_darwin ! ! DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch ! ! .c.pd_darwin: ! $(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! $(CC) -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o ! rm -f $*.o ! ! # ---------------------------------------------------------- ! ! clean: ! rm -f *.o *.pd_* so_locations --- 2,4 ---- CSYM=bonk_tilde ! include ../makefile
[View Less]
1
0
0
0
pd/src desire.tk,1.1.2.600.2.250,1.1.2.600.2.251
by chunlee
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20843 Modified Files: Tag: desiredata desire.tk Log Message: click_runmode fix for AtomBox Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.600.2.250 retrieving revision 1.1.2.600.2.251 diff -C2 -d -r1.1.2.600.2.250 -r1.1.2.600.2.251 *** desire.tk 30 Jul 2007 03:35:17 -0000 1.1.2.
…
[View More]
600.2.250 --- desire.tk 30 Jul 2007 04:35:07 -0000 1.1.2.600.2.251 *************** *** 3984,3987 **** --- 3984,3988 ---- def Canvas click_runmode {id x y f target} { + if {$@focus != ""} {if {[[$@focus class] <= TextBox]} {$@focus unedit}} if {[llength $id]} { if {[$id class] != "Canvas"} {
[View Less]
1
0
0
0
pd/src builtins.c,1.1.2.50,1.1.2.51
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16722 Modified Files: Tag: desiredata builtins.c Log Message: [unpack] checks types f s p again; also added e meaning any atom. ("e" stands for "element" because "a" is reserved for the real "anything") Index: builtins.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/builtins.c,v retrieving revision 1.1.2.50 retrieving revision 1.1.2.
…
[View More]
51 diff -C2 -d -r1.1.2.50 -r1.1.2.51 *** builtins.c 30 Jul 2007 03:02:44 -0000 1.1.2.50 --- builtins.c 30 Jul 2007 04:26:01 -0000 1.1.2.51 *************** *** 1508,1512 **** --- 1508,1524 ---- t_int n; t_outlet **vec; + char *vat; }; + + static t_atomtype atomtype_from_letter(char c) { + switch (c) { + case 'e': return A_ATOM; + case 'f': return A_FLOAT; + case 's': return A_SYMBOL; + case 'p': return A_POINTER; + default: return A_CANT; + } + } + static void *unpack_new(t_symbol *s, int argc, t_atom *argv) { t_unpack *x = (t_unpack *)pd_new(unpack_class); *************** *** 1520,1540 **** x->n = argc; x->vec = (t_outlet **)getbytes(argc * sizeof(*x->vec)); ! t_outlet **u = x->vec; t_atom *ap=argv; ! for (int i=0; i < argc; ap++, i++) u[i] = outlet_new(x,0); return x; } static void unpack_list(t_unpack *x, t_symbol *s, int argc, t_atom *argv) { if (argc > x->n) argc = x->n; ! for (int i=argc-1; i>=0; i--) outlet_atom(x->vec[i],&argv[i]); } static void unpack_anything(t_unpack *x, t_symbol *s, int ac, t_atom *av) { ! t_atom *av2 = (t_atom *)getbytes((ac + 1) * sizeof(t_atom)); ! for (int i = 0; i < ac; i++) av2[i + 1] = av[i]; SETSYMBOL(av2, s); unpack_list(x, 0, ac+1, av2); free(av2); } ! static void unpack_free(t_unpack *x) {free(x->vec);} static void unpack_setup() { unpack_class = class_new2("unpack",unpack_new,unpack_free,sizeof(t_unpack),0,"*"); --- 1532,1567 ---- x->n = argc; x->vec = (t_outlet **)getbytes(argc * sizeof(*x->vec)); ! x->vat = (char *)getbytes(argc); t_atom *ap=argv; ! for (int i=0; i<argc; ap++, i++) { ! x->vec[i] = outlet_new(x,0); ! switch (argv[i].a_type) { ! case A_FLOAT: x->vat[i]='f'; break; ! case A_SYMBOL: { ! const char *s = atom_getstring(&argv[i]); ! if (strlen(s)<1 || (x->vat[i]=atomtype_from_letter(s[0]))==A_CANT) {error("%s: bad type", s); x->vat[i]='f';} ! break; ! } ! default: error("bad type"); ! } ! } return x; } static void unpack_list(t_unpack *x, t_symbol *s, int argc, t_atom *argv) { if (argc > x->n) argc = x->n; ! //for (int i=argc-1; i>=0; i--) outlet_atom(x->vec[i],&argv[i]); ! for (int i=argc-1; i>=0; i--) { ! if (x->vat[i]==A_ATOM || x->vat[i]==argv[i].a_type) outlet_atom(x->vec[i],&argv[i]); ! else error("type mismatch"); ! } } static void unpack_anything(t_unpack *x, t_symbol *s, int ac, t_atom *av) { ! t_atom *av2 = (t_atom *)getbytes((ac+1) * sizeof(t_atom)); ! for (int i=0; i<ac; i++) av2[i+1] = av[i]; SETSYMBOL(av2, s); unpack_list(x, 0, ac+1, av2); free(av2); } ! static void unpack_free(t_unpack *x) {free(x->vec); free(x->vat);} static void unpack_setup() { unpack_class = class_new2("unpack",unpack_new,unpack_free,sizeof(t_unpack),0,"*");
[View Less]
1
0
0
0
pd/src desire.tk,1.1.2.600.2.249,1.1.2.600.2.250
by chunlee
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30810 Modified Files: Tag: desiredata desire.tk Log Message: AtomBox size and insert cursor bg fix Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.600.2.249 retrieving revision 1.1.2.600.2.250 diff -C2 -d -r1.1.2.600.2.249 -r1.1.2.600.2.250 *** desire.tk 30 Jul 2007 03:15:48 -0000
…
[View More]
1.1.2.600.2.249 --- desire.tk 30 Jul 2007 03:35:17 -0000 1.1.2.600.2.250 *************** *** 2270,2279 **** if {[string length $line] > $width} {set width [string length $line]} } ! switch [$self class] { ! NumBox {set insertbg [$self look bg]} ! FloatBox {set insertbg [$self look bg]} ! SymbolBox {set insertbg [$self look bg]} ! default {set insertbg [$self look fg]} ! } text $t -height $nl -width $width -relief flat -bg [$self look bgedit] -borderwidth 0 \ -highlightthickness 0 -font $font_str -fg [$self look fg] -insertbackground $insertbg --- 2270,2274 ---- if {[string length $line] > $width} {set width [string length $line]} } ! if {[[$self class] <= AtomBox]} {set insertbg [$self look bg]} else {set insertbg [$self look fg]} text $t -height $nl -width $width -relief flat -bg [$self look bgedit] -borderwidth 0 \ -highlightthickness 0 -font $font_str -fg [$self look fg] -insertbackground $insertbg *************** *** 2289,2297 **** $t insert 1.0 $@text #$t insert 1.0 [$self filter_text 1] ! $self resize none focus $t } def TextBox resize {key} { set c [$self cwidget] set t $c.${self}text --- 2284,2293 ---- $t insert 1.0 $@text #$t insert 1.0 [$self filter_text 1] ! if {[[$self class] <= AtomBox]} {} else {$self resize none} focus $t } def TextBox resize {key} { + if {[[$self class] <= AtomBox]} {return} set c [$self cwidget] set t $c.${self}text
[View Less]
1
0
0
0
pd/src m_pd.h,1.4.4.11.2.33.2.60,1.4.4.11.2.33.2.61
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27115 Modified Files: Tag: desiredata m_pd.h Log Message: added A_ATOM type, a type constraint representing "anything" but for a single atom. Index: m_pd.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v retrieving revision 1.4.4.11.2.33.2.60 retrieving revision 1.4.4.11.2.33.2.61 diff -C2 -d -r1.4.4.11.2.33.2.60 -r1.4.4.11.2.33.2.
…
[View More]
61 *** m_pd.h 20 Jul 2007 21:23:23 -0000 1.4.4.11.2.33.2.60 --- m_pd.h 30 Jul 2007 03:25:40 -0000 1.4.4.11.2.33.2.61 *************** *** 159,163 **** A_DOLLAR, A_DOLLSYM, /* radioactive elements of the second kind */ A_GIMME, /* non-type: represents varargs */ ! A_CANT /* bottom type */ } t_atomtype; --- 159,164 ---- A_DOLLAR, A_DOLLSYM, /* radioactive elements of the second kind */ A_GIMME, /* non-type: represents varargs */ ! A_CANT, /* bottom type: type constraint is impossible */ ! A_ATOM /* top type: type constraint doesn't constrain */ } t_atomtype;
[View Less]
1
0
0
0
pd/src desire.tk,1.1.2.600.2.248,1.1.2.600.2.249
by chunlee
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23763 Modified Files: Tag: desiredata desire.tk Log Message: various fixes Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.600.2.248 retrieving revision 1.1.2.600.2.249 diff -C2 -d -r1.1.2.600.2.248 -r1.1.2.600.2.249 *** desire.tk 28 Jul 2007 14:52:39 -0000 1.1.2.600.2.248 ---
…
[View More]
desire.tk 30 Jul 2007 03:15:48 -0000 1.1.2.600.2.249 *************** *** 1526,1534 **** #-----------------------------------------------------------------------------------# - # check or uncheck the "edit" menu item def Canvas editmode {} {return $@editmode} - # to be called only from Pd side. def Canvas editmode= {mode} { ! if {!$mode} {$self deselect_all} set @editmode $mode; $self changed editmode # catch {.$self.bbar.edit configure -image icon_mode_$mode} --- 1526,1533 ---- #-----------------------------------------------------------------------------------# def Canvas editmode {} {return $@editmode} def Canvas editmode= {mode} { ! #maybe it not necessary to deselect.. ! #if {!$mode} {$self deselect_all} set @editmode $mode; $self changed editmode # catch {.$self.bbar.edit configure -image icon_mode_$mode} *************** *** 2271,2276 **** if {[string length $line] > $width} {set width [string length $line]} } text $t -height $nl -width $width -relief flat -bg [$self look bgedit] -borderwidth 0 \ ! -highlightthickness 0 -font $font_str -fg [$self look fg] -insertbackground [$self look fg] bind $t <Key> "$self resize %K; $self key_input %W %x %y %K %A 0" bind $t <Control-Return> "$self key_input %W %x %y 10 %A 0" --- 2270,2281 ---- if {[string length $line] > $width} {set width [string length $line]} } + switch [$self class] { + NumBox {set insertbg [$self look bg]} + FloatBox {set insertbg [$self look bg]} + SymbolBox {set insertbg [$self look bg]} + default {set insertbg [$self look fg]} + } text $t -height $nl -width $width -relief flat -bg [$self look bgedit] -borderwidth 0 \ ! -highlightthickness 0 -font $font_str -fg [$self look fg] -insertbackground $insertbg bind $t <Key> "$self resize %K; $self key_input %W %x %y %K %A 0" bind $t <Control-Return> "$self key_input %W %x %y 10 %A 0" *************** *** 4054,4057 **** --- 4059,4063 ---- def Canvas click_on_nothing {f target x y} { + [$self widget] configure -cursor {} if {$@focus != ""} {if {[[$@focus class] <= TextBox]} {$@focus unedit}} if {$@action == "insert"} {return} *************** *** 5523,5526 **** --- 5529,5533 ---- def AtomBox setto {text} { + [$@canvas widget] configure -cursor {} if { [string is double $text]} { set @text $text; #so that the text gets updated immediately *************** *** 5529,5533 **** } } ! def SymbolBox setto {text} {if {![string is double $text]} {netsend [list .$self symbol $text]}} def FloatBox ftoa {} { --- 5536,5543 ---- } } ! def SymbolBox setto {text} { ! [$@canvas widget] configure -cursor {} ! if {![string is double $text]} {netsend [list .$self symbol $text]} ! } def FloatBox ftoa {} { *************** *** 5861,5864 **** --- 5871,5875 ---- def Bang click {x y f target} {netsend [list .$self bang]} def Bang bang {count} {set @count $count; set @flash 1} + def Bang key_incr {val1 val2} {netsend [list .$self bang]} class_new Toggle {BlueBox}
[View Less]
1
0
0
0
pd/src builtins.c,1.1.2.49,1.1.2.50
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18868 Modified Files: Tag: desiredata builtins.c Log Message: interleaved [midiin] [sysexin] [notein] [ctlin] classes together Index: builtins.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/builtins.c,v retrieving revision 1.1.2.49 retrieving revision 1.1.2.50 diff -C2 -d -r1.1.2.49 -r1.1.2.50 *** builtins.c 24 Jul 2007 23:09:40 -
…
[View More]
0000 1.1.2.49 --- builtins.c 30 Jul 2007 03:02:44 -0000 1.1.2.50 *************** *** 1820,1856 **** void outmidi_mclk(int portno); ! static t_symbol *midiin_sym, *sysexin_sym; ! static t_class *midiin_class, *sysexin_class; struct t_midiin : t_object {}; ! static void *midiin_new() { ! t_midiin *x = (t_midiin *)pd_new(midiin_class); ! outlet_new(x, &s_float); ! outlet_new(x, &s_float); ! pd_bind(x, midiin_sym); ! return x; ! } ! static void *sysexin_new() { ! t_midiin *x = (t_midiin *)pd_new(sysexin_class); ! outlet_new(x, &s_float); ! outlet_new(x, &s_float); ! pd_bind(x, sysexin_sym); ! return x; ! } static void midiin_list(t_midiin *x, t_symbol *s, int ac, t_atom *av) { outlet_float(x->out(1), atom_getfloatarg(1, ac, av) + 1); outlet_float(x->out(0), atom_getfloatarg(0, ac, av)); } - static void midiin_free(t_midiin *x) {pd_unbind(x, midiin_sym);} - static void sysexin_free(t_midiin *x) {pd_unbind(x, sysexin_sym);} - static void midiin_setup() { - midiin_class = class_new2("midiin",midiin_new,midiin_free,sizeof(t_midiin),CLASS_NOINLET,"F"); - sysexin_class = class_new2("sysexin",sysexin_new,sysexin_free,sizeof(t_midiin),CLASS_NOINLET,"F"); - class_addlist(midiin_class, midiin_list); - class_addlist(sysexin_class, midiin_list); - class_sethelpsymbol(midiin_class, gensym("midi")); - class_sethelpsymbol(sysexin_class, gensym("midi")); - midiin_sym = gensym("#midiin"); - sysexin_sym = gensym("#sysexin"); - } void inmidi_byte(int portno, int byte) { if ( midiin_sym->thing) {t_atom at[2]; SETFLOAT(at, byte); SETFLOAT(at+1, portno+1); pd_list( midiin_sym->thing, 0, 2, at);} --- 1820,1833 ---- void outmidi_mclk(int portno); ! static t_symbol *midiin_sym, *sysexin_sym, *notein_sym, *ctlin_sym; ! static t_class *midiin_class, *sysexin_class, *notein_class, *ctlin_class; struct t_midiin : t_object {}; ! struct t_notein : t_object {t_float ch;}; ! struct t_ctlin : t_object {t_float ch; t_float ctlno;}; ! static void midiin_list(t_midiin *x, t_symbol *s, int ac, t_atom *av) { outlet_float(x->out(1), atom_getfloatarg(1, ac, av) + 1); outlet_float(x->out(0), atom_getfloatarg(0, ac, av)); } void inmidi_byte(int portno, int byte) { if ( midiin_sym->thing) {t_atom at[2]; SETFLOAT(at, byte); SETFLOAT(at+1, portno+1); pd_list( midiin_sym->thing, 0, 2, at);} *************** *** 1860,1877 **** } - static t_symbol *notein_sym; - static t_class *notein_class; - struct t_notein : t_object { - t_float ch; - }; - static void *notein_new(t_floatarg f) { - t_notein *x = (t_notein *)pd_new(notein_class); - x->ch = f; - outlet_new(x, &s_float); - outlet_new(x, &s_float); - if (f == 0) outlet_new(x, &s_float); - pd_bind(x, notein_sym); - return x; - } static void notein_list(t_notein *x, t_symbol *s, int argc, t_atom *argv) { float pitch = atom_getfloatarg(0, argc, argv); --- 1837,1840 ---- *************** *** 1882,1892 **** outlet_float(x->out(0), pitch); } ! static void notein_free(t_notein *x) {pd_unbind(x, notein_sym);} ! static void notein_setup() { ! notein_class = class_new2("notein",notein_new,notein_free,sizeof(t_notein),CLASS_NOINLET,"F"); ! class_addlist(notein_class, notein_list); ! class_sethelpsymbol(notein_class, gensym("midi")); ! notein_sym = gensym("#notein"); ! } void inmidi_noteon(int portno, int channel, int pitch, int velo) { if (notein_sym->thing) { --- 1845,1849 ---- outlet_float(x->out(0), pitch); } ! void inmidi_noteon(int portno, int channel, int pitch, int velo) { if (notein_sym->thing) { *************** *** 1899,1908 **** } ! static t_symbol *ctlin_sym; ! static t_class *ctlin_class; ! struct t_ctlin : t_object { ! t_float ch; ! t_float ctlno; ! }; static void *ctlin_new(t_symbol *s, int argc, t_atom *argv) { t_ctlin *x = (t_ctlin *)pd_new(ctlin_class); --- 1856,1882 ---- } ! static void *midiin_new() { ! t_midiin *x = (t_midiin *)pd_new(midiin_class); ! outlet_new(x, &s_float); ! outlet_new(x, &s_float); ! pd_bind(x, midiin_sym); ! return x; ! } ! static void *sysexin_new() { ! t_midiin *x = (t_midiin *)pd_new(sysexin_class); ! outlet_new(x, &s_float); ! outlet_new(x, &s_float); ! pd_bind(x, sysexin_sym); ! return x; ! } ! static void *notein_new(t_floatarg f) { ! t_notein *x = (t_notein *)pd_new(notein_class); ! x->ch = f; ! outlet_new(x, &s_float); ! outlet_new(x, &s_float); ! if (f == 0) outlet_new(x, &s_float); ! pd_bind(x, notein_sym); ! return x; ! } static void *ctlin_new(t_symbol *s, int argc, t_atom *argv) { t_ctlin *x = (t_ctlin *)pd_new(ctlin_class); *************** *** 1929,1939 **** outlet_float(x->out(0), value); } ! static void ctlin_free(t_ctlin *x) {pd_unbind(x, ctlin_sym);} ! static void ctlin_setup() { ! ctlin_class = class_new2("ctlin",ctlin_new,ctlin_free,sizeof(t_ctlin),CLASS_NOINLET,"*"); ! class_addlist(ctlin_class, ctlin_list); ! class_sethelpsymbol(ctlin_class, gensym("midi")); ! ctlin_sym = gensym("#ctlin"); ! } void inmidi_controlchange(int portno, int channel, int ctlnumber, int value) { if (ctlin_sym->thing) { --- 1903,1912 ---- outlet_float(x->out(0), value); } ! ! static void midiin_free(t_midiin *x) {pd_unbind(x, midiin_sym);} ! static void sysexin_free(t_midiin *x) {pd_unbind(x, sysexin_sym);} ! static void notein_free(t_notein *x) {pd_unbind(x, notein_sym);} ! static void ctlin_free(t_ctlin *x) {pd_unbind(x, ctlin_sym);} ! void inmidi_controlchange(int portno, int channel, int ctlnumber, int value) { if (ctlin_sym->thing) { *************** *** 1962,1967 **** static t_symbol *pgmin_sym, *bendin_sym, *touchin_sym; static t_class *pgmin_class, *bendin_class, *touchin_class; ! struct t_pgmin : t_midi2 {}; ! struct t_bendin : t_midi2 {}; struct t_touchin : t_midi2 {}; static void *pgmin_new(t_floatarg f) { --- 1935,1940 ---- static t_symbol *pgmin_sym, *bendin_sym, *touchin_sym; static t_class *pgmin_class, *bendin_class, *touchin_class; ! struct t_pgmin : t_midi2 {}; ! struct t_bendin : t_midi2 {}; struct t_touchin : t_midi2 {}; static void *pgmin_new(t_floatarg f) { *************** *** 1971,1991 **** static void *touchin_new(t_floatarg f) { t_touchin *x = (t_touchin *)midi2_new(touchin_class,f); pd_bind(x, touchin_sym); return x;} ! static void pgmin_free( t_pgmin *x) {pd_unbind(x, pgmin_sym);} ! static void bendin_free( t_bendin *x) {pd_unbind(x, bendin_sym);} static void touchin_free(t_touchin *x) {pd_unbind(x, touchin_sym);} - static void midi2_setup() { - pgmin_class = class_new2("pgmin",pgmin_new,pgmin_free,sizeof(t_pgmin),CLASS_NOINLET,"F"); - class_addlist(pgmin_class,midi2_list); - bendin_class = class_new2("bendin",bendin_new,bendin_free,sizeof(t_bendin),CLASS_NOINLET,"F"); - class_addlist(bendin_class,midi2_list); - touchin_class = class_new2("touchin",touchin_new,touchin_free,sizeof(t_touchin),CLASS_NOINLET,"F"); - class_addlist(touchin_class,midi2_list); - class_sethelpsymbol(pgmin_class, gensym("midi")); - class_sethelpsymbol(bendin_class, gensym("midi")); - class_sethelpsymbol(touchin_class, gensym("midi")); - pgmin_sym = gensym("#pgmin"); - bendin_sym = gensym("#bendin"); - touchin_sym = gensym("#touchin"); - } void inmidi_programchange(int portno, int channel, int value) { if (pgmin_sym->thing) { --- 1944,1950 ---- static void *touchin_new(t_floatarg f) { t_touchin *x = (t_touchin *)midi2_new(touchin_class,f); pd_bind(x, touchin_sym); return x;} ! static void pgmin_free( t_pgmin *x) {pd_unbind(x, pgmin_sym);} ! static void bendin_free( t_bendin *x) {pd_unbind(x, bendin_sym);} static void touchin_free(t_touchin *x) {pd_unbind(x, touchin_sym);} void inmidi_programchange(int portno, int channel, int value) { if (pgmin_sym->thing) { *************** *** 2461,2465 **** } void midi_setup() { ! midiin_setup(); notein_setup(); ctlin_setup(); midi2_setup(); /*pgmin,bendin,touchin*/ polytouchin_setup(); midirealtimein_setup(); midiclkin_setup(); midiout_class = class_new2("midiout", midiout_new, 0, sizeof(t_midiout), 0,"FF"); --- 2420,2445 ---- } void midi_setup() { ! midiin_class = class_new2( "midiin", midiin_new, midiin_free,sizeof(t_midiin),CLASS_NOINLET,"F"); ! sysexin_class = class_new2("sysexin",sysexin_new,sysexin_free,sizeof(t_midiin),CLASS_NOINLET,"F"); ! notein_class = class_new2( "notein", notein_new, notein_free,sizeof(t_notein),CLASS_NOINLET,"F"); ! ctlin_class = class_new2( "ctlin", ctlin_new, ctlin_free,sizeof( t_ctlin),CLASS_NOINLET,"*"); ! class_addlist( midiin_class, midiin_list); midiin_sym = gensym( "#midiin"); class_sethelpsymbol( midiin_class, gensym("midi")); ! class_addlist(sysexin_class, midiin_list); sysexin_sym = gensym("#sysexin"); class_sethelpsymbol(sysexin_class, gensym("midi")); ! class_addlist( notein_class, notein_list); notein_sym = gensym( "#notein"); class_sethelpsymbol( notein_class, gensym("midi")); ! class_addlist( ctlin_class, ctlin_list); ctlin_sym = gensym( "#ctlin"); class_sethelpsymbol( ctlin_class, gensym("midi")); ! ! pgmin_class = class_new2("pgmin", pgmin_new, pgmin_free, sizeof(t_pgmin), CLASS_NOINLET,"F"); ! bendin_class = class_new2("bendin", bendin_new, bendin_free, sizeof(t_bendin), CLASS_NOINLET,"F"); ! touchin_class = class_new2("touchin",touchin_new,touchin_free,sizeof(t_touchin),CLASS_NOINLET,"F"); ! class_addlist( pgmin_class,midi2_list); ! class_addlist( bendin_class,midi2_list); ! class_addlist(touchin_class,midi2_list); ! class_sethelpsymbol( pgmin_class, gensym("midi")); ! class_sethelpsymbol( bendin_class, gensym("midi")); ! class_sethelpsymbol(touchin_class, gensym("midi")); ! pgmin_sym = gensym("#pgmin"); ! bendin_sym = gensym("#bendin"); ! touchin_sym = gensym("#touchin"); ! polytouchin_setup(); midirealtimein_setup(); midiclkin_setup(); midiout_class = class_new2("midiout", midiout_new, 0, sizeof(t_midiout), 0,"FF");
[View Less]
1
0
0
0
pd/src kernel.c,1.1.2.69,1.1.2.70
by Mathieu Bouchard
30 Jul '07
30 Jul '07
Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17699 Modified Files: Tag: desiredata kernel.c Log Message: added atom_getstring() and atom_getstringarg(). Index: kernel.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/kernel.c,v retrieving revision 1.1.2.69 retrieving revision 1.1.2.70 diff -C2 -d -r1.1.2.69 -r1.1.2.70 *** kernel.c 20 Jul 2007 21:23:23 -0000 1.1.2.69 --- kernel.c
…
[View More]
30 Jul 2007 02:59:58 -0000 1.1.2.70 *************** *** 205,211 **** safe to return if there's an error. */ ! t_float atom_getfloat( t_atom *a) {return a->a_type==A_FLOAT ? a->a_float : 0;} ! t_int atom_getint( t_atom *a) {return (t_int)atom_getfloat(a);} ! t_symbol *atom_getsymbol(t_atom *a) {return a->a_type==A_SYMBOL ? a->a_symbol : &s_symbol;} t_symbol *atom_gensym(t_atom *a) { /* this works better for graph labels */ --- 205,212 ---- safe to return if there's an error. */ ! t_float atom_getfloat( t_atom *a) {return a->a_type==A_FLOAT ? a->a_float : 0;} ! t_int atom_getint( t_atom *a) {return (t_int)atom_getfloat(a);} ! t_symbol * atom_getsymbol(t_atom *a) {return a->a_type==A_SYMBOL ? a->a_symbol : &s_symbol;} ! const char *atom_getstring(t_atom *a) {return atom_getsymbol(a)->name;} t_symbol *atom_gensym(t_atom *a) { /* this works better for graph labels */ *************** *** 230,233 **** --- 231,238 ---- } + const char *atom_getstringarg(int which, int argc, t_atom *argv) { + return atom_getsymbolarg(which,argc,argv)->name; + } + /* convert an atom into a string, in the reverse sense of binbuf_text (q.v.) * special attention is paid to symbols containing the special characters *************** *** 2226,2236 **** for (i = 0; i < natom; i++) { if (nextmess[i].a_type == A_DOLLAR) { ! char buf[100]; ! sprintf(buf, "$%ld", nextmess[i].a_index); ! SETSYMBOL(nextmess+i, gensym(buf)); } else if (nextmess[i].a_type == A_DOLLSYM) { ! char buf[100]; ! sprintf(buf, "%s", nextmess[i].a_symbol->name); ! SETSYMBOL(nextmess+i, gensym(buf)); } } --- 2231,2237 ---- for (i = 0; i < natom; i++) { if (nextmess[i].a_type == A_DOLLAR) { ! SETSYMBOL(nextmess+i, symprintf("$%ld",nextmess[i].a_index)); } else if (nextmess[i].a_type == A_DOLLSYM) { ! SETSYMBOL(nextmess+i, gensym(nextmess[i].a_symbol->name)); } }
[View Less]
1
0
0
0
← Newer
1
...
6
7
8
9
10
11
12
...
63
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Results per page:
10
25
50
100
200