aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys/sys_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups for the Mac error dialog, after a code review from tma.icculus2009-09-161-1/+3
| | | | | | | | | - Don't expose the function in sys_local.h (it would be static if we could). - Don't call it Sys_Cocoa_*; it'd be nonsense with q3a's naming conventions. git-svn-id: svn://svn.icculus.org/quake3/trunk@1631 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert r1624 and r1626-r1628tma2009-09-151-3/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1629 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added support for hardcoded HOMEPATH.icculus2009-09-151-1/+3
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1627 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.icculus2009-09-151-0/+5
| | | | | | | Fixes Bugzilla #3654. git-svn-id: svn://svn.icculus.org/quake3/trunk@1616 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed infinite recursion of writing crashlog because we're out of file handles.icculus2009-09-151-7/+24
| | | | | | | Fixes Bugzilla #3772. git-svn-id: svn://svn.icculus.org/quake3/trunk@1602 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make newly-created prefpath permissions more sane.icculus2009-09-141-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1598 edf5b092-35ff-0310-97b2-ce42778d08ea
* Create "~/Library/Application Support" on Mac OS X if it doesn't exist.icculus2009-09-141-1/+5
| | | | | | | | | | Apparently this can happen on freshly-installed Xserves? Also, a moron user could have dragged it to the trash anyhow. Fixes Bugzilla #4052. git-svn-id: svn://svn.icculus.org/quake3/trunk@1597 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix warning in cl_main.ctma2009-09-141-0/+12
| | | | | | * Fix bug #4026 (SDL dx backend doesn't work on some machines) git-svn-id: svn://svn.icculus.org/quake3/trunk@1586 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some new GCC 4.3 warningstma2008-11-101-1/+4
| | | | | | | * Fix many many strict aliasing warnings, now that it's re-enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1487 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Sys_GLimpInit for platform specific GLimp initialisationtma2008-08-081-1/+18
| | | | | | | | | | * Move Unix specific signal handlers to Sys_PlatformInit * (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already set externally * (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1 git-svn-id: svn://svn.icculus.org/quake3/trunk@1440 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on tma2008-08-031-0/+12
| | | | | | | | | | | | | | more or less any input event; fine for the server, not so much use for the client * In the main loop, don't bother sleeping if it's going to be less than 10ms as the methods we're using to sleep at the moment aren't very precise * Add Sys_PlatformInit for platform specific initialisation * In win32 Sys_PlatformInit force selection of the DirectX SDL backend in order to get better fullscreen mouse input (in conjunction with a patched SDL DLL http://bugzilla.libsdl.org/show_bug.cgi?id=265) git-svn-id: svn://svn.icculus.org/quake3/trunk@1434 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use Sys_Sleep to limit FPS, which will save CPUtma2008-07-211-0/+3
| | | | | | | | * Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory * Fix reopening of bug 3703, I hope git-svn-id: svn://svn.icculus.org/quake3/trunk@1431 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c to log all console outputtma2007-11-301-3/+35
| | | | | | | | | | | | * Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c * Add Sys_ErrorDialog to report ERR_FATALs to the user + On Windows use a MessageBox and offer to copy the console log to the clipboard + On everything else print to the terminal and save the console log as crashlog.txt git-svn-id: svn://svn.icculus.org/quake3/trunk@1222 edf5b092-35ff-0310-97b2-ce42778d08ea
* * rewrite of the win32 dedicated console:tjw2007-09-151-0/+28
| | | | | | | | | | | | | | | | | | | | | | 1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting on input. 2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not handled by signals on windows 3) Added history support 4) Added tab completion 5) Removed automatic cursor/scroll adjustment (too problematic) 6) Enable mousewheel scrolling 7) Stop using the InputBuffer for editing This seems to work pretty well now, but I jumped the gun on a previous commit message by saying you can scroll now without locking up your server. That was only true up until the point that a server tried to print to the console, at that point it will hang until you release the scroll bar :( It may be possible to get around this by using a seperate thread for console output, but that's a whole new can of worms. git-svn-id: svn://svn.icculus.org/quake3/trunk@1182 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-0/+450
* Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea