Subversion Repositories HomeAutomation

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | SVN | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1962 5290 d 23 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 5292 d 21 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 5292 d 21 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 5308 d 20 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 5308 d 21 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 5309 d 1 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 5309 d 20 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 5309 d 22 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 5313 d 23 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 5313 d 23 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 5387 d 3 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
1887 5396 d 23 h arune /trunk/PcSoftware/Atom1.5/ Implemented programming hex directly with atomic-interface  
/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/vm/plugin/Node.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.h
1746 5562 d 22 h runge /trunk/PcSoftware/Atom1.5/src/ Fixed so timers should be removed correctly when canceled. Not tested though.  
/trunk/PcSoftware/Atom1.5/src/timer/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
1741 5581 d 1 h runge /trunk/PcSoftware/Atom1.5/ Changes to how atomd uses Google V8, nothing major but seems to prevent crashes du to different threads trying to access V8 at the same time  
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/vm/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Module.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.cpp
1740 5584 d 21 h runge /trunk/PcSoftware/Atom1.5/src/vm/ Added locking before all v8 scope creations to make it thread-safe, not very tested but seems to have not made it worse at least  
/trunk/PcSoftware/Atom1.5/src/vm/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Module.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.cpp
1679 5775 d 23 h runge /trunk/PcSoftware/Atom1.5/ Removed unused script file json.js
Added two atomic commands, version and license
Minor bugfixes
 
/trunk/PcSoftware/Atom1.5/script/common
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/plugin/console.js
/trunk/PcSoftware/Atom1.5/script/plugin/system.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/config.h.in
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.h
1665 5780 d 22 h runge /trunk/PcSoftware/Atom1.5/ Created a new command, Node_GetInformation, which prints bios version, last active, has application and device type. setConfig.pl can now be adapted to using atomic like: atomic -c "Node_GetInformation 0xB23F54EA"  
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/plugin/node.js
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/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
1664 5781 d 5 h runge /trunk/PcSoftware/Atom1.5/ Added -c commandline option to atomic for running a single command and the exiting
Added a quit command to disconnect atomic
 
/trunk/PcSoftware/Atom1.5/script/plugin/console.js
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.h
1660 5782 d 9 h runge /trunk/PcSoftware/Atom1.5/ Nicer printouts of node and modules lists  
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/build_and_install.sh
/trunk/PcSoftware/Atom1.5/script/plugin/console.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/plugin/node.js
/trunk/PcSoftware/Atom1.5/script/plugin/system.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.h
1657 5783 d 21 h runge /trunk/PcSoftware/Atom1.5/ Added some color to the logging
Created a new plugin Node
It is now possible to list modules, list nodes, and reset nodes via atomic
Some more minor fixes and stuff done
 
/trunk/PcSoftware/Atom1.5/script/plugin/node.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Node.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/interface/irin.js
/trunk/PcSoftware/Atom1.5/script/plugin/console.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/plugin/storage.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/common/common.cpp
/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/logging/Logger.cpp
/trunk/PcSoftware/Atom1.5/src/vm/Manager.cpp
/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/Module.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Module.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.h

Show All