August 2016 Commit Log

Number of Commits:
20
Number of Active Developers:
1
partmedia 2016-08-12 23:43 Rev.: 20315

Revert FABS macro change

Some bit of the server somewhere relies on the type-independent behavior
of the original FABS macro. This manifests itself in the form of
infinite recursion when attempting to log in.

3 lines of code changed in 2 files:

partmedia 2016-08-12 23:02 Rev.: 20314

Fix signed integer comparisons

16 lines of code changed in 9 files:

partmedia 2016-08-12 23:02 Rev.: 20313

Convert fatal error codes to enum

10 lines of code changed in 3 files:

partmedia 2016-08-12 23:01 Rev.: 20312

Remove remnants of crossfire-config

1 lines of code changed in 2 files:

partmedia 2016-08-12 23:01 Rev.: 20311

Move compatibility definitions to compat.h

Note that we never call FABS on a floating-point value, so defining it
as a call to abs() is okay.

Also remove an ancient compiler check.

11 lines of code changed in 2 files:

partmedia 2016-08-12 23:01 Rev.: 20310

Remove unused variable

0 lines of code changed in 1 file:

partmedia 2016-08-12 23:01 Rev.: 20309

Convert OBJECT_TYPE defgroup to enum

158 lines of code changed in 2 files:

partmedia 2016-08-12 23:01 Rev.: 20308

Remove unused object types

0 lines of code changed in 1 file:

partmedia 2016-08-12 23:01 Rev.: 20307

Move shop_price_sell() call after argument check

sell_item() checks the arguments to shop_price_sell() so that errors are
handled gracefully instead of triggering a failed assertion. The call
was moved before the check while refactoring, leading to crashes when
the assertion does not hold.

Fix by moving check before the call to shop_price_sell(). The root cause
still needs to be investigated and fixed.

1 lines of code changed in 1 file:

partmedia 2016-08-12 23:01 Rev.: 20306

Remove superfluous return statements

Reported by: Andreas Kirschbaum

3 lines of code changed in 1 file:

partmedia 2016-08-12 23:01 Rev.: 20305

Fix sign extension by using unsigned cast

Reported by: Coverity Scan

11 lines of code changed in 4 files:

partmedia 2016-08-03 19:42 Rev.: 20304

Fix botched memory leak fix

The fix in r20296 was incorrect and introduced double frees.

2 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20303

Use get_map_flags instead of GET_MAP_FLAGS

Reported by: Coverity Scan

1 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20302

Fix order of operations

1 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20301

Fix overflows by using calloc() correctly

10 lines of code changed in 6 files:

partmedia 2016-08-03 19:30 Rev.: 20300

Add explicit cast

1 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20299

Fix incorrect substitution of NULL for ASCII NUL

Reported by: Coverity Scan

1 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20298

Add missing va_end()

Reported by: Coverity Scan

1 lines of code changed in 1 file:

partmedia 2016-08-03 19:30 Rev.: 20297

Convert randomness macros to functions

Each function that the randomness macros call returns a different type.
Explicitly declare a cf_random() and cf_srandom().

24 lines of code changed in 2 files:

partmedia 2016-08-03 18:43 Rev.: 20296

Fix memory leaks

Reported by: Coverity Scan

6 lines of code changed in 1 file:

July 2016 »

Generated by StatSVN 0.7.0