[PD-cvs] pd/src configure.in, 1.21, 1.22 d_array.c, 1.7, 1.8 d_osc.c, 1.4, 1.5 notes.txt, 1.33, 1.34 s_loader.c, 1.13, 1.14 x_list.c, 1.4, 1.5

Miller Puckette millerpuckette at users.sourceforge.net
Thu Dec 7 17:19:07 CET 2006


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

Modified Files:
	configure.in d_array.c d_osc.c notes.txt s_loader.c x_list.c 
Log Message:
More 64 bit fixes, notably confusion about file extensions and taking
garray_getfloatarray out of expr




Index: s_loader.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_loader.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** s_loader.c	9 Oct 2006 04:36:12 -0000	1.13
--- s_loader.c	7 Dec 2006 16:19:05 -0000	1.14
***************
*** 36,40 ****
  #endif
  #ifdef __linux__
! #ifdef __ia64__
  static char sys_dllextent[] = ".l_ia64", sys_dllextent2[] = ".pd_linux";
  #else
--- 36,40 ----
  #endif
  #ifdef __linux__
! #ifdef __x86_64__
  static char sys_dllextent[] = ".l_ia64", sys_dllextent2[] = ".pd_linux";
  #else
***************
*** 95,101 ****
          classname++;
      else classname = objectname;
!     if (sys_onloadlist(classname))
      {
!         post("%s: already loaded", classname);
          return (1);
      }
--- 95,101 ----
          classname++;
      else classname = objectname;
!     if (sys_onloadlist(objectname))
      {
!         post("%s: already loaded", objectname);
          return (1);
      }
***************
*** 195,199 ****
      (*makeout)();
      class_set_extern_dir(&s_);
!     sys_putonloadlist(classname);
      return (1);
  }
--- 195,199 ----
      (*makeout)();
      class_set_extern_dir(&s_);
!     sys_putonloadlist(objectname);
      return (1);
  }

Index: configure.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** configure.in	8 Sep 2006 23:45:30 -0000	1.21
--- configure.in	7 Dec 2006 16:19:05 -0000	1.22
***************
*** 255,259 ****
      	EXTERNTARGET=d_ppc
      else
!         MORECFLAGS="-arch i386 -arch ppc -Wno-error"
      	EXTERNTARGET=d_fat
          LDFLAGS=$LDFLAGS" -arch i386 -arch ppc"
--- 255,260 ----
      	EXTERNTARGET=d_ppc
      else
!         MORECFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
!             -arch i386 -arch ppc -Wno-error"
      	EXTERNTARGET=d_fat
          LDFLAGS=$LDFLAGS" -arch i386 -arch ppc"

Index: notes.txt
===================================================================
RCS file: /cvsroot/pure-data/pd/src/notes.txt,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** notes.txt	22 Oct 2006 21:46:11 -0000	1.33
--- notes.txt	7 Dec 2006 16:19:05 -0000	1.34
***************
*** 1,13 ****
  ---------------- dolist --------------------
  0.40-1:
-   http "about" broken on MSW?
    help browser broke on Panurge
    binbuf_read_via_canvas in x_qlist.c
  
- check bug reports on sourceforge
- double-click fix on mac?
- http://sourceforge.net/tracker/index.php?
- func=detail&aid=1564617&group_id=55736&atid=478072
- 
  PC device counting problem (first device invoked by -audiodev 0)
  
--- 1,7 ----
***************
*** 53,56 ****
--- 47,51 ----
  more demonstration patches:
  vibrato using variable delay
+ real-time spectrum grapher
  
  features:

Index: d_osc.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_osc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** d_osc.c	31 Dec 2005 20:55:25 -0000	1.4
--- d_osc.c	7 Dec 2006 16:19:05 -0000	1.5
***************
*** 31,39 ****
  #endif
  
- #ifdef __APPLE__
- #define __BYTE_ORDER BYTE_ORDER
- #define __LITTLE_ENDIAN LITTLE_ENDIAN
- #endif                                                                          
- 
  #ifdef __linux__
  #include <endian.h>
