Bill Currie
ff132bb536
64bit windows patch from phrosty
2007-04-04 07:48:14 +00:00
Bill Currie
58112a6407
fix a couple of missed VISIBLE tags
2007-03-24 12:28:47 +00:00
Bill Currie
81a57bb3fa
patch from phrosty for vc2005 support. includes fixes for a bunch of gcc-isms that crept in over the years.
2007-03-22 23:20:57 +00:00
Bill Currie
20b8dced56
cleanup the shutdown list in a manner that won't cause problems in a nested shutdown
2007-03-21 09:33:46 +00:00
Bill Currie
99c0954b47
the big dso visibility patch :). Sure, we have to have unique names for static builds, but with controlled visibitly we should get faster program loads (although this isn't C++, so it's not as bad) and complex plugins are cleaner.
2007-03-10 12:00:59 +00:00
Bill Currie
99e05d2188
warning cleanup patch from raorn
2007-01-06 21:31:03 +00:00
Bill Currie
bb852eba75
fix a braino that causes args to /not/ get saved
2005-10-23 22:00:45 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
addb57bfb3
plug some memory leaks
2005-05-05 22:50:09 +00:00
Bill Currie
cd2f9434fc
proxy now stays connected :) also gets the server data packet. most changes
...
due to move of pmove.h
2005-05-02 04:09:15 +00:00
Bill Currie
d63e7b609e
net_socket must be "int" for sane systems
2005-01-26 01:19:36 +00:00
Bill Currie
0bfac8dd88
win32 compile fixes
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
d25f2c87ea
path is long dead. oops. thanks, Silh
2004-05-16 23:13:06 +00:00
Bill Currie
67f913289c
move wad_extract into the wad utility and make QFS_CreatePath more
...
generally usable
2004-05-09 22:58:37 +00:00
Chris Ison
5dcdd2c194
fixed stalls and mis-placed rocket which was seen only in the cygwin->mingw32 builds, also removed redundant stdin_ready code and forcing of timeout setting for win32 build
2004-03-26 02:52:47 +00:00
Chris Ison
47f16678ab
win32 server console now works
2004-01-22 03:43:09 +00:00
Bill Currie
e154c9add5
be consistent with WIN32 and _WIN32 (now all _WIN32)
2004-01-20 03:47:27 +00:00
Bill Currie
2a399cc4b4
Sys_PathType has been unnecessary for a while so nuke it
2004-01-13 21:30:13 +00:00
Bill Currie
481c9c4e8d
add Sys_TimeOfDay from QWE (HighlandeR)
2003-11-20 07:00:07 +00:00
Bill Currie
7fe0962bac
we /do/ want full precision from Sys_DoubleTime :P
2003-08-11 22:39:07 +00:00
Bill Currie
6ee38af0be
put in a comment about mprotect and getpagesize
2003-07-21 22:24:28 +00:00
Bill Currie
abedda69b6
if a system with mprotect doesn't have getpagesize, the assumption is that
...
mprotect doesn't care about page alignment (eg, QNX)
2003-07-21 20:55:13 +00:00
Bill Currie
ff6e0ab1b3
not all systems have _SC_PAGESIZE
2003-07-21 20:51:03 +00:00
Bill Currie
2d55162a05
implement memcpy version of VA_COPY correctly
2003-07-21 19:26:53 +00:00
Ragnvald Maartmann-Moe IV
810dfb29e6
Use sysconf() by default instead of getpagesize(). getpagesize() still used if
...
sysconf() not present. Since getpagesize is deprecated, it's only used as a
fallback.
2003-07-18 12:18:05 +00:00
Bill Currie
1f948c4206
magic numbers evil
2003-07-17 21:45:01 +00:00
Bill Currie
b36bd6a98c
not all systems (eg, QNX) that have mprotect have getpagesize
2003-07-17 21:01:25 +00:00
Bill Currie
c2c3a62956
nuke Qexpand_squiggle. instead, expand ~ to $HOME on qfs initialization and
...
cache the value.
don't call Qopen directly in the engine. instead call QFS_Open (generic) or
QFS_WOpen (write only, zip flag).
rework QFS_NextFilename to use a dstring (avoiding a potential buffer
overflow), support 10000 files and work from the top-level fs_userpath
directory. adjust QFS_WriteFile and QFS_WriteBuffers etc to suit.
make sw32 screenshots actually get written.
hopefully everything gets written to the right places :)
2003-05-23 17:17:01 +00:00
Bill Currie
589c3e4e49
get nq-server working properly
2003-04-16 05:06:19 +00:00
Bill Currie
f55bac4c06
fix nq-servers non-curses console input so it actually works
2003-04-16 04:07:55 +00:00
Bill Currie
e105198f48
ensure the path passed to Sys_DebugLog is expanded
2003-03-13 05:41:55 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
3e693cbce5
change the default of sys_dead_sleep to 0
2003-01-31 04:51:35 +00:00
Bill Currie
341b6a1d68
this /should/ fix the windows server input problems. based on Timmmm's fix.
2003-01-16 16:11:28 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
2ad18a404b
don't double print Sys_Error messages when the print function is still
...
the default
2002-11-14 22:17:25 +00:00
Bill Currie
e544c1247f
fix a clobbered by longjump warning
2002-11-14 15:37:09 +00:00
Brian Koropoff
625e1e36d6
Added Sys_PathType, which reports whether a path is absolute, relative
...
below, or relative above (uses .. to ascend the filesystem). Changed
file functions in GIB to use this. GIB can now be initialized in a
non-sandboxed mode, which at the moment means that GIB scripts run with
carne can access the entire filesystem.
2002-11-14 05:28:54 +00:00
Bill Currie
836c469737
sys.[ch]:
...
handle SIGFPE and allow the registered signal handler to do recovery
rather than bail
progs.h, pr_exec.c, pr_load.c:
if pr_faultchecks is 1 (0 is default), handle division by 0 gracefully
by loading the maximum representable number into the answer
Closes : #58
the rest:
kill the SIGFPE stuff
2002-11-13 19:26:44 +00:00
Bill Currie
9f7c669370
various win32 compile fixes for the latest mingw (not fully working due to
...
LPCWAVEFORMATEX)
2002-10-11 20:47:17 +00:00
Bill Currie
7adaf456a1
plug a memory leak
2002-08-27 22:13:34 +00:00
Bill Currie
c12518de26
windows knows only a subset of the signals
2002-08-21 01:51:27 +00:00
Bill Currie
5009213564
Move the signal handling code from video/targets/* to sys.c (I'm leaving
...
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie
e171146582
Make Sys_Error repeat it's message to stderr to increase the changes of the
...
error being seen. (Closes : #39 )
2002-08-07 15:31:56 +00:00
Bill Currie
c5192540c8
remove an accidental commit
2002-08-03 01:29:26 +00:00
Bill Currie
612f5c2a31
attempt to fix the win32 server input
2002-08-01 04:49:16 +00:00
Bill Currie
ebfdbd9285
the fpu manipulation stuff seems to be better off in the one place that
...
actually uses it...
2002-06-07 15:09:20 +00:00
Bill Currie
0f9adc182d
win32 compile fixes
2002-06-04 16:17:10 +00:00
Jeff Teunissen
1ba994fd13
This is a test hack, to see if chopping off some of the integer realtime's
...
data helps in lengthening the amount of time a server can be up without Weird
Stuff(tm) happening.
2002-06-03 23:29:34 +00:00
Bill Currie
4039452297
more sys cleanup. server consoles may be broken for non-curses.
2002-06-03 19:11:48 +00:00