121 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
57a91c46d1 disabled clang-tidy for tests and catch2 2024-11-22 23:28:56 +01:00
Reinder Feenstra
c4ee37a6cd board: added crossover support
track can cross on tile corners, this actually is a crossover so a hidden crossover is inserted to prevent double reservation (and collisions)
2024-11-17 23:41:01 +01:00
Reinder Feenstra
a886aedd06 catch: set discovery mode to pre test, not all dependencies are available just after build 2024-10-23 21:34:52 +02:00
Reinder Feenstra
f6a60ffac6 fix: enabled C++17 for Catch
should fix linker errors on win/macos
2024-10-23 20:31:11 +02:00
Reinder Feenstra
d996d631f0 fixes for catch2 v2 -> v3 upgrade 2024-10-22 23:42:32 +02:00
Reinder Feenstra
03a10d367a linux: added inotify version of serial port list for systems without systemd 2024-09-25 22:20:47 +02:00
Reinder Feenstra
fdda0888d3 Upgrade to Lua 5.4 2024-07-12 00:23:12 +02:00
Reinder Feenstra
191a3631e1
fix: LibArchive_INCLUDE_DIR -> LibArchive_INCLUDE_DIRS 2024-06-16 23:58:56 +02:00
Reinder Feenstra
a4d735a44c use find_path/find_library for lua5.3 on macOS 2024-06-16 23:45:06 +02:00
Reinder Feenstra
a78ecf3937 use find_path/find_library for libarchive on macOS 2024-06-16 23:25:13 +02:00
Reinder Feenstra
9ba8fb7a30 use FindPackage for libarchive and lua on macOS 2024-06-16 23:03:02 +02:00
Reinder Feenstra
230fa8e513
set _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION for macos-13 2024-06-16 13:37:24 +02:00
Reinder Feenstra
fcccab334f Renamed DCC++ to DCC-EX, as only DCC-EX is and will be supported. 2024-04-09 00:26:04 +02:00
Reinder Feenstra
a1e8f03b04 server: added if(BUILD_TESTING) checks for all test stuff, so buildroot doesn't built it 2024-02-19 08:41:09 +01:00
Reinder Feenstra
ef57b4bc4b server: added NO_LOCALHOST_ONLY_SETTING cmake option for buildroot
if enabled traintatic-server will always listen on all interfaces.
2024-02-19 08:39:49 +01:00
Reinder Feenstra
3c4122c13d debian: traintastic-server now runs a service/daemon 2024-02-18 13:55:07 +01:00
Reinder Feenstra
6559c4b2e1 moved clang-tidy config to file 2024-02-14 23:54:39 +01:00
Reinder Feenstra
ad552a6cb5 fix: libsystemd is optional 2024-02-12 17:04:46 +01:00
Reinder Feenstra
207c9ffd88 cmake: added target traintastic-lang for generating language files 2023-11-02 00:06:28 +01:00
Reinder Feenstra
577c55e449 board: NX button and path selection #WIP
see #14
2023-10-25 22:26:28 +02:00
Reinder Feenstra
5b5485869c test: added empty train activation test 2023-09-24 23:01:42 +02:00
Reinder Feenstra
6670c774de refactor: moved common kernel stuff to KernelBase #WIP 2023-09-22 00:39:21 +02:00
Reinder Feenstra
acc9a8eb9f Merge branch 'master' into 11-märklin-cs2cs3-hardware-support 2023-08-03 23:20:33 +02:00
Reinder Feenstra
cf3b0f7141 cmake: clang-tidy is off by default
easier/faster for non developers to build it :)
2023-08-03 23:19:50 +02:00
Reinder Feenstra
584f4d9f73 marklin_can: added locomotive list to interface dialog
see #11
2023-07-30 23:27:11 +02:00
Reinder Feenstra
28fb4491cd corrected comment 2023-07-30 09:51:18 +02:00
Reinder Feenstra
4c58967555 fix: used wrong variable for MinGW 2023-07-30 08:53:31 +02:00
Reinder Feenstra
6095969cd0 marklin_can: added reading of loks list (over CAN)
see #11
2023-07-30 00:48:37 +02:00
Reinder Feenstra
31e5be6405 windows: added zlib 2023-07-30 00:24:45 +02:00
Reinder Feenstra
fbdfc6b0d5 added zlib
required for reading CS2 config data stream, see #11
2023-07-29 00:50:03 +02:00
Reinder Feenstra
d98978e8ca marklin_can: added SocketCAN iohandler
see #11
2023-07-12 23:37:19 +02:00
Reinder Feenstra
b9dcc0703e Merge remote-tracking branch 'origin/master' into 11-märklin-cs2cs3-hardware-support 2023-07-01 01:09:51 +02:00
Reinder Feenstra
90f9fb9946 missing in c6913206e5926f3ccd9222347ce551a9c8fbd2d3 2023-06-05 08:16:40 +02:00
Reinder Feenstra
21ef4382c3 change language file format to binary
for multiline string support
and better integration with poeditor.com
2023-05-29 10:51:37 +02:00
Reinder Feenstra
dbb70c2a5d serialport: added support for custom baudrate on Linux (experimental) 2023-05-24 23:26:21 +02:00
Reinder Feenstra
37e808fdd5 loconet: added PCAP logging support (for developers)
currently using DLT_USER0, this should be changed if there is one for loconet
2023-04-30 23:50:35 +02:00
Reinder Feenstra
43cd73d2c0 server: added LOG_DEBUG() macro, to simlify debug logging during development 2023-04-22 16:31:45 +02:00
Reinder Feenstra
07e71677ca interface: added status object (for display in client status bar) 2023-04-18 23:23:32 +02:00
Reinder Feenstra
9301461ec2 CMake: Added compiler flags for development
- Enable ASAN and UBSAN
- Use LLVM ld (faster than standard linker)
Uncoment them to enable
2023-04-13 00:12:30 +02:00
Reinder Feenstra
12a22d20ed marklin_cs: implemented TCP/UDP communication and system stop/go/halt
see #11
2023-01-28 22:48:15 +01:00
Reinder Feenstra
b5c6d37e0c test: set define TRAINTASTIC_TEST
useful for making some stuff available during testing
2023-01-15 22:49:46 +01:00
Reinder Feenstra
bf1cf30cae test: moved hardware related test to seperate directory 2023-01-15 22:48:45 +01:00
Reinder Feenstra
08e4b45268
Merge pull request #3 from gfgit/work/fix_mingw
Fix compilation on Windows with MinGW
2023-01-10 23:41:57 +01:00
Filippo Gentile
811536370e CMake: fix linking with MinGW compiler
First commit of a series to fix issues when building with MinGW

Boost.Asio uses Windows Socket library version 2.
MinGW needs explicit linking to ws2_32.dll for socket functions.
Also mswsock.dll is needed for AcceptEx() function.

MinGW can link directly .dll files, without import libraries.
So keep the generation of import library only on MSVC builds.
The path to the library needs adjusmets as it is no longer generated
inside build directory.
2023-01-09 21:41:48 +01:00
Reinder Feenstra
f3e47be740 set MSVC warning level to 4 2023-01-09 17:09:28 +01:00
Reinder Feenstra
0d7ef4eb4a windows: added serial port discovery/hotplug detection 2022-12-24 20:26:43 +01:00
Reinder Feenstra
9d743cb377 linux: added serial port discovery/hotplug detection (using libsystemd) 2022-12-20 00:01:20 +01:00
Reinder Feenstra
34abfafd21 added special serial device property and serial port list 2022-12-19 23:55:24 +01:00
Reinder Feenstra
50f14074a1 added basic WiThrottle support 2022-12-04 23:54:32 +01:00
Reinder Feenstra
3e1121ee04 added throttle objects to aquire/release decoder control 2022-12-04 23:16:08 +01:00