Bill Currie
baede61f4f
New function: dstring_strdup
...
I got tired of always doing dstring_newstr/dstring_copy, so I thought it
was time to wrap it. dstring_strdup is the dstring equivalent of strdup.
2010-08-25 13:31:00 +09:00
Bill Currie
fd24170b32
get the behavior or PL_NewData correct
...
It taking ownership of the data was the correct behavior, so go back to that.
2010-08-20 13:21:22 +09:00
Bill Currie
a744caa421
The public api of qfplist is now fully documented.
...
Evertyhing that can or should be private now is, and all public functions
are documented.
2010-08-20 13:10:37 +09:00
Bill Currie
1442273a8f
more opaque correctness
2010-08-20 12:58:37 +09:00
Bill Currie
f55c203c5e
use the plist api correctly
...
don't work directly with the plist data. the structs that enabled that will
go away shortly.
2010-08-20 11:57:47 +09:00
Bill Currie
669771681a
split up and modernize configure.ac
...
Most of the guts of configure.ac have been moved to config.d and are then
brought in by m4_include. This will make maintaining configure.ac much easier.
Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and
on occasion, PACKAGE_STRING instead, and clean out some old files we no longer
need.
2010-08-19 15:01:43 +09:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
997102fea8
audit the usage of "only"
...
There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
2010-01-13 06:42:26 +00:00
Bill Currie
d66934942d
nuke Con_Printf and Con_DPrintf and use Sys_* instead
2007-11-06 10:17:14 +00:00
Bill Currie
5c73d81e00
Python style long strings ("""...""") now supported for parsing. Any such strings will be written out as standard strings with escaped quotes when writing the plist.
2007-10-13 07:55:58 +00:00
Bill Currie
5294a97d6a
make sure the \ gets written for all escapes, not just octals
2007-10-13 07:14:47 +00:00
Bill Currie
7ceea13e10
fix an overflow bug
2007-09-21 10:43:27 +00:00
Bill Currie
1a601ee0f8
make the command/cvar searching case sensitive
2007-06-09 06:55:15 +00:00
Bill Currie
201f01b66c
hopefully speed up byte swaps
2007-05-26 23:18:46 +00:00
Bill Currie
ece4df298e
make that a factor of ~400.
2007-05-13 03:27:54 +00:00
Bill Currie
a72f2046f5
speed up PL_WritePropertyList by ~3x.
2007-05-13 03:13:01 +00:00
Bill Currie
ce0e0d421e
don't try to open the dirconf file if it hasn't been specified
2007-04-07 12:17:01 +00:00
Bill Currie
fcf464ef99
make riff int-size safe
2007-04-04 09:23:10 +00:00
Bill Currie
de265f236c
bail on unkown chunks so crap at the end of a wav does cause us to go nuts
2007-04-04 09:12:41 +00:00
Bill Currie
ff132bb536
64bit windows patch from phrosty
2007-04-04 07:48:14 +00:00
Bill Currie
542c1bb0d9
new cache scheme now works properly. next step: shuffle blocks to the top of the heap before locking them
2007-03-30 07:41:17 +00:00
Bill Currie
4cab5b90e6
new cache allocation scheme. still a couple warts, but at least now there's something to work with, and more importantly, there won't be cache movement anywhere near as often.
2007-03-28 13:09:49 +00:00
Bill Currie
e5b972529b
take a chainsaw to the existing code, cleaning out anything that's obviously unnecessary. preparation for the cache re-write
2007-03-28 09:52:01 +00:00
Bill Currie
fd8f530656
make valgrind stop crying wolf
2007-03-26 09:06:50 +00:00
Bill Currie
58112a6407
fix a couple of missed VISIBLE tags
2007-03-24 12:28:47 +00:00
Bill Currie
02c41feabc
make gamedir change a two phase operation so things can be done both before and after the cache is flushed. (still having problems with cached sounds, though)
2007-03-24 10:13:10 +00:00
Bill Currie
7add93e3ce
forgot to make Cache_ReadLock visible
2007-03-23 14:22:59 +00:00
Bill Currie
818756ace5
add a debug function
2007-03-23 12:36:55 +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
2d6f8c6501
compress // to /
2007-03-21 13:05:23 +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
Brian Koropoff
0c237ccc08
Allow cbuf interpreter to handle completion finding. Enhance completion logic a bit.
2007-03-20 21:31:07 +00:00
Brian Koropoff
b6e52faea8
Avoid duplicate entries when enumerating a directory
2007-03-20 05:55:29 +00:00
Brian Koropoff
c3e8b5de3d
Add naive QFS_IsDirectory and QFS_FilelistEnumerate until more intelligent pak handling is added
2007-03-19 10:43:29 +00:00
Bill Currie
a3ceb050a2
be a little more verbose
2007-03-18 12:53:59 +00:00
Bill Currie
b320778b92
hmm, how did that happen? ah well
2007-03-18 10:42:16 +00:00
Brian Koropoff
25fdbdab58
More C++ compatibility fixes
2007-03-18 07:12:45 +00:00
Brian Koropoff
39d8a90336
Allow interpreter providers for the console to be registered and allow on-the-fly interpreter switching.
2007-03-18 03:48:09 +00:00
Bill Currie
e74a8a7c62
make the param names agree with the header file
2007-03-18 02:27:33 +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
70ec9848e7
add PL_RemoveObjectForKey and make PL_D_AddObject take a normal C string for key instead of a pl string.
2006-12-09 06:00:36 +00:00
Bill Currie
9cbac0bbc1
add array item removal
2006-12-09 02:33:08 +00:00
Bill Currie
71841fe109
be a little noisier about plugin load failure
2006-12-01 07:30:44 +00:00
Bill Currie
120bd66ccc
fix a bug found by halakar
2006-07-23 01:33:54 +00:00
Bill Currie
88543d6e86
add Qfopen: basicly wrap a QFile around an existing FILE. gzip is NOT supported
2006-05-24 11:17:18 +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
87cc09233c
"long" audit. can't use long when we want 32 bits. May be a few more cases.
2005-10-23 13:19:21 +00:00
Bill Currie
66e203b16b
multi-dir patch for fs_sharepath from "Alexey I.Froloff" <raorn@altlinux.ru>
2005-09-06 11:39:32 +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