97f9370dfe
Make the *nix path constant use the system value.
2012-03-04 14:35:27 -08:00
8437d676fb
Support named semaphores on *nix.
2012-03-04 14:18:44 -08:00
a44b48356e
Remove WinRun hack from hsThread
2012-03-04 13:48:48 -08:00
7481a1b5bb
Bad bits
2012-02-27 20:25:34 +01:00
ab8d7619d3
Remove the pragma stuff since there's no warning.
2012-02-19 14:39:46 -08:00
b5d9c3ffec
Use a correct value that doesn't cause warnings.
2012-02-19 14:37:04 -08:00
bdf52410e1
Make plString build on mingw.
2012-02-19 13:02:47 -08:00
8bf78c0e35
Fix plStringStream for the case of adding a '\0' char non-destructively
2012-02-15 01:25:01 -05:00
81465e621b
Add case conversion functionality
2012-02-15 01:24:48 -05:00
b29eb95acc
Zrax fails
2012-02-11 14:35:31 -08:00
1511459ffd
Fix String concatenation dereference bug
2012-02-09 22:44:57 -08:00
ad66286a17
Fix several errors and warnings from GCC compilation
2012-02-09 01:09:11 -08:00
e6ebf7ffaf
Merge remote-tracking branch 'origin/master' into plString
...
Conflicts:
Sources/Plasma/FeatureLib/pfPython/pyVault.cpp
Sources/Plasma/NucleusLib/pnUtils/Private/pnUtSubst.cpp
Sources/Plasma/PubUtilLib/plAvatar/plAvatarMgr.cpp
Sources/Plasma/PubUtilLib/plPipeline/plDXDeviceRefs.cpp
Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp
--HG--
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Unix/pnUtUxStr.cpp => Sources/Plasma/NucleusLib/pnUtils/Unix/pnUtUxStr.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Unix/pnUtUxSync.cpp => Sources/Plasma/NucleusLib/pnUtils/Unix/pnUtUxSync.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Unix/pnUtUxUuid.cpp => Sources/Plasma/NucleusLib/pnUtils/Unix/pnUtUxUuid.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/W32Int.h => Sources/Plasma/NucleusLib/pnUtils/Win32/W32Int.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Addr.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Addr.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Dll.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Dll.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Misc.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Misc.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Path.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Path.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Str.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Str.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Sync.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Sync.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Time.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Time.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/Win32/pnUtW32Uuid.cpp => Sources/Plasma/NucleusLib/pnUtils/Win32/pnUtW32Uuid.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtAddr.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtAddr.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtAddr.h => Sources/Plasma/NucleusLib/pnUtils/pnUtAddr.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtAllIncludes.h => Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtArray.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtArray.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtArray.h => Sources/Plasma/NucleusLib/pnUtils/pnUtArray.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtBase64.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtBase64.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtBase64.h => Sources/Plasma/NucleusLib/pnUtils/pnUtBase64.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtBigNum.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtBigNum.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtBigNum.h => Sources/Plasma/NucleusLib/pnUtils/pnUtBigNum.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCmd.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtCmd.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCmd.h => Sources/Plasma/NucleusLib/pnUtils/pnUtCmd.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCoreLib.h => Sources/Plasma/NucleusLib/pnUtils/pnUtCoreLib.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCrypt.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtCrypt.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCrypt.h => Sources/Plasma/NucleusLib/pnUtils/pnUtCrypt.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtHash.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtHash.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtHash.h => Sources/Plasma/NucleusLib/pnUtils/pnUtHash.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtList.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtList.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtList.h => Sources/Plasma/NucleusLib/pnUtils/pnUtList.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtMath.h => Sources/Plasma/NucleusLib/pnUtils/pnUtMath.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtMisc.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtMisc.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtMisc.h => Sources/Plasma/NucleusLib/pnUtils/pnUtMisc.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtPath.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtPath.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtPath.h => Sources/Plasma/NucleusLib/pnUtils/pnUtPath.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtPragma.h => Sources/Plasma/NucleusLib/pnUtils/pnUtPragma.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtPriQ.h => Sources/Plasma/NucleusLib/pnUtils/pnUtPriQ.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtRand.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtRand.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtRand.h => Sources/Plasma/NucleusLib/pnUtils/pnUtRand.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtRef.h => Sources/Plasma/NucleusLib/pnUtils/pnUtRef.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtSort.h => Sources/Plasma/NucleusLib/pnUtils/pnUtSort.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtSpareList.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtSpareList.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtSpareList.h => Sources/Plasma/NucleusLib/pnUtils/pnUtSpareList.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtStr.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtStr.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtStr.h => Sources/Plasma/NucleusLib/pnUtils/pnUtStr.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtSync.h => Sources/Plasma/NucleusLib/pnUtils/pnUtSync.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtTime.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtTime.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtTime.h => Sources/Plasma/NucleusLib/pnUtils/pnUtTime.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtTls.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtTls.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtTls.h => Sources/Plasma/NucleusLib/pnUtils/pnUtTls.h
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtUuid.cpp => Sources/Plasma/NucleusLib/pnUtils/pnUtUuid.cpp
rename : Sources/Plasma/NucleusLib/pnUtils/Private/pnUtUuid.h => Sources/Plasma/NucleusLib/pnUtils/pnUtUuid.h
2012-02-05 22:12:00 -08:00
be4b0732d5
Fix string usage that was broken from enabling the Max plugin build
2012-02-05 21:53:54 -08:00
8416c8ed42
Fixes for MinGW's flawed _WIN32_WINNT stuff.
2012-02-04 19:15:35 -08:00
bb0ed04a52
Fix some things which got missed from debug builds
2012-01-29 17:00:13 -08:00
959ca70047
Define MAX_PATH for *nix since it's used all over.
2012-01-28 22:25:02 -08:00
b45ad14b78
Fix NxMath conflicts.
2012-01-28 18:54:22 -08:00
77a31686da
Fix the plString stuff that didn't get caught in the merge
2012-01-28 17:36:05 -08:00
c339f947ba
Merge remote-tracking branch 'origin/master' into plString
...
Conflicts:
Sources/Plasma/CoreLib/hsStream.h
Sources/Plasma/FeatureLib/pfAudio/plListener.cpp
Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp
Sources/Plasma/FeatureLib/pfConsole/pfDispatchLog.cpp
Sources/Plasma/FeatureLib/pfJournalBook/pfJournalBook.cpp
Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
Sources/Plasma/FeatureLib/pfPython/cyMisc.h
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h
Sources/Plasma/FeatureLib/pfPython/pyImage.cpp
Sources/Plasma/FeatureLib/pfPython/pyJournalBook.cpp
Sources/Plasma/FeatureLib/pfPython/pyNetServerSessionInfo.h
Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plKeyImp.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.h
Sources/Plasma/NucleusLib/pnMessage/plMessage.h
Sources/Plasma/NucleusLib/pnNetCommon/plNetApp.h
Sources/Plasma/PubUtilLib/plAvatar/plCoopCoordinator.cpp
Sources/Plasma/PubUtilLib/plDrawable/plDrawableSpansExport.cpp
Sources/Plasma/PubUtilLib/plDrawable/plDynaDecalMgr.cpp
Sources/Plasma/PubUtilLib/plDrawable/plWaveSet7.cpp
Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.h
Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgr.h
Sources/Plasma/PubUtilLib/plNetCommon/plClientGuid.h
Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp
Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h
Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h
Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp
Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp
Sources/Plasma/PubUtilLib/plPipeline/plPlates.cpp
Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp
Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h
Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp
Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.h
Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp
Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h
Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp
2012-01-28 17:20:01 -08:00
46c3c9c049
Fix some includes for non-MSVC.
2012-01-28 16:42:59 -08:00
e34414889f
Convert plUoid's object name to a plString
2012-01-28 16:24:20 -08:00
f7d5432584
Fix release mode compile error
2012-01-26 16:29:59 -05:00
442a733fbb
Add more temporary hack macros to help speed up conversion and testing
2012-01-25 22:43:18 -08:00
a1852ad385
Convert plUUID and its cascade of dependencies to plString
2012-01-25 21:17:35 -08:00
acd47d9f91
Re-add plString with some cleanup
2012-01-25 20:51:06 -08:00
906b16d28e
Remove stupid
2012-01-25 16:58:45 -05:00
91fc595407
Completely kill off CoreLibExe
2012-01-25 16:58:44 -05:00
63a9eea771
Kill hsMalloc to the best of our ability.
2012-01-25 16:58:43 -05:00
eb946f76a4
Get rid of MemAlloc.
2012-01-25 16:58:41 -05:00
72fdf8de32
Replace MemZero with memset.
2012-01-25 16:58:40 -05:00
7d7d7d273f
Get rid of ALLOCZERO macro.
2012-01-25 16:58:38 -05:00
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
2012-01-25 16:58:35 -05:00
30430d3024
Replace ZEROPTR() with memset.
2012-01-25 16:58:34 -05:00
3c5ed83020
Replace calls to ALLOC() macro with malloc.
2012-01-25 16:58:32 -05:00
1fa1197c3e
Get rid of ALLOCFLAGS() macro.
2012-01-25 16:58:31 -05:00
4159663415
Get rid of MEMDUP() macro.
2012-01-25 16:58:31 -05:00
b3f75a5ae7
Get rid of REALLOC(), REALLOCFLAGS(), and CALLOC()
2012-01-25 16:58:30 -05:00
48b8cd8ad0
Get rid of FREEFLAGS() which ignored the flags >.>
2012-01-25 16:58:29 -05:00
6cdcf6a95e
Get rid of most _alloca use and remove ALLOCA().
2012-01-25 16:58:29 -05:00
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
2012-01-25 16:58:28 -05:00
be26b145df
HeadSpin.h is now the core header.
...
Rearrange some things so such that low-level CoreLib headers aren't quite
so crazy. For higher level stuff, you still need to include the
appropriate header.
2012-01-25 16:58:27 -05:00
2f53a10fb6
Convert hsConfig defines to cmake -- fixes #93
2012-01-25 16:58:24 -05:00
4bb94f34b8
Remove obviously unused stuff
2012-01-25 16:58:22 -05:00
e020651e4b
Eliminate hsScalar and hsFixed
...
Modern CPUs support floats just fine... hsFixed was crazy.
2012-01-25 16:58:20 -05:00
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
2012-01-25 16:58:18 -05:00
a2c819ac26
Make hsRAMStream's read() NOT throw an exception. We now match hsUNIXStream::Read()'s functionality
2012-01-09 00:22:23 -05:00
3398938d31
Fix a bunch of warnings from clang.
2011-11-27 19:12:18 -08:00
923b875de9
Fix a bunch of warnings in EXTERNAL_RELEASE mode.
2011-10-30 15:57:42 -07:00
085b12e6eb
ifdef out all the Win32 specific code in plGImage.
2011-10-30 15:57:41 -07:00