[PD-cvs] pd/src ChangeLog,1.1.2.6,1.1.2.7 g_bang.c,1.1.1.3.2.2.2.33,1.1.1.3.2.2.2.34 g_mycanvas.c,1.1.1.3.2.2.2.20,1.1.1.3.2.2.2.21 g_numbox.c,1.1.1.4.2.2.2.30,1.1.1.4.2.2.2.31 g_text.c,1.1.1.4.2.2.2.16,1.1.1.4.2.2.2.17 g_toggle.c,1.1.1.3.2.2.2.29,1.1.1.3.2.2.2.30 g_vumeter.c,1.1.1.3.2.2.2.24,1.1.1.3.2.2.2.25

Mathieu Bouchard matju at users.sourceforge.net
Sun Oct 24 23:17:56 CEST 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22341

Modified Files:
      Tag: impd_0_37
	ChangeLog g_bang.c g_mycanvas.c g_numbox.c g_text.c g_toggle.c 
	g_vumeter.c 
Log Message:
final commits to impd before abandoning it.


Index: g_toggle.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_toggle.c,v
retrieving revision 1.1.1.3.2.2.2.29
retrieving revision 1.1.1.3.2.2.2.30
diff -C2 -d -r1.1.1.3.2.2.2.29 -r1.1.1.3.2.2.2.30
*** g_toggle.c	14 Aug 2004 03:38:19 -0000	1.1.1.3.2.2.2.29
--- g_toggle.c	24 Oct 2004 21:17:54 -0000	1.1.1.3.2.2.2.30
***************
*** 7,19 ****
  /* Copyright 2004 by Mathieu Bouchard */
  
- 
  #include <stdlib.h>
- #include <string.h>
  #include <stdio.h>
- #include <ctype.h>
  #include "m_pd.h"
  #include "g_canvas.h"
  #include "g_all_guis.h"
- #include <math.h>
  
  static t_class *toggle_class;
--- 7,15 ----

Index: g_text.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_text.c,v
retrieving revision 1.1.1.4.2.2.2.16
retrieving revision 1.1.1.4.2.2.2.17
diff -C2 -d -r1.1.1.4.2.2.2.16 -r1.1.1.4.2.2.2.17
*** g_text.c	12 May 2004 09:58:11 -0000	1.1.1.4.2.2.2.16
--- g_text.c	24 Oct 2004 21:17:54 -0000	1.1.1.4.2.2.2.17
***************
*** 975,978 ****
--- 975,979 ----
      	binbuf_addv(b, "ssii", gensym("#X"), gensym("text"),
      	    (t_int)x->te_xpix, (t_int)x->te_ypix);
+ 	fprintf(stderr,"x->te_binbuf = 0x%08x\n",x->te_binbuf);
          binbuf_addbinbuf(b, x->te_binbuf);
          binbuf_addv(b, ";");

Index: g_vumeter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_vumeter.c,v
retrieving revision 1.1.1.3.2.2.2.24
retrieving revision 1.1.1.3.2.2.2.25
diff -C2 -d -r1.1.1.3.2.2.2.24 -r1.1.1.3.2.2.2.25
*** g_vumeter.c	13 Aug 2004 16:56:26 -0000	1.1.1.3.2.2.2.24
--- g_vumeter.c	24 Oct 2004 21:17:54 -0000	1.1.1.3.2.2.2.25
***************
*** 9,13 ****
  #include <string.h>
  #include <stdio.h>
- #include <ctype.h>
  #include "m_pd.h"
  #include "g_canvas.h"
--- 9,12 ----
***************
*** 16,20 ****
  #define IEM_VU_STEPS 40
  
! static int iemgui_vu_db2i[]=
  {
       1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
--- 15,19 ----
  #define IEM_VU_STEPS 40
  
! static char vu_db2i[]=
  {
       1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
***************
*** 74,78 ****
      return v<=-99.9 ? 0 :
  	v>=12.0 ? IEM_VU_STEPS :
! 	iemgui_vu_db2i[(int)(2.0*(v+100.0))];
  }
  
--- 73,77 ----
      return v<=-99.9 ? 0 :
  	v>=12.0 ? IEM_VU_STEPS :
! 	vu_db2i[(int)(2.0*(v+100.0))];
  }
  

