Directory server/trunk/plugins/cfpython/include/

Total Files:
8
Deleted Files:
7
Lines of Code:
395

[root]/server/trunk/plugins/cfpython/include

Lines of Code

server/trunk/plugins/cfpython/include/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 160 (100.0%) 1729 (100.0%) 10.8
akirschbaum 27 (16.9%) 586 (33.9%) 21.7
anmaster 34 (21.3%) 492 (28.5%) 14.4
quinet 14 (8.8%) 318 (18.4%) 22.7
ryo_saeba 67 (41.9%) 179 (10.4%) 2.6
mwedel 2 (1.3%) 70 (4.0%) 35.0
gros 6 (3.8%) 60 (3.5%) 10.0
tchize 3 (1.9%) 14 (0.8%) 4.6
cavesomething 2 (1.3%) 4 (0.2%) 2.0
lalo 1 (0.6%) 3 (0.2%) 3.0
Alestan 2 (1.3%) 3 (0.2%) 1.5
partmedia 2 (1.3%) 0 (0.0%) 0.0

Most Recent Commits

partmedia 2015-05-17 12:44 Rev.: 19929

Replace gettimeofday(2) with clock_gettime(2)

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (-5)
partmedia 2013-07-16 08:30 Rev.: 18792

Trim legacy Makefile headers.

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: Makefile.am (-1)
ryo_saeba 2012-04-15 11:35 Rev.: 17969

Remove redundant header.

0 lines of code changed in 2 files:

  • server/trunk/plugins/cfpython/include: Makefile.am (-1), cfpython_party_private.h (del)
ryo_saeba 2012-04-15 11:30

Remove redundant header.

3 lines of code changed in 6 files:

  • server/trunk/plugins/cfpython/include: Makefile.am (+1 -1), cfpython_archetype_private.h (del), cfpython_map_private.h (del), cfpython_region_private.h (del)
ryo_saeba 2012-04-15 11:25 Rev.: 17965

Remove redundant header.

1 lines of code changed in 3 files:

  • server/trunk/plugins/cfpython/include: Makefile.am (+1 -1), cfpython_object.h (-23), cfpython_object_private.h (del)
ryo_saeba 2012-04-15 04:54 Rev.: 17957

Give Python access to 'OtherArchetype'.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+2)
ryo_saeba 2012-04-15 04:36 Rev.: 17956

Enable Python to set 'Alive' and the various move types.

14 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+14 -7)
ryo_saeba 2011-11-08 15:51 Rev.: 15572

Fix #if with #ifdef.

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (+3 -1)
ryo_saeba 2011-09-10 05:53 Rev.: 15071

Remove unused variables. Remove suspicious call.

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (-1)
ryo_saeba 2011-06-26 05:30 Rev.: 14708

Move structure to file, no need to have it in .h file.

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (-9)
ryo_saeba 2011-06-26 05:27 Rev.: 14707

Use shared strings for commands, and correctly free them.

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (+3 -3)
ryo_saeba 2011-06-09 16:36 Rev.: 14533

Expose arrest_player() to Python.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+2)
ryo_saeba 2011-06-09 15:59 Rev.: 14528

Expose region's jail parameters to Python.

6 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_region_private.h (+6)
Alestan 2010-11-25 03:21 Rev.: 14128

removed blank line that should not have been added and made comma usage conform to the rest of the file

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (-1)
Alestan 2010-11-25 03:08 Rev.: 14127

added function for getting material name and number via python plugin

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+3)
anmaster 2010-10-09 16:14 Rev.: 13979

Do not make symbols globally visible by default on *nix (when supported),
on Windows this is always the case. To prevent hidden errors (since most
developers seem to test on *nix), use -fvisibility=hidden when GCC is used
and make the MODULEAPI and CF_PLUGIN macros use __attribute__ to mark those
as visible. This will not break on any compiler not supporting this, but will
prevent future hidden errors of this type.

A further advantage with this is that it reduces risk of symbol name collision
between various dynamic objects.

8 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (+8 -7)
ryo_saeba 2010-08-07 04:03 Rev.: 13559

Change event listener prototype for plugins to return int instead of void*.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_proto.h (+2 -2)
ryo_saeba 2010-08-05 15:53 Rev.: 13558

Remove unused 'command_' return values. Change function prototype to make 'params' const. Fix some const discarding.

1 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_proto.h (+1 -1)
ryo_saeba 2010-06-06 10:06 Rev.: 13368

Expose one knowledge function to plugin.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+2)
ryo_saeba 2010-05-29 13:27 Rev.: 13317

Expose 'Map.InsertAround' to Python.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_map_private.h (+2)
ryo_saeba 2010-05-08 05:19 Rev.: 13152

Transmit talk information to plugins. Make a specific say plugin command.

1 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (+1)
cavesomething 2010-03-29 20:52 Rev.: 12748

Patch by Funnyman3595 to add support for object.split and
object.clone to the python plugin

