1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00
Commit Graph

1491 Commits

Author SHA1 Message Date
e929708a3b Use std::atomic_int for hsSafeRefCnt, and move it to hsRefCnt.h/cpp 2014-05-17 21:30:42 -07:00
3fe3a1df1b Merge pull request #414 from Hoikas/moar-crashes
Catch moar crashes...
2014-05-11 23:20:00 -04:00
3b8ad7eabf Merge pull request #415 from Hoikas/coverity
Fix moar leeks
2014-05-11 23:19:53 -04:00
eefa389be1 Merge pull request #417 from dpogue/coverity
Coverity Fixes
2014-05-11 23:19:44 -04:00
a3d90948b7 Fix some coverity and style issues in pnEncryption. 2014-05-11 14:40:24 -07:00
5e9378ad5e Merge pull request #416 from Filtik/chathistory
Implement chat history browsing (Client and Python)
2014-05-10 17:07:34 -04:00
7d104772fd Implement chat history browsing (Client and Python) 2014-05-09 20:40:18 +02:00
d4dbc81522 Fix another book-sharing message leak... 2014-05-05 21:37:15 -04:00
1ed13e6466 Fix some message leaks in cyCamera 2014-05-05 21:33:01 -04:00
426d8e08d7 Catch moar crashes...
... Instead of throwing up a useless VC++ dialog box, actually do our
error handling.
2014-05-05 21:18:28 -04:00
b3d6afc1c1 Can you say KABOOM?
The data is interleaved. If you randomly change it up, OpenAL *will* crash
on you...
2014-05-05 18:11:34 -04:00
07810ffd9c Apparently these need to be at the top to work in a purely
command-line (msbuild) environment
2014-05-04 22:59:32 -07:00
f9129ae82a Fix const-ness of some pfPython GUI stuff. 2014-05-04 17:03:50 -07:00
36f9876705 Merge commit 'a1edba6' 2014-05-03 15:42:56 -07:00
152e2fe0df Merge pull request #409 from Hoikas/coverity
Moar Coverity
2014-05-03 13:29:23 -07:00
f78deb37d3 Fix memory leak in Relto sharing 2014-05-03 16:24:59 -04:00
783f0e9eb1 Fix unlikely plStateDescriptor leak 2014-05-03 16:24:59 -04:00
4e35dbf528 Fix ConsoleTrigger memory leak 2014-05-03 16:24:58 -04:00
133098c18e Fix pyMatrix44 memory leak 2014-05-03 12:56:15 -04:00
31d0346762 Merge pull request #410 from zrax/pch_max_fixes
Fixes for Max plugin compilation when not using PCH
2014-04-27 12:42:49 -04:00
6867be59f9 Fixes for Max plugin compilation when not using PCH 2014-04-27 09:28:26 -07:00
5672bcb57e Fix Coverity issues with pfPatcher 2014-04-26 17:21:51 -04:00
7e624a08a2 Merge pull request #390 from Hoikas/plMessage-headers
PCH-ize plMessage
2014-04-26 14:13:31 -07:00
45d26404c5 Merge pull request #392 from Lunanne/textrendering-clean
Textrendering clean
2014-04-26 15:50:04 -04:00
3fceb7652c Const getters 2014-04-26 21:14:59 +02:00
e26f479bb5 Make font flags available to Python in PlasmaConstants. 2014-04-26 21:14:58 +02:00
04647a1c98 Fix comment Hoikas 2014-04-26 21:14:57 +02:00
bee6001b78 Fix ptGUIControl.setFontFlags(). 2014-04-26 21:14:56 +02:00
664339a4bd Move methods to pyGUIControl to pyGUIControlTextBox. 2014-04-26 21:14:55 +02:00
4e613d1899 add python api to set flags
Clean up unwanted changes caused by IDE extension -.-

Reworked implementation
2014-04-26 21:14:54 +02:00
0c8fc6d559 Undo the kRenderJustXForceLeft bugfix of 4 commits back.
The fix (adding adjustment of fRenderInfo.fDestPtr) made kRenderJustXForceLeft behave as intended (left-aligning the edge of the bitmap rather than the side bearing of the first character) but cuts off shadows in some places (e.g. at the left edges of "BUDDIES" and "NEIGHBORS" in the mini KI). To ensure enough space for the shadow, and considering that all content was developed and visually optimized with the bug in place, it seems better to preserve the buggy behavior and make kRenderJustXForceLeft work exactly like kRenderJustXLeft.
2014-04-26 21:14:53 +02:00
1967178e37 Link shadowed text rendering to the plDynamicTextMap::kFontShadowed flag.
Conveniently enough, this existing but unimplemented flag is already set mostly the way we want it in the current PRPs.
2014-04-26 21:14:52 +02:00
6b4739aec9 Implement shadowed text rendering.
Intended to make KI text (player list and chat) better readable on light and patterned backgrounds. In this WIP, all text on GUI controls is rendered shadowed.
2014-04-26 21:14:51 +02: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
b34577103e Pixel-accurately clip characters to the available space instead of omitting whole characters that stick out.
In addition to being a prerequisite for shadowed text, this also fixes an issue sometimes seen at the bottom of the mini KI player list where characters with a descender were missing.
2014-04-26 21:14:49 +02:00
4cd2b2f7dd Fix #303 2014-04-26 21:14:47 +02:00
54a1b99f56 Merge pull request #406 from Deledrius/Max7_VS12
Fix compilation of Max 7 plugin in VisualStudio 12
2014-04-26 13:42:42 -04:00
81214699ae Fix scope on preprocessor variables for Max plugin.
plAudioCore needs to know whether we intend to build the plugin, so
the change introduced in 978edc1 was causing compilation to fail when
building the plugin.

This moves detection and definition back into the root CMakeList,
but preserves the behavior of only looking for the SDK if needed.
2014-04-26 09:53:56 -07:00
a1edba6267 fix for g++:
fix plVault LogMsg calls + remove useless wide char usage
	fix usage of plAvatarMgr::FindAvatar() and plLinkEffectsTriggerMsg::SetLinkKey() with temporary variables
	plNetServerSessionInfo.h need std::string
	fix plProgressMgr.h: NumLoadingFrames() have an useless class context information
	fix plSocket usage of non-standard NULL
2014-04-24 14:22:03 +02:00
683945fb7d Merge pull request #404 from dpogue/coverity
Coverity
2014-04-22 15:33:03 -04:00
c3d8e7e161 Add different SetText values to MaxCompat header.
Restores compilation of Max 7 plugin, as its SetText expects
a non-const pointer.

Additionally, NotifyInfo should already be declared in notify.h.
2014-04-21 08:53:07 -07:00
58d79679d3 Use std math functions in Max plugin.
VS12 provides math functions which were conflicting with ones defined
in texutil.h.  This removes the reliance on texutil.h and uses the
standard library's math in its place.
2014-04-21 08:52:09 -07:00
8ed43ca9ab Merge pull request #405 from dpogue/readme
Update README and add prepare_env scripts.
2014-04-20 23:59:30 -04:00
8ea4f1ffc4 Merge pull request #398 from zrax/expat-utf8
Use the UTF-8 version of Expat
2014-04-20 20:56:49 -07:00
14950f4c44 Update README and add prepare_env scripts. 2014-04-20 20:43:16 -07:00
d615f47dc4 Improve clarity of stat/_wstat64 return value. 2014-04-20 17:12:59 -07:00
87e2150948 Remove unneeded register keyword.
In modern compilers, the register keyword has no effect. On clang, it
generates warnings.
2014-04-20 17:12:23 -07:00
b66a2ba9e3 Fix an uninitialized value in hsBounds. 2014-04-20 17:12:02 -07:00
5e8d75169c Use pointers instead of array syntax. 2014-04-20 17:11:34 -07:00
fdd8279c57 Merge pull request #403 from dpogue/coverity_patches
Coverity patches

Closes #396.
2014-04-18 15:01:52 -07:00