


| 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 |

corrected typo.
3 lines of code changed in 1 file:
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:
fixed problem where specifying just the root (/) would throw an exception.
5 lines of code changed in 1 file:
fixed typo where the nagios class and exit function were defined after first use.
12 lines of code changed in 1 file:
added a nagios plugin to monitor a 1-wire sensor.
97 lines of code changed in 1 file:
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:
Corrected the Readme.txt example for installing the python ownet module from CVS source code.
2 lines of code changed in 1 file:
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:
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:
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:
Additional changes to seperate out the nested functions for platforms which don't support them.
687 lines of code changed in 9 files:
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:
Moved the local implimentation of localtime_r to before the first reference.
15 lines of code changed in 1 file:
Removed extra space after the backslash.
2 lines of code changed in 1 file:
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:
Removed extra print.
5 lines of code changed in 1 file:
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:
Updated documentation. Removed exPath and exAttr since they're no longer being used.
34 lines of code changed in 1 file:
Corrected the checking of sensor attributes. They should have an '_'
instead of '.'.
14 lines of code changed in 1 file:
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)