owfs Developers: peterk

Login name:
peterk
Total Commits:
173 (1.8%)
Lines of Code:
3,482 (1.0%)
Most Recent Commit:
2008-05-19 21:25
Tweet this:
Tweet this

Activity by Clock Time

Activity by Hour of Day for peterk

Activity by Day of Week for peterk

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 173 (100.0%) 3482 (100.0%) 20.1
owfs/module/swig/python/unittest/ 28 (16.2%) 1146 (32.9%) 40.9
owfs/module/swig/python/ow/ 13 (7.5%) 663 (19.0%) 51.0
owfs/module/swig/python/examples/ 12 (6.9%) 451 (13.0%) 37.5
owfs/module/owhttpd/src/c/ 3 (1.7%) 191 (5.5%) 63.6
owfs/module/owftpd/src/c/ 3 (1.7%) 161 (4.6%) 53.6
owfs/module/swig/ 6 (3.5%) 121 (3.5%) 20.1
owfs/module/swig/python/ 17 (9.8%) 120 (3.4%) 7.0
owfs/module/owserver/src/c/ 1 (0.6%) 106 (3.0%) 106.0
owfs/src/man/ 52 (30.1%) 104 (3.0%) 2.0
owfs/module/owlib/src/c/ 4 (2.3%) 93 (2.7%) 23.2
owfs/module/owcapi/src/c/ 1 (0.6%) 86 (2.5%) 86.0
owfs/ 7 (4.0%) 45 (1.3%) 6.4
owfs/src/scripts/usb/debian/access/ 3 (1.7%) 44 (1.3%) 14.6
owfs/src/scripts/ow-website/ 5 (2.9%) 43 (1.2%) 8.6
owfs/src/scripts/usb/debian/server/ 3 (1.7%) 39 (1.1%) 13.0
owfs/module/ownet/python/ownet/ 2 (1.2%) 37 (1.1%) 18.5
owfs/module/ownet/python/ 3 (1.7%) 15 (0.4%) 5.0
owfs/doc-pak/ 3 (1.7%) 6 (0.2%) 2.0
owfs/src/scripts/windows/ 1 (0.6%) 2 (0.1%) 2.0
owfs/src/scripts/usb/ 1 (0.6%) 2 (0.1%) 2.0
owfs/src/include/ 1 (0.6%) 2 (0.1%) 2.0
owfs/module/simulants/ 1 (0.6%) 2 (0.1%) 2.0
owfs/module/owshell/src/c/ 1 (0.6%) 2 (0.1%) 2.0
owfs/module/swig/perl5/example/ 1 (0.6%) 1 (0.0%) 1.0
owfs/module/swig/tcl/ 1 (0.6%) 0 (0.0%) 0.0

Activity of peterk

Most Recent Commits

peterk 2008-05-19 21:25 Rev.: 1.15

corrected typo.

3 lines of code changed in 1 file:

peterk 2008-05-19 21:12

added the ability to call the owopt function from ow_opt.c from the swig languages. allows for the easy ability to change the temperature scale.

30 lines of code changed in 3 files:

  • owfs/module/swig: ow.i (+8 -1)
  • owfs/module/swig/python/examples: check_ow.py (+7 -3)
  • owfs/module/swig/python/ow: __init__.py (+15 -2)
peterk 2008-05-16 17:05 Rev.: 1.3

fixed problem where specifying just the root (/) would throw an exception.

5 lines of code changed in 1 file:

  • owfs/module/swig/python/examples: check_ow.py (+5 -1)
peterk 2008-05-16 17:02 Rev.: 1.2

fixed typo where the nagios class and exit function were defined after first use.

12 lines of code changed in 1 file:

  • owfs/module/swig/python/examples: check_ow.py (+12 -12)
peterk 2008-05-16 00:12 Rev.: 1.1

added a nagios plugin to monitor a 1-wire sensor.

97 lines of code changed in 1 file:

  • owfs/module/swig/python/examples: check_ow.py (new 97)
peterk 2006-12-28 11:48 Rev.: 1.2

Updated Makefile.am contents to install ownet on make install. Added additional network i/o checks to verify that we're receiving the correct protocol header from the server.

50 lines of code changed in 4 files:

peterk 2006-12-24 08:26 Rev.: 1.2

Corrected the Readme.txt example for installing the python ownet module from CVS source code.

2 lines of code changed in 1 file:

peterk 2006-12-06 23:25

Changed references to the old web site on sourceforge at http://owfs.sf.net to the new site at http://www.owfs.org.

131 lines of code changed in 65 files:

peterk 2006-11-30 19:07

