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
1426 6094 d 15 h runge /trunk/PcSoftware/Atom/src/Socket/ Replacing MSG_NOSIGNAL with 0, to enable building on OSX.  
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
1203 6335 d 2 h arune /trunk/PcSoftware/Atom/ Atom: a lot of commented debugprints, hack to fix race conditions between socketthread and asyncsocket, counter for socketthreads id instead of time
Display.js: timout for going to main menu, minor changes
 
/trunk/PcSoftware/Atom/Services/Logic/Display.js
/trunk/PcSoftware/Atom/Services/Other/ExchangeCalendar.js
/trunk/PcSoftware/Atom/Services/System/HTTP.js
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/src/VM/socketthread.cpp
/trunk/PcSoftware/Atom/src/VM/socketthread.h
/trunk/PcSoftware/Atom/src/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/src/VM/virtualmachine.h
1124 6404 d 16 h runge /trunk/PcSoftware/Atom/src/ Atom: Hopefully fixed some bugs with threads, added clearer output to the signal handler  
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/src/Socket/server.cpp
/trunk/PcSoftware/Atom/src/Threads/thread.h
/trunk/PcSoftware/Atom/src/main.cpp
1122 6408 d 15 h linlun /trunk/PcSoftware/Atom/src/ Atom: now it does not segfault when candebug disconnet, and also send \r\n instead of just \n to be compatible with windows
telnet clients
 
/trunk/PcSoftware/Atom/src/CanNet/candebug.cpp
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/src/Socket/server.cpp
1036 6453 d 15 h runge /trunk/PcSoftware/Atom/ Atom: Removed debugoutput och socket
Atom: Changed error messages from interval to better reflect what is happening
 
/trunk/PcSoftware/Atom/Services/System/Interval.js
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
1033 6453 d 16 h runge /trunk/PcSoftware/Atom/src/ Atom: Made logger threadsafe also added threadsafty to sending on a socket, hopefully this helps with missing packets  
/trunk/PcSoftware/Atom/src/Logger/logger.cpp
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/src/Socket/asyncsocket.h
1026 6454 d 16 h runge /trunk/PcSoftware/Atom/ Atom: Initial move of source code to src... this is not working yet!!! Wait til I'm done :)  
/trunk/PcSoftware/Atom/src/CanNet
/trunk/PcSoftware/Atom/src/Logger
/trunk/PcSoftware/Atom/src/Settings
/trunk/PcSoftware/Atom/src/Socket
/trunk/PcSoftware/Atom/src/Threads
/trunk/PcSoftware/Atom/src/Tools
/trunk/PcSoftware/Atom/src/VM
/trunk/PcSoftware/Atom/src/Xml
/trunk/PcSoftware/Atom/src/exception.h
/trunk/PcSoftware/Atom/src/fetchV8.sh
/trunk/PcSoftware/Atom/src/main.cpp
/trunk/PcSoftware/Atom/src/singleton.cpp
/trunk/PcSoftware/Atom/src/singleton.h
/trunk/PcSoftware/Atom/src/version.h
/trunk/PcSoftware/Atom/CanNet
/trunk/PcSoftware/Atom/Logger
/trunk/PcSoftware/Atom/Settings
/trunk/PcSoftware/Atom/Socket
/trunk/PcSoftware/Atom/Threads
/trunk/PcSoftware/Atom/Tools
/trunk/PcSoftware/Atom/VM
/trunk/PcSoftware/Atom/Xml
/trunk/PcSoftware/Atom/exception.h
/trunk/PcSoftware/Atom/fetchV8.sh
/trunk/PcSoftware/Atom/main.cpp
/trunk/PcSoftware/Atom/singleton.cpp
/trunk/PcSoftware/Atom/singleton.h
/trunk/PcSoftware/Atom/version.h
999 6459 d 12 h runge /trunk/PcSoftware/Atom/ Atom: New command interface and some other stuff  
/trunk/PcSoftware/Atom/Services/System/Console.js
/trunk/PcSoftware/Atom/Services/System/TextTable.js
/trunk/PcSoftware/Atom/Socket/server.cpp
/trunk/PcSoftware/Atom/Socket/server.h
/trunk/PcSoftware/Atom/Socket/socketeventcallback.cpp
/trunk/PcSoftware/Atom/Socket/socketeventcallback.h
/trunk/PcSoftware/Atom/VM/commandthread.cpp
/trunk/PcSoftware/Atom/VM/commandthread.h
/trunk/PcSoftware/Atom/VM/expression.h
/trunk/PcSoftware/Atom/singleton.cpp
/trunk/PcSoftware/Atom/singleton.h
/trunk/PcSoftware/Atom/CanNet/candebug.cpp
/trunk/PcSoftware/Atom/CanNet/candebug.h
/trunk/PcSoftware/Atom/CanNet/canmessage.cpp
/trunk/PcSoftware/Atom/CanNet/canmessage.h
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/CanNet/cannetmanager.h
/trunk/PcSoftware/Atom/Services/Can/BusVoltage.js
/trunk/PcSoftware/Atom/Services/Can/DS18x20.js
/trunk/PcSoftware/Atom/Services/Can/Debug.js
/trunk/PcSoftware/Atom/Services/Can/HD44789.js
/trunk/PcSoftware/Atom/Services/Can/SimpleDTMF.js
/trunk/PcSoftware/Atom/Services/Can/irReceive.js
/trunk/PcSoftware/Atom/Services/Logic/SensorPrint.js
/trunk/PcSoftware/Atom/Services/System/Base.js
/trunk/PcSoftware/Atom/Services/System/CanService.js
/trunk/PcSoftware/Atom/Services/System/Service.js
/trunk/PcSoftware/Atom/Services/System/ServiceManager.js
/trunk/PcSoftware/Atom/Services/System/Startup.js
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/TODO.txt
/trunk/PcSoftware/Atom/Threads/thread.h
/trunk/PcSoftware/Atom/VM/socketthread.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.h
/trunk/PcSoftware/Atom/atom.conf.template
/trunk/PcSoftware/Atom/main.cpp
/trunk/PcSoftware/Atom/nbproject/Makefile-Debug.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-Release.mk
/trunk/PcSoftware/Atom/nbproject/configurations.xml
984 6465 d 10 h runge /trunk/PcSoftware/Atom/ Cleaned up socket code much and fixed the damned makefiles that keeps getting screwed  
/trunk/PcSoftware/Atom/Socket/socketevent.h
/trunk/PcSoftware/Atom/CanNet/candebug.cpp
/trunk/PcSoftware/Atom/CanNet/candebug.h
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/Services/Other/OnlinePhonebook.js
/trunk/PcSoftware/Atom/Services/System/Base.js
/trunk/PcSoftware/Atom/Services/System/HTTP.js
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/VM/socketthread.cpp
/trunk/PcSoftware/Atom/VM/socketthread.h
/trunk/PcSoftware/Atom/nbproject/Makefile-Debug.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-Release.mk
/trunk/PcSoftware/Atom/nbproject/configurations.xml
983 6467 d 13 h runge /trunk/PcSoftware/Atom/ Atom: Rewrote much of the socketstuff to make it easier and have less errors... needs more cleanups but works at least
Atom: The OnlinePhonebook works very good now it seems
Atom: Nothing is printed to syslog now... there where complications with threads, will fix this later
Atom: Can Debug also works very nicely
 
/trunk/PcSoftware/Atom/CanNet/candebug.cpp
/trunk/PcSoftware/Atom/CanNet/canmessage.h
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/Services/Other/OnlinePhonebook.js
/trunk/PcSoftware/Atom/Services/System/HTTP.js
/trunk/PcSoftware/Atom/Services/System/Socket.js
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.cpp
/trunk/PcSoftware/Atom/Threads/thread.h
/trunk/PcSoftware/Atom/VM/socketthread.cpp
/trunk/PcSoftware/Atom/VM/socketthread.h
/trunk/PcSoftware/Atom/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.h
981 6468 d 10 h runge /trunk/ Atom: Stuff, I'm to druk to know what  
/trunk/PcSoftware/Atom/CanNet/candebug.cpp
/trunk/PcSoftware/Atom/CanNet/candebug.h
/trunk/PcSoftware/Atom/Services/Can/SimpleDTMF.js
/trunk/Configuration/data.xml
/trunk/PcSoftware/Atom/CanNet/canidtranslator.cpp
/trunk/PcSoftware/Atom/CanNet/canmessage.cpp
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/CanNet/cannetmanager.h
/trunk/PcSoftware/Atom/Services/System/CanManager.js
/trunk/PcSoftware/Atom/Services/System/HTTP.js
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.cpp
/trunk/PcSoftware/Atom/TODO.txt
/trunk/PcSoftware/Atom/Tools/tools.cpp
/trunk/PcSoftware/Atom/Tools/tools.h
/trunk/PcSoftware/Atom/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.h
/trunk/PcSoftware/Atom/main.cpp
/trunk/PcSoftware/Atom/nbproject/Makefile-Debug.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-Release.mk
/trunk/PcSoftware/Atom/nbproject/configurations.xml
976 6469 d 11 h runge /trunk/PcSoftware/Atom/ Atom: Added the ability for the async socket to resolve domain names
Atom: Added system for working with async sockets from javascript
Atom: Implemented a rough HTTP class in javascript that uses the sockets
Atom: Started an implementation for looking up names from phonenumbers via hitta.se, needs parsing of html to be complete
Atom: A lot of other small changes to Atom
Atom: Bumped Atom to version 0.3
 