4 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+4)
cavesomething 2010-03-29 17:56 Rev.: 12745

Quest handling changes, remove questend calls, replace with individual
steps which can 'finish quest'.

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (-2)
ryo_saeba 2010-02-28 06:50 Rev.: 12526

Extract 'remove_depletion' function from potion. Give access to plugins to it, add to Python wrappers.

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+2)
ryo_saeba 2010-01-24 10:37 Rev.: 12364

Give access to quest-related functions to the Python plugin.

10 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+10)
akirschbaum 2009-06-12 10:46 Rev.: 11817

Rename most functions in object.c to object_xxx().

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object.h (+3 -3)
akirschbaum 2009-06-08 17:34 Rev.: 11779

Remove support for obsolete attributes can_use_rod, can_use_wand, and can_use_horn.

0 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (-4)
anmaster 2009-02-19 09:22 Rev.: 11556

plugins/cfpython/cfpython_archetype.c, plugins/cfpython/cfpython_object.c,
plugins/cfpython/cfpython_party.c, plugins/cfpython/cfpython_region.c,
plugins/cfpython/cfpython_map.c,
plugins/cfpython/include/cfpython_object_private.h,
plugins/cfpython/include/cfpython_map_private.h,
plugins/cfpython/include/cfpython_party_private.h,
plugins/cfpython/include/cfpython_region_private.h,
plugins/cfpython/include/cfpython_archetype_private.h: Implement the function
tp_richcompare, since Python 3.x no longer uses tp_compare. tp_richcompare can
also be used on Python 2.x. Also fix broken compare for players since
tp_richcompare and tp_compare are not inherited if tp_hash is non-NULL.
Also fix type definition head initialisation for Python 3.x.
plugins/cfpython/include/cfpython_region_private.h: Fix a typo that resulted in
Python showing region type name as Crossfire.Party.
plugins/cfpython/cfpython_map.c: Fix several crash bugs related to swapped out
maps.

57 lines of code changed in 5 files:

  • server/trunk/plugins/cfpython/include: cfpython_archetype_private.h (+10 -2), cfpython_map_private.h (+10 -2), cfpython_object_private.h (+16 -4), cfpython_party_private.h (+10 -2), cfpython_region_private.h (+11 -3)
anmaster 2009-02-14 15:29 Rev.: 11485

This is another step towards Python 3.x support, however in this commit there
are mostly fixes for various bugs in the existing found when working on the
porting. Also this commit drops support for Python 2.3 and older. This support
was already broken (some code already used modern features).
---
plugins/cfpython/include/cfpython.h: We need more python-version dependant
defines so rewrite the checks to be cleaner as well.
plugins/cfpython/include/cfpython_object.h: Add a variant of the EXISTCHECK()
macro that also verifies that the type matches (to fix some crashes).
plugins/cfpython/include/cfpython_party_private.h,
plugins/cfpython/include/cfpython_region_private.h,
plugins/cfpython/include/cfpython_archetype_private.h: Fix the method calling
conventions to match was actually being done in the code.
plugins/cfpython/include/cfpython_object_private.h,
plugins/cfpython/include/cfpython_map_private.h,
plugins/cfpython/cfpython_object.c, plugins/cfpython/cfpython_map.c: Fix out
of date PyNumberMethods structs. Handle the int/long unification in Python 3
as well. Change to calling convention METH_NOARGS when no arguments were
passed to the methods. Change to METH_O when a single object argument was
passed. Add checks for correct type of objects where that was missing (could
result in crashes before, if there were bugs in the python scripts, now such
bugs will just throw a python exception).
plugins/cfpython/cfpython.c: Change to calling convention METH_NOARGS when no
arguments were passed to the methods.
macros/cf_python.m4: Remove checks for Python 2.3 and older.

126 lines of code changed in 7 files:

  • server/trunk/plugins/cfpython/include: cfpython.h (+9 -4), cfpython_archetype_private.h (+1 -1), cfpython_map_private.h (+49 -8), cfpython_object.h (+11), cfpython_object_private.h (+54 -13), cfpython_party_private.h (+1 -1), cfpython_region_private.h (+1 -1)
anmaster 2009-02-13 10:07 Rev.: 11468

plugins/cfpython/cfpython.c, plugins/cfpython/cfpython_map.c,
plugins/cfpython/include/cfpython_archetype_private.h,
plugins/cfpython/include/cfpython_region_private.h,
plugins/cfpython/include/cfpython_party_private.h,
plugins/cfpython/include/cfpython_map_private.h,
plugins/cfpython/include/cfpython_object_private.h,
plugins/cfpython/include/cfpython.h, plugins/cfpython/cfpython_object.c: Some
of the changes needed to support Python 3: Adding some compatibility defines
to support some stuff on both Python 2 and Python 3. This also means we now
support unicode strings in a few places we didn't before. Also properly handle
"hash not supported" under Python 2.6 or later.