Index: ChangeLog
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/ChangeLog,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** ChangeLog	10 May 2004 12:14:46 -0000	1.1.2.6
--- ChangeLog	24 Oct 2004 21:17:53 -0000	1.1.2.7
***************
*** 47,49 ****
   * error() merged into pd_error()
       and using strerror() to get meaningful error messages for failed I/O
!  
\ No newline at end of file
--- 47,51 ----
   * error() merged into pd_error()
       and using strerror() to get meaningful error messages for failed I/O
!  * completely breaking compatibility with Pd's GUI externals
!    (for a good reason)
! 

Index: g_mycanvas.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_mycanvas.c,v
retrieving revision 1.1.1.3.2.2.2.20
retrieving revision 1.1.1.3.2.2.2.21
diff -C2 -d -r1.1.1.3.2.2.2.20 -r1.1.1.3.2.2.2.21
*** g_mycanvas.c	14 Aug 2004 03:38:19 -0000	1.1.1.3.2.2.2.20
--- g_mycanvas.c	24 Oct 2004 21:17:53 -0000	1.1.1.3.2.2.2.21
***************
*** 7,17 ****
  
  #include <stdlib.h>
- #include <string.h>
  #include <stdio.h>
- #include <ctype.h>
  #include "m_pd.h"
  #include "g_canvas.h"
  #include "g_all_guis.h"
- #include <math.h>
  
  static t_class *cnv_class;
--- 7,14 ----
***************
*** 33,37 ****
  {
      x->x_vis_h = x->x_vis_w = MAX(1,(int)atom_getintarg(0, ac, av));
!     if(ac > 1) x->x_vis_h = MAX(1,(int)atom_getintarg(1, ac, av));
      pd_changed(x);
  }
--- 30,34 ----
  {
      x->x_vis_h = x->x_vis_w = MAX(1,(int)atom_getintarg(0, ac, av));
!     if(ac > 1)   x->x_vis_h = MAX(1,(int)atom_getintarg(1, ac, av));
      pd_changed(x);
  }

Index: g_bang.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_bang.c,v
retrieving revision 1.1.1.3.2.2.2.33
retrieving revision 1.1.1.3.2.2.2.34
diff -C2 -d -r1.1.1.3.2.2.2.33 -r1.1.1.3.2.2.2.34
*** g_bang.c	14 Aug 2004 03:38:19 -0000	1.1.1.3.2.2.2.33
--- g_bang.c	24 Oct 2004 21:17:53 -0000	1.1.1.3.2.2.2.34
***************
*** 9,19 ****
  
  #include <stdlib.h>
- #include <string.h>
  #include <stdio.h>
- #include <ctype.h>
  #include "m_pd.h"
  #include "g_canvas.h"
  #include "g_all_guis.h"
- #include <math.h>
  
  static t_class *bng_class;
--- 9,16 ----

Index: g_numbox.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_numbox.c,v
retrieving revision 1.1.1.4.2.2.2.30
retrieving revision 1.1.1.4.2.2.2.31
diff -C2 -d -r1.1.1.4.2.2.2.30 -r1.1.1.4.2.2.2.31
*** g_numbox.c	13 Aug 2004 18:22:15 -0000	1.1.1.4.2.2.2.30
--- g_numbox.c	24 Oct 2004 21:17:53 -0000	1.1.1.4.2.2.2.31
***************
*** 39,44 ****
  }
  
- /* ------------------------ nbx widgetbehaviour----------------------------- */
- 
  static void nbx_getrect(t_gobj *z, t_glist *glist,
  int *xp1, int *yp1, int *xp2, int *yp2)
--- 39,42 ----





More information about the Pd-cvs mailing list