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
219061c095
Add plFilesystem module, which replaces previous filesystem APIs with a plFileName-based one
12 years ago
Michael Hansen
f736d81cd8
Convert plFileName to "has-a" model for better semantics.
...
You're welcome, branan ;)
12 years ago
Adam Johnson
d2815f35bf
Replace plasmalog with a better debug log
...
Plasmalog.txt is now plasmadbg.log. This allows us to view the log inside
the game, flush to the debugger output window, and have the logfile. The
plan is to redirect key leak reports to this log in a future commit.
12 years ago
Michael Hansen
1152cdae94
Fix issues from review
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Michael Hansen
2b1e05fcc7
Add doxygen docs to plFileName
12 years ago
Michael Hansen
5fa72a086f
Clean up some miscellaneous non-optimal string uses
12 years ago
Michael Hansen
c52a1f1037
Add plFileName::Join static method to join paths together correctly
12 years ago
Michael Hansen
01e25e5d8d
Add plFileName string specialization for filename manipulation
12 years ago
Michael Hansen
b5e35fb314
Add Truncate() method to plStringStream, which truncates the buffer without reallocating memory
12 years ago
Michael Hansen
dbb3b1a5b6
Add a Doxyfile and some plString documentation
12 years ago
Michael Hansen
9903e274bb
Fix issues from review
12 years ago
Michael Hansen
0d949cc137
Add plString::Replace
12 years ago
Michael Hansen
11558b8301
Fix a major plStringStream bug, and add an SSO-like optimization to it
12 years ago
Michael Hansen
bc0d04da48
Deprecate and remove NEWZERO macro
12 years ago
Michael Hansen
7ba8fdf86e
Fix issues from review, and pre-emptively fix a couple of potential plString::Format issues
12 years ago
Michael Hansen
74e06e3984
Deprecate and remove hsStlSortUtils
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
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
Michael Hansen
3b1568a4e2
Add identification for some more modern Windows versions
12 years ago
Michael Hansen
23286bc8f0
Remove xtl::copy_if because:
...
- It is included in C++11
- Nobody was using it anyway >_<
12 years ago
Michael Hansen
4c7ce8665c
Replace xtl::delete_ptr functor with lambdas
12 years ago
Michael Hansen
a7d4d42b85
Remove an unnecessary extra heap allocation in plString::Format
12 years ago
Michael Hansen
c10ca98fc1
Remove xtl::istring and xtl::iwstring
12 years ago
Michael Hansen
02eebfa9a1
Clean up some useless junk from plString
12 years ago
Michael Hansen
66fe6ed73e
Add UnicodeBuffer as first class data type and allow plStrings to be constructed with it
12 years ago
Darryl Pogue
d40e7a5ca5
Move file stuff back to plFile for gcc.
12 years ago
Adam Johnson
712d59281f
Fix issues from review
...
- Use lowercase win32 header names for cross-compiling with MinGW
- Correct a unix GUID forward declaration
12 years ago
Adam Johnson
bb4d36e69d
Remove windoze include from hsThread.h
12 years ago
Adam Johnson
72000fd0c1
Fixes some oversights.
...
Okay, what moron left out the include guards on hsSTLStream.h? Come on,
man.
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
Adam Johnson
c8419b0107
Remove hsFileStream
...
It's unused windows-specific garbage.
12 years ago
Darryl Pogue
4221b57baa
Fix a whole bunch of clang warnings.
12 years ago
Darryl Pogue
d1dd98c17b
CoreLib fixes for Linux.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
188171235e
Add string split and tokenize functions
12 years ago
Michael Hansen
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
12 years ago
Michael Hansen
3e92022db2
Fix additional issues from review
12 years ago
Michael Hansen
c68724765b
Some minor cleanup for readability
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
92c5070736
Remove dependency on <functional>
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
Michael Hansen
03a1283c27
The licensing stuff was copied from an older code base...
12 years ago