085c00706c
Some fixes for Clang
2014-08-10 20:42:09 -07:00
094b0fe557
Move <algorithm> header out of HeadSpin.h
2014-08-09 12:28:20 -07:00
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
2014-08-09 12:28:19 -07:00
e36220cca5
Use std::min and std::max
2014-08-09 12:28:19 -07:00
2947acb2c8
Replace hsMutex with std::mutex
2014-07-25 23:39:53 -07:00
3299267976
Integrate SecurePreloader into pfPatcher
2013-11-28 15:14:45 -05:00
f880967ba9
Fix SDL double-load
2013-06-20 18:14:24 -04:00
b2a95a07bb
StreamSource is case insensitive
2013-02-02 20:00:38 -05:00
e4af3aff16
time.h -> ctime
2013-01-28 23:28:06 -08:00
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
2013-01-21 14:48:32 -08:00
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
2013-01-21 14:48:28 -08:00
970ad3e729
Add additional functionality to plFileSystem as needed
2013-01-20 21:37:32 -08:00
ad5495ca45
Fix issues from review
2013-01-19 14:23:07 -08:00
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
2013-01-19 14:21:49 -08:00
c52a1f1037
Add plFileName::Join static method to join paths together correctly
2013-01-13 15:53:53 -08:00
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
2013-01-01 21:35:11 -08:00
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
2013-01-01 21:35:10 -08:00
d40e7a5ca5
Move file stuff back to plFile for gcc.
2013-01-01 21:05:32 -08:00
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
2012-12-22 17:15:14 -05:00
4ee424df34
Merge pull request #226 from Hoikas/no-encryption
...
Deprecate WDYS Encryption
2012-11-27 17:28:09 -08:00
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
2012-11-12 18:31:07 -08:00
403d2a896d
Move plFileUtils and hsFiles to CoreLib
...
--HG--
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.cpp => Sources/Plasma/CoreLib/hsFiles.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.h => Sources/Plasma/CoreLib/hsFiles.h
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Mac.cpp => Sources/Plasma/CoreLib/hsFiles_Mac.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_PS2.cpp => Sources/Plasma/CoreLib/hsFiles_PS2.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Unix.cpp => Sources/Plasma/CoreLib/hsFiles_Unix.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Win.cpp => Sources/Plasma/CoreLib/hsFiles_Win.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp => Sources/Plasma/CoreLib/plFileUtils.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.h => Sources/Plasma/CoreLib/plFileUtils.h
2012-11-12 18:31:06 -08:00
8d8532f045
Fix encryption ASSumption
...
Now we test the file we're trying to write to. We still support legacy
xTEA BriceIsSmart/whatdoyousee files, but we will always make new files
unencrypted.
2012-11-12 20:51:56 -05:00
b987f9719c
Remove log and init file encryption.
...
This fixes issue #123 , and is supposed to get rid of encryption for the status logs and the init files loaded at startup.
2012-11-12 20:48:05 -05:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
ad66286a17
Fix several errors and warnings from GCC compilation
2012-02-09 01:09:11 -08:00
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
2012-01-25 16:58:35 -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
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
2012-01-25 16:58:18 -05:00
e28993aab5
Tighten up plStreamSource::GetFile for internal clients
2012-01-09 01:25:22 -05:00
51e89d630e
Add wchar version of plFileUtils::StripExt
2012-01-09 00:22:32 -05:00
83ff761632
Allow plSecureStream to open any arbitrary hsStream in read-only mode
2012-01-08 23:27:09 -05:00
3398938d31
Fix a bunch of warnings from clang.
2011-11-27 19:12:18 -08:00
1a524d1a0c
Merge pull request #87 from dpogue/linux
...
Make plPythonPack work on Linux
--HG--
rename : Sources/Plasma/PubUtilLib/plUUID/plUUID.h => Sources/Plasma/NucleusLib/pnUUID/pnUUID.h
rename : Sources/Plasma/PubUtilLib/plUUID/plUUID_Unix.cpp => Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp
rename : Sources/Plasma/PubUtilLib/plUUID/plUUID_Win32.cpp => Sources/Plasma/NucleusLib/pnUUID/pnUUID_Win32.cpp
2011-10-30 15:47:06 -07:00
dc82e003c7
This value is only semi-optional.
2011-10-30 14:06:16 -07:00
853126e063
Don't leak out unistd.h
2011-10-28 23:22:55 -07:00
c91eb23f92
Clean up the linking mess in CMake.
...
(Of the library variety, not the book variety... although that's still
confusingly similar terminology)
2011-10-28 23:21:44 -07:00
7ba977a480
Add wchar* versions of some plFile utils.
2011-10-27 22:01:07 -07:00
29de5fbc07
Remove unused platform code (MacOS9, PS2, XBox).
2011-10-26 14:11:14 -07:00
71eb7ce8df
Fix an error on Windows.
...
UInt32* isn't a LPDWORD... unless we cast it.
2011-10-25 23:40:37 -07:00
eef108e025
More memleak fixes.
2011-10-25 21:21:59 -07:00
3100eab804
Apparently these need to be freed.
...
Worth noting that Cyan never seems to do this anywhere...
2011-10-25 21:21:58 -07:00
8b610c7228
Make plFile stuff compile on Linux.
...
No guarantees made that it works though (particularly the plSecureStream
stuff).
2011-10-25 21:21:58 -07:00
e462ef04b3
Fix Endian functions names in hsTypes and hsStream.
...
Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading. The names are
now properly descriptive of what they actually do.
2011-10-25 20:23:25 -07:00
2980fbf53c
Fix plEncryptedStream.
2011-10-24 22:17:12 -07:00
eb2767a5f7
Open source re-licensing
2011-10-22 17:03:49 -07:00
ee23f01736
String function fixes for mingw.
2011-08-07 14:11:35 -07:00