{"push_id":586051134,"size":339,"distinct_size":0,"ref":"refs/heads/master","head":"5b8fa2e71147871320adaefb1522440e93f6ea34","before":"d173a29380c5ccb3219ba8f41edcd83d0ae4633c","commits":[{"sha":"6d5431f63c2fa57ed3db6ecb13bb308a9d52fc55","author":{"email":"46f1a0bd5592a2f9244ca321b129902a06b53e03@nerdoftheherd.com","name":"Matt Robinson"},"message":"Make the low available memory message a warning\n\nWrite the low available memory message to err rather than out so that it\nappears more like a warning and is more noticeable.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/6d5431f63c2fa57ed3db6ecb13bb308a9d52fc55"},{"sha":"5b83043290d5521db1c6958042afffd955c1274e","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Include stdint.h from IPAddress.h on SAM\n\nThis happened for AVR in 34885b01, this commit makes the SAM version\nidentical again.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/5b83043290d5521db1c6958042afffd955c1274e"},{"sha":"9dca56dced68cd71a467809a8ed5ccfe079330c3","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Don't use IPAddress::_address from EthernetClass\n\nEthernetClass is a friend class of IPAddress, so it is allowed to use\nits _address attribute directly. However, it should be using\nIPAddress::raw_address() instead, like all the other friend classes do.\n\nThis changes allows changing the _address attribute to fix some warnings\nnext.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/9dca56dced68cd71a467809a8ed5ccfe079330c3"},{"sha":"3035239a4ee0b9e7a4a22264f7cebd6e7db8d7bc","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Use a union in IPAddress for uint8_t[] <-> uint32_t conversion\n\nPreviously, pointer casting was used, but this resulted in strict-aliasing warnings:\n\nIPAddress.h: In member function ‘IPAddress::operator uint32_t() const’:\nIPAddress.h:46:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\n     operator uint32_t() const { return *((uint32_t*)_address); };\n                                                             ^\nIPAddress.h: In member function ‘bool IPAddress::operator==(const IPAddress&) const’:\nIPAddress.h:47:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\n     bool operator==(const IPAddress& addr) const { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };\n                                                                                 ^\nIPAddress.h:47:114: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\n     bool operator==(const IPAddress& addr) const { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };\n\nConverting between unrelated types like this is commonly done using a union,\nwhich do not break the strict-aliasing rules. Using that union, inside\nIPAddress there is now an attribute _address.bytes for the raw byte\narra, or _address.dword for the uint32_t version.\n\nSince we now have easy access to the uint32_t version, this also removes\ntwo memcpy invocations that can just become assignments.\n\nThis patch does not change the generated code in any way, the compiler\nalready optimized away the memcpy calls and the previous casts mean\nexactly the same.\n\nThis is a different implementation of a part of #1399 and it helps\ntoward fixing #1728.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/3035239a4ee0b9e7a4a22264f7cebd6e7db8d7bc"},{"sha":"ece02e93bdadfa7dc99563d63ce9beb34775b12b","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Instead of #defining true and false, include stdbool.h\n\nIn C++, true and false are language keywords, so there is no need to\ndefine them as macros. Including stdbool.h in C++ effectively changes\nnothing. In C, true, false and also the bool type are not available, but\nincluding stdbool.h will make them available.\n\nUsing stdbool.h means that we get true, false and the bool type in\nwhatever way the compiler thinks is best, which seems like a good idea\nto me.\n\nThis also fixes the following compiler warnings if a .c file includes\nboth stdbool.h and Arduino.h:\n\n\twarning: \"true\" redefined [enabled by default]\n\t #define true 0x1\n\n\twarning: \"false\" redefined [enabled by default]\n\t#define false 0x0\n\nThis fixes #1570 and helps toward fixing #1728.\n\nThis only changed the AVR core, the SAM core already doesn't define true\nand false (but doesn't include stdbool.h either).","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/ece02e93bdadfa7dc99563d63ce9beb34775b12b"},{"sha":"a991f26b8db8efe0e99f0036c57793cfc1e93416","author":{"email":"6c8101b851fd2fc414feba2fda124210bcb77d5a@jcwren.com","name":"J.C. Wren"},"message":"Sd2Card.cpp: fix compiler warning\n\nAll the while() loops that check for the SPI transfer to be complete have the\nsemi-colon immediately after the closing parenthesis.  This both causes a\ncompiler warning of \"warning: suggest a space before ';' or explicit braces\naround empty body in 'while' statement\", and is considered a less-than-ideal\nprogramming practice.  This patch breaks the semi-colon on to the next line,\nboth eliminating the compiler error and making the code more readable.\n\nIn all probability the test should be moved into a macro or a inlineable\nsub-routine.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/a991f26b8db8efe0e99f0036c57793cfc1e93416"},{"sha":"12b706551dbf7d483ddd53718bd5f5e619c60ab0","author":{"email":"6c8101b851fd2fc414feba2fda124210bcb77d5a@jcwren.com","name":"JC Wren"},"message":"SD.c: Fix error in comment for remove()\n\nComment was duplicated from mkdir() and not updated.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/12b706551dbf7d483ddd53718bd5f5e619c60ab0"},{"sha":"4cf21dcdd135323f7771ae67930e7ef4d2bb37a2","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Don't store peeked characters in a char variable\n\npeekNextDigit() returns an int, so it can return -1 in addition to all\n256 possible bytes. By putting the result in a signe char, all bytes\nover 128 will be interpreted as \"no bytes available\". Furthermore, it\nseems that on SAM \"char\" is unsigned by default, causing the\n\"if (c < 0)\" line a bit further down to always be false.\n\nUsing an int is more appropriate.\n\nA different fix for this issue was suggested in #1399. This fix helps\ntowards #1728.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/4cf21dcdd135323f7771ae67930e7ef4d2bb37a2"},{"sha":"b196a4a9c547a76b460aaeeb7c963ca7a13d41ef","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Suppress \"unused parameter\" warnings\n\nA bunch of functions have parameters they do not use, but which cannot\nbe removed for API compatibility.\n\nIn syscalls_sam3.c, there are a lot of these, so this adds an \"UNUSED\"\nmacro which adds the \"unused\" variable attribute if supported (GCC\nspecific), or is just a noop on other compilers.\n\nIn CDC.cpp, there's only three of these variables, so this commit just\nforces a dummy evaluation of them to suppress the warnings.\n\nThis helps towards #1792.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/b196a4a9c547a76b460aaeeb7c963ca7a13d41ef"},{"sha":"8e35973ff94859ed25a0906455ce2a46d4145937","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Remove check that is always false\n\nlen is an unsigned variable, so it will never be less than 0.\n\nThis helps towards #1792.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/8e35973ff94859ed25a0906455ce2a46d4145937"},{"sha":"1c6a57e15db5216dd59521f9f16e29e12f569c81","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Include stdio.h in dtostrf.c\n\nThis makes the declaration of sprintf available, so the function is not\nimplicitely declared, which triggers two compiler warnings.\n\nThis helps towards #1792","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/1c6a57e15db5216dd59521f9f16e29e12f569c81"},{"sha":"4b3db72a4685f42e147775496c119ac45d62185f","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Fix two signedness warnings\n\nThis helps towards #1792","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/4b3db72a4685f42e147775496c119ac45d62185f"},{"sha":"5c6ee6127cbfd2df34357328fc5b687489ffc3ef","author":{"email":"9dc3ff3d138562f97538d2d6494f1e5dc216015b@stdin.nl","name":"Matthijs Kooijman"},"message":"Remove const specifier from channelToTC array in analogWrite on SAM\n\nMembers of this array are later passed to functions that accept\nnon-const pointers. These functions probably don't modify their\narguments, so a better solution would be to update those functions to\naccept const pointers. However, they look like third-party code, so that\nwould require changing the code again on every update. Removing const\nhere fixes at least the compiler warning for now.\n\nThis helps towards #1792.","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/5c6ee6127cbfd2df34357328fc5b687489ffc3ef"},{"sha":"2380a8f3d7b356032981bd66474d392fb8cacf8a","author":{"email":"f19af07ee36e7fc77db029a771cf06fe74bdb8a9@bug.st","name":"Cristian Maglie"},"message":"Added copyright license for WiFi shield library\n\nSee #1117","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/2380a8f3d7b356032981bd66474d392fb8cacf8a"},{"sha":"994f0d7bfd9b80036c14bb1b34bceb00f644cda5","author":{"email":"254d5842b48b7a9341623fb6c50e4426c270172a@arduino.cc","name":"Federico Fissore"},"message":"Windows: arduino_debug.exe. Backport of ad2ff737bb871ebf9a1374924a58030cf7c73a68","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/994f0d7bfd9b80036c14bb1b34bceb00f644cda5"},{"sha":"c84e9ed21a3428bae08f581e71313bdd63a5b591","author":{"email":"f19af07ee36e7fc77db029a771cf06fe74bdb8a9@bug.st","name":"Cristian Maglie"},"message":"Merge branch 'master' into ide-1.5.x","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/c84e9ed21a3428bae08f581e71313bdd63a5b591"},{"sha":"3be6eb84b98c9db9ce181a5e4d80848a07b7bee0","author":{"email":"df151ac12986910b5026bbfce04c79dbe645c24b@gmail.com","name":"Georg von Zengen"},"message":"added support for '-' and '.' but both not as the first as first character","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/3be6eb84b98c9db9ce181a5e4d80848a07b7bee0"},{"sha":"f3ca136cd9ced16ce3a7131710297ff3e1a10ac7","author":{"email":"254d5842b48b7a9341623fb6c50e4426c270172a@arduino.cc","name":"Federico Fissore"},"message":"Removed useless hidden files\nUpdated .gitignore\nCloses #996","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/f3ca136cd9ced16ce3a7131710297ff3e1a10ac7"},{"sha":"d2ef583c2cb5d12a4605b9d878150f043eb3699e","author":{"email":"f19af07ee36e7fc77db029a771cf06fe74bdb8a9@bug.st","name":"Cristian Maglie"},"message":"Merge pull request #1902 from arduino/ide-1.5.x-hidden-files-removed\n\nRemoved useless hidden files","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/d2ef583c2cb5d12a4605b9d878150f043eb3699e"},{"sha":"efedfa70495657e371eb51f8398c6e742e5fa3cf","author":{"email":"df151ac12986910b5026bbfce04c79dbe645c24b@gmail.com","name":"Georg von Zengen"},"message":"cut the filename at the last '.' not at the first in tab-names of the editor","distinct":false,"url":"https://api.github.com/repos/GadgetFactory/DesignLab/commits/efedfa70495657e371eb51f8398c6e742e5fa3cf"}]}