Author Topic: libpinproc / pypinproc source code repositories  (Read 3679 times)

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
libpinproc / pypinproc source code repositories
« on: March 12, 2010, 05:32:14 PM »
As the P-ROC customer base grows, more people are making use of various components of the P-ROC source code repository on github.  Because we had all of the components lumped into a single project, it was difficult to make changes to any one component without affecting users of other components.  To make it easier for people to stay in sync with only the components that interest them, we are making the following changes to our source code repositories:

We will no longer be making changes to the code in the original P-ROC github repository.  This repository will remain on github at least until all references to it are sufficiently old.

We've set up new repositories for each L1 component as follows:

libpinproc : The low level C-language P-ROC interface library (L1)
pypinproc : P-ROC python extension (python bindings to libpinproc)

We've also broken up L2 components.  Please visit this thread.

In addition to just separating the components into individual repositories, we've created 'dev' branches in each project.  Developers can check in changes to the 'dev' branch at any time, and people wanting to stay in sync with the updates can check them out at any time as long as they understand the changes aren't well tested and might break their builds.  After hitting major milestones or on a semi-regular timetable, we'll merge the dev branch back into the master.

Note, to access the dev branches on github you'll need to click on the 'Switch Branches' button and select 'dev'.

- Gerry
« Last Edit: March 12, 2010, 05:47:33 PM by gstellenberg »

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #1 on: March 12, 2010, 06:14:44 PM »
Note - since the projects were separated in early 2010, pypinproc expects to be at the same level as libpinproc:

./libpinroc
./pypinproc

If you want a different directory structure, you can edit the ./pypinproc/setup.py and tell it where to look for the libpinproc library.

- Gerry
« Last Edit: November 17, 2010, 11:57:23 AM by gstellenberg »

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #2 on: November 17, 2010, 12:01:28 PM »
The 'dev' branches of libpinproc and pypinproc have been merged into the master branch.  This means support for all of the 1.16 FPGA features are now available in the master branch.  We're calling this software ver. 0.9.

Additionally, a new 0.9 Windows installer is available on the P-ROC Software page.

- Gerry

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #3 on: March 06, 2011, 03:34:23 PM »
The 'dev' branches of libpinproc and pypinproc have been merged into the master branch.  This means support for all of the 1.18 FPGA features are now available in the master branch.  We're calling this software ver. 0.91.

Additionally, a new 0.91 Windows installer is available on the P-ROC Software page.

We are encouraging everybody to start using the master branches instead of the dev branches.  dev branches should only be used by active developers requiring features that exist only in the dev branch.

- Gerry
« Last Edit: March 06, 2011, 03:36:05 PM by gstellenberg »

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #4 on: July 22, 2011, 02:59:30 PM »
The 'dev' branches of libpinproc and pypinproc have once again been merged with the master branch.  We're calling this software ver. 1.0.

Additionally, a new 1.0 Windows installer is available on the P-ROC Software Page.

libpinproc:
In addition to a minor tweak of the switch rule methods and a bug fix on switch state addressing, this release includes an update to the 'pinprocfw' firmware update utility.  It now supports the '.p-roc' file format, which will be used exclusively for P-ROC firmware updates in the future.  The utility continues to support the old .xsvf file format, but that support will soon be phased out.

'.p-roc' files include an FPGA image as well as a number of fields used to check the validity of the data and the platform onto which the image is being written.

pypinproc
Changes described in the pypinproc 1.0 release notes.

« Last Edit: July 22, 2011, 03:08:37 PM by gstellenberg »

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #5 on: February 19, 2012, 01:27:32 PM »
Version 1.1 of both libpinproc and pypinproc have been merged into the Master branches.  A new Windows installer will be available soon.

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #6 on: November 07, 2012, 09:45:29 PM »
Version 1.2 of both libpinproc and pypinproc have been merged into the Master branches.  A new Windows installer will be available soon.

Changes:

- Added support for PDB machine types
- Added 'future_pulse' support to schedule pulses to take place in the future
- Added a 'now' parameter to patter calls to update immediately or only at an off->to->on transition.

« Last Edit: November 08, 2012, 12:12:48 PM by Gerry Stellenberg »

Gerry Stellenberg

  • Administrator
  • *****
  • Posts: 2397
    • View Profile
    • PinballControllers.com
Re: libpinproc / pypinproc source code repositories
« Reply #7 on: July 21, 2013, 02:07:39 PM »
Version 2.0 of both libpinproc and pypinproc has been merged into the Master branches.  Compy's single-click Windows installer has been updated (proctools.catster.net).  We'll hopefully make a libpinproc/pypinproc-only Windows installer available soon.

Major changes include:

1) Reltham's PD-LED support integrated into libpinproc (http://www.pinballcontrollers.com/forum/index.php?topic=744.0)
2) Hardware support for the forthcoming P3-ROC board
3) Accelerometer events
« Last Edit: August 22, 2013, 04:04:21 PM by Gerry Stellenberg »