Subversion Repositories HomeAutomation

Rev

Hide changed files | Details | Compare with Previous | Blame | SVN | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2311 3630 d 9 h linlun /trunk/PcSoftware/Atom1.5/ Added template for mqtt functionality  
/trunk/PcSoftware/Atom1.5/script/plugin/mqtt.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mqtt.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mqtt.h
2308 3630 d 13 h linlun /trunk/PcSoftware/Atom1.5/src/vm/plugin/ Fixed small error in define  
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.h
2164 5174 d 8 h arune /trunk/PcSoftware/ Added functionality to get download progress of reprogramming in atom1.5 and atomdude  
/trunk/PcSoftware/Atom1.5/script/plugin/node.js
/trunk/PcSoftware/Atom1.5/src/control/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/control/Manager.h
/trunk/PcSoftware/Atom1.5/src/control/Node.cpp
/trunk/PcSoftware/Atom1.5/src/control/Node.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.h
/trunk/PcSoftware/scripts/atomDude.pl
2109 5200 d 8 h runge /trunk/PcSoftware/Atom1.5/ Some changes to the JsPipe interface  
/trunk/PcSoftware/Atom1.5/script/plugin/storage.js
/trunk/PcSoftware/Atom1.5/src/vm/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/JsPipe.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.cpp
2107 5200 d 18 h runge /trunk/PcSoftware/Atom1.5/ Added a new TCP inteface for accessing the javascript VM directly. This is a potential security risk even though the console is not much safer.
This is a preperation for a simpler interface toward the webgui.
 
/trunk/PcSoftware/Atom1.5/src/vm/plugin/JsPipe.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/JsPipe.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/config/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Manager.h
/trunk/PcSoftware/Atom1.5/src/vm/Plugin.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Plugin.h
2081 5203 d 11 h runge /trunk/PcSoftware/Atom1.5/src/ Fixed a serious bug in the decoding of packets from the can network... if the packet contained the end byte things got screwed... not sure it is perfect now and it sort of reverts the fix done for Englunds USB problem.
Added some debug printouts.
 
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/control/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Module.cpp
1989 5255 d 9 h runge /trunk/PcSoftware/Atom1.5/ Removed some debug printouts
Added functionallity to download protocol xml from the web, write the url in the config file instead of a local file path
The downloading seems a little slow which I can not explain, but since it is only at startup it should not be a big issue right now
 
/trunk/PcSoftware/Atom1.5/src/net/GetFile.cpp
/trunk/PcSoftware/Atom1.5/src/net/GetFile.h
/trunk/PcSoftware/Atom1.5/src/net/Url.cpp
/trunk/PcSoftware/Atom1.5/src/net/Url.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/atom.conf.template
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.cpp
/trunk/PcSoftware/Atom1.5/src/can/Monitor.cpp
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/can/Network.h
/trunk/PcSoftware/Atom1.5/src/can/Protocol.cpp
/trunk/PcSoftware/Atom1.5/src/can/Protocol.h
/trunk/PcSoftware/Atom1.5/src/common/common.h
/trunk/PcSoftware/Atom1.5/src/common/exception.h
/trunk/PcSoftware/Atom1.5/src/config/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/types.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/xml/Node.cpp
1987 5256 d 9 h runge /trunk/PcSoftware/Atom1.5/ Disabled byteset code, will remove it completly when we have had a bit more testing, things seem to work but there are big changes and a minimum of tests
A lot of ugly debug printouts now if you have debug level enabled, needs cleanup latery
 
/trunk/PcSoftware/Atom1.5/.kdev4/Atom.kdev4
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.cpp
/trunk/PcSoftware/Atom1.5/src/can/Monitor.cpp
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/common/Bitset.cpp
/trunk/PcSoftware/Atom1.5/src/common/Byteset.cpp
/trunk/PcSoftware/Atom1.5/src/common/Byteset.h
/trunk/PcSoftware/Atom1.5/src/common/common.cpp
/trunk/PcSoftware/Atom1.5/src/common/common.h
/trunk/PcSoftware/Atom1.5/src/control/Code.cpp
/trunk/PcSoftware/Atom1.5/src/control/Code.h
/trunk/PcSoftware/Atom1.5/src/net/Client.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/SerialClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
1986 5256 d 12 h runge /trunk/PcSoftware/Atom1.5/ Changed how atom works with client and server id:s, needs more work in the future but at least it works to start a server from js now
More work on the tracker code
 