48 lines of code changed in 6 files:

  • server/trunk/plugins/cfpython/include: cfpython.h (+30 -4), cfpython_archetype_private.h (+3 -1), cfpython_map_private.h (+3 -1), cfpython_object_private.h (+6 -2), cfpython_party_private.h (+3 -1), cfpython_region_private.h (+3 -1)
anmaster 2009-02-12 13:48 Rev.: 11461

plugins/cfpython/include/cfpython_proto.h, plugins/cfpython/cfpython.c: Fix
broken give command. Was broken due to MSW removing -Bsymbolic when building
plugins about half a year ago. Also change some other symbols to static in the
plugins to avoid more issues like this.
plugins/cflogger/include/cflogger_proto.h, plugins/cflogger/cflogger.c,
plugins/citylife/include/citylife_proto.h, plugins/citylife/citylife.c,
plugins/cfrhg/include/cfrhg_proto.h, plugins/cfrhg/cfrhg.c,
plugins/cfanim/include/cfanim.h, plugins/cfanim/include/cfanim_proto.h,
plugins/cfanim/cfanim.c, plugins/cfnewspaper/include/cfnewspaper_proto.h,
plugins/cfnewspaper/cfnewspaper.c: More changes in the same style as the above
python changes to reduce possible symbol lookup conflicts. Also make some
functions static.
plugins/cfrhg/include/cfrhg_proto.h, plugins/cfrhg/cfrhg.c: Fix a typo in cfrhg
(was "cfrgh" in one place).

1 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_proto.h (+1 -5)
anmaster 2009-02-10 08:19 Rev.: 11418

plugins/cfpython/cfpython_object.c,
plugins/cfpython/include/cfpython_object_private.h: Add Object_GetAnimated()
to be able to read this property (it used to be write only from python).

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+3 -2)
anmaster 2009-02-09 12:43 Rev.: 11413

plugins/cfpython/cfpython_object.c,
plugins/cfpython/include/cfpython_object_private.h: Make it possible to set
Object.Identified as well as get it. This was used by some python scripts
(though it didn't actually work).

2 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+2 -1)
anmaster 2009-02-07 04:27 Rev.: 11381

plugins/cfpython/include/cfpython_object_private.h,
plugins/cfpython/include/cfpython_map_private.h,
plugins/cfpython/include/cfpython_party_private.h,
plugins/cfpython/include/cfpython_region_private.h,
plugins/cfpython/include/cfpython_archetype_private.h,
plugins/cfpython/cfpython.c: Fix some minor issues (variables that should have
been static, using 0 instead of NULL [leading to more confusing code]).

232 lines of code changed in 5 files:

  • server/trunk/plugins/cfpython/include: cfpython_archetype_private.h (+33 -33), cfpython_map_private.h (+51 -51), cfpython_object_private.h (+82 -82), cfpython_party_private.h (+33 -33), cfpython_region_private.h (+33 -33)
anmaster 2009-02-03 11:00 Rev.: 11323

plugins/cfpython/include/cfpython.h, plugins/cfpython/cfpython.c:
To make porting to Python 3 in the future easier, enable the forward
compatibility warning flag if crossfire is compiled against Python 2.6, this
will result in warnings to stderr about "DeprecationWarning" if incompatible
code is found. Several issues has already been fixed recently (thanks to
having this enabled locally). Compiling Crossfire against Python 2.5 or older
still works (of course). Also add a missing include causing warnings under
Python 2.6.

7 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython.h (+7)
akirschbaum 2009-01-25 06:59 Rev.: 11270

Whitespace changes.

1 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+1 -1)
akirschbaum 2009-01-24 18:49 Rev.: 11241

Fix compiler warnings.

136 lines of code changed in 5 files:

  • server/trunk/plugins/cfpython/include: cfpython_archetype_private.h (+18 -2), cfpython_map_private.h (+22 -12), cfpython_object_private.h (+60 -42), cfpython_party_private.h (+18 -2), cfpython_region_private.h (+18 -2)
akirschbaum 2009-01-24 13:43 Rev.: 11230

Whitespace changes: consistently reformat code.

79 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+79 -79)
akirschbaum 2009-01-21 15:30 Rev.: 11205

Whitespace changes: consistently reformat code.

364 lines of code changed in 11 files:

  • server/trunk/plugins/cfpython/include: cfpython.h (+8 -8), cfpython_archetype.h (+1), cfpython_archetype_private.h (+32 -34), cfpython_map.h (+10 -8), cfpython_map_private.h (+86 -86), cfpython_object.h (+9 -8), cfpython_object_private.h (+150 -151), cfpython_party.h (+1), cfpython_party_private.h (+33 -33), cfpython_region.h (+1), cfpython_region_private.h (+33 -33)
lalo 2008-11-24 02:28 Rev.: 10699

re-enabling cfpython to change a player's title

3 lines of code changed in 1 file:

  • server/trunk/plugins/cfpython/include: cfpython_object_private.h (+3)

(46 more)

Generated by StatSVN 0.7.0