User Tools

Site Tools


changes_features_fixes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
changes_features_fixes [2014/03/01 20:39]
creamers
changes_features_fixes [2015/11/27 21:09] (current)
Line 1: Line 1:
 ====== Upcoming Changes, Features and Fixes ====== ====== Upcoming Changes, Features and Fixes ======
  
- 
-**Features** 
- 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​1bc953c800686c5c73b898fb9c55814c6fae6ff1|pilight can know automatically update the firmware of the upcoming filter]]->​[[http://​forum.pilight.org/​Thread-NL-Only-Low-pass-filter-parts|click]] 
- 
- 
-**Changes** 
-  * [[https://​github.com/​pilight/​pilight/​commit/​fd434442b04509b3f0680ef418c1dd09493b693d|Added the developmental version to the API config:]] 
-New features of pilight can break existing apps and plugins. 
-By introducing the developmental version string in the 
-version array, apps developers can implement support for 
-each of these versions, or let users know a newer version 
-is not yet supported. 
-  * [[https://​github.com/​pilight/​pilight/​commit/​6661aef80c4c8b59b911e5eee9d59f70feeb4262|After a big valgrind memory check, the following changes were made:]] 
- 
-1) All memory leaks when running the main daemon are fixed. 
- 
-2) Made all threaded functions platform independent. 
- 
-3) Nearly all threads will now gracefully close instead of 
-being forced to. To allow this, some changes were made: 
-- The socket select function needed to be woken up so it 
-stopped blocking the execution of a thread. To allow 
-this, several loopback connection were made to send 
-a single bit to the socket connection when a specific library 
-is garbage collecting. 
-- All mutexes are unlocked and thread conditions are signaled 
-to continue execution. 
- 
-4) Some thread helper functions have been added to the protocol 
-library. This makes protocol writing easier. It also 
-allows threads to gracefully stop like described in point 3. 
- 
-5) A special garbage collector function was added to the protocol 
-library. When the protocols are freed the protocol specific "​gc"​ 
-function is called first. This allows protocols to free their local 
-resources first. This function will only be called when it's 
-initialized. 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​21bb41b89f99e8580b449ccbf6a438337d6ec94d|Added three channel weather protocol (thanks to @mel0en)]] ->​[[http://​wiki.pilight.org/​doku.php/​threechan|Click]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​32a71e18102c6e89ccc47de14ef92fa4381630fc|Added webserver php support through php-cgi]] 
-Install php to use this new change.(apt-get install php5-cgi) 
-   
-  * [[https://​github.com/​pilight/​pilight/​commit/​e56a89592c22fe41a96c9d02ac3b5f3bd9741d02|Big rewrites after pilight 3.0]] 
-   
-Rewrote socket library so we don't need to use the normal and big buffer sizes. pilight can know handle socket messages of any size. Please notice that this commit will break all externally developed apps. Please check the various language examples to. see how the new implementation works. 
- 
-Until pilight 2.1 two fixed socket buffers were used. One with the size of 1024 bytes and one with the size of 102400 bytes. This distinction has been dropped. ​ 
- 
-pilight will now send all streams in 1024 chunks. If these streams are shorter than 1024, everything was sent at once. If a stream is 1024 bytes, then you'll know it's a chunk of a bigger stream. In that case, read until you encounter the end of streams delimiter which is currently made up of two new lines ''​\n\n''​. ​ 
- 
-If multiple streams were buffered somewhere, you can also distinct them by the double new line delimiters. An example: 
-<​code>​ 
-{"​message":​ "​test"​}\n\n 
-{"​message":​ "​test"​}\n\n 
-{"​message":​ "​test"​}\n\n 
-</​code>​ 
- 
-As you can see. pilight wanted to send three messages, but the TCP sockets concencated them to one. 
- 
-The pilight socket_read function takes care of these buffered messages to check if we encountered concencated multiple streams. pilight will then convert these messages back so the output is just big stream separated by single newlines: 
-<​code>​ 
-{"​message":​ "​test"​}\n 
-{"​message":​ "​test"​}\n 
-{"​message":​ "​test"​}\n 
-</​code>​ 
- 
-You can check the various code example for more clarity. 
- 
- 
-**Fixes & improvements** 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​f1fecb7415999fb725208f8670229c2419462f51|Fixed some dev comments]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​83435c4b8f33ae962e16014ca51133f617ac73f1|Fixed wrongly uploaded mumbi version]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2f9edef538231995272e78a3694b80bd0da98cb1|Exchanged libwebsockets for mongoose]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​6f90c19e2f38e1f7410e93a37718961140430236|Restored ssdp version and updated CMakeLists.txt]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​284991e0b866e8fd5c0177a83b8d9c553c79872e|Fixed small bug in webserver]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​eccaab87fe84c98a9d19d86599569a5f9cd0263c|Fixed bug in 433gpio hardware module]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​97abebbc5dd4f3100c7ded9717cff0ffc0ec0bb9|Remove NULL characters from buffer streams]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​55b639b2cb73f388a90e88a6df090cf42f31346b|Fixed some bugs in the webserver]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​d0832e5834e422fb73aaeb610f5eb2cd0568c4b9|Fixed compilation for FreeBSD and Ubuntu]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​0a19aa91ee891abfc392643227dfa6581c7f4c0f|Fixed the redirect webpage]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​b69bf8b73e959911b9dbf29d04221d9c17ef2b37|Bugfix for threechan protocol]] 
changes_features_fixes.1393706378.txt.gz ยท Last modified: 2015/11/27 21:08 (external edit)