The error_level and error_print globals were moved into the Global structure but the change wasn't reflected in the SWIG based interfaces. There are now four functions that provide access to the error_level and error_print variables - set_error_level, get_error_level, set_error_print and get_error_print.

27 lines of code changed in 2 files:

  • owfs/module/swig: ow.i (+21 -4)
  • owfs/module/swig/python/ow: __init__.py (+6 -6)
peterk 2006-11-30 18:41 Rev.: 1.8

Added __hash__ to return the hash of the sensor path. Allows for better support when Sensors are put into sets.Set. Added a new exception called exUnknownSensor that is raised whenever there's a problem reading from a Sensor. This should allow for a more robust python environment.

54 lines of code changed in 1 file:

peterk 2006-10-09 15:20

Additional changes to seperate out the nested functions for platforms which don't support them.

687 lines of code changed in 9 files:

peterk 2006-10-09 00:33

Added acinclude.m4 with a new macro to test for compiler support of nested functions. Modified the ow_dir.c module to use the NO_NESTED_FUNCTIONS macro.

47 lines of code changed in 4 files:

peterk 2006-10-08 00:33 Rev.: 1.17

Moved the local implimentation of localtime_r to before the first reference.

15 lines of code changed in 1 file:

peterk 2006-10-07 23:40 Rev.: 1.23

Removed extra space after the backslash.

2 lines of code changed in 1 file:

peterk 2005-08-02 21:15

added access to the error_level and error_print global variables. created ow.error_level and ow.error_print functions to provide access to them.

125 lines of code changed in 4 files:

peterk 2005-02-07 17:02 Rev.: 1.4

Removed extra print.

5 lines of code changed in 1 file:

  • owfs/module/swig/python/unittest: ds2408.py (+5 -3)
peterk 2005-02-07 16:46 Rev.: 1.1

added two sample hotplug scripts: allow general user access and start owserver automatically when a ds9490r usb 1-wire controller is inserted.

85 lines of code changed in 7 files:

peterk 2005-02-07 13:43 Rev.: 1.6

Updated documentation. Removed exPath and exAttr since they're no longer being used.

34 lines of code changed in 1 file:

peterk 2005-02-07 12:21 Rev.: 1.3

Corrected the checking of sensor attributes. They should have an '_'
instead of '.'.

14 lines of code changed in 1 file:

  • owfs/module/swig/python/unittest: ds2409.py (+14 -16)
peterk 2005-02-07 11:35

Lots of changes.


Makefile.am

- Removed the --root=$(DESTDIR) parameter. When DESTDIR is blank,
this causes Python's distutils to install the module under the
current directory, not the Python site-packages directory.


setup.py.in

- Added runtime_library_dirs = [ '@prefix@/lib' ] so that the owfs
shared library (libow.so) would have a better chance of being
found at runtime.


ow/__init__.py

- Added the ability to log the calls to _OW.get and _OW.put.

- The Sensor class now knows about cached (/) vs uncached
(/uncached) entries. Any Sensor can switch between them using the
useCache method.

- The string representation of a Sensor now indicates if the cached
or uncached paths are currently being used.

- __repr__ has been added to allow for easier determination of
Sensor id from commands like:

>>> print ow.Sensor( '/' ).sensorList( )
[Sensor("/10.B7B64D000800"), Sensor("/81.A44C23000000"),
Sensor("/1F.440701000000"), Sensor("/1F.5D0B01000000"),
Sensor("/1F.7F0901000000")]

- __eq__ has been added to allow for comparison of Sensor
instances. Two Sensors are considered equal if their _path
attributes are equal. This means that cached and uncached Sensor
instances are considered equal.

>>> ow.Sensor( '/' ) == ow.Sensor( '/uncached' )
True

- useCache method has been added to switch between cached and
uncached Sensor views.

- entryList method has been added to return a list of the Sensor's
entries.

- sensor method has been reworked to better handle root and
microlans. (Thanks to Wim Heirman for pointing out problems and
providing a solution.)

- sensorList methof has been added to return a list of the Sensor's
Sensors.


unittest/Readme.txt

- Added note as to the status of the unittests. Specifically that
two test are currently known to fail.


unittest/ds1420.py, unittest/ds2408.py, unittest/ds2409.py

- Added the ability to run a specific test by specifying it on the
command line.

- Example:

./ds2409.py DS2409.testAttributes


unittest/owload.py

- New unittest for basic reality check - can the ow module be
imported.


unittest/owsensors.py

- New tests - testCacheSwitch, testRootCache, testEntryList,
testSensorList, testEqual.


unittest/owtest_sample.ini, unittest/owtest_think.ini

- Added a type entry to the Root section.

368 lines of code changed in 11 files:

(20 more)

Generated by StatCVS 0.6.0