[root]/plugins/cflogger
include
(2 files, 65 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 43 (100.0%) | 2058 (100.0%) | 47.8 |
ryo_saeba | 12 (27.9%) | 1351 (65.6%) | 112.5 |
anmaster | 13 (30.2%) | 245 (11.9%) | 18.8 |
mwedel | 4 (9.3%) | 163 (7.9%) | 40.7 |
gros | 1 (2.3%) | 156 (7.6%) | 156.0 |
akirschbaum | 8 (18.6%) | 91 (4.4%) | 11.3 |
quinet | 1 (2.3%) | 49 (2.4%) | 49.0 |
silvernexus | 1 (2.3%) | 3 (0.1%) | 3.0 |
partmedia | 3 (7.0%) | 0 (0.0%) | 0.0 |
Add missing #include statements.
2 lines of code changed in 1 file:
Remove automatic prototype generation with cproto
Obtained from: Tolga Dalman
0 lines of code changed in 2 files:
Fixed several typos in cflogger error messages.
3 lines of code changed in 1 file:
Trim legacy Makefile headers.
0 lines of code changed in 1 file:
Add logic to do svn version check between plugin and server - this prevents
incompatible plugins from being used.
MSW 2011-11-26
3 lines of code changed in 1 file:
Clean unused variables.
4 lines of code changed in 1 file:
Give player's killer to plugins.
7 lines of code changed in 1 file:
Add missing CF_PLUGIN in cflogger. This would only fail on Windows since by default on *nix, all symbols are exported. Thus this error went unnoticed until I tried with -fvisibility=hidden and setting the MODULEAPI and CF_PLUGIN macros use __attribute__((visibility("default"))...
1 lines of code changed in 1 file:
Change event listener prototype for plugins to return int instead of void*.
7 lines of code changed in 1 file:
Add missing includes, add some makefiles for them for make distcheck.
MSW 2010-04-25
1 lines of code changed in 1 file:
Fix crash potential when changing class.
3 lines of code changed in 1 file:
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:
plugins/cfanim/cfanim.c, plugins/cflogger/cflogger.c: Fix some minor issues
(variables that should have been static, using 0 instead of NULL, leading to
more confusing code) found using the static analysis tool "sparse".
2 lines of code changed in 1 file:
plugins/cflogger/cflogger.c: Make non-direct kills (kill by spell, kill by
poison, kill by golem and so on) register properly.
8 lines of code changed in 1 file:
plugins/cflogger/cflogger.c: Slight error in last commit, turns out time table
can't use real time as primary key. Change database schema to format 3.
Upgrades directly from version 1 not run into the issue.
46 lines of code changed in 1 file:
plugins/cflogger/cflogger.c: Clean out some of the messy and broken SQL (didn't
use indexes, was missing important constraints and so on) in cflogger. This
includes introducing a new version of the SQL schema used. The database will
be automatically upgraded at next run. Be aware of that older versions were
missing a check for too new format, thus once you upgraded the format you
should not run it with an older version of the server. Changes to the schema
includes adding some indexes and similar.
161 lines of code changed in 1 file:
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Now handles
random maps the way the source code comments claims it does.
plugins/cfnewspaper/cfnewspaper.c: Make info about kills from a specific region
work.
4 lines of code changed in 1 file:
server/plugins.c: Remove forgotten debug output.
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Add missing
newline in log output.
plugins/cfnewspaper/cfnewspaper.c: Close the second sqlite database as well.
1 lines of code changed in 1 file:
Whitespace changes: consistently reformat code.
80 lines of code changed in 1 file:
Fix for bug #2088893: Assertion in cfanim.c globalEventListener on client connect.
15 lines of code changed in 1 file:
plugins/*/Makefile.am: Remove -Xlinker -export-dynamic -Xlinker -Bsymbolic
from extra LDFLAGS. Those are gnu specific linker options which cause
the plugins to fail to compile when not using gld. I've tested the build
without those options with gld on linux, and all works fine, so not sure
if those are still needed - in theory, libtool should cover that. If
those options are still needed, configure.ac should get updated with a
a better test.
MSW 2008-07-24
1 lines of code changed in 1 file:
Automatic style fix: replace "foo* bar" by "foo *bar", remove extra spaces inside parentheses, etc.
49 lines of code changed in 1 file:
Make more functions and variables in plugins static. Clean up some indention in plugins.
1 lines of code changed in 1 file:
Clean up in plugins, fix a lot of gcc warnings (in plugins), update prototype
headers in plugins, make some functions static. Also update build system for
cflogger to make it not include common plugin stuff in header. Followed example
set by cfnewspaper's Makefile.am. Make the template plugin include prototype
header. (It is a good idea to do so, for various reasons.) Also add some missing
newlines at end of copyright header comments in some files. Also make some
variables const (in python plugin) in order to fix gcc warnings and to make
code cleaner (a string literal is always a const char* in C90 or later, but
char* is allowed for compatibility reasons, though it will actually be a const).
18 lines of code changed in 2 files:
Set svn:eol-style to native on *.c and *.h files that were missing it.
1 lines of code changed in 1 file:
Fix some more snprintf using a non-constant string as format parameter, and no
arguments to format string. Also change some more // comments to /**/, as crossfire
is C89 not C99. Add some missing prototypes to headers. Add missing value to a return.
Change from using strcasestr (GNU specific) to the already existing strcasestr_local
in one place.
1 lines of code changed in 1 file:
Ansi C compatibility improvement: use prototypes.
4 lines of code changed in 1 file:
Remove unused variables.
0 lines of code changed in 1 file:
Plugin API changes. More void* conversion removing.
27 lines of code changed in 1 file:
Remove generated files.
0 lines of code changed in 1 file:
Fix crash.
3 lines of code changed in 1 file:
Makefile.am, Makefile.in (and Makefiles in subdirs): Put types in list of
SUBDIRS before server so that compilation happens in correct order -
server area requires types to be up to date.
MSW 2007-02-07
158 lines of code changed in 1 file:
Remove unused variables.
1 lines of code changed in 1 file:
cflogger: Add missing return value in store_time().
1 lines of code changed in 1 file:
Add missing call to va_end().
1 lines of code changed in 1 file:
Whitespace changes.
2 lines of code changed in 1 file:
Refactored several object types.
Implemented the move_on event, replacing the call to move_apply().
2007-01-21 - gros
156 lines of code changed in 1 file:
Forgot to comment the file :)
184 lines of code changed in 1 file:
New plugin: cflogger, which logs to sqlite3 database.
1101 lines of code changed in 3 files: