0d949cc137
Add plString::Replace
2013-01-06 23:37:39 -08:00
11558b8301
Fix a major plStringStream bug, and add an SSO-like optimization to it
2013-01-06 18:28:44 -08:00
bc0d04da48
Deprecate and remove NEWZERO macro
2013-01-05 18:33:47 -08:00
7ba8fdf86e
Fix issues from review, and pre-emptively fix a couple of potential plString::Format issues
2013-01-02 18:15:41 -08:00
74e06e3984
Deprecate and remove hsStlSortUtils
2013-01-01 21:35:11 -08:00
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
2013-01-01 21:35:11 -08:00
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
2013-01-01 21:35:10 -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
3b1568a4e2
Add identification for some more modern Windows versions
2013-01-01 21:35:09 -08:00
23286bc8f0
Remove xtl::copy_if because:
...
- It is included in C++11
- Nobody was using it anyway >_<
2013-01-01 21:35:09 -08:00
4c7ce8665c
Replace xtl::delete_ptr functor with lambdas
2013-01-01 21:35:08 -08:00
a7d4d42b85
Remove an unnecessary extra heap allocation in plString::Format
2013-01-01 21:35:08 -08:00
c10ca98fc1
Remove xtl::istring and xtl::iwstring
2013-01-01 21:35:07 -08:00
02eebfa9a1
Clean up some useless junk from plString
2013-01-01 21:35:06 -08:00
66fe6ed73e
Add UnicodeBuffer as first class data type and allow plStrings to be constructed with it
2013-01-01 21:35:06 -08:00
d40e7a5ca5
Move file stuff back to plFile for gcc.
2013-01-01 21:05:32 -08:00
712d59281f
Fix issues from review
...
- Use lowercase win32 header names for cross-compiling with MinGW
- Correct a unix GUID forward declaration
2012-12-31 22:52:04 -05:00
bb4d36e69d
Remove windoze include from hsThread.h
2012-12-22 17:16:01 -05:00
72000fd0c1
Fixes some oversights.
...
Okay, what moron left out the include guards on hsSTLStream.h? Come on,
man.
2012-12-22 17:15:21 -05: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
c8419b0107
Remove hsFileStream
...
It's unused windows-specific garbage.
2012-12-20 18:22:49 -05:00
75793e5182
Manual merge of Pull Request #232 from zrax/plString
...
Conflicts:
Sources/Plasma/CoreLib/HeadSpin.h
2012-12-20 17:22:31 -05:00
4221b57baa
Fix a whole bunch of clang warnings.
2012-12-15 16:46:20 -08:00
d1dd98c17b
CoreLib fixes for Linux.
2012-12-15 16:06:41 -08:00
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
2012-12-13 02:07:53 -08:00
49dfb4e546
Convert SDL (mostly) to plStrings
2012-12-13 02:06:41 -08:00
188171235e
Add string split and tokenize functions
2012-12-13 02:06:41 -08:00
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
2012-12-13 02:06:41 -08:00
3e92022db2
Fix additional issues from review
2012-11-18 01:14:06 -08:00
c68724765b
Some minor cleanup for readability
2012-11-13 20:05:04 -08:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
075c535e2c
Some cleanup and a vararg plString usage fix
2012-11-12 22:58:15 -08:00
9cc3f404af
Add Short-String Optimization to plString
2012-11-12 19:06:53 -08:00
92c5070736
Remove dependency on <functional>
2012-11-12 18:31:07 -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
03a1283c27
The licensing stuff was copied from an older code base...
2012-11-12 18:31:06 -08:00
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
2012-11-11 22:34:05 -08:00
6d4726c766
Fix external build linking
...
A misplaced external guard (likely introduced in #217 ) caused a few legacy symbols (hsStrcpy, etc) to be excluded from the CoreLib.
2012-11-11 18:05:00 -05:00
b57dc28136
Remove some unused CoreLib stuff
...
- plRefCnt duplicates hsRefCnt (Wtf?)
- hsNamedPipeStream nasty, unused
- VDB stuff in hsStream left over from Plasma 1 (realMyst/DIRT)
- hsColor32 moved to be less promiscuous
2012-07-14 18:47:45 -04:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
2012-07-11 09:46:20 -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
1556d147d9
Don't expose math.h from HeadSpin.h
2012-07-11 09:46:19 -04:00
172b3c6cfb
Toss old RAM functions
...
If we really care about system RAM, we should reimplement this in a less
obsolete way--and hopefully update the RAM tiers ;)
2012-07-11 09:46:18 -04:00
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
2012-07-11 09:46:17 -04:00
94ca3bb097
Merge core-CoreLib headers
...
Merge hsTypes.h, hsUtils.h, and hsWindows.h into a single header to cut
down on confusion and to simplify doxygen graphs. hsRefCnt's
implementation details were moved into another file in preparation for
making HeadSpin.h a precompiled header.
2012-07-11 09:46:15 -04:00
0ac6cd4907
Fix hsThread_Unix compilation.
2012-06-13 23:28:54 -07:00
87549fceb1
hsMessageBoxWithOwner functions use hsWindowHndl
2012-06-10 00:09:47 -04:00
4ba4ca7fee
Fullscreen clients no longer hide message boxes
...
The old solution may have worked at one point in time, but it was kind of
suspect in that it would (theoretically) hide the game window forever. The
new solution will only hide the game window while the message box is
alive. As a bonus, the part where we hide the full screen window now
works.
2012-06-09 23:29:20 -04:00