Tue, 30 Aug 2011 12:14:34 +0200Added include stdlib.h for malloc functions in sdo.c
fbeaulier [Tue, 30 Aug 2011 12:14:34 +0200] rev 667
Added include stdlib.h for malloc functions in sdo.c

Mon, 29 Aug 2011 17:44:49 +0200patch from Stefan Kratochwil <entwicklung@inovel.de> : canfestival-3-fm3_698.patch
fbeaulier [Mon, 29 Aug 2011 17:44:49 +0200] rev 666
patch from Stefan Kratochwil <entwicklung@inovel.de> : canfestival-3-fm3_698.patch
Bug:
If an object dictionary entry was requested whose size exceeds
SDO_MAX_LENGTH_TRANSFERT, the memcpy() call at line 139 of objacces.c overwrites
the memory after *pDestData which causes stack corruption.
-> Bugfix:
The bug was corrected by size checking the requested data. An 'Out of
memory' error message will be generated if the requested data exceeds
SDO_MAX_LENGTH_TRANSFERT.

Additional changes:
Added dynamic buffer allocation for the SDO transfer. This feature can be used
if SDO_DYNAMIC_BUFFER_ALLOCATION is defined in config.h. The size of the
dynamically allocated buffer is controlled with
SDO_DYNAMIC_BUFFER_ALLOCATION_SIZE.
-> Note:
This change removes the detection of OD_LENGTH_DATA_INVALID errors!

Mon, 29 Aug 2011 17:31:55 +0200patch from Christian Taedcke <hacking@taedcke.com> : fix-wrong-resetSDOline-for-sdo-timeout.patch
fbeaulier [Mon, 29 Aug 2011 17:31:55 +0200] rev 665
patch from Christian Taedcke <hacking@taedcke.com> : fix-wrong-resetSDOline-for-sdo-timeout.patch
FIXED: - The sdo line must not be closed at the end of SDOTimeoutAlarm() if the same sdo line is closed and reopened for a new transfer inside the callback. (Patch from Jaroslav Fojtik)

Mon, 29 Aug 2011 16:59:55 +0200CHANGE: SDO block mode added, without CRC support
fbeaulier [Mon, 29 Aug 2011 16:59:55 +0200] rev 664
CHANGE: SDO block mode added, without CRC support
WARNING : API change in client functions

Tue, 16 Aug 2011 14:15:52 +0200timers_unix.c : remove sigint and sigterm catch
fbeaulier [Tue, 16 Aug 2011 14:15:52 +0200] rev 663
timers_unix.c : remove sigint and sigterm catch
sdo : Allow multiple servers
The sdo transfer struct is not anymore referenced by server's node id but by
client or server number in the OD. Node id is not relevant in SDO transfert.

Thu, 23 Jun 2011 18:12:34 +0200fixed bug with cross wmingw build
Edouard Tisserant [Thu, 23 Jun 2011 18:12:34 +0200] rev 662
fixed bug with cross wmingw build

Mon, 20 Jun 2011 18:36:43 +0200Removed unneccessary overhead introduced with the last fix.
Stefan@Sheldon [Mon, 20 Jun 2011 18:36:43 +0200] rev 661
Removed unneccessary overhead introduced with the last fix.

Mon, 20 Jun 2011 15:03:54 +0200Fixed incorrect struct access in sendPDO() and inserted a missing variable in sendOnePDOEvent(). These errors occured at compile-time when configuring the project with './configure --debug=PDO' or './configure --debug=WAR'.
skratochwil [Mon, 20 Jun 2011 15:03:54 +0200] rev 660
Fixed incorrect struct access in sendPDO() and inserted a missing variable in sendOnePDOEvent(). These errors occured at compile-time when configuring the project with './configure --debug=PDO' or './configure --debug=WAR'.

Wed, 13 Apr 2011 16:29:59 +0200Fix some side effects of EDS import, while editing afterward
Edouard Tisserant [Wed, 13 Apr 2011 16:29:59 +0200] rev 659
Fix some side effects of EDS import, while editing afterward

Fri, 28 Jan 2011 14:51:18 +0100FIXED: - changed make targets from "%o: %c" to "%.o: %.c" (Patch from irc <oleg_osov>)
Christian Taedcke [Fri, 28 Jan 2011 14:51:18 +0100] rev 658
FIXED: - changed make targets from "%o: %c" to "%.o: %.c" (Patch from irc <oleg_osov>)
find . -name 'Make*' | xargs perl -w -i.bak -p -e "s/\%o: \%c/%.o: %.c/g"

Fri, 28 Jan 2011 14:51:18 +0100FIX: - if a sdo transfer timeout occurres, reset the sdo line even if the callback function does not.
Christian Taedcke [Fri, 28 Jan 2011 14:51:18 +0100] rev 657
FIX: - if a sdo transfer timeout occurres, reset the sdo line even if the callback function does not.

Thu, 27 Jan 2011 17:45:48 +0100FIXED: - Sdo lines with the internal state SDO_ABORTED_ITERNAL are now closed.
Christian Taedcke [Thu, 27 Jan 2011 17:45:48 +0100] rev 656
FIXED: - Sdo lines with the internal state SDO_ABORTED_ITERNAL are now closed.

Wed, 10 Nov 2010 13:08:26 +0100CHANGED: - canSend message parameter is now a const pointer
Christian Taedcke [Wed, 10 Nov 2010 13:08:26 +0100] rev 655
CHANGED: - canSend message parameter is now a const pointer
ADDED : - IXXAT specific can bus watchdog to restart the VCI2 driver if a bus off, data ovverrun or remote queue overrun is detected. The can adapter cannot recover on its own.
* * *
CHANGED: - IXXAT::m_watchdogTimerId from DWORD to UINT_PTR to fix compiler warning

