2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 14:37:41 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
8b8e39685a Merged in cwalther/cwe/notify_int (mainly by boq) (https://foundry.openuru.org/fisheye/cru/CWE-12)
Allow plNotify variable events to carry integers in addition to floats

This fixes crashes when trying to upload a KI note with an odd vault node id > 2^24 to an imager, and allows for future cleanup of other plNotifyMsg uses.

To be accompanied by moulscript 886c4.
2012-05-18 21:08:59 +02:00
8ba666ee6c Merged in cwalther/cwe/cypythonide (pull request #8)
Wrap uses of the missing CyPythonIDE with #ifdef HAVE_CYPYTHONIDE

This fix is needed to build an internal client (without /DPLASMA_EXTERNAL_RELEASE).

It is designed to match the corresponding fix in H-uru/Plasma (b76fd10 etc.).
2012-05-18 21:07:16 +02:00
e583bf6d74 Also handle Python long integers in addVarNumber. 2012-04-09 09:50:40 +02:00
350295425a Allow int in plNotify
---
 .../Plasma/FeatureLib/pfPython/plPythonFileMod.cpp |   11 ++-
 Sources/Plasma/FeatureLib/pfPython/pyNotify.cpp    |   10 ++
 Sources/Plasma/FeatureLib/pfPython/pyNotify.h      |    2 +
 .../Plasma/FeatureLib/pfPython/pyNotifyGlue.cpp    |   68 +++++++++++++++-
 .../Plasma/NucleusLib/pnMessage/plNotifyMsg.cpp    |   87 +++++++++++++++++--
 Sources/Plasma/NucleusLib/pnMessage/plNotifyMsg.h  |   14 +++-
 6 files changed, 175 insertions(+), 17 deletions(-)
2012-04-09 01:29:47 +02:00
a9cb4723d0 Fix KI daylight saving time calculation.
The previous implementation had the following bugs:
- DST was truncated to end of October
- DST start was off by one week in years where March 1st is a Monday
- DST start was off by one second (1:59:59 -> 2:00:00 -> 3:00:01 instead of the correct 1:59:59 -> 3:00:00 -> 3:00:01)

Tested against tzdata 2009g.
2012-03-31 20:13:58 +02:00
423e0c2142 Use George Bush style (2007) DST begin/end dates 2012-03-28 16:36:37 -04:00
970b8e3af4 Fix a potential crash when resizing SDL tuples.
_PyTuple_Resize may destroy the original tuple and return a new one through the pointer argument. When it does that and we don?t put the new one back into the map, we end up with a stale pointer to a destroyed object in the map, which is likely to blow up one way or another next time it?s accessed.

Untested because, as far as I can see, this code isn?t actually used currently. All uses of this method deal with fixed-size SDL variables. Resizable variables are not used at all in age SDL, only in non-age SDL (animation, avatar, clothing etc.), and I?m not even sure if those are even accessible using this Python API.
2011-11-27 10:58:25 +01:00
38747f3f1b Don?t modify tuples that others may already have references to.
Fixes egg room private chat channels and entering Teledahn buckets with Python 2.7. These and other uses of ptSDL.setIndex() only worked by chance with Python 2.3 because the tuples happened to have reference counts of 1.
2011-11-27 10:56:49 +01:00
16a6b8a28e Open source re-licensing 2011-10-20 15:20:01 -07:00
19cd10abd7 Wrap uses of the missing CyPythonIDE with #ifdef HAVE_CYPYTHONIDE
to make things compile, like in H-uru/Plasma.
2011-04-27 20:52:15 +02:00
a363a783c5 MOULa build 1.902 - dragossh's "Bevin" into "Hood"
and Chogon added ability to select a specific age instance by a meta name
   and BuildMachine bumped buildID
2011-04-19 14:24:55 -07:00
868ce660d9 MOULa build 1.902 - dragossh's "Bevin" into "Hood"
and Chogon added ability to select a specific age instance by a meta name
   and BuildMachine bumped buildID
2011-04-19 14:24:55 -07:00
a20a222fc2 Initial Commit of CyanWorlds.com Engine Open Source Client/Plugin 2011-03-12 12:34:52 -05:00