Filippo Gentile
c9eb6f9788
server: add method.tpp include to trayicon.cpp
2023-06-18 13:23:36 +02:00
Reinder Feenstra
dbb70c2a5d
serialport: added support for custom baudrate on Linux (experimental)
2023-05-24 23:26:21 +02:00
Reinder Feenstra
f554a2c9d1
fix: added missing include
2023-03-30 18:59:41 +02:00
Reinder Feenstra
edd4cdad26
trayicon: added Advanced submenu with Open data directory option
2023-03-22 23:31:06 +01:00
Reinder Feenstra
f694566f57
trayicon: moved settings to submenu
2023-03-22 23:30:14 +01:00
Filippo Gentile
45fd09e071
server: removed Unix specific signal handlers
...
Now it uses Boost.Asio
2023-01-21 21:34:17 +01:00
Reinder Feenstra
37fc7bfcdb
fix: use memcpy, size is always known
...
(MinGW complained)
2023-01-13 00:14:08 +01:00
Reinder Feenstra
b22e011ded
fix: missing include for mingw
2023-01-11 23:55: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
0bd6148a1e
TrayIcon: fix string literal conversion.
...
The member function menuAddItem() is called passing constant string
literals for "text" argument which is a pointer to non constant string.
MinGW refuses to compile so change the type to constant LPCSTR.
The variable is later passed inside explicit const_cast<LPSTR>(text).
2023-01-09 21:49:51 +01:00
Filippo Gentile
09b9ed3de6
SerialPortListImplWin32: fix includes with MinGW on Windows
...
MinGW needs additional <ntdef.h> header to define PHYSICAL_ADDRESS.
The type is then used inside <ntddser.h>
2023-01-09 21:45:02 +01:00
Reinder Feenstra
ff9b524593
fix: use localtime_s or localtime_r instead of localtime
2023-01-08 23:34:38 +01:00
Reinder Feenstra
d21816caca
corrected include guard
2023-01-06 00:54:37 +01:00
Reinder Feenstra
433ef6ad79
fix: timing issue (quick start/stop of messagepump failed)
...
occured when running the tests
2022-12-25 23:43:54 +01:00
Reinder Feenstra
0d7ef4eb4a
windows: added serial port discovery/hotplug detection
2022-12-24 20:26:43 +01:00
Reinder Feenstra
4730b7ebce
removed sd_event* member, just get it from the event source
2022-12-21 00:13:16 +01:00
Reinder Feenstra
3b5fec37c8
fix: removed sd_device_unref(), seems not needed based on libsystemd source
2022-12-20 23:35:39 +01:00
Reinder Feenstra
28dcd86919
fix: added missing include
2022-12-20 23:12:06 +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
61cd1356e3
include guard fixes
2022-10-30 22:57:02 +01:00
Reinder Feenstra
5b391d054b
Implemented daemonize, user, group and pidfile command line options
2022-08-23 23:31:06 +02:00
Reinder Feenstra
b35c5527b9
moved signal handling to os/unix directory
2022-08-22 00:01:58 +02:00
Reinder Feenstra
9f52368ad9
Version numbering improvements
...
- GitHub actions branch builds have a <branch>-<pipeline>-<sha_short> suffix.
- GitHub actions tag builds have no suffix.
- Other builds have a -dev suffix
2022-06-12 00:16:19 +02:00
Reinder Feenstra
c228001a9f
tray: fix: icon disappeared after restart
2022-05-31 23:47:56 +02:00
Reinder Feenstra
ccd5ca3bc3
tray: added Start automatically at logon option to menu
2022-05-27 18:45:07 +02:00
Reinder Feenstra
1a8c17fb50
trayicon: added allow client server restart/shutdown options to popupmenu
2022-05-26 10:01:54 +02:00
Reinder Feenstra
7469c41541
trayicon: added restart and show/hide console option to popupmenu
2022-05-11 00:00:46 +02:00
Reinder Feenstra
c7b1c35f21
windows: added tooltip with server version to system tray icon
2022-05-10 23:45:21 +02:00
Reinder Feenstra
aa7a5d2919
removed trailing whitespace
2022-02-21 12:13:41 +01:00
Reinder Feenstra
0bbbaf7ab3
moved traintastic and settings class to seperate folder
2022-02-21 12:12:43 +01:00
Reinder Feenstra
7e6fe45af9
server now displays a message when running in windows system tray
2021-05-12 21:39:59 +02:00
Reinder Feenstra
5bf2875b6c
Added --tray option to run server in windows system tray
...
The https://github.com/zserge/tray code was very helpful for getting it done.
2021-05-11 23:23:05 +02:00