- Jan 21, 2018
-
-
Lance Gilbert authored
-
- Aug 09, 2017
-
-
Robert Jones authored
Submodules must be present prior to running cmake.
-
- Jul 29, 2017
-
-
Joakim Söderberg authored
-
- Jul 22, 2017
-
-
Joakim Söderberg authored
CMake support was added as an alternative to the pure Makefile that already exists. CMake supports generating build files for a large set of different platforms. Makefiles, XCode project, Visual Studio and so on... The CMake project includes build rules for installing, including running the server as a daemon using SystemD. Adding similar support for init would be possible as well. CMake is similar to configure + autoconf, so it is possible to turn on and off different features before compiling. The main reason for this change was to create an easily reproducible way to install the Fadecandy server as a daemon. The target for these efforts was mainly the Raspberry Pi platform using the Raspbian distribution that uses Debian packages for installation. So this current implementation has focused on enabling building Debian Packages. However CMake/CPack supports other installers for other platforms such as RPM, NSIS and OSX installers to name a few. Adding support for those wouldn't be hard. Also to support the use case of running the server as a system daemon, I have also added a default config path that the fcserver tries to read under: /etc/fcserver/config.json If no config is given on the command line explicitly, fcserver first looks here before using the default config. To build using CMake (Tested to work on Raspbian and OSX): ```bash mkdir build cd build cmake .. make make install # Manual install (see below for debian package) ``` To list available CMake options: ```bash cmake -LH .. ``` To build the debian package: ```bash cpack -G DEB # Must be done after build instructions above. ``` By default the debian package runs a post-installation script that will create a "fadecandy" user that the daemon is run under. This can be turned off using a CMake option.
-
- Jul 16, 2016
-
-
Jeff Brown authored
Use negative count to map pixels in reverse order along a strip.
-
- May 24, 2015
-
-
Louis Beaudoin authored
tested on OSX only, needs testing on Windows and Linux
-
- Apr 01, 2015
-
-
Micah Elizabeth Scott authored
-
- Sep 13, 2014
-
-
Micah Elizabeth Scott authored
-
- May 10, 2014
-
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
- May 05, 2014
-
-
Micah Elizabeth Scott authored
LWS wasn't giving us the usual connection closed callbacks due to our early hijack of the connection. Instead, delete the buffer when we unregister the client's poll FD. resolves #28
-
- Mar 17, 2014
- Mar 07, 2014
-
-
Serene H authored
-
- Feb 11, 2014
-
-
Jérôme Benoit authored
Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
- Jan 29, 2014
-
-
Jérôme Benoit authored
- Respect Micah coding style is order to simplify the merge. Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
Jérôme Benoit authored
Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
Jérôme Benoit authored
Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
Jérôme Benoit authored
Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
Jérôme Benoit authored
I will need to maintain several fcserver installations and that patch will help me to do so. I've not tested yet a from scratch cloning and building but as far as the directories for each submodule is not is the main repository, the code is doing the right thing for that case ;-) Signed-off-by:
Jérôme Benoit <jerome.benoit@grenouille.com>
-
- Jan 08, 2014
-
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
I'd been assuming that the OS always copied our USB transfer buffer at submit-time. Turns out that this is true for Linux but not for Windows or Mac. This caused tearing when fcserver received a new frame while previous frame(s) were still queued in the USB host controller. Fixed this by copying to a per-transfer buffer on Windows and Mac. Linux is unaffected. We avoid performing an additional copy there.
-
- Nov 14, 2013
-
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
If we issue a short write, libwebsocket handles it kinda ungracefully and we have no idea when to close the socket. Instead of letting libwebsocket copy our content into a temporary buffer, we can just give it smaller pieces.
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
- Nov 13, 2013
-
-
Micah Elizabeth Scott authored
-
- Nov 06, 2013
-
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
This lets us uniquely identify a particular device connection instance.