8ca4af9a78
Merge pull request #430 from zrax/plFormat_stuff
...
Start taking over the world with plFormat
2014-05-28 22:25:39 -04:00
419f0bfa75
Add plFormat.h to MaxComponent's Pch.h
2014-05-28 19:10:18 -07:00
8b43d46ea5
Use moar stringstreams (where appropriate)
2014-05-28 19:06:18 -07:00
5c6b6bbc7c
Fix the rest of the plString::Format calls
2014-05-28 18:49:50 -07:00
dc9497cf90
Shutdown code de-duplication
2014-05-28 21:33:32 -04:00
1d18288779
pfKI is dead, long live pfKI!
2014-05-28 21:33:32 -04:00
b426d2faf0
Age Loading now longer has a progress bar...
...
... So we don't need to show/hide the spinner... Or make the console
flash. Stop aggravating me!
2014-05-28 21:33:31 -04:00
6324df3d0f
Trash cruft
2014-05-28 21:33:20 -04:00
23224fb0e1
Merge pull request #432 from zrax/plFormat_float
...
Fix for {.0f} precision in plFormat()
2014-05-28 21:14:38 -04:00
fb8c81b587
plStringify plShaderAssembler
2014-05-28 18:10:27 -07:00
bf5623224c
Add plPrintf - a cstdio-directed version of plFormat
2014-05-28 18:10:26 -07:00
3892a84f52
No need to duplicate this...
2014-05-28 18:10:26 -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
281f95638d
Better padding string generation
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
2c82cdf996
Fix for {.0f} precision in plFormat()
2014-05-28 18:03:07 -07:00
89a9bbb3c4
Merge pull request #431 from zrax/plFormat_float
...
Add float and double support to plFormat
2014-05-28 18:22:27 -04:00
4035d96095
Crash Fix: normalize filenames in the patcher!
...
There were two different path separator styles that caused
plResManager::RemoveSinglePage to do nothing when called from the patcher.
D'oh!
2014-05-28 16:17:04 -04:00
1a0420127c
Provide some plFormat samples with floats/doubles
2014-05-27 18:31:06 -07:00
d15f1557b6
Implement plFormat for floating-point types
2014-05-27 18:31:04 -07:00
a4170aafc4
Merge pull request #429 from zrax/deprecated
...
Mark plString::Format as deprecated
2014-05-24 22:38:18 -04:00
4b42e387a3
Merge pull request #425 from Hoikas/dyntextmsg-string
...
pyDynamicMap plString-ification
2014-05-24 19:26:31 -07:00
e331cbd4f7
ASSume that MSVC is the only compiler who uses the __declspec() syntax
2014-05-24 19:25:43 -07:00
688852e658
Put compiler checks in their own cmake module
2014-05-24 18:56:25 -07:00
15728bbfb5
Add an hsDeprecated macro for declaring APIs deprecated
2014-05-24 18:56:25 -07:00
de88d89cff
Merge pull request #428 from Hoikas/cov
...
Trickle of Coverity
2014-05-24 18:53:22 -07:00
83b8f6c10b
Fix invalid sizeof expressions in HeadSpin.cpp
2014-05-24 20:27:39 -04:00
de9fedb4b4
Fix message ref-counting in cyAvatar::RunBehavior
...
This was potential memory leak AND crash bug, all in one nasty package. I
included a little bit of code cleanup free-of-charge.
2014-05-24 20:27:39 -04:00
2cc162eecb
plString-ify plPythonSDLModifier
2014-05-24 19:56:30 -04:00
e08229e2e3
Fix Age.SetSDL commands...
...
- General code cleanups
- Don't send the entire SDL blob. This is wasteful.
- Actually update the doggone state immediately. Don't screw around!
2014-05-24 19:44:01 -04:00
f4ad75978e
Merge pull request #427 from zrax/plFormat_fixes
...
Fix plFormat for standards-compliant compilers (GCC/Clang)
2014-05-24 17:17:13 -04: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
7d76cae10f
Make life simpler. Make life less stupid. Make life work.
2014-05-21 18:26:16 -07:00
a53f425e38
Fixes for plFormat on GCC/Clang:
...
- int64_t is a typedef of long on Linux/x86_64 -- don't redefine its specialization
- Properly forward-declare the unspecialized variadic template form of _IFormat
2014-05-20 22:27:20 -07:00
c9c7350d36
Merge pull request #420 from zrax/plFormat
...
plFormat: a type-safe string formatter
2014-05-20 20:49:29 -04:00
69f1e2c511
Merge pull request #413 from zrax/qt_tools
...
Port GUI Tools to Qt5
2014-05-19 23:23:39 -04:00
14dbc7b10d
Added line to readme about Qt5 dependency
2014-05-19 20:17:53 -07:00
088cf740a6
pyDynamicMap header tweaks...
...
More spurious virtual keywords removed
2014-05-19 21:54:01 -04:00
305308db90
pyDynamicMap plString-ification
...
We now no longer care if the scripter hands us a string object or a
unicode object! Please note that drawTextW was thrown away because it is
now redundant.
2014-05-19 21:31:37 -04:00
933ae6ec17
Provide some sample conversions to plFormat for testing and copying
2014-05-19 18:12:50 -07:00
2cb19d3308
Oops - bits parameter isn't actually used any more
2014-05-19 18:12:50 -07:00
b199cb5ff0
Add better documentation, and fix some floating point flag stuff
2014-05-19 18:12:49 -07:00
63557352f2
Add support for bool formatting
2014-05-19 18:12:49 -07:00
1baefdd0f2
Properly handle zero
2014-05-19 18:12:48 -07:00
2048b641d3
Take advantage of some custom formatter shortcuts
2014-05-19 18:12:48 -07:00
3f92409a21
Provide implementations of most built-in types (excluding floating point)
2014-05-19 18:12:47 -07:00
ad5bef6671
Add framework for plFormat
2014-05-19 18:12:45 -07:00
f2dee21063
Nuke std::wstring from plDynamicTextMsg
2014-05-19 20:57:24 -04:00
a332c9839d
Merge pull request #422 from zrax/atomics_n_refs
...
Use C++11 Atomics and merge duplicate RefCount implementations
2014-05-18 22:32:52 -04:00
34b2eb1836
More std::atomic and friends
2014-05-18 11:19:55 -07:00