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
1945 5306 d 2 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 5310 d 2 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 5310 d 2 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 5383 d 7 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 5393 d 3 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 5559 d 2 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 5577 d 4 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 5581 d 0 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 5772 d 2 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 5777 d 1 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 5777 d 9 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 5778 d 13 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 5780 d 0 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 5780 d 13 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 5781 d 22 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 5782 d 21 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 5782 d 22 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
1648 5783 d 22 h runge /trunk/PcSoftware/Atom1.5/ Finished LG remote record
Removed some now unsused script files
Added a script for sensors
Fixed the output of several other scripts
 
/trunk/PcSoftware/Atom1.5/script/module/sensor.js
/trunk/PcSoftware/Atom1.5/script/plugin/xorg.js
/trunk/PcSoftware/Atom1.5/script/common/alias.js
/trunk/PcSoftware/Atom1.5/script/common/irrecord.js
/trunk/PcSoftware/Atom1.5/script/common/nice_functions.js
/trunk/PcSoftware/Atom1.5/script/legacy
/trunk/PcSoftware/Atom1.5/script/module/BusVoltage.js
/trunk/PcSoftware/Atom1.5/script/user/test.js
/trunk/PcSoftware/Atom1.5/script/module/irin.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/plugin/storage.js
/trunk/PcSoftware/Atom1.5/script/user/autostart.js
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Console.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/storage/Remote_LG_MKJ42519615
1647 5783 d 23 h runge /trunk/PcSoftware/Atom1.5/ JS scripts should now have a good way of doing things, will move them around a bit though
More scripts to be created
Atomic can now take server adress and port from the commandline
Reworked the Atomic Atomd protocol to be more robust, now supports creating prompts from scripts in a more correct way
Reimplemented the IR record functionallity with the new atomic prompt system
Started to record a new remote for a LG tv
Added support for sending keypresses to the active Xorg-windows, though this introduces a dependency on Xorg wich we might not want, this needs to be configurable
Some other fixes here and there
 
/trunk/PcSoftware/Atom1.5/src/common/common.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Xorg.h
/trunk/PcSoftware/Atom1.5/storage/Remote_LG_MKJ42519615
/trunk/PcSoftware/Atom1.5/storage/Xorg_Keymap
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/module/dimmer.js
/trunk/PcSoftware/Atom1.5/script/module/irin.js
/trunk/PcSoftware/Atom1.5/script/module/irout.js
/trunk/PcSoftware/Atom1.5/script/module/serial.js
/trunk/PcSoftware/Atom1.5/script/plugin/console.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/plugin/system.js
/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/common/common.h
/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
/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/Storage.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Storage.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/System.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.h
/trunk/PcSoftware/Atom1.5/storage/RemoteList
1646 5792 d 23 h runge /trunk/PcSoftware/Atom1.5/ JS changes
It is not possible to set alarms with a data and time string in addition to a simple timeout
Some other small fixes
 
/trunk/PcSoftware/Atom1.5/script/module/irin.js
/trunk/PcSoftware/Atom1.5/script/module/serial.js
/trunk/PcSoftware/Atom1.5/script/module/irReceive.js
/trunk/PcSoftware/Atom1.5/CMakeLists.txt
/trunk/PcSoftware/Atom1.5/script/module/irout.js
/trunk/PcSoftware/Atom1.5/script/plugin/module.js
/trunk/PcSoftware/Atom1.5/script/plugin/system.js
/trunk/PcSoftware/Atom1.5/script/plugin/timer.js
/trunk/PcSoftware/Atom1.5/script/user/autostart.js
/trunk/PcSoftware/Atom1.5/src/can/Network.cpp
/trunk/PcSoftware/Atom1.5/src/can/Protocol.cpp
/trunk/PcSoftware/Atom1.5/src/config/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/control/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/timer/Manager.cpp
/trunk/PcSoftware/Atom1.5/src/timer/Manager.h
/trunk/PcSoftware/Atom1.5/src/timer/Timer.cpp
/trunk/PcSoftware/Atom1.5/src/timer/Timer.h
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.cpp
/trunk/PcSoftware/Atom1.5/src/vm/plugin/Timer.h

Show All