summaryrefslogtreecommitdiff
path: root/src/sys
AgeCommit message (Collapse)Author
2017-03-11use more descriptive -- and funny -- shutdown messages due to common system ↵/dev/humancontroller
signals
2017-03-09stop accessing the hostname, the current username and the ↵/dev/humancontroller
architecture/platform/OS information use "UnnamedPlayer" as the default player name
2017-03-09remove the (generally unsecure) use of PIDs and PID files/dev/humancontroller
this includes the removal of the "safe mode" question feature
2017-03-09remove the (generally unsecure) setenv command/dev/humancontroller
2017-03-09on Windows, allow running without a system console (without crashing)/dev/humancontroller
2017-02-07load libraries only, and load VMs additionally, from the path specified by ↵/dev/humancontroller
the fs_overpath cvar
2017-02-07be more cautious in assigning default fs_ paths/dev/humancontroller
2017-02-07stop referencing the current working directory/dev/humancontroller
remove Sys_GetCwd()
2017-02-06use system libraries more properly; introduce a dependency on Minizip/dev/humancontroller
remove the USE_LOCAL_HEADERS option (it was broken anyway)
2016-04-07Fix typo of SDL_Has3DNow() in Sys_GetProcessorFeatures()Zack Middleton
2016-04-07Sys_GetProcessorFeatures() didn't check for 3DNow! or Altivec.Ryan C. Gordon
2016-04-07Ensure reads from /dev/urandom are unbufferedDion Williams
Upstream: JACoders/OpenJK@de6a9dfd40065ae9a5a2b0b3ef701feee8dac867
2016-04-07Fix Windows file list extension checkZack Middleton
Windows' Sys_ListFiles would add files that contain the extension anywhere, not only at the end of the file name. Example: "word.pk3omghacks" use to be loaded as a pk3 file.
2016-04-07SIGABRT is in ANSI and POSIX.1, and SIGIOT isn't.Pan7
2015-03-17Add arrow key support for win32 consoleXycaleth
2015-03-17Set float rounding mode on non-Windows platformsZack Middleton
Sys_SetFloatEnv in sys_unix.c existed but was not called. It sets the rounding mode to "to nearest" which is the default on Linux. Might be required on other platforms, I don't know.
2015-03-17Fix pid file ignoring user set fs_homepathZack Middleton
Create pid file in fs_homepath instead of (always) default homepath. If not manually set, fs_homepath is set to Sys_DefaultHomePath().
2015-03-17Fix a few warningsTim Angus
2014-08-28Get clipboard data from SDLZack Middleton
This makes pasting in client console and UI edit fields work on X11 and OS X. Sys_GetClipboardData is only used by client, so returning NULL in dedicated is fine.
2014-08-28Check #ifdef MACOS_X not #if MACOS_XZack Middleton
2014-08-28Ignore -psn* arguments on Mac OS XZack Middleton
Mac OS X adds an argument starting with "-psn" when launched using Finder, Dock, or a terminal using open command and not specifying arguments. It caused the opening videos to be skipped. This change mimics SDL 1.2.
2014-08-28Various fixes from FumaTim Angus
2014-08-28The in_mouse stuff makes no sense in SDL2Tim Angus
2014-08-28Use SDL 2 instead of SDL 1.2Tim Angus
2014-06-17Fix potential OOB in Windows Dedicated TTY CON_ShowZack Middleton
Found by Coverity.
2014-06-17Release netowrk bindings on shutdownMAN-AT-ARMS
2014-06-17Bug #6021 Fix misuse of Sys_Mkdir (Joerg Dietrich)Tim Angus
2014-06-17Fix recursive crash when home path cannot be createdThilo Schulz
2014-06-17Fix Windows server history scrollingZack Middleton
Update history position when CON_HistNext goes to input line, otherwise when going to previous a line is skipped. Don't let CON_HistPrev go to unused lines.
2013-05-31make the fread() success-check code in Sys_RandomBytes() more secure/dev/humancontroller
2013-05-03Fix shfolder.dll not getting freedTim Angus
2013-02-16Update copyright noticesTim Angus
2013-02-165717 - Gamecode can open file "" for readingZack Middleton
2013-01-12Fix win32 console partial print being overwrittenZack Middleton
2013-01-12Make win32 console cursor visibleZack Middleton
2013-01-12Fix win32 input left on buffer and overwrittenZack Middleton
The input line on the console screen buffer was moved up a line and overwritten by CON_Print. Remove input line when console shutdown as well.
2013-01-12Don't look for colors past win32 input line lengthZack Middleton
2013-01-12Fix win32 dedicated input line printing to backlogZack Middleton
Use to write win32 input line using WriteConsole then overwrite by CON_Print, so when CON_Print removes color format characters the end of original input line was visable. "hi ^1guys" use to be shown as "hi guysys" in the console backlog.
2013-01-12Colorize text on win32 consoleZack Middleton
Text input line color based on code by "spior" Main colorize function based on Sys_AnsiColorPrint in sys_main.c
2013-01-12Fix this for real now.Thilo Schulz
2013-01-12* Fix warningTim Angus
2013-01-12Fix windows as wellThilo Schulz
2013-01-12* (bug #5709) Fix crash when invoked with --versionTim Angus
2013-01-12Removed 0xAD character, from /dev/humancontroller.Zack Middleton
2013-01-12CVE-2012-3345Zachary Slater
2013-01-12Unix clients can now enter commands from tty console. Patch by Rambetter ↵Zack Middleton
with some edits by me. (#4799)
2013-01-10* Fix various warnings with GCC and clangTim Angus
2013-01-10Force unload of running VMs when quitting through signal handlerThilo Schulz
2013-01-10Set default rounding mode to FE_NEAREST again. Thanks to Matthias Bentrup ↵Thilo Schulz
for providing some explanations.
2013-01-10Fixed win32 dedicated server console output. It use to write input line and ↵Zack Middleton
then write output over the top of it. Reported by Ensiform.