Michael Hansen
bf5623224c
Add plPrintf - a cstdio-directed version of plFormat
11 years ago
Michael Hansen
3892a84f52
No need to duplicate this...
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
281f95638d
Better padding string generation
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
2c82cdf996
Fix for {.0f} precision in plFormat()
11 years ago
Adam Johnson
89a9bbb3c4
Merge pull request #431 from zrax/plFormat_float
...
Add float and double support to plFormat
11 years ago
Adam Johnson
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!
11 years ago
Michael Hansen
1a0420127c
Provide some plFormat samples with floats/doubles
11 years ago
Michael Hansen
d15f1557b6
Implement plFormat for floating-point types
11 years ago
Adam Johnson
a4170aafc4
Merge pull request #429 from zrax/deprecated
...
Mark plString::Format as deprecated
11 years ago
Michael Hansen
4b42e387a3
Merge pull request #425 from Hoikas/dyntextmsg-string
...
pyDynamicMap plString-ification
11 years ago
Michael Hansen
e331cbd4f7
ASSume that MSVC is the only compiler who uses the __declspec() syntax
11 years ago
Michael Hansen
688852e658
Put compiler checks in their own cmake module
11 years ago
Michael Hansen
15728bbfb5
Add an hsDeprecated macro for declaring APIs deprecated
11 years ago
Michael Hansen
de88d89cff
Merge pull request #428 from Hoikas/cov
...
Trickle of Coverity
11 years ago
Adam Johnson
83b8f6c10b
Fix invalid sizeof expressions in HeadSpin.cpp
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
2cc162eecb
plString-ify plPythonSDLModifier
11 years ago
Adam Johnson
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!
11 years ago
Adam Johnson
f4ad75978e
Merge pull request #427 from zrax/plFormat_fixes
...
Fix plFormat for standards-compliant compilers (GCC/Clang)
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
7d76cae10f
Make life simpler. Make life less stupid. Make life work.
11 years ago
Michael Hansen
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
11 years ago
Adam Johnson
c9c7350d36
Merge pull request #420 from zrax/plFormat
...
plFormat: a type-safe string formatter
11 years ago
Adam Johnson
69f1e2c511
Merge pull request #413 from zrax/qt_tools
...
Port GUI Tools to Qt5
11 years ago
Michael Hansen
14dbc7b10d
Added line to readme about Qt5 dependency
11 years ago
Adam Johnson
088cf740a6
pyDynamicMap header tweaks...
...
More spurious virtual keywords removed
11 years ago
Adam Johnson
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.
11 years ago
Michael Hansen
933ae6ec17
Provide some sample conversions to plFormat for testing and copying
11 years ago
Michael Hansen
2cb19d3308
Oops - bits parameter isn't actually used any more
11 years ago
Michael Hansen
b199cb5ff0
Add better documentation, and fix some floating point flag stuff
11 years ago
Michael Hansen
63557352f2
Add support for bool formatting
11 years ago
Michael Hansen
1baefdd0f2
Properly handle zero
11 years ago
Michael Hansen
2048b641d3
Take advantage of some custom formatter shortcuts
11 years ago
Michael Hansen
3f92409a21
Provide implementations of most built-in types (excluding floating point)
11 years ago
Michael Hansen
ad5bef6671
Add framework for plFormat
11 years ago
Adam Johnson
f2dee21063
Nuke std::wstring from plDynamicTextMsg
11 years ago
Adam Johnson
a332c9839d
Merge pull request #422 from zrax/atomics_n_refs
...
Use C++11 Atomics and merge duplicate RefCount implementations
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
Michael Hansen
c2754b3993
Show size as hex too if requested
11 years ago
Michael Hansen
42661cc247
Port plResBrowser to Qt5
11 years ago
Michael Hansen
aeb4c27c12
Clean up localization mgr lookups and add some missing mnemonics
11 years ago
Michael Hansen
c78137c743
Fixes for Linux compilation of plFontConverter
11 years ago
Michael Hansen
d4465a2168
Port plFontConverter to Qt5
11 years ago
Michael Hansen
b48963b904
Make it compile and work in GCC / Linux
11 years ago
Michael Hansen
f0ed701d8f
Fix pfLocalizationDataMgr's SetElementPlainTextData to work properly
...
without a database re-load.
11 years ago
Michael Hansen
f6d04e78c8
Port plLocalizationEditor to Qt5
11 years ago