--- 31,34 ----
***************
*** 56,60 ****
  #endif /* __unix__ or __APPLE__*/
  
- 
  union tabfudge
  {
--- 51,54 ----
***************
*** 63,67 ****
  };
  
- 
  /* -------------------------- phasor~ ------------------------------ */
  static t_class *phasor_class, *scalarphasor_class;
--- 57,60 ----

Index: x_list.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_list.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** x_list.c	24 Aug 2006 15:23:52 -0000	1.4
--- x_list.c	7 Dec 2006 16:19:05 -0000	1.5
***************
*** 411,415 ****
      int argc, t_atom *argv)
  {
!     outlet_float(x->x_obj.ob_outlet, (float)argc);
  }
  
--- 411,415 ----
      int argc, t_atom *argv)
  {
!     outlet_float(x->x_obj.ob_outlet, (float)argc+1);
  }
  

Index: d_array.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_array.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** d_array.c	22 Oct 2006 21:46:10 -0000	1.7
--- d_array.c	7 Dec 2006 16:19:05 -0000	1.8
***************
*** 504,508 ****
  #define LOWOFFSET 1    /* word offset to find LSB */
  #define int32 long  /* a data type that has 32 bits */
! #else
  #ifdef MSW
      /* little-endian; most significant byte is at highest address */
--- 504,509 ----
  #define LOWOFFSET 1    /* word offset to find LSB */
  #define int32 long  /* a data type that has 32 bits */
! #endif /* IRIX */
! 
  #ifdef MSW
      /* little-endian; most significant byte is at highest address */
***************
*** 510,533 ****
  #define LOWOFFSET 0
  #define int32 long
! #else
! #ifdef __FreeBSD__
  #include <machine/endian.h>
- #if BYTE_ORDER == LITTLE_ENDIAN
- #define HIOFFSET 1
- #define LOWOFFSET 0
- #else
- #define HIOFFSET 0    /* word offset to find MSB */
- #define LOWOFFSET 1    /* word offset to find LSB */
- #endif /* BYTE_ORDER */
- #include <sys/types.h>
- #define int32 int32_t
  #endif
  
! #ifdef  __linux__
  #include <endian.h>
  #if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN)                         
  #error No byte order defined                                                    
  #endif                                                                          
!                                                                                 
  #if __BYTE_ORDER == __LITTLE_ENDIAN                                             
  #define HIOFFSET 1                                                              
--- 511,529 ----
  #define LOWOFFSET 0
  #define int32 long
! #endif
! 
! #if defined(__FreeBSD__) || defined(__APPLE__)
  #include <machine/endian.h>
  #endif
  
! #ifdef __linux__
  #include <endian.h>
+ #endif
+ 
+ #if defined(__unix__) || defined(__APPLE__)
  #if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN)                         
  #error No byte order defined                                                    
  #endif                                                                          
! 
  #if __BYTE_ORDER == __LITTLE_ENDIAN                                             
  #define HIOFFSET 1                                                              
***************
*** 537,554 ****
  #define LOWOFFSET 1    /* word offset to find LSB */                            
  #endif /* __BYTE_ORDER */                                                       
- 
  #include <sys/types.h>
  #define int32 int32_t
! 
! #else
! #ifdef __APPLE__
! #define HIOFFSET 0    /* word offset to find MSB */
! #define LOWOFFSET 1    /* word offset to find LSB */
! #define int32 int  /* a data type that has 32 bits */
! 
! #endif /* __APPLE__ */
! #endif /* __linux__ */
! #endif /* MSW */
! #endif /* SGI */
  
  union tabfudge
--- 533,539 ----
  #define LOWOFFSET 1    /* word offset to find LSB */                            
  #endif /* __BYTE_ORDER */                                                       
  #include <sys/types.h>
  #define int32 int32_t
! #endif /* __unix__ or __APPLE__*/
  
  union tabfudge





More information about the Pd-cvs mailing list