Subversion Repositories HomeAutomation

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
2311 3629 d 16 h linlun /trunk/PcSoftware/Atom1.5/ Added template for mqtt functionality  
2308 3629 d 21 h linlun /trunk/PcSoftware/Atom1.5/src/vm/plugin/ Fixed small error in define  
2164 5173 d 15 h arune /trunk/PcSoftware/ Added functionality to get download progress of reprogramming in atom1.5 and atomdude  
2109 5199 d 16 h runge /trunk/PcSoftware/Atom1.5/ Some changes to the JsPipe interface  
2107 5200 d 1 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.
 
2081 5202 d 18 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.
 
1989 5254 d 17 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
 
1987 5255 d 16 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
 
1986 5255 d 19 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
 
1962 5274 d 18 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
 
1960 5276 d 15 h runge /trunk/PcSoftware/Atom1.5/src/ Removed left over files  
1959 5276 d 15 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
 
1954 5292 d 15 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  
1952 5292 d 15 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
 
1950 5292 d 20 h runge /trunk/PcSoftware/Atom1.5/ More work on MBB
Added more error printout to MySql plugin
Increased max length for the new logging
 
1947 5293 d 14 h runge /trunk/PcSoftware/Atom1.5/ Fixes here and there.
Basic support for my MBB tracking device.
 
1945 5293 d 17 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.
 
1940 5297 d 17 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
 
1939 5297 d 17 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
 
1898 5370 d 22 h runge /trunk/PcSoftware/Atom1.5/ Added functions to get JSON arrays out of storage
Added HTTP client in JS for doing simple requests
 
1887 5380 d 18 h arune /trunk/PcSoftware/Atom1.5/ Implemented programming hex directly with atomic-interface  
1746 5546 d 17 h runge /trunk/PcSoftware/Atom1.5/src/ Fixed so timers should be removed correctly when canceled. Not tested though.  
1741 5564 d 19 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  
1740 5568 d 15 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  
1679 5759 d 17 h runge /trunk/PcSoftware/Atom1.5/ Removed unused script file json.js
Added two atomic commands, version and license
Minor bugfixes
 
1665 5764 d 16 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"  
1664 5765 d 0 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
 
1660 5766 d 4 h runge /trunk/PcSoftware/Atom1.5/ Nicer printouts of node and modules lists  
1657 5767 d 15 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
 
1656 5768 d 4 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
 
1652 5769 d 13 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
 
1651 5770 d 12 h runge /trunk/PcSoftware/Atom1.5/ Exposed socket to js, completly untested  
1650 5770 d 13 h runge /trunk/PcSoftware/Atom1.5/ Bugfixes
Added script for working with a display
 
1648 5771 d 13 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
 
1647 5771 d 14 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
 
1646 5780 d 14 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
 
1644 5785 d 19 h runge /trunk/PcSoftware/Atom1.5/ Have started to implement new javascript, dimmer and irout are okay and working, everything else needs to be changed  
1642 5788 d 14 h runge /trunk/PcSoftware/Atom1.5/ Moved some files around for better structure
Implemented a new state machine for nodes
Nativ support for programming bios and application
 
1627 5793 d 14 h runge /trunk/PcSoftware/Atom1.5/src/ Created a big state machine to keep track of the nodes, there are todos for programming still but the main logic is there, missing some timeout guards also  
1625 5794 d 15 h runge /trunk/PcSoftware/Atom1.5/ Moved some things around in js.
Made the VM plugins all execute code in the VM thread which will improve safety and hopefully make it crash less