[root]/server/trunk/plugins/cflogger/include
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 20 (100.0%) | 629 (100.0%) | 31.4 |
ryo_saeba | 10 (50.0%) | 614 (97.6%) | 61.4 |
anmaster | 7 (35.0%) | 14 (2.2%) | 2.0 |
akirschbaum | 2 (10.0%) | 1 (0.2%) | 0.5 |
partmedia | 1 (5.0%) | 0 (0.0%) | 0.0 |
Remove automatic prototype generation with cproto
Obtained from: Tolga Dalman
0 lines of code changed in 1 file:
Fix #if with #ifdef.
3 lines of code changed in 1 file:
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:
Change event listener prototype for plugins to return int instead of void*.
2 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:
Whitespace changes: consistently reformat code.
1 lines of code changed in 1 file:
Fix for bug #2088893: Assertion in cfanim.c globalEventListener on client connect.
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).
3 lines of code changed in 3 files:
Set svn:eol-style to native on *.c and *.h files that were missing it.
2 lines of code changed in 2 files:
Remove trailing whitespace.
0 lines of code changed in 1 file:
More API changes.
0 lines of code changed in 1 file:
Remove generated files.
0 lines of code changed in 1 file:
Forgot to comment the file :)
2 lines of code changed in 1 file:
New plugin: cflogger, which logs to sqlite3 database.
606 lines of code changed in 4 files: