2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00
Commit Graph

541 Commits

Author SHA1 Message Date
a005f75417 Merge branch 'ticket/27'
closes #27
2021-11-05 15:47:07 -06:00
e8e9cd29ee Fix #ifdef limiting Plasma App.SetLanguage command access in Internal client.
(cherry picked from commit 7be998219f)
2021-11-05 15:43:11 -06:00
7be998219f Fix #ifdef limiting Plasma App.SetLanguage command access in Internal client. 2021-11-05 15:42:23 -06:00
c9fddca6d5 Fix garbled stack traces.
Newer versions of VS and Windows use ASLR for security purposes, meaning
that the module may be relocated from what is expected by the linker map
file. While we could kludge around that by disabling ASLR, it would be
better to just map the actual stack addresses to the expected addresses.
This also simplifies all of the weird segment math to simply use the
rvabase value in the map file.
2021-10-19 15:02:02 -06:00
3f8eaf6a9a Add console command App.Crash to debug garbled stack traces. 2021-10-19 15:02:02 -06:00
0ce35e84b2 Remove old SDK code from CWE source base. Now entirely in SDK submodule. 2021-10-19 15:01:40 -06:00
0a5abca4e9 Fix garbled stack traces.
Newer versions of VS and Windows use ASLR for security purposes, meaning
that the module may be relocated from what is expected by the linker map
file. While we could kludge around that by disabling ASLR, it would be
better to just map the actual stack addresses to the expected addresses.
This also simplifies all of the weird segment math to simply use the
rvabase value in the map file.
2021-10-18 12:37:36 -04:00
271a801834 Add console command App.Crash to debug garbled stack traces. 2021-10-18 12:33:20 -04:00
8434eb25ce Remove old SDK code from CWE source base. Now entirely in SDK submodule. 2021-10-17 16:50:42 -06:00
31156794ad Fix reference counting problem in pyVaultNode::AddNode().
This is fixed in H'uru via extensive use of RAII around vault nodes.
2021-10-17 16:30:07 -06:00
fc79b5f45a Fix vaultOperation Python object leak.
This fixes a leak of a Python bound method. Leaking this means that
PythonFileMods keys are still loaded when the client exits. These
methods are most commonly used by xSimpleImager.py, so the effect of the
leak can be observed by simply linking to Relto and quitting with a leak
detector active.
2021-10-17 16:30:07 -06:00
542711c7c0 Fix misplaced return value.
The "wait for server response" return value was short-circuiting the
"already done" value. The previous commit fixed always needing a new
instance, exposing this problem.
2021-10-17 16:28:51 -06:00
fd3b9ac5ec Fix reference counting problem in pyVaultNode::AddNode().
This is fixed in H'uru via extensive use of RAII around vault nodes.
2021-10-17 15:13:12 -04:00
e605e670b1 Fix vaultOperation Python object leak.
This fixes a leak of a Python bound method. Leaking this means that
PythonFileMods keys are still loaded when the client exits. These
methods are most commonly used by xSimpleImager.py, so the effect of the
leak can be observed by simply linking to Relto and quitting with a leak
detector active.
2021-10-17 15:02:20 -04:00
c65b062e0f Fix misplaced return value.
The "wait for server response" return value was short-circuiting the
"already done" value. The previous commit fixed always needing a new
instance, exposing this problem.
2021-10-17 14:48:23 -04:00
b9f8e3d1bd Review changes cf. Adam: change name of local vars to not start
with 'f' prefix (used for fields in objects).
Also removed trailing space from lines that irritate Git difference listings.
2021-10-16 15:19:45 -06:00
224ad908cc Fix incorrect string handling in pfJournalBook::IRenderPage()
Unify references to HTML string chunk as being accessed as wchar_t[]
strings rather than repeatedly calling std::wstring.c_str() on the
chunk, then using character positions obtained from those strings
to index directly into the std::wstring[] form from chunk->fText.
2021-10-16 15:19:45 -06:00
ed516b6508 Fix wild access to font structures when rendering non-ascii unicode characters. 2021-10-16 15:06:11 -06:00
4329212d98 Fix assertion with incorrect limit on age sequence prefix. 2021-10-16 15:06:02 -06:00
8ff71fb384 Correct calls to StrTo(Unicode|Ansi) to use the correct size. 2021-10-16 14:53:27 -06:00
d7c999c8f3 Correct calls to StrTo(Unicode|Ansi) to use the correct size. 2021-10-12 15:10:51 -04:00
3489b924ce Merge branch 'ticket/23'
closes #23
2021-10-03 15:21:52 -06:00
60e74f0042 Revert "Hack to work around LetsEncrypt DST Root CA X3 expiration until Openssl updated."
This reverts commit 09e43b28b5.
2021-10-03 15:20:34 -06:00
09e43b28b5 Hack to work around LetsEncrypt DST Root CA X3 expiration until Openssl updated. 2021-10-02 11:56:32 -06:00
46bc8cca4d Correctly allocate the NetVaultNode in pyVaultPlayerInfoListNode.
The affected code was ported from H'uru where NetVaultNode has a zeroing
constructor. OU does not have a zeroing constructor for this class, and
instead assumes that all allocations will be done with NEWZERO (there is
a debug mode assertion to this effect). The result of the improper
allocation is that the node fields flag could be garbage, causing a
vault node with random contents to be written to the server.

Unfortunately, NetVaultNode::Read_LCS is not extremely resilient to
reading in unexpected data, so this may result in a crash.
2021-10-02 00:55:10 -04:00
8fa0369486 Review changes cf. Adam: change name of local vars to not start
with 'f' prefix (used for fields in objects).
Also removed trailing space from lines that irritate Git difference listings.
2021-09-10 15:36:36 -06:00
7499f2f037 Fix wild access to font structures when rendering non-ascii unicode characters. 2021-09-10 10:25:22 -06:00
7ad6edd4d4 Fix assertion with incorrect limit on age sequence prefix. 2021-09-10 10:22:39 -06:00
8ab3ac4e9a Fix incorrect string handling in pfJournalBook::IRenderPage()
Unify references to HTML string chunk as being accessed as wchar_t[]
strings rather than repeatedly calling std::wstring.c_str() on the
chunk, then using character positions obtained from those strings
to index directly into the std::wstring[] form from chunk->fText.
2021-09-10 10:16:29 -06:00
34a5d24f79 Merge branch 'ticket/18'
Closes #18
2021-09-09 16:43:36 -06:00
e2aec8d52c Fix an infinite loop in plDxPipeline.
H'Uru PR #719 commit log:

commit 5f53b86494605c484c0b304e0a5ab15a07929106
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Fri Sep 4 07:38:15 2020 -0400

    Fix an infinite loop in plDXPipeline.

    This was observed in a 2x2 DXT1 mipmap produced by Korman. While Korman
    should probably force such a thing to be uncompressed, the pipeline
    should also not be able to enter such an obviously invalid state.

M       Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.cpp
2021-09-07 14:45:45 -06:00
7b4d9e8e3f Merge branch 'ticket/17'
closes #17
OPENURU_BUILD_195
2021-08-12 14:43:51 -06:00
b1eda42289 Fix race condition on first time uses of Er'cana/Ahnonay books.
Some of the Python code expects for explicit Age initialization to
complete immediately. Rewriting that would be something of a chore, so
this will prevent first time clicks on the Er'cana and Ahnoying
Cathedral books from causing a perma-stick.

Homologue of H'uru commit ec0aecd202
2021-08-10 18:58:11 -04:00
67a9e4a892 Merge branch 'ticket/16'
closes #16
OPENURU_BUILD_194
2021-08-05 10:45:18 -06:00
13e3022087 Merge branch 'ticket/15'
closes #15
2021-08-05 10:44:53 -06:00
9b80ebf645 Remove PDB and MAP symbol files from list of files to delete upon startup. 2021-07-29 19:19:01 -06:00
d007fac536 Limit the scope of callback suppression.
Per testing on Minkata, suppressing callbacks during all vault downloads
has a deleterious effect on imagers. While my high level assumption is
correct, vault downloads can encompass situations where we want
notifications (eg re-downloading imager inbox folders, new age info
vault fragments). Whoops!
2021-07-28 22:27:26 -04:00
099a171f85 Merge branch 'ticket/14'
closes #14
2021-07-26 10:10:02 -06:00
994cee47b1 Merge branch 'master' of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata 2021-07-24 13:03:32 -06:00
ba7b2d0caf Merge branch 'ticket/12'
closes #12
closes #13
2021-07-24 13:03:03 -06:00
9be38cb29b Merge branch 'ticket/12'
closes #12
2021-07-24 13:00:25 -06:00
8c46126007 Suppress vault callbacks when loading or unloading VNodeMgrs.
On MOULa, there have been complaints about linking to some Neighborhoods
and activating some players taking a very long time. One of these
Neighborhoods in particular is the "DRC(67) Bevin". When I attempted to
link to this Age, I found the link took approximately 85 seconds each
time. On profiling, I discovered that for every node downloaded during
the initialization phase, we were calling into Python at least once.
Suppressing vault callbacks during times when they are obviously going
to storm and be useless decreases the link time to 7 seconds.
2021-07-23 00:28:29 -04:00
bef0bfa262 Revert part of a89577e that allowed message handlers to override the
default window proc, killing key commands like Alt+F4
2021-07-22 17:24:36 -06:00
3d3d70fc08 Merge branch 'ticket/13'
closes #13
2021-07-22 15:57:34 -06:00
2a63116726 Merge branch 'ticket/12'
closes #12
2021-07-22 15:57:20 -06:00
2b8c81ee2a Merge branch 'ticket/10'
closes #10
2021-07-22 09:29:49 -06:00
926267c6de [PATCH] Make pyVault::AddChronicleEntry a blocking operation to avoid
H-uru:
From f45679a54f Mon Sep 17 00:00:00 2001
From: Adam Johnson <AdamJohnso@gmail.com>
Date: Sun, 15 Jan 2012 18:35:05 -0500
Subject: [PATCH] Make pyVault::AddChronicleEntry a blocking operation to avoid
 a race condition
2021-07-21 15:22:29 -06:00
ae019b8df9 Merge branch 'master' into ticket/10 2021-07-21 14:47:23 -06:00
5d0e4bb853 Merge branch 'ticket/11'
closes #11
2021-07-21 14:47:05 -06:00
bbde8fe51f Merge branch 'master' into ticket/11 2021-07-16 11:30:42 -06:00