Commit Graph

6275 Commits

Author SHA1 Message Date
Dirk Ziegelmeier
ca8f0254cf Try to get iteropts test running on Travis 2018-10-18 21:15:48 +02:00
Dirk Ziegelmeier
cf4cefd73c Try to get ninja-build running on Travis 2018-10-18 11:05:07 +02:00
Dirk Ziegelmeier
23945d2e3f Try to build documentation on travis, too 2018-10-18 10:58:29 +02:00
Dirk Ziegelmeier
daeceeeca0 Next try to get CMake up and running on Travis 2018-10-18 10:47:51 +02:00
Dirk Ziegelmeier
5840b090d4 Travis: Use CMake from /usr/local/bin 2018-10-18 10:33:35 +02:00
Dirk Ziegelmeier
95eada2119 Revert a change that was made for old cmake version
Lets see if it works now on travis...
2018-10-18 10:17:19 +02:00
Dirk Ziegelmeier
2e51e0dc81 Travis: Use newer CMake, install Ninja 2018-10-18 10:05:57 +02:00
Simon Goldschmidt
9171960c11 update ignore list 2018-10-18 09:04:38 +02:00
Simon Goldschmidt
0be3e35bf2 tftp: mode_to_string() should be static 2018-10-17 21:53:04 +02:00
Simon Goldschmidt
f098c4515e tftp: added example for tftp client
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-17 21:39:37 +02:00
Simon Goldschmidt
0ee4784d0c tftp client: pass 'mode' as an enum, not as a string constant 2018-10-17 21:37:46 +02:00
Simon Goldschmidt
4edbec760a README: put wiki after mailing lists (it's not that good...) 2018-10-17 20:27:00 +02:00
Dirk Ziegelmeier
ee269ceec5 Fix bug #54850: lwip definition of htonX and ntohX do not properly cast to unsigned when byte order is Big Endian
Changes suggested by Ivan Warren
2018-10-17 20:23:28 +02:00
Dirk Ziegelmeier
c2892ed0fb Travis: Try to use Clang-7 2018-10-15 08:58:43 +02:00
Dirk Ziegelmeier
f99f304c20 Add special compile config for Travis 2018-10-14 09:44:12 +02:00
Dirk Ziegelmeier
8dd931ab27 Fix cyclic linking dependency when using MBEDTLS 2018-10-14 09:43:22 +02:00
Simon Goldschmidt
fa76861481 tftp: fix cast warnings; return all error codes
Also keep tftp_mode in tft_state

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 20:26:06 +02:00
Simon Goldschmidt
f272a75b6a implement 'keypressed()' in the unix port
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:31:01 +02:00
Simon Goldschmidt
7c10065bd2 Revert "Try to implement platform-independent keypressed()"
This reverts commit a0d7b01186.

The new 'keypressed()' wasn't platform-independent but broke
the win32 port.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:26:25 +02:00
Dirk Ziegelmeier
a0d7b01186 Try to implement platform-independent keypressed() 2018-10-13 11:26:59 +02:00
Dirk Ziegelmeier
c35dd079ee Adapt launch.json to top-level CMakeLists.txt 2018-10-13 11:26:32 +02:00
Dirk Ziegelmeier
31545ed787 Getting CMake build running on travis 2018-10-13 11:06:00 +02:00
Dirk Ziegelmeier
ea1337d5a2 Travis: Next try for CMake... 2018-10-13 10:57:26 +02:00
Dirk Ziegelmeier
31dbc5722c Another try to get CMake run on travis 2018-10-13 10:54:54 +02:00
Dirk Ziegelmeier
22c1c4ec8d Try to get CMake build running on travis 2018-10-13 10:45:58 +02:00
Dirk Ziegelmeier
d03d4c16fb Travis/LSAN: reenable thread logging, sudo REQUIRED solved the problem 2018-10-13 10:32:37 +02:00
Dirk Ziegelmeier
d33098a8d8 Travis: Try sudo:required 2018-10-13 10:23:42 +02:00
Dirk Ziegelmeier
60afb13e60 Play with LSAN_OPTIONS 2018-10-13 10:00:18 +02:00
Dirk Ziegelmeier
f521d779fb Work on Travis-CI 2018-10-13 09:49:48 +02:00
Dirk Ziegelmeier
ded63c12f1 Try to use more recent compilers on travis 2018-10-13 09:27:18 +02:00
Simon Goldschmidt
ed999f0195 Update travis-CI URL 2018-10-12 22:57:47 +02:00
Simon Goldschmidt
eeef3f65b8 Add a unit test for bug #54833 (tcp_abort with wrong ports)
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:57:24 +02:00
Simon Goldschmidt
a63a7d3c76 Fix bug #54806 (ppp: invalid LWIP_ASSERT_CORE_LOCKED() check)
pppos_input() is safe to call from outside tcpip_thread when
PPP_INPROC_IRQ_SAFE == 1, so only check if PPP_INPROC_IRQ_SAFE == 0

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:26:51 +02:00
Dirk Ziegelmeier
06016cc939 Disable CMake build for now, seems I need a newer CMake version 2018-10-12 22:22:35 +02:00
Simon Goldschmidt
426a6004bf Revert "tcp_abandon: no need to buffer pcb->local_port"
This reverts commit 1570dd8ad1.

Buffering pcb->local_port is needed because TCP_PCB_REMOVE_ACTIVE()
sets it to 0 via tcp_pcb_remove() (comment: "reset the local port
to prevent the pcb from being 'bound'").

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:14:23 +02:00
Dirk Ziegelmeier
1bba969a4a Next try to fix CMake build on Travis 2018-10-12 22:12:07 +02:00
Dirk Ziegelmeier
1c5c2967e4 Try to fix Travis-CI CMake build 2018-10-12 22:06:10 +02:00
Dirk Ziegelmeier
6826130d6f CMake: Use include_guard only when CMake >= 3.10.0 2018-10-12 22:01:25 +02:00
Dirk Ziegelmeier
a63b5aeaa7 Rename test.sh to travis.sh 2018-10-12 21:44:47 +02:00
Dirk Ziegelmeier
75bc361156 Add example app to travis (using cmake) 2018-10-12 21:42:41 +02:00
Simon Goldschmidt
0528f68c6d Fixed the remaining dhcp unit tests after adding ACD
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:37:17 +02:00
Simon Goldschmidt
8d05e22f9a Fix some dhcp unit tests after adding ACD, disable the rest
I disabled the yet unfixed tests to test if the new travis
integration works. Still working on them...

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:20:23 +02:00
Simon Goldschmidt
b406a54389 Fix mqtt unit test broken after 684adaca
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:18:39 +02:00
Simon Goldschmidt
e3cd915fb9 Fix whitespace error introduced when merging 684adaca
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:18:17 +02:00
Simon Goldschmidt
0d4e1beec4 Fix compiling ACD without LWIP_RAND
Copy bad rand implementation from old one in autoip.c

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:05:19 +02:00
Dirk Ziegelmeier
e16cc67b70 Fix Makefile-based builds 2018-10-12 20:43:22 +02:00
Simon Goldschmidt
39162c2d0c Add new files to msvc projects 2018-10-12 20:32:34 +02:00
Dirk Ziegelmeier
5a8ad9d4ba Make test.sh executable 2018-10-12 20:26:22 +02:00
Dirk Ziegelmeier
a3a4103d66 Start working on Travis-CI integration 2018-10-12 20:09:58 +02:00
Dirk Ziegelmeier
437e0a6756 Fix C++ style comments in TFTP 2018-10-12 14:27:31 +02:00