Commit graph

1102 commits

Author SHA1 Message Date
Ludwig Nussel
53d23a3df2 fix msvc build (#3857, #3771) 2009-02-10 07:56:56 +00:00
Ludwig Nussel
f2198c70e7 fix potential segfault (found by DerSaidin in xreal) 2009-01-23 20:12:45 +00:00
Ludwig Nussel
f5aae78481 security fix: prevent command injection via callvote 2009-01-17 23:09:58 +00:00
Ludwig Nussel
cde5fcfb9b fix overflow in CG_ParseTeamInfo
based on patch for Tremulous, thanks to Roman Tetelman
2009-01-13 07:57:03 +00:00
Ludwig Nussel
a1f9885664 fix build with newer git installations 2009-01-13 07:57:01 +00:00
Ludwig Nussel
8536a42dd5 gamename is already a cvar with CVAR_SERVERINFO
do not set gamename to different values in getstatus and getinfo responses
2009-01-11 18:42:50 +00:00
Ludwig Nussel
4de00b3d02 add support for ppc64 in installer 2008-11-12 13:40:05 +00:00
Ludwig Nussel
057e7edf18 use -fno-strict-aliasing again. code is just not ready yet. 2008-11-12 13:40:04 +00:00
Tim Angus
72dea0a184 * Fix some new GCC 4.3 warnings
* Fix many many strict aliasing warnings, now that it's re-enabled
2008-11-10 23:55:22 +00:00
Ludwig Nussel
7c19978aaa fix variable declaration (#3849) 2008-11-10 09:47:14 +00:00
Ludwig Nussel
1828da63de fix empty loops causing build failures in mingw
Patch by Przemysław Iskra (#3813)
2008-11-10 09:47:02 +00:00
Ludwig Nussel
b546e4712d enable new powerpc vm
Patch by Przemysław Iskra (#3796)
2008-11-10 09:46:41 +00:00
Ludwig Nussel
01dca75d9f realloc vm->instructionPointers on ppc64
rename VM_Malloc, VM_Free to PPC_Malloc, PPC_Free
safer constant optimization handling

Patch by Przemysław Iskra (#3796)
2008-11-10 09:46:31 +00:00
Ludwig Nussel
235945c6bb new PowerPC vm
Patch by Przemysław Iskra (#3796)
2008-11-10 09:46:01 +00:00
Ludwig Nussel
c754d6fdfb fix strict aliasing issues
Patch by Przemysław Iskra (#3805)
2008-11-03 17:03:54 +00:00
Ludwig Nussel
f86f8e8ed8 fix 64bit VM interface to work on ppc64 (#3838) 2008-11-03 17:03:44 +00:00
Ludwig Nussel
1e02c641bc move location of version string in console a bit
patch by 'devhc97' (#3758)
2008-11-02 17:39:25 +00:00
Ludwig Nussel
5a3eda3485 specify alDevice instead of NULL when asking for for ALC_EXTENSIONS
patch by Ben Millwood (#3777)
2008-11-02 17:32:25 +00:00
Ludwig Nussel
e1983208f0 libraries do not belong to LDFLAGS.
Patch creates separate *LIBS variables for libraries, leaving LDFLAGS for real
flags, like -shared or --as-needed. Also CFLAGS are used when linking:
-m32/-m64 belongs to CFLAGS, not LDFLAGS; linker additionally optimizes output
file when -O* is in flags.
Patch by Przemysław Iskra (#3813)
2008-11-02 17:32:21 +00:00
Ludwig Nussel
c3a8156cb6 x86_64_assembler should use separate object file for dedicated server
patch by  Przemysław Iskra
2008-11-02 17:32:18 +00:00
Thilo Schulz
83540695b3 Patch to make getnameinfo() call work on OpenBSD systems. Created by agent59692154@spamcorptastic.com 2008-10-29 15:53:46 +00:00
Ludwig Nussel
ce907f32cc fix return value of CL_cURL_CallbackWrite (#3804) 2008-10-24 07:08:52 +00:00
Ludwig Nussel
7d9ba904ec fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskra 2008-10-24 07:02:35 +00:00
Tim Angus
130c0c6575 * Move command argument completion from being hard coded to being associated
with the individual commands to be completed
2008-09-16 21:05:22 +00:00
Tim Angus
47ee177430 * Supply specific identifier to the master server (Mathieu Olivier) 2008-09-15 20:24:04 +00:00
Tim Angus
b2d87c4b2a * Add Com_HexStrToInt
* Fixed some whacky indentation in q_shared.c
* Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition
  to ASCII characters
* Experimental code to ignore dead keys
2008-09-05 23:38:35 +00:00
Tim Angus
b6b19caadd * The latest round of SDL tweaks 2008-09-01 21:22:41 +00:00
Thilo Schulz
9dd887b2ea - Add scope id to ipv6 addresses.
- Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround.
- Bring ipv6 master server up to speed for dpmaster

Thanks go out to Mathieu Olivier for this work.
2008-08-31 19:54:29 +00:00
Tim Angus
b7799e644a * Update SDL patch (again) 2008-08-31 10:41:30 +00:00
Tim Angus
d982941849 * Update SDL patch 2008-08-31 10:04:28 +00:00
Tim Angus
9d0e643425 * Fix to console completion bug introduced by the last fix (from the oops
dept.)
2008-08-30 22:07:50 +00:00
Tim Angus
56972c5c69 * Update IN_IsConsoleKey so that specifying ascii values/characters for the
console key always results in the character being used as opposed to the key
2008-08-30 19:29:34 +00:00
Tim Angus
a0ba5b4e38 * Update SDL patch as per SDL bugs #611 and #618 2008-08-30 19:26:41 +00:00
Tim Angus
19eb906706 * Better condition to test whether to use the character or the key 2008-08-28 23:08:54 +00:00
Tim Angus
c0328ab4f6 * Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
ignoring completely' from r1459; it can't ever work acceptably, especially on
  azerty/qwertz layouts
* Make the ordering of the output from in_keyboardDebug more sensible
* Add cl_consoleKeys cvar, a space delimited list of key names or characters
  that toggle the console
2008-08-28 22:05:34 +00:00
Tim Angus
f1faa1d12a * Collapse common command completion code into one function and fix the
incorrect buffer size parameter to strncpy (from the
  how-the-fuck-did-this-ever-work dept.)
2008-08-27 20:00:34 +00:00
Tim Angus
36a43f2aa1 * Handle dead keys more gracefully by taking a "best guess" rather than ignoring
completely
* When activating or deactivating the mouse flush any pending motion events;
  this should stop the view moving unpredictably in these circumstances
* Add keyname completion to "unbind"
2008-08-25 21:15:25 +00:00
Tim Angus
a6382d2d9b * Fix unused variable warning
* Add USE_LOCAL_HEADERS guards to sys_loadlib.h
2008-08-23 22:45:30 +00:00
Zachary Slater
17f52fa5a1 Runs for me now?. 2008-08-23 02:33:08 +00:00
Tim Angus
b555d68b3f * (bug #3729) server dependencies on client.h (Ben Millwood)
* (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering
  <gabriel.schnoering@gmail.com>)
* (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett
  <baggett.patrick@figglesoftware.com>) and...
* (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__
2008-08-22 22:47:26 +00:00
Tim Angus
acbf982689 * Don't set SE_KEY event to ctrl-h; I don't think this makes sense
* Don't warp the mouse on deactivation unless the cursor is in the window
  already; this fixes in_nograb
* Stop grabbing the mouse in windowed mode when there is no sense in
  doing so
* Make sure that IN_Restart is only called on r_fullscreen modification
  if a mode change actually takes place
2008-08-22 22:16:37 +00:00
Tim Angus
e4e0568641 * Really fix backspace on OS X (I hope) 2008-08-22 11:41:54 +00:00
Tim Angus
c1befbda75 * Prevent ~ from generating a character
* Fix backspace on OS X (I hope)
2008-08-22 11:16:35 +00:00
Tim Angus
953200cafc * Update to jpeg-6b (only a decade old) 2008-08-21 23:29:09 +00:00
Zachary Slater
1441e0362c Thanks to i.atent.dead@gmail.com, this adds:
"I've written out a couple of type declarations for .cfg/.config and .pk3 files, which allows OS X to recognise what they are (handy for eg. QuickLook)."
2008-08-20 19:00:22 +00:00
Tim Angus
5b4dc4c743 * Tidy up the keyboard code a bit, add in_keyboardDebug 2008-08-19 21:32:23 +00:00
Tim Angus
9705664d2c * Alpha sort the jpeg file list in the Makefile, just because 2008-08-19 10:03:14 +00:00
Tim Angus
1af6eb9592 * More robust x86 vm entrypoint/callback assembly (Tron) 2008-08-17 23:22:06 +00:00
Tim Angus
d781a25157 * Fix misplaced #endif 2008-08-14 07:59:34 +00:00
Tim Angus
49fa0edd61 * Pass the "best" SDL_PixelFormat (as returned by the initial call to
SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an
  empty list when using the "windib" driver
2008-08-13 19:39:38 +00:00