/trunk/PcSoftware/Atom1.5/.kdev4/Atom.kdev4
/trunk/PcSoftware/Atom1.5/script/manager/tracker.js
/trunk/PcSoftware/Atom1.5/script/plugin/socket.js
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.h
/trunk/PcSoftware/Atom1.5/src/can/Monitor.cpp
/trunk/PcSoftware/Atom1.5/src/can/Monitor.h
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/can/Network.h
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/Subscriber.cpp
/trunk/PcSoftware/Atom1.5/src/net/Subscriber.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.h
1962 5275 d 11 h runge /trunk/PcSoftware/Atom1.5/ Major refactoring of TcpServer and networking stuff.
Reworked some parts of the socket plugin, now it works again.
Created a lot of debug outputs for new parts, so debug on in the logging will give a lot of output
 
/trunk/PcSoftware/Atom1.5/src/net/TcpServer.cpp
/trunk/PcSoftware/Atom1.5/src/net/TcpServer.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/manager/tracker.js
/trunk/PcSoftware/Atom1.5/script/plugin/socket.js
/trunk/PcSoftware/Atom1.5/src/common/log.h
/trunk/PcSoftware/Atom1.5/src/net/Client.cpp
/trunk/PcSoftware/Atom1.5/src/net/Client.h
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.h
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.h
/trunk/PcSoftware/Atom1.5/src/net/types.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
1960 5277 d 8 h runge /trunk/PcSoftware/Atom1.5/src/ Removed left over files  
/trunk/PcSoftware/Atom1.5/src/mbb
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Server.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Server.h
1959 5277 d 8 h runge /trunk/PcSoftware/Atom1.5/ Some renaming of datatypes in atom
More work on the GPS tracker stuff
Added support for starting servers in the socket VM plugin
 
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Server.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Server.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mbb.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mbb.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/interface/http.js
/trunk/PcSoftware/Atom1.5/script/manager/tracker.js
/trunk/PcSoftware/Atom1.5/script/plugin/socket.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.cpp
/trunk/PcSoftware/Atom1.5/src/can/CanDaemon.h
/trunk/PcSoftware/Atom1.5/src/can/Monitor.cpp
/trunk/PcSoftware/Atom1.5/src/can/Monitor.h
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/can/Network.h
/trunk/PcSoftware/Atom1.5/src/common/log.cpp
/trunk/PcSoftware/Atom1.5/src/common/log.h
/trunk/PcSoftware/Atom1.5/src/net/Client.cpp
/trunk/PcSoftware/Atom1.5/src/net/Client.h
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/SerialClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/SerialClient.h
/trunk/PcSoftware/Atom1.5/src/net/Subscriber.cpp
/trunk/PcSoftware/Atom1.5/src/net/Subscriber.h
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.h
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.h
/trunk/PcSoftware/Atom1.5/src/net/types.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.h
1954 5293 d 8 h runge /trunk/PcSoftware/Atom1.5/ Some bugfixes to XBMC reconnect, though it still does not work correctly, XBMC failes to open the socket... don't know why  
/trunk/PcSoftware/Atom1.5/script/interface/xbmc.js
/trunk/PcSoftware/Atom1.5/script/manager/ir.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
1952 5293 d 8 h runge /trunk/PcSoftware/Atom1.5/ Fix to byteset where a -1 caused the last character to disappear in received socket data that was converted to ascii
More work on mysql and mbb
Added a function to parse out several json-rpc strings in the same received packet
Added two managers, ir and tracker, they are pretty specific to my stuff but could serve as examples, they are not loaded by default but should be loaded and instansiated from autostart.js
 
/trunk/PcSoftware/Atom1.5/script/manager
/trunk/PcSoftware/Atom1.5/script/manager/ir.js
/trunk/PcSoftware/Atom1.5/script/manager/tracker.js
/trunk/PcSoftware/Atom1.5/script/plugin/mbb.js
/trunk/PcSoftware/Atom1.5/script/plugin/system.js
/trunk/PcSoftware/Atom1.5/src/common/Byteset.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.cpp
1950 5293 d 12 h runge /trunk/PcSoftware/Atom1.5/ More work on MBB
Added more error printout to MySql plugin
Increased max length for the new logging
 
/trunk/PcSoftware/Atom1.5/script/plugin/mbb.js
/trunk/PcSoftware/Atom1.5/src/common/log.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mbb.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.cpp
1947 5294 d 7 h runge /trunk/PcSoftware/Atom1.5/ Fixes here and there.
Basic support for my MBB tracking device.
 
/trunk/PcSoftware/Atom1.5/script/plugin/mbb.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mbb.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Mbb.h
/trunk/PcSoftware/Atom1.5/src/mbb/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/mbb/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/mbb/Manager.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/plugin/mysql.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/common/exception.h
/trunk/PcSoftware/Atom1.5/src/common/log.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Plugin.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.h
1945 5294 d 10 h runge /trunk/PcSoftware/Atom1.5/ Some work on changing the logging system to make it easier to use, not done and nothing of the old is yet converted to the new system.
Introduced a way of doing error handing with exceptions, only the MySql plugin uses this right now.
Added a plugin to access mysql from the js environment, it only exposes some basic functions right now but should be pretty useful, not fully tested yet but at least a select seems to work.
Some other small stuff.
 
/trunk/PcSoftware/Atom1.5/script/plugin/mysql.js
/trunk/PcSoftware/Atom1.5/src/common/exception.h
/trunk/PcSoftware/Atom1.5/src/common/log.cpp
/trunk/PcSoftware/Atom1.5/src/common/log.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/MySql.h
/trunk/PcSoftware/Atom1.5/.kdev4/Atom.kdev4
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/INSTALL
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/config.h.in
/trunk/PcSoftware/Atom1.5/src/mbb/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Plugin.h
1940 5298 d 10 h runge /trunk/PcSoftware/Atom1.5/src/ Fixed a spelling error in two places
Added try/catch around connect call in VM socket plugin, we probably need this in other places as well, this to handle connect failures
 
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/common/IoService.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.h
1939 5298 d 10 h runge /trunk/PcSoftware/Atom1.5/ Added success/failure checks to the build_and_install.sh script
Added a stub manager for MBB (MobileBroadBand), for future use
Cleaned up some compiler warnings
Fixed segfault on shut down (hopefully)
Fixed what valgrind considered a memory leak in the logging function
Probably some other stuff
 
/trunk/PcSoftware/Atom1.5/src/mbb
/trunk/PcSoftware/Atom1.5/src/mbb/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/mbb/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/mbb/Manager.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/atom.conf.template
/trunk/PcSoftware/Atom1.5/build_and_install.sh
/trunk/PcSoftware/Atom1.5/script/interface/list.js
/trunk/PcSoftware/Atom1.5/src/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/can/Monitor.cpp
/trunk/PcSoftware/Atom1.5/src/common/IoService.cpp
/trunk/PcSoftware/Atom1.5/src/common/IoService.h
/trunk/PcSoftware/Atom1.5/src/common/common.cpp
/trunk/PcSoftware/Atom1.5/src/common/common.h
/trunk/PcSoftware/Atom1.5/src/config/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/logging/Logger.cpp
/trunk/PcSoftware/Atom1.5/src/net/Client.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/UdpClient.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.cpp
1898 5371 d 15 h runge /trunk/PcSoftware/Atom1.5/ Added functions to get JSON arrays out of storage
Added HTTP client in JS for doing simple requests
 
/trunk/PcSoftware/Atom1.5/script/interface/http.js
/trunk/PcSoftware/Atom1.5/script/interface/list.js
/trunk/PcSoftware/Atom1.5/script/plugin/storage.js
/trunk/PcSoftware/Atom1.5/src/net/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Manager.h
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.cpp
/trunk/PcSoftware/Atom1.5/src/net/TcpClient.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.cpp

Show All