Michael Hansen
ff9fc45149
Add POSIX version of error message in plSecureStream::IRead
10 years ago
Darryl Pogue
79a470d31c
Some cross-platform MinGW/gcc fixes.
10 years ago
Michael Hansen
085c00706c
Some fixes for Clang
11 years ago
Michael Hansen
094b0fe557
Move <algorithm> header out of HeadSpin.h
11 years ago
Michael Hansen
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
11 years ago
Michael Hansen
e36220cca5
Use std::min and std::max
11 years ago
Michael Hansen
2947acb2c8
Replace hsMutex with std::mutex
11 years ago
Adam Johnson
3299267976
Integrate SecurePreloader into pfPatcher
11 years ago
Adam Johnson
f880967ba9
Fix SDL double-load
12 years ago
Adam Johnson
b2a95a07bb
StreamSource is case insensitive
12 years ago
Darryl Pogue
e4af3aff16
time.h -> ctime
12 years ago
Michael Hansen
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
970ad3e729
Add additional functionality to plFileSystem as needed
12 years ago
Michael Hansen
ad5495ca45
Fix issues from review
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Michael Hansen
c52a1f1037
Add plFileName::Join static method to join paths together correctly
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
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
12 years ago
Darryl Pogue
d40e7a5ca5
Move file stuff back to plFile for gcc.
12 years ago
Adam Johnson
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.
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Michael Hansen
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
12 years ago
Adam Johnson
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.
12 years ago
Lyrositor
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.
12 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
13 years ago
Michael Hansen
ad66286a17
Fix several errors and warnings from GCC compilation
13 years ago
Darryl Pogue
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
13 years ago
Darryl Pogue
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
13 years ago
Adam Johnson
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.
13 years ago
Adam Johnson
2f53a10fb6
Convert hsConfig defines to cmake -- fixes #93
13 years ago
Adam Johnson
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
13 years ago
Adam Johnson
e28993aab5
Tighten up plStreamSource::GetFile for internal clients
13 years ago
Adam Johnson
51e89d630e
Add wchar version of plFileUtils::StripExt
13 years ago
Adam Johnson
83ff761632
Allow plSecureStream to open any arbitrary hsStream in read-only mode
13 years ago
Darryl Pogue
3398938d31
Fix a bunch of warnings from clang.
13 years ago
Darryl Pogue
dc82e003c7
This value is only semi-optional.
13 years ago
Darryl Pogue
853126e063
Don't leak out unistd.h
13 years ago
Darryl Pogue
c91eb23f92
Clean up the linking mess in CMake.
...
(Of the library variety, not the book variety... although that's still
confusingly similar terminology)
13 years ago
Darryl Pogue
7ba977a480
Add wchar* versions of some plFile utils.
13 years ago
Joseph Davies
29de5fbc07
Remove unused platform code (MacOS9, PS2, XBox).
13 years ago
Darryl Pogue
71eb7ce8df
Fix an error on Windows.
...
UInt32* isn't a LPDWORD... unless we cast it.
13 years ago
Darryl Pogue
eef108e025
More memleak fixes.
13 years ago
Darryl Pogue
3100eab804
Apparently these need to be freed.
...
Worth noting that Cyan never seems to do this anywhere...
13 years ago
Darryl Pogue
8b610c7228
Make plFile stuff compile on Linux.
...
No guarantees made that it works though (particularly the plSecureStream
stuff).
13 years ago
Joseph Davies
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.
13 years ago
Darryl Pogue
2980fbf53c
Fix plEncryptedStream.
13 years ago
CyanWorlds
eb2767a5f7
Open source re-licensing
13 years ago
Darryl Pogue
ee23f01736
String function fixes for mingw.
14 years ago