Commit Graph

1107 Commits

Author SHA1 Message Date
Lion Kortlepel
dbb01998ea fix ignored return value in getch_ 2022-09-26 12:24:44 +02:00
Lion
3c4737a145 fix colon in changelog once more, thanks to github's editor being bad 2022-09-26 12:23:30 +02:00
Lion
36e8ba1614 fix colon in changelog to be in proper code quotes 2022-09-26 12:22:22 +02:00
Lion Kortlepel
988f19fd00 fix getch_ to explicitly ignore read() return value 2022-09-26 12:20:07 +02:00
Lion Kortlepel
b145c8159e update changelog to add HOME and END button, fix ip comment 2022-09-26 12:12:16 +02:00
Lion Kortlepel
ae517b30c0 fix bug which caused updates to only check the first URL 2022-09-26 12:04:42 +02:00
Lion Kortlepel
e638c25f70 change assertions to print the error in release builds
this should make it easier to debug crashes in the server remotely in
release builds when sentry is down.
2022-09-26 12:03:57 +02:00
Lion Kortlepel
24c98eb2b2 add more compile-time diagnostics, implement fixes for them
Before, a lot of common errors went unnoticed, due to insufficient
compiler diagnostics. This commit fixes this by adding a lot of new
diagnostics, and fixing the issues found by this.
2022-09-26 12:02:05 +02:00
Lion
501fddadc6 Merge pull request #127 from BeamMP/feature-betterautocomplete
Feature: Better autocomplete
2022-09-26 10:44:15 +02:00
Lion Kortlepel
6da9a921d0 fix "init and reset termios" unit test
it was testing via memory-equality, which is not valid.
2022-09-26 01:14:08 +02:00
Lion Kortlepel
a8333359ce update commandline to work with new autocomplete 2022-09-26 00:17:23 +02:00
20dka
b71aa2db04 advanced autocomplete for lua 2022-09-26 00:13:16 +02:00
Lion
78f7cdc17a Merge branch 'master' into rc-v3.1.0 2022-09-25 19:50:12 +02:00
Lion Kortlepel
36a1da3218 fix TServer::HandlePosition declaration
it was different from the implementation
2022-09-14 20:59:07 +02:00
Lion Kortlepel
23e9941704 update linux and windows workflows to run on pr open, reopen, review submit 2022-09-14 20:42:25 +02:00
Lion
469eb78c80 Merge pull request #123 from 20dka/rc-v3.1.0
Add MP.GetPositionRaw() with lua fixes and features
2022-09-14 20:41:33 +02:00
Lion Kortlepel
af5658d0e1 update toml11 2022-09-14 20:41:00 +02:00
Lion Kortlepel
1062e29582 update sentry-native 2022-09-14 20:41:00 +02:00
Lion Kortlepel
ec9a280d30 update libzip 2022-09-14 20:41:00 +02:00
Lion Kortlepel
784bbd4f6b update fmt 2022-09-14 20:41:00 +02:00
Lion Kortlepel
bc6b4e40e1 update httplib 2022-09-14 20:41:00 +02:00
Lion Kortlepel
071ba08dfe update sol2 2022-09-14 20:41:00 +02:00
Lion Kortlepel
023738c41b update json 2022-09-14 20:41:00 +02:00
Lion Kortlepel
6a166110f6 update doctest 2022-09-14 20:41:00 +02:00
Lion Kortlepel
71fbf7b7cc update commandline 2022-09-14 20:41:00 +02:00
20dka
4b242c26fc optimize function argument passing in GetPidVid, TServer::HandlePosition 2022-09-14 18:53:44 +02:00
20dka
a84d042a8a add error messages to some lua events 2022-09-14 12:45:40 +02:00
20dka
44b94c9e58 add MP.GetPositionRaw(pid, vid)
fix vehicles sometimes not deleting for all players
2022-09-14 01:54:49 +02:00
Lion
660f94b691 Merge pull request #110 from tsao-chi-forks/patch-2
Support build on apple silicon
2022-09-13 16:15:34 +02:00
Lion
a7c4103f7c add section about adding features 2022-08-08 20:10:50 +03:00
Lion Kortlepel
0932078e4b add CONTRIBUTING.md 2022-08-08 20:10:50 +03:00
Lion Kortlepel
54e02abad1 update toml11 2022-08-03 18:16:56 +02:00
Lion Kortlepel
e4cbba59ef update sentry-native 2022-08-03 18:14:19 +02:00
Lion Kortlepel
e4db66782e update libzip 2022-08-03 18:13:49 +02:00
Lion Kortlepel
b443bec72e update fmt 2022-08-03 18:13:25 +02:00
Lion Kortlepel
76a8f231ac update httplib 2022-08-03 14:02:11 +02:00
Lion Kortlepel
398f8d3fa4 update sol2 2022-08-03 14:01:40 +02:00
Lion Kortlepel
60dd1e2472 update json 2022-08-03 14:01:04 +02:00
Lion Kortlepel
e634b4b6b7 update doctest 2022-08-03 14:00:26 +02:00
Lion Kortlepel
1caa5e3517 update commandline 2022-08-03 13:59:54 +02:00
Lion Kortlepel
b009a37f35 update asio to 1-23-0 2022-08-03 13:59:11 +02:00
Lion Kortlepel
054016a099 remove debug print 2022-07-20 16:08:56 +02:00
Lion Kortlepel
8b57f6e35a fix missing Lua error messages in ResultCheckThread 2022-07-20 16:07:00 +02:00
Lion Kortlepel
f21d3d0389 fix bug which caused Lua hot-reload not to report syntax errors 2022-07-20 14:56:58 +02:00
Lion Kortlepel
2ed92c4aa1 fix plugin monitor eating a whole cpu core
i must have messed this up when i changed the plugin monitor behavior
recently
2022-07-20 14:42:07 +02:00
Lion Kortlepel
fd7b11f436 fix event loop timing issue
The event loop tries to run no faster than every 10ms. If it detects
that it goes faster, it would incorrectly calculate the difference, and
then wait (what I assume was) way too long or too short.
Either way, now it's fixed and it correctly works, even when introducing
new lua states.
2022-07-20 14:33:19 +02:00
Lion Kortlepel
6a94060970 update changelog 2022-07-14 02:08:28 +02:00
Lion Kortlepel
51ccf31373 add beammp_debugf 2022-07-14 01:38:35 +02:00
Lion Kortlepel
a2cc629153 add onFileChanged (fixes #116) 2022-07-14 01:18:50 +02:00
Lion Kortlepel
ad414ec5c9 call onInit on hot-reload, cleanup, remove warnings
onInit is now called on hot-reload, for the whole plugin. Arguably, this
is not expected behavior, since only one file is being reloaded, but
this is the easiest way to do it, and the entire hot-reload process is
only for development purposes. Open an issue if this breaks your stuff
:^)
2022-07-14 00:37:47 +02:00