/trunk/PcSoftware/Atom/Services/Other
/trunk/PcSoftware/Atom/Services/Other/OnlinePhonebook.js
/trunk/PcSoftware/Atom/Services/System/HTTP.js
/trunk/PcSoftware/Atom/Services/System/Socket.js
/trunk/PcSoftware/Atom/VM/socketthread.cpp
/trunk/PcSoftware/Atom/VM/socketthread.h
/trunk/PcSoftware/Atom/CanNet/canidtranslator.cpp
/trunk/PcSoftware/Atom/CanNet/canmessage.cpp
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/Services/System/Startup.js
/trunk/PcSoftware/Atom/Settings/settings.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.cpp
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.h
/trunk/PcSoftware/Atom/TODO.txt
/trunk/PcSoftware/Atom/Threads/semaphore.h
/trunk/PcSoftware/Atom/Tools/tools.cpp
/trunk/PcSoftware/Atom/Tools/tools.h
/trunk/PcSoftware/Atom/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.h
/trunk/PcSoftware/Atom/main.cpp
/trunk/PcSoftware/Atom/nbproject/Makefile-Debug.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-Release.mk
/trunk/PcSoftware/Atom/nbproject/configurations.xml
/trunk/PcSoftware/Atom/version.h
975 6469 d 18 h runge /trunk/PcSoftware/Atom/ Made Atom set all can services offline if the connection is closed for some reason like when the canDaemon is shut down  
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
974 6469 d 19 h runge /trunk/PcSoftware/ Added PING/PONG functionality to canDaemon, clients can send ping and receive pong.
Made Atom ping canDaemon if nothing have been received in some time to detect if network is down.
Made some more changes to Atom.
 
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/Services/System/CanManager.js
/trunk/PcSoftware/Atom/Services/System/CanService.js
/trunk/PcSoftware/Atom/Services/System/Interval.js
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/Threads/semaphore.h
/trunk/PcSoftware/scripts/canDaemon/canDaemon.pl
969 6472 d 11 h runge /trunk/PcSoftware/Atom/ Initial import of the new and improved Atom. It is fully functional but needs more work.
For more information on what is in the pipe right now look at TODO.txt
Documentation will come after the API has stabilized abit more.
There is support for four modules, BusVoltage, DS18x20, HD44789 and Debug.
There is also one logic service that should be well documented if someone wants to build logic for themselfs.
That service is called SensorPrint and uses one BusVoltage, one DS18x20 for sensor values and then prints them to the LCD (HD44789).
To start logic services you have to add them to the Services/Autostart.js.
More is to come...!
 