Thu, 27 Jan 2011 17:45:48 +0100FIXED: - compiler warning from printf format string
Christian Taedcke <hacking@taedcke.com> [Thu, 27 Jan 2011 17:45:48 +0100] rev 654
FIXED: - compiler warning from printf format string

Fri, 19 Feb 2010 15:52:59 +0100FIXED: - TimerInit() was missing
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:52:59 +0100] rev 653
FIXED: - TimerInit() was missing

Fri, 19 Feb 2010 15:52:27 +0100FIXED: - OK and NOT OK was wrong in canSend()
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:52:27 +0100] rev 652
FIXED: - OK and NOT OK was wrong in canSend()

Thu, 09 Sep 2010 16:01:13 +0200FIXED: - bug while normal sdo transfer initialization (setting the byte count)
Christian Taedcke [Thu, 09 Sep 2010 16:01:13 +0200] rev 651
FIXED: - bug while normal sdo transfer initialization (setting the byte count)

Wed, 10 Nov 2010 14:19:31 +0100FIXED: - Renamed macro for peak win32 driver, patch from mailinglist (post from Christian Boepple, 2010-09-08 14:38)
Christian Taedcke [Wed, 10 Nov 2010 14:19:31 +0100] rev 650
FIXED: - Renamed macro for peak win32 driver, patch from mailinglist (post from Christian Boepple, 2010-09-08 14:38)

Mon, 15 Nov 2010 08:56:35 +0100CHANGED: - function sendOnePDOevent (CO_Data* d, UNS32 pdoNum) into sendOnePDOevent (CO_Data* d, UNS8 pdoNum)
Christian Taedcke [Mon, 15 Nov 2010 08:56:35 +0100] rev 649
CHANGED: - function sendOnePDOevent (CO_Data* d, UNS32 pdoNum) into sendOnePDOevent (CO_Data* d, UNS8 pdoNum)
- added explicit casts to remove compiler warnings

Mon, 15 Nov 2010 08:55:34 +0100CHANGED: - added explicit cast to remove compiler warning
Christian Taedcke [Mon, 15 Nov 2010 08:55:34 +0100] rev 648
CHANGED: - added explicit cast to remove compiler warning

Fri, 19 Feb 2010 08:20:21 +0100CHANGED: - canReceive and canSend return now 1 on error and 0 on success
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:20:21 +0100] rev 647
CHANGED: - canReceive and canSend return now 1 on error and 0 on success

Thu, 09 Sep 2010 15:28:48 +0200CHANGED: - added explicit cast to remove compiler warning
Christian Taedcke [Thu, 09 Sep 2010 15:28:48 +0200] rev 646
CHANGED: - added explicit cast to remove compiler warning

Tue, 16 Feb 2010 08:36:56 +0100FIXED: - added CALLBACK to can callback function prototypes
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 16 Feb 2010 08:36:56 +0100] rev 645
FIXED: - added CALLBACK to can callback function prototypes

Sat, 11 Dec 2010 14:24:09 +0100FIXED: - added missing endif
Christian Taedcke <hacking@taedcke.com> [Sat, 11 Dec 2010 14:24:09 +0100] rev 644
FIXED: - added missing endif
* * *
FIXED: - moved #include <linux/delay.h> into the ifdef __KERNEL__ block

Fri, 19 Feb 2010 15:51:40 +0100CHANGED: - async access queue has now blocking read
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 15:51:40 +0100] rev 643
CHANGED: - async access queue has now blocking read

Tue, 23 Feb 2010 08:12:19 +0100ADDED: - pause() for win32
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 23 Feb 2010 08:12:19 +0100] rev 642
ADDED: - pause() for win32
* * *
CHANGED: - moved pause implementation to main.cpp
- default driver to ixxat, baudrate to 125K and slaveid to 0x40
* * *
FIXED: - append "K" to baudrate
- added TimerInit()

Tue, 23 Feb 2010 08:09:57 +0100CHANGED: - moved wxwidget header
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Tue, 23 Feb 2010 08:09:57 +0100] rev 641
CHANGED: - moved wxwidget header
ADDED: - getopt include for win32
FIXED: - TimerInit must be done for win32, too
* * *
CHANGED: - getopt signature (temp change)
* * *
CHANGED: - moved getopt and windows include

Fri, 19 Feb 2010 08:19:23 +0100ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:19:23 +0100] rev 640
ADDED: - LeaveMutex and EnterMutex to exported symbols

Fri, 19 Feb 2010 08:18:40 +0100CHANGED: - if variable starts with a digit, add a "_" at the beginning
Christian Taedcke <Christian.Taedcke@ica-traffic.de> [Fri, 19 Feb 2010 08:18:40 +0100] rev 639
CHANGED: - if variable starts with a digit, add a "_" at the beginning
* * *
FIXED: - if callback array name starts with a digit, prepend "_"

Fri, 10 Sep 2010 08:55:42 +0200CHANGED: - option to integrate a can driver statically (hack)
Christian Taedcke [Fri, 10 Sep 2010 08:55:42 +0200] rev 638
CHANGED: - option to integrate a can driver statically (hack)
FIXED: - missing () in log message
* * *
CHANGED: - adapted UnLoadCanDriver() for the macro NOT_USE_DYNAMIC_LOADING