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
1952 5303 d 17 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 5303 d 22 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 5304 d 16 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 5304 d 19 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 5308 d 19 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 5308 d 20 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 5382 d 0 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 5391 d 20 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 5557 d 19 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 5575 d 21 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 5579 d 17 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 5770 d 19 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 5775 d 18 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 5776 d 2 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 5777 d 6 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 5778 d 18 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
1656 5779 d 6 h runge /trunk/PcSoftware/Atom1.5/ User scripts are now kept seperate from standard scripts and stored in /etc/atom/uscript, they should not be overwritten on a new install
Storage is now /etc/atom/storage and atom.conf.templates has moved to /etc/atom which also means that the real atom.conf should be placed there
 
/trunk/PcSoftware/Atom1.5/script/interface/list.js
/trunk/PcSoftware/Atom1.5/uscript
/trunk/PcSoftware/Atom1.5/script/user
/trunk/PcSoftware/Atom1.5/uscript/autostart.js
/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/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/System.cpp
1652 5780 d 15 h runge /trunk/PcSoftware/Atom1.5/ Renamed module directory in scripts to interface
Made the Xorg plugin default off, can be compiled in with a flag
Version now uses the SVN number as it's third number
Made it possible to use cpack to create *.deb packages for installation, the text file INSTALL contains the instructions
 
/trunk/PcSoftware/Atom1.5/script/interface
/trunk/PcSoftware/Atom1.5/src/config.h.in
/trunk/PcSoftware/Atom1.5/script/module
/trunk/PcSoftware/Atom1.5/.kdev4/Atom.kdev4
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/INSTALL
/trunk/PcSoftware/Atom1.5/atom.conf.template
/trunk/PcSoftware/Atom1.5/script/user/autostart.js
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/atomic.cpp
/trunk/PcSoftware/Atom1.5/src/config/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/net/Makefile
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.h
1651 5781 d 14 h runge /trunk/PcSoftware/Atom1.5/ Exposed socket to js, completly untested  
/trunk/PcSoftware/Atom1.5/script/plugin/socket.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Socket.h
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/src/atomd.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
1650 5781 d 15 h runge /trunk/PcSoftware/Atom1.5/ Bugfixes
Added script for working with a display
 
/trunk/PcSoftware/Atom1.5/script/module/display.js
/trunk/PcSoftware/Atom1.5/script/module/HD44789.js
/trunk/PcSoftware/Atom1.5/script/module/sensor.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/user/autostart.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Module.cpp

Show All