/trunk/PcSoftware/Atom
/trunk/PcSoftware/Atom/.dep.inc
/trunk/PcSoftware/Atom/CanNet
/trunk/PcSoftware/Atom/CanNet/canidtranslator.cpp
/trunk/PcSoftware/Atom/CanNet/canidtranslator.h
/trunk/PcSoftware/Atom/CanNet/canmessage.cpp
/trunk/PcSoftware/Atom/CanNet/canmessage.h
/trunk/PcSoftware/Atom/CanNet/canmessageexception.h
/trunk/PcSoftware/Atom/CanNet/cannetchannel.cpp
/trunk/PcSoftware/Atom/CanNet/cannetchannel.h
/trunk/PcSoftware/Atom/CanNet/cannetmanager.cpp
/trunk/PcSoftware/Atom/CanNet/cannetmanager.h
/trunk/PcSoftware/Atom/CanNet/canservice.cpp
/trunk/PcSoftware/Atom/CanNet/canservice.h
/trunk/PcSoftware/Atom/CanNet/cantranslatorexception.h
/trunk/PcSoftware/Atom/CanNet/canvariable.h
/trunk/PcSoftware/Atom/Makefile
/trunk/PcSoftware/Atom/Services
/trunk/PcSoftware/Atom/Services/Autostart.js
/trunk/PcSoftware/Atom/Services/Can
/trunk/PcSoftware/Atom/Services/Can/BusVoltage.js
/trunk/PcSoftware/Atom/Services/Can/DS18x20.js
/trunk/PcSoftware/Atom/Services/Can/Debug.js
/trunk/PcSoftware/Atom/Services/Can/HD44789.js
/trunk/PcSoftware/Atom/Services/Logic
/trunk/PcSoftware/Atom/Services/Logic/SensorPrint.js
/trunk/PcSoftware/Atom/Services/System
/trunk/PcSoftware/Atom/Services/System/Base.js
/trunk/PcSoftware/Atom/Services/System/CanManager.js
/trunk/PcSoftware/Atom/Services/System/CanMessage.js
/trunk/PcSoftware/Atom/Services/System/CanService.js
/trunk/PcSoftware/Atom/Services/System/Service.js
/trunk/PcSoftware/Atom/Services/System/ServiceManager.js
/trunk/PcSoftware/Atom/Services/System/Startup.js
/trunk/PcSoftware/Atom/Settings
/trunk/PcSoftware/Atom/Settings/settings.cpp
/trunk/PcSoftware/Atom/Settings/settings.h
/trunk/PcSoftware/Atom/Socket
/trunk/PcSoftware/Atom/Socket/asyncsocket.cpp
/trunk/PcSoftware/Atom/Socket/asyncsocket.h
/trunk/PcSoftware/Atom/Socket/socketexception.h
/trunk/PcSoftware/Atom/SyslogStream
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.cpp
/trunk/PcSoftware/Atom/SyslogStream/syslogstream.h
/trunk/PcSoftware/Atom/TODO.txt
/trunk/PcSoftware/Atom/Threads
/trunk/PcSoftware/Atom/Threads/mutex.h
/trunk/PcSoftware/Atom/Threads/semaphore.h
/trunk/PcSoftware/Atom/Threads/thread.h
/trunk/PcSoftware/Atom/Threads/threadsafequeue.h
/trunk/PcSoftware/Atom/Tools
/trunk/PcSoftware/Atom/Tools/tools.cpp
/trunk/PcSoftware/Atom/Tools/tools.h
/trunk/PcSoftware/Atom/VM
/trunk/PcSoftware/Atom/VM/intervalthread.cpp
/trunk/PcSoftware/Atom/VM/intervalthread.h
/trunk/PcSoftware/Atom/VM/virtualmachine.cpp
/trunk/PcSoftware/Atom/VM/virtualmachine.h
/trunk/PcSoftware/Atom/Xml
/trunk/PcSoftware/Atom/Xml/xmlexception.h
/trunk/PcSoftware/Atom/Xml/xmlnode.cpp
/trunk/PcSoftware/Atom/Xml/xmlnode.h
/trunk/PcSoftware/Atom/atom.conf.template
/trunk/PcSoftware/Atom/exception.h
/trunk/PcSoftware/Atom/fetchV8.sh
/trunk/PcSoftware/Atom/main.cpp
/trunk/PcSoftware/Atom/nbproject
/trunk/PcSoftware/Atom/nbproject/Makefile-Debug.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-Release.mk
/trunk/PcSoftware/Atom/nbproject/Makefile-impl.mk
/trunk/PcSoftware/Atom/nbproject/Package-Debug.bash
/trunk/PcSoftware/Atom/nbproject/Package-Release.bash
/trunk/PcSoftware/Atom/nbproject/configurations.xml
/trunk/PcSoftware/Atom/nbproject/private
/trunk/PcSoftware/Atom/nbproject/private/configurations.xml
/trunk/PcSoftware/Atom/nbproject/private/private.properties
/trunk/PcSoftware/Atom/nbproject/private/private.xml
/trunk/PcSoftware/Atom/nbproject/project.properties
/trunk/PcSoftware/Atom/nbproject/project.xml
/trunk/PcSoftware/Atom/version.h