970ad3e729
Add additional functionality to plFileSystem as needed
2013-01-20 21:37:32 -08:00
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
2013-01-20 21:12:13 -08:00
56e332a3c3
Add basic regex functionality to plString
2013-01-20 20:54:49 -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
219061c095
Add plFilesystem module, which replaces previous filesystem APIs with a plFileName-based one
2013-01-19 14:10:55 -08:00
f736d81cd8
Convert plFileName to "has-a" model for better semantics.
...
You're welcome, branan ;)
2013-01-18 23:53:47 -08:00
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.
2013-01-18 17:22:16 -05:00
1152cdae94
Fix issues from review
2013-01-17 21:45:27 -08:00
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
2013-01-17 01:14:45 -08:00
13489eb1bb
Merge pull request #259 from zrax/plFileName
...
Add plFileName
2013-01-14 15:07:56 -08:00
2b1e05fcc7
Add doxygen docs to plFileName
2013-01-13 16:28:10 -08:00
5fa72a086f
Clean up some miscellaneous non-optimal string uses
2013-01-13 15:53:53 -08:00
c52a1f1037
Add plFileName::Join static method to join paths together correctly
2013-01-13 15:53:53 -08:00
01e25e5d8d
Add plFileName string specialization for filename manipulation
2013-01-13 15:53:53 -08:00
b5e35fb314
Add Truncate() method to plStringStream, which truncates the buffer without reallocating memory
2013-01-13 15:47:12 -08:00
dbb3b1a5b6
Add a Doxyfile and some plString documentation
2013-01-12 04:27:26 -08:00
3bfb6b5850
Merge pull request #253 from zrax/plString
...
Fix a major plStringStream bug, and add an SSO-like optimization to it.
2013-01-07 20:14:14 -08:00
9903e274bb
Fix issues from review
2013-01-06 23:52:12 -08:00
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