Michael Hansen
b12bce00ff
Fix or disable components that don't build on Linux.
10 years ago
Darryl Pogue
598f5f47ec
Fix compiler error in pnUtArray.
10 years ago
Darryl Pogue
cf28e8d577
Remove unused pnUtStr functions.
10 years ago
Darryl Pogue
bd259023f9
Kill off unused pnUtUxStr.
10 years ago
Adam Johnson
df19c3be0b
Kill pnUtW32Str
...
We can now trash StrToUnicode and StrToAnsi! Unfortunately, this does not
fix all of the weird string stuff, but it is a nice little milestone... :)
10 years ago
Adam Johnson
31076d65f9
Convert score creation to plString
10 years ago
Adam Johnson
374b8b0531
Convert age names over to plString
10 years ago
Adam Johnson
b6bbf8419a
Scrub the last StrToAnsi from AgeInfo conversions
10 years ago
Adam Johnson
2039d88025
Convert server name stuff to plString
10 years ago
Michael Hansen
a110dc0f7c
Fix narrowing-conversion werrors from Clang
10 years ago
Michael Hansen
5feefe8ea4
Fix/remove some incorrect uses of the arrsize macro
10 years ago
Michael Hansen
6d1dd4fd5d
Fix for SDL blob corruption
10 years ago
Darryl Pogue
992be55e69
Fix segfaults by making this a plString.
10 years ago
Adam Johnson
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)
10 years ago
Adam Johnson
352c9f9427
Don't assume vault strings are null-terminated
10 years ago
Adam Johnson
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
10 years ago
Adam Johnson
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.
10 years ago
Adam Johnson
c384450236
Remove stale CSrvPackBuffer code
10 years ago
Joseph Davies
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.
10 years ago
Adam Johnson
e8d317bd92
Replace port constants with a single port variable
...
- Remove really old deprecated constants
- Remove some Cyanic server code as well
10 years ago
Joseph Davies
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
10 years ago
Darryl Pogue
ccd5687e61
Fix pnUUID linking on OSX. Closes #451 .
10 years ago
Michael Hansen
085c00706c
Some fixes for Clang
10 years ago
Michael Hansen
094b0fe557
Move <algorithm> header out of HeadSpin.h
10 years ago
Michael Hansen
751d760772
Use standard (f)abs functions
10 years ago
Michael Hansen
1a987173d6
Use std::swap
10 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
10 years ago
Michael Hansen
e36220cca5
Use std::min and std::max
10 years ago
Michael Hansen
9d67b96837
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
10 years ago
Michael Hansen
b774548066
Simplify plDispatch mutexes a bit
10 years ago
Michael Hansen
2947acb2c8
Replace hsMutex with std::mutex
10 years ago
Darryl Pogue
f5b2bddbb2
Always use hsTimer for profile stats.
...
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
11 years ago
Darryl Pogue
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.
11 years ago
Darryl Pogue
a3ae4201a2
Template-ize hsTimer return values.
11 years ago
Darryl Pogue
5b0652cb7e
std::chrono-ize hsTimer.
11 years ago
Darryl Pogue
6fb7090eed
Remove unused pnUtTime functions.
11 years ago
Michael Hansen
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
11 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
11 years ago
Michael Hansen
5c6b6bbc7c
Fix the rest of the plString::Format calls
11 years ago
Michael Hansen
48ca0fde19
More plFormat -- some may make minor changes to certain debug output
...
(mostly regarding bools)
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
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).
11 years ago
Michael Hansen
2048b641d3
Take advantage of some custom formatter shortcuts
11 years ago
Michael Hansen
34b2eb1836
More std::atomic and friends
11 years ago
Michael Hansen
23a071860e
pnUtRef started at zero refs instead of one, and this is simpler
...
than finding and removing all the extra Ref() calls.
11 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
11 years ago
Darryl Pogue
a3d90948b7
Fix some coverity and style issues in pnEncryption.
11 years ago
Adam Johnson
4e35dbf528
Fix ConsoleTrigger memory leak
11 years ago
Christian Walther
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.
11 years ago