summaryrefslogtreecommitdiff
path: root/src/sys
AgeCommit message (Collapse)Author
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.
2013-01-10Use STDOUT_FILENO instead of 1 in con_tty.cZack Middleton
2013-01-10Bug 5146 - Remove last of warnings under gcc 4.6.1 for Linux, patch by ↵Thilo Schulz
q3urt.undead@gmail.com
2013-01-10* Fix some grammar in DLL loading * s/Sys_LoadQVMDll/Sys_LoadGameDll/Tim Angus
2013-01-10- Fix already defined command warnings for minimize - Fix recursive ↵Thilo Schulz
CL_Shutdown warning and "command already defined" warnings when quitting while playing on a server that changed the gamedir.
2013-01-10Don't search system directories for renderer libThilo Schulz
2013-01-10Change DLL search path order for external libraries that are linked at ↵Thilo Schulz
runtime, like libcurl or libopenal to: * system library paths * executable path * fs_basepath
2013-01-10Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes ↵Thilo Schulz
unused-but-set gcc warnings
2013-01-10* Replace usage of system with fork/execTim Angus
2013-01-10* Fix various issues with unix Sys_DialogTim Angus