598f5f47ec
Fix compiler error in pnUtArray.
2015-02-08 23:25:01 -08:00
a110dc0f7c
Fix narrowing-conversion werrors from Clang
2015-01-09 21:50:43 -08:00
e7a076b247
Merge pull request #466 from dpogue/bugfixes
...
Bugfixes
2015-01-03 16:41:47 -08:00
6d1dd4fd5d
Fix for SDL blob corruption
2015-01-03 14:33:36 -08:00
992be55e69
Fix segfaults by making this a plString.
2015-01-03 13:39:01 -08:00
81ea5ef112
Tweak NetVaultNode::CopyFrom
...
- We now zero fields that are unused in the new copy
- Ensure that blob fields are deep copied (fix potential crashes)
2015-01-02 23:03:54 -05:00
352c9f9427
Don't assume vault strings are null-terminated
2015-01-02 22:59:08 -05:00
3b983bca8e
Convert vault tree printing to plString
...
After hacking the old to just barely use plString, I received some UTF-8
asserts. So, that seemed like a good excuse to convert the whole mess to
plString. Note that the output is now saved in VaultClient.log. This
should help with getting some of the chaos out of OLD_ASYNC_LOG.log
2015-01-02 22:50:27 -05:00
b9f747f046
Refactor NetVault Node
...
NetVaultNode now uses plStrings. I also took the liberty of removing code
that was really only useful in server contexts. Note that there is
absolutely no way this will compile at the moment. Future commits will fix
the other code to play nicely with this rewrite.
2015-01-02 22:50:25 -05:00
c384450236
Remove stale CSrvPackBuffer code
2015-01-02 22:50:25 -05:00
b37307a7b4
Merge pull request #448 from Deledrius/passwords
...
Store plClient password using platform-specific credential storage.
2015-01-02 22:26:35 -05:00
bb2ea46c69
Store plClient password using platform-specific credential storage.
...
- Removes old drive-based "cryptography" for stored passwords,
which often caused them to be invalidated when removable storage
on the system is used.
- Uses pfPasswordStore to store passwords.
- Uses the Windows Registry to store account/password preferences.
2015-01-02 19:16:06 -08:00
e8d317bd92
Replace port constants with a single port variable
...
- Remove really old deprecated constants
- Remove some Cyanic server code as well
2014-12-26 15:46:46 -05:00
69bc106576
Merge pull request #407 from Deledrius/bink_removal_again
...
Bink Removal
2014-10-19 18:25:24 -04:00
9732a997c0
Removes remaining usage of Bink in main engine.
...
- Removes Bink headers.
- Remove usage of Bink movie layers in pfJournalBook (replacing it
with plLayerAVI in the interim).
- Removes Bink cmake.
Conflicts:
CMakeLists.txt
Sources/Plasma/Apps/plClient/plClient.cpp
Sources/Plasma/PubUtilLib/plPipeline/plBinkPlayer.h
2014-10-16 01:06:37 -07:00
ccd5687e61
Fix pnUUID linking on OSX. Closes #451 .
2014-10-13 17:32:50 -07:00
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
751d760772
Use standard (f)abs functions
2014-08-09 12:28:20 -07:00
1a987173d6
Use std::swap
2014-08-09 12:28:19 -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
9d67b96837
Fix some errors and warnings when compiling with Clang
2014-08-09 12:19:14 -07:00
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
2014-07-26 13:05:43 -07:00
b774548066
Simplify plDispatch mutexes a bit
2014-07-26 11:07:05 -07:00
2947acb2c8
Replace hsMutex with std::mutex
2014-07-25 23:39:53 -07:00
a82c110a9a
Merge pull request #438 from zrax/plFormat_stream
...
Switch plFormat's accumulator to a plStringStream for better performance
2014-07-15 21:48:54 -04:00
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
2014-07-15 21:33:18 -04:00
f5b2bddbb2
Always use hsTimer for profile stats.
...
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
2014-06-28 21:39:17 -07:00
a0da984cdc
Work towards killing TimeGetMs.
...
Only remaining uses are in pnAsyncCore stuff, and I'm not touching that
until the std::thread merge is figured out.
2014-06-28 18:14:27 -07:00
a3ae4201a2
Template-ize hsTimer return values.
2014-06-28 18:14:26 -07:00
5b0652cb7e
std::chrono-ize hsTimer.
2014-06-28 18:14:24 -07:00
6fb7090eed
Remove unused pnUtTime functions.
2014-06-28 18:14:23 -07:00
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
2014-06-04 19:35:30 -07:00
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
2014-06-01 13:34:19 -07:00
5c6b6bbc7c
Fix the rest of the plString::Format calls
2014-05-28 18:49:50 -07:00
48ca0fde19
More plFormat -- some may make minor changes to certain debug output
...
(mostly regarding bools)
2014-05-28 18:10:25 -07:00
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
2014-05-28 18:10:24 -07:00
d8c3769143
Fix it for standards-complient compilers (GCC/Clang).
...
Unfortunately, this means that all formatters must be declared in the
same place now, as they must be declared BEFORE the template which uses
them is declared (not just before it was instantiated, which MSVC allows).
2014-05-22 19:49:07 -07:00
2048b641d3
Take advantage of some custom formatter shortcuts
2014-05-19 18:12:48 -07:00
34b2eb1836
More std::atomic and friends
2014-05-18 11:19:55 -07:00
23a071860e
pnUtRef started at zero refs instead of one, and this is simpler
...
than finding and removing all the extra Ref() calls.
2014-05-18 11:19:55 -07:00
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
2014-05-18 11:19:52 -07:00
a3d90948b7
Fix some coverity and style issues in pnEncryption.
2014-05-11 14:40:24 -07:00
4e35dbf528
Fix ConsoleTrigger memory leak
2014-05-03 16:24:58 -04:00
8c5286400a
Use premultiplied alpha for plDynamicTextMaps on GUI controls.
...
This fixes the irregular dark fringes around light text when not exactly pixel-aligned that are caused by independent interpolation of color and alpha. It also makes calculations simpler for things to come.
2014-04-26 21:14:50 +02:00
a58e9c643c
Clean up some warnings, and make the CRT ones more relevant
2014-03-16 14:35:15 -07:00
a1e3fa6faf
Various MinGW compile fixes.
2014-02-19 23:31:43 -08:00
37948af058
Merge pull request #382 from zrax/ReadSafeString_plString
...
Get rid of hsStream::ReadSafe(W)String(Long)_TEMP
2014-01-21 15:29:40 -08:00
d7fdf10455
Convert ReadSafe(W)String* to the plString variants, and remove the now
...
unneeded _TEMP variants. All safe strings read from hsStreams are
now plStringified :)
2014-01-21 15:21:32 -08:00