Commit graph

586 commits

Author SHA1 Message Date
Ritchie Frodomar
2706a00dcc Add docfx for documentation generation 2024-10-18 23:17:58 -04:00
Ritchie Frodomar
e5ac222268 Remove the verbose bash logging in DCO check 2024-10-16 21:10:33 -04:00
Ritchie Frodomar
c4114fb215 ADd a less-restrictive PAT to use for the job token 2024-10-16 21:05:03 -04:00
Ritchie Frodomar
2a462fdb71 Silence, curl! 2024-10-16 20:40:42 -04:00
Ritchie Frodomar
0365ed4f13 Omit the unnecessary query for the project's ID. 2024-10-16 20:36:38 -04:00
Ritchie Frodomar
0cd9513036 Actually usethe correct CI variabole for the job token. 2024-10-16 20:29:59 -04:00
Ritchie Frodomar
51fe5f4fb3 Let's not spam gitlab.com, please. This is also why you do not let computers write code for you. 2024-10-16 20:23:58 -04:00
Ritchie Frodomar
6464fa70ca Use a custom docker environment for the DCO legal check 2024-10-16 20:19:01 -04:00
Ritchie Frodomar
83b8f5fb2e Fucking YAML how does it work 2024-10-16 20:02:54 -04:00
Ritchie Frodomar
17c37f4e60 Make bash really really spammy 2024-10-16 19:58:17 -04:00
Ritchie Frodomar
2c3fb5ae49 fi 2024-10-16 19:57:35 -04:00
Ritchie Frodomar
72318ff440 Fix DCO check script, this is why you don't trust computers to write code for you. 2024-10-16 19:46:28 -04:00
Ritchie Frodomar
e172c6cfc9 Add support for bypassing DCO check for project maintainers 2024-10-16 19:44:14 -04:00
Ritchie Frodomar
dd5833669e Update GitLab pipeline to use MGFXC container 2024-10-16 17:56:37 -04:00
Ritchie Frodomar
688c75e37e Improve memory eficiency and performance of sdsh parsing
* Handle comments in a more efficient way in script parser

* Remove need for iterator functions in ScriptParser

* Prepare token parsing to no longer need to be an iterator functionn

* Break the game

* Remove need for async/await when parsing a script

* add LegacyScriptParser to prevent MSBuild from dying if I make a mistake on the new sdsh parser

* Fix line editor copy/paste in Terminal only typing pasted input one character at a time

* Move ShellUtility.IdentifyTokens into ScriptParser

* Update .gitignore

* Remove needless scoping feature from the script parser

* Remove need for a script execution context during parsing

* Remove incompetent use of async/await in script parsing

* Remove unnecessary string.Trim in sdsh parser
2024-09-17 16:08:50 +00:00
Ritchie Frodomar
d3a5a8adfd Missed one. I'm rusty. 2024-09-14 19:45:37 -04:00
Ritchie Frodomar
a4c8dafb95 Add null-checks to all collection serialization routines, preventing a world load crash 2024-09-14 19:43:21 -04:00
Ritchie Frodomar
13271072a3 Don't create new empty collections when serializing null collections in save files 2024-09-14 19:39:33 -04:00
Ritchie Frodomar
89f292eeb2 Add support for un-handling of exceptions when under a debugger, making Ritchies all across the world way less annoyed when the game crashes. 2024-09-14 19:31:40 -04:00
Ritchie Frodomar
79440d44cc Merge branch 'master' of https://gitlab.acidiclight.dev/sociallydistant/sociallydistant
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-24 14:09:48 -04:00
Ritchie Frodomar
5cca93ffa3 Add support for clipboard
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-24 14:01:25 -04:00
Ritchie Frodomar
1d15be232e Upgrade MonoGame to use Silk.NET.SDL
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-23 22:47:26 -04:00
Ritchie Frodomar
c8960fae51 Switch to hard-forked MonoGame
* Fix duplicate nuget source add in gitlab pipeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Install JetBrains Annotations to SociallyDistant.Framework

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Upgrade MonoGame

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix all warnings

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix dotnet tool manifest, so that --prerelease is no longer needed.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Remove documentation XML generation to suppress warnings

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix issue related to how my local runner is set up

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix improper CLU arguments to dotnet nuget add source

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix YAML syntax

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix bash syntax error

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add custom nuget source as part of GitLab CI pipeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update README to document adding the custom NuGet source

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix drag and drop

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix mouse button events

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Switch to our custom MonoGame fork

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add submodule for our flavour of MonoGame

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-23 04:15:52 +00:00
Ritchie Frodomar
0bc397bd90 Fix duplicate nuget source add in gitlab pipeline
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-22 23:55:43 -04:00
Ritchie Frodomar
548512f617 Install JetBrains Annotations to SociallyDistant.Framework
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-22 23:51:28 -04:00
Ritchie Frodomar
08e39e64d2 Upgrade MonoGame
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-22 23:48:42 -04:00
Ritchie Frodomar
d19e149dc9 Fix all warnings
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-22 23:17:01 -04:00
Ritchie Frodomar
9d3911fb72 Fix dotnet tool manifest, so that --prerelease is no longer needed.
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-22 13:52:14 -04:00
Ritchie Frodomar
f55789eed4 Remove documentation XML generation to suppress warnings
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:36:52 -04:00
Ritchie Frodomar
402434d37a Fix issue related to how my local runner is set up
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:29:42 -04:00
Ritchie Frodomar
ea547fdfbd Fix improper CLU arguments to dotnet nuget add source
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:26:11 -04:00
Ritchie Frodomar
e600a4abd4 Fix YAML syntax
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:23:31 -04:00
Ritchie Frodomar
f44be6e786 Fix bash syntax error
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:19:56 -04:00
Ritchie Frodomar
03f5318290 Add custom nuget source as part of GitLab CI pipeline
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:14:22 -04:00
Ritchie Frodomar
169a0a35d4 Update README to document adding the custom NuGet source
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 21:02:03 -04:00
Ritchie Frodomar
8d087e37af Fix drag and drop
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 20:52:07 -04:00
Ritchie Frodomar
19b4a7ea13 Fix mouse button events
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 20:27:58 -04:00
Ritchie Frodomar
19e95e507a Switch to our custom MonoGame fork
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 20:02:13 -04:00
Ritchie Frodomar
eb2bdd50e4 Add submodule for our flavour of MonoGame
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-21 13:01:31 -04:00
Ritchie Frodomar
b0cbe7740f Fix issue where Windows is a bitch.
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-14 20:30:31 -04:00
Ritchie Frodomar
8e2059ec68 Add support for music and sounds
* Add SoundScheme helper for playing a sound

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for changing sound scheme via settings

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for sound schemes

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitignore

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix sliders only generatibg change events on whole numbers

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Properly apply music volume to new tracks as they start playing

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for setting music volume

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for music playback via PlaySongEvent

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-08-15 00:21:54 +00:00
Ritchie Frodomar
9345874b84 Merge branch 'devel' of https://gitlab.acidiclight.dev/sociallydistant/sociallydistant into devel
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-31 21:25:47 -04:00
Ritchie Frodomar
d71af606b9 The Newsflash Update (Socially Distant 24.07-indev)
* Fix invalid usage of BinaryDataReader

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Render images inline in TextWidget

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for loading images in TextWidget from ContentManager

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for parsing image tags in TextWidget

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for embedding images via Markdown

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Flesh out the New Cipher Today UI

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for clicking on web search results in Web Browser

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for markdown rendering in the Web Browser

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for Markdown-based news articles

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix crash when pressing down arrow key on a focused empty input field

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Allow enter to search in Home Page

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Port the Home Page UI

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Port Home Page

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add a basic Page Not Found page to Web Browser

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for web page scrolling

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for displaying full news articles in Web Browser

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for generating unique news URLs

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Skip converting script text to char array when tokenizing in sdsh

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add Read More link to Today's Top Story in home page

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Display top news story on web browser homepage

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Finish Web Directory and Search in homepage

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add Social Media Feed to Browser Start page

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add prototype of new Web Browser Start page

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix website links in Shell Navigation URI system

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Allow News posts to show in player's Timeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Testing the DCO acknowledgement job

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

Move build into the dotnet publish command during Linux deploy

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

Update README

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update README and CONTRIBUTING

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add Windows deploy job

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update README

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Move build into the dotnet publish command during Linux deploy

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Remove support for Windows in CI pipeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Specify RuntimeIdentifiers in SociallyDistant.csproj

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Argh. Pipelines. Again.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Argh. Pipelines.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix issue where bash is stupid

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Revise build pipeline to publish game as self-contained

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add pipeline jobs for building the game

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Testing the DCO acknowledgement job

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Update .gitlab-ci.yml file

* Attempt to enforce DCO with a pipeline

* Update README and CONTRIBUTING
2024-08-01 00:24:52 +00:00
Ritchie Frodomar
ef0cb58271 Merge branch 'devel'
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-29 22:04:56 -04:00
Ritchie Frodomar
a5e0f1878e Add Checkpoint system
* Add crude splash screen

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix issue where login screen sshows when there are no users to log in to.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix mission state not being reset when switching between save files

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix issue where abandoning missions doesn't update the save file

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix home directories not being created when enumerated

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Restore checkpoint when exiting the game, if a mission is active.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix an issue where a blank line existed after an opening curly brace, which made me physically uncomfortable

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix mission scripts writing to files during checkpoint restore

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for restoring actual checkpoints

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for persistent missions

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for retrying missions from the last checkpoint

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for mission retrying

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-30 01:56:58 +00:00
Ritchie Frodomar
98e2dab670 Fix save files being last played on Jan 1st Year 1 A.D.
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-28 21:32:05 -04:00
Ritchie Frodomar
f899ddaca4 Add support for mission objectives
* Add support for the Mission FAil screen.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for mission failing

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for Mission Complete screen

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Hide Challenges list in Info Panel when no challenges are active

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add wait task for missions, and fix objectives not being cleaned up after complete/fail

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add placeholder newciphertoday network for test mission

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix sdsh parallel instructions not actually awaiting their sub-instructions concurrently

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Clean up mission info widget when a mission is abandoned

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add suppotrt for showing objectivs as check lists in Info Panel

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Display current mission in Info Panel

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix various issues with how objectives execute

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix NetworkUpdateHook not firing on world updates

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add Ping, DeleteFile, and WriteFile mission tasks

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for file system events on the Event Bus

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for modifying device filesystems in missions

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Use Event Bus to fix issue where mission embeds don't react to missions being abandoned/completed

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for the Event Bus

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add support for defining mission task types in C#

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix edge-case crash when completing missions in Mod Debug Mode

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add script commands for posting mission objectives

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add test mission script for testing objectives

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add Windows deploy job

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update README

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Move build into the dotnet publish command during Linux deploy

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Remove support for Windows in CI pipeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Specify RuntimeIdentifiers in SociallyDistant.csproj

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Argh. Pipelines. Again.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Argh. Pipelines.

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Fix issue where bash is stupid

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Revise build pipeline to publish game as self-contained

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Add pipeline jobs for building the game

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Testing the DCO acknowledgement job

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Attempt to enforce DCO with a pipeline

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>

* Update README and CONTRIBUTING

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-27 18:14:27 +00:00
Ashe
12db7e7106 Fix startup crash caused by inconsistency in the saving and parsing of dates
* Fix startup crash caused by inconsistency in the saving and parsing of dates

The "Last played" date is saved using a non-changing locale, which stays the same
on all systems. However, the date is parsed with no specific locale, causing the
parsing method to default to the system locale.

The expected locale uses a month-day-year format, but if the player's system
locale uses a different format, such as day-month-year, certain dates will look
invalid and trigger a crash, while others will just be parsed incorrectly.

Formats other than month-day-year are the default in most of the world outside
of the United States, so this bug likely affects a significant amount of the
playerbase.

Here are two examples, where the system uses day-month-year:
* July 26th, 2024 gets saved as "07-26-2024", but there's no 26th month, so it
  crashes.
* January 8th, 2024 gets saved as "01-08-2024", which gets parsed as August 1st,
  2024.

Signed-off-by: Ashe <hashedpanda@outlook.dk>
2024-07-27 15:28:27 +00:00
Ritchie Frodomar
ef3b1cc6eb Update .gitlab-ci.yml file
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-22 22:57:17 +00:00
Ritchie Frodomar
9ac5b7f8a1 Add Windows deploy job
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
2024-07-22 18:54:25 -04:00