aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-16Merge branch 'main' into feat/whitelist-safeio-file-extensionsGeckoEidechse
2024-05-05Fix plugin with NULL strings causing UB (#695)Jan
Instance string members only after checking for null pointers to prevent UB
2024-04-05Add instructions to build with podman (#686)GeckoEidechse
Add instructions to build NorthstarLauncher with podman under SELinux enabled distros
2024-04-05Trim trailing whitespace in build instructionsv1.24.5-rc1GeckoEidechse
2024-03-22style: Fix formattingGeckoEidechse
2024-03-22feat: Initial check for whitelisted filetypesGeckoEidechse
2024-03-09Fix crash in silver-bun (#679)v1.24.6-rc1v1.24.4-rc2v1.24.4Jack
2024-03-04Address C4100 compiler warnings (unused var) (#648)v1.24.4-rc1v1.24.3-rc3v1.24.3-rc2v1.24.3Jack
Adds and uses a macro to avoid the warning
2024-03-04Update silver-bun to `72c74b4` (#664)Jack
Bumps the vendored silver-bun library to the newest commit in upstream Co-authored-by: F1F7Y <filip.bartos07@proton.me> Co-authored-by: IcePixelx <41352111+IcePixelx@users.noreply.github.com>
2024-03-02Don't allow too many arguments to be sent to the map command (#673)v1.24.3-rc1v1.24.2-rc1v1.24.2Jack
`map` should only take a single arg that specifies the map to load.
2024-03-02Check OpenExternalWebBrowser custom flag better (#674)Jack
Properly check string prefix to see if we should open it in browser
2024-02-25Fix bad offsets of `sq_getfunction` (#672)cat_or_not
and remove duplicate assignment
2024-02-18Clean up wsock proxy code and move wsock build system logic (#671)v1.24.1-rc2v1.24.1-rc1v1.24.1Jan
- moves `WSockProxy` to `wsockproxy/CmakeLists` - remove exepath stuff from dllmain + its still done in loader.cpp because its used when reporting failure - Disabled any Thread Library calls + we don't need to know about threads at all in the proxy - yoink `wsock32.asm` into outer space + turns out, we can just call the function in a void shim since that wont touch the registers - stop copying `wsock32.dll` to the game directory + this should improve the state of things when using the EA App
2024-02-06Update default mods list URL (#662)v1.24.0-rc1v1.24.0GeckoEidechse
The default branch for the VerifiedMods repo was renamed from `master` to `main`.
2024-02-05Port navmesh debug renderer from primedev (#626)Jack
Adds support for rendering navmeshes in-game using debug overlay Cherry-picked from primedev, originally written by F1F7Y Co-authored-by: F1F7Y <filip.bartos07@proton.me> Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com>
2024-02-04Plugin interfaces (plugins v4) (#615)v1.23.1-rc2v1.23.1-rc1v1.23.1v1.23.0-rc2v1.23.0-rc1v1.23.0uniboi
Replaces the current plugin api with source interfaces. - backwards compatible - no more json in binaries (wtf) - does not rely on structs from third party libraries (wtf) - actually initializes variables - no more basically unused classes The launcher exposes almost everything required by plugins in interfaces that allow for backwards compatibility. The only thing that's passed to a plugin directly is the northstar dll HWND and a struct of data that's different for each plugin.
2024-01-30ScopeGuard improvements (#651)Jack
`std::function` introduced a layer of indirection that can be removed through templating the class.
2024-01-27Remove unused variable in mod concommands (#652)Jack
Remove unused variable that was also leaking memory
2024-01-24Pull zlib from custom fork (#650)v1.22.2-rc2v1.22.2Jack
Fixes builds failing due to https://github.com/madler/zlib/commit/2e3d86c4e12c4c23db4229eea7d0c1cd4571273e
2024-01-21Address C4267 compiler warnings (#647)v1.22.2-rc1Jack
Implicit conversion from `size_t` to a smaller type
2024-01-21Cherry-pick changes from more recent RapidJSON to reduce warnings (#646)Jack
* fix C5054 (cherry-pick change from https://github.com/Tencent/rapidjson/pull/1817) * fix C4099 in Rapidjson. Cherry-picks the following: https://github.com/Tencent/rapidjson/commit/d87b698d0fcc10a5f632ecbc80a9cb2a8fa094a5 https://github.com/Tencent/rapidjson/pull/1568
2024-01-21Add slow-speed timeout when downloading mod (#611)v1.22.1-rc4v1.22.1-rc3v1.22.1Rémy Raes
Abort request if network connection is dropped or too slow.
2024-01-21Always print masterserver response request id (#633)GeckoEidechse
Always print masterserver response request id to logs
2024-01-20Add and use ScopeGuard (#643)v1.22.1-rc2Jack
Use a scope guard instead of `GOTO` statements for curl cleanup
2024-01-20Remove `structs.h` in favor of manual padding (#613)Jan
- delete `structs.h` - completely remove VPKFileEntry (its completely unused) - convert all other instances of `OFFSET_STRUCT` to normal structs (this was automated and may be wrong) - Update `m_bZooming` type from `uint32_t` to `bool`
2024-01-13Fix debug overlay not rendering script function stuff (#637)v1.22.1-rc1Jack
Call our version of the function instead of native
2024-01-04 Add ban/kick concommand completion (#604)v1.22.0-rc1v1.22.0cat_or_not
Adds completion to ban and kick commands when typing them in in-game console.
2024-01-04Use .def for function exports (#625)v1.21.4-rc1v1.21.4Jack
Cherry-picked from primedev Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2024-01-04Add cmake format check to CI (#630)Jack
2024-01-04Format cmake filesNorthstar
2024-01-03Format cmake filesNorthstar
2024-01-03Format cmake filesNorthstar
2024-01-03Run auto-label action at a later timeGeckoEidechse
for testing
2024-01-03Schedule the merge conflict labelling to run daily (#631)Jack
2023-12-30Simplify vscript stub function (#627)v1.21.3-rc1v1.21.3Jack
Since we can get stack info from the sqvm, we don't need to give the function name in the template and stuff. Cherry picked from primedev
2023-12-27Folder restructuring from primedev (#624)v1.21.2-rc3v1.21.2Jack
Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-12-20Add Action to add label to PR on merge conflict (#621)GeckoEidechse
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
2023-12-20Format projectNorthstar
2023-12-20Set a better `AccessModifierOffset` in `clang-format` (#619)Jack
Default appears to be -2, which causes clang-format to mix tabs and spaces
2023-12-20Cherry pick "remove unnecessary namespaces" from primedev (#618)v1.21.2-rc2Jack
Cherry-picks the removal of unnecessary namespaces from `primedev` https://github.com/F1F7Y/NorthstarPrime/ Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-12-14Fix SERVER | CLIENT context specifier error (#566)v1.21.2-rc1v1.21.1-rc1v1.21.1EladNLG
2023-12-14Mod download UI integration (#595)v1.21.0-rc2v1.21.0Rémy Raes
UI integration for the mod downloading feature. Feature activation locked behind a convar.
2023-12-14Add plugin dependency constants (#458)v1.21.0-rc1cat_or_not
Adds dependency constants for plugins so mods can rely on plugins without always producing script errors when the plugin is missing
2023-12-14Rework `-vanilla` to be a vanilla compatibility mode (#601)Jack
Old `-vanilla` behaviour is now handled by `-nonorthstardll`. New squirrel constant called `VANILLA`. Set to true when in vanilla compatibility mode. Differences when in vanilla compatibility mode: - Doesn't restrict server commands (same as `-norestrictservercommands`) - Doesn't block FairFight screenshot functions - Doesn't do Atlas-related stuff (except for mainmenupromos)
2023-12-13Disable more compression methods for minizip (#602)Jan
Only use the absolute necessary compression methods in order to still allow compilation under Wine.
2023-12-07Format projectNorthstar
2023-12-07Add clang-format config to pack constructor initializers (#608)uniboi
The setting will set each initializer in a new line if all of them don't fit in one line
2023-12-04Bump clang format action to 0.16.2 (#609)GeckoEidechse
Current is 0.13 which was released October 2021. This bumps it latest at the time of writing, i.e. 0.16.2
2023-12-01Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)GeckoEidechse
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended.
2023-11-28Add a safeguard to map command (#564)GeckoEidechse
Adds safeguard to the `map` command that prevents it from executing if the requested map is invalid or no map argument is given. Retry of #529 Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>