[dali_2.3.21] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-physics / third-party / chipmunk2d / VERSION.txt
1 What's new in 7.0.3:
2 * MISC: Replacing GLFW with Sokol in the demo application. No need to push GLFW binaries and has a nice x-platform renderer to build on.
3 * MISC: Fixed some 'const' warnings for MSCV.
4
5 What's new in 7.0.2:
6 * MISC: Merging pull requests. Build fixes and the like.
7
8 What's new in 7.0.1:
9 * BUG: Remove references to M_PI sinces it's not actually part of C and causes problems with MSVC.
10 * BUG: Build fixes for Mac/CMake and MSVC 13.
11 * BUG: Move to using __declspec(dllexport) for Windows builds.
12 * BUG: Fixed a precision issue with the EPA algorithm that would cause excessive iteration.
13 * BUG: cpPolyshapeNewRaw() was undefined.
14 * BUG: Changing gravity will wake up all objects in a space.
15
16 What's new in 7.0.0:
17 * All features from Chipmunk Pro are now free and open source! (threaded and NEON solver, autogeometry)
18 * API: Lots of cleanup to the API naming for better consistency.
19 * API: Renamed nearest point queries to simply point queries.
20 * API: Removed many deprecated functions.
21 * API: Struct definitions have become fully opaque instead of mangling names with the CP_PRIVATE() macro.
22 * API: Replaced templated accessor functions with concrete ones. Should be simpler to deal with for FFIs.
23 * API: Optional automatic mass properties for shapes. Calculates the moment of inertia and center of gravity for you.
24 * API: Optional anchor point for bodies that is separate from the center of gravity.
25 * API: Added radius parameters to many functions dealing with shapes (moment calculation, initialization, etc).
26 * API: The convex hull and winding is automatically calculated when creating a poly shape.
27 * API: Added a cpShapesCollide() function to check overlap of arbitrary shapes.
28 * API: cpShape filter property to supersede layers and groups.
29 * API: Collision handlers now return a collision handler struct to make it simpler to set up callbacks.
30 * API: Wildcard collision types.
31 * API: The cpArbiterTotalImpulseWithFriction() function was renamed to cpArbiterTotalImpulse(). The old useless cpArbiterTotalImpulse() implementation was removed.
32 * API: Contacts now store the colliding point on the surface of both shapes.
33 * API: cpArbiterIsRemoval() to check if a separate callback is called due to a removal and not a true separating collision.
34 * API: Arbiters now only store one normal per pair of colliding shapes.
35 * API: cpBBNewForExtents().
36 * API: Added a concrete kinematic body type to replace the confusing "rogue" body concept.
37 * API: Added a 2x3 affine transform type, cpTransform.
38 * API: Added a new debug rendering API.
39 * MISC: Numerous improvements to the collision detection.
40 * MISC: cpPolyline structs are passed by reference instead of value. (I've regretted that decision for years!)
41
42 What's new in 6.2.2:
43 * Fixed some issues on arm64.
44 * PRO: Added a 64 bit NEON solver to use on arm64.
45
46 What's new in 6.2.1:
47 * Added Android support to the CMake files. (Thanks Eric Wing!)
48 * Added a MSVC 2012 project file. (Thanks Leonid Usov!)
49 * Merged a fix for VAOs on Windows. (Thanks Leonid Usov!)
50 * Merged a couple of other minor fixes.
51 * BUG: Fixed a crash issue with the ChipmunkTileCache and ChipmunkPointCloudSampler classes. (Pro only).
52
53 What's new in 6.2.0:
54 * Collision detection now primarily uses the GJK and EPA algorithms instead of SAT. Internally this was a rather huge change. o_O
55 * Improved collision point quality and better collision point identification.
56 * All shape types can now be given a rounding radius.
57 * Collisions are now guaranteed to have a maximum of 2 collision points.
58 * Poly to poly collision performance is slightly better when they have a radius. Slightly worse with none.
59 * Implemented smoothed segment collisions to prevent colliding with the "cracks" between segment shapes.
60 * API: (Officially) added cpSegmentShapeSetNeighbors() used to enable smoothed line collisions.
61 * API: Added cpBBCenter() to get the center of a bounding box.
62 * API: Added cpPolyShapeInit2() and cpPolyShapeNew2() to create poly shapes with a radius. (Horrible names yes, but it will go away in Chipmunk 7)
63 * API: Added cpBoxShapeInit3() and cpBoxShapeNew3() to create boxes with a radius.
64 * API: Added cpPolyShapeGetRadius() and cpPolyShapeSetRadius() (the latter only in chipmunk_unsafe.h).
65 * API: Added cpNearestPointQueryInfo.g which returns the gradient of the signed distance field for the shape.
66 * BUG: cpMomentForPoly() will now return a correct value for degenerate 2 vertex polygons.
67 * BUG: Fixed an issue where certain segment query calls would return a t value of 0 instead of 1 for a missed query.
68 * MISC: Passing cpvzero to cpvnormalize() will now return cpvzero. No need to worry about NaNs or cpvnormalize_safe().
69 * MISC: Demo app now uses GLFW instead of GLUT, and has improved drawing and text rendering routines.
70
71 What's new in 6.1.5:
72 * API: Added cpArbiter*SurfaceVelocity() to allow for custom surface velocity calculation.
73 * API: Added cpArbiteSetContactPointSet() to allow changing the contact geometry on the fly.
74 * API: Added cpSpaceConvertBodyToStatic() and cpSpaceConvertBodyToDynamic().
75 * API: Added [ChipmunkBody velocityAt*Point:] methods to wrap their C equivalents. (Pro only)
76 * API: Added overridable [ChipmunkBody updateVelocity:...] and [ChipmunkBody updatePosition:] methods. (Pro only)
77 * API: Added .space properties to ChipmunkBody, ChipmunkShape and ChipmunkConstaint to wrap their C equivalents. (Pro only)
78 * API: Added overridable [ChipmunkConstraint preSolve:] and [ChipmunkConstraint postSolve:] methods. (Pro only)
79 * API: Added an ChipmunkMultiGrab.grabSort property that allows you to prioritize which shape is grabbed when there is overlap. (Pro only)
80 * MISC: Segment queries started inside of a shape now return t=0 and n=cpvzero instead of being undefined.
81 * MISC: Cleaned up a lot of common assertion messages to be more clear.
82 * MISC: Added a new demo called Shatter.
83 * MISC: Added a crushing force estimation example to the ContactGraph demo and a static/dynamic conversion example to Plink.
84 * MISC: Modified the Sticky demo to use the new cpArbiteSetContactPointSet() to avoid the use of unnecessary sensor shapes.
85 * MISC: [ChipmunkSpace addBounds:...] now returns a NSArray of the bounding segments. (Pro only)
86
87 What's new in 6.1.4:
88 * MISC: Fixed a build script issue that was preventing the documentation from being generated.
89
90 What's new in 6.1.3:
91 * BUG: Fixed a couple of very specific but fatal bugs that occur when sleeping is enabled and filtering collisions.
92 * BUG: Fixed an issue with cpvslerp() between very similar vectors.
93 * BUG: Fixed an issue with grab friction in ChipmunkMultiGrab. (Pro only)
94 * MISC: Implemented the cpConstraintGetImpulse() functionality for spring joints.
95 * MISC: Added more functions to chipmunk_ffi.h
96
97 What's new in 6.1.2:
98 * API: Added a cpArbiter.data pointer. Now you can tag collisions with custom persistent data.
99 * API: Added segment to segment collisions (thanks to LegoCylon)
100 * API: cpSpaceAddPostStepCallback() now returns false if the callback was a duplicate.
101 * API: Added the ChipmunkAbstractSampler.marchThreshold property instead of hardcoding it to 0.5.
102 * API: Added ChipmunkGrooveJoint properties for the groove and joint anchors.
103 * API: ChipmunkMultiGrab now returns information about grabbed shapes.
104 * BUG: Fixed a minor (non-crashing, non-leaking) memory pooling issue with reindexing lots of static shapes.
105 * BUG: Fixed an issue with the slerp functions that would cause them to return incorrect results when given non-unit length input.
106 * BUG: Fixed a precision bug with the ChipmunkImage sampler classes that could cause artifacts or miss small features.
107 * BUG: Fixed a number of properties in Objective-Chipmunk that should have been nonatomic.
108 * BUG: Fixed a number of types in Objective-Chipmunk that were incorrectly id that should have been cpGroup, cpCollisionType etc. It's now possible to redefine them at compile time if you wish.
109 * MISC: Dropped armv6 support in favor of armv7s on iOS. (You can switch it back easily if you need.)
110 * MISC: Updated iOS build scripts to guess the latest SDK.
111 * MISC: Added the "Sticky Surfaces" demo as a cpArbiter.data example.
112 * MISC: Updated Objective-Chipmunk build scripts to always use the latest iOS SDK.
113
114 What's new in 6.1.1:
115 * API: Renamed the new block based iterators as soon as possible to match the Apple convention ("_b" suffix).
116
117 What's new in 6.1.0:
118 * API: Added a pthread based, multi-threaded solver to accelerate the game on multi-core systems. (Pro only)
119 * API: Added cpConvexHull() and CP_CONVEX_HULL() for generating convex hulls.
120 * API: Added cpPolylineConvexDecomposition_BETA() to generate an approximate concave decomposition of a polyline. (Pro only)
121 * API: Added [ChipmunkPolyline toConvexHull:] to generate approximate convex hulls. (Pro only).
122 * API: Added [ChipmunkPolylineSet toConvexHulls_BETA:]. (Pro only)
123 * API: Added nearest point queries.
124 * API: Added a push mode to ChipmunkMultiGrab so touches can interact with the scene even if they didn't initially touch a shape. (Pro only)
125 * API: Added optional block based iterators.
126 * API: Added a space property to cpBody, cpShape and cpConstraint types.
127 * BUG: Fixed an issue with changing the floating point and vector type on OS X.
128 * BUG: Fixed a pixel offset in ChipmunkImageSampler that could cause minor sampling artifacts. (Pro only)
129 * BUG: Fixed an issue where cpShape and cpConstraint structs could have garbage space pointers if cpcalloc() was redefined.
130 * BUG: Fixed assertions in cpArbiter getters to correctly reflect a contact count of 0 from separate() callbacks.
131 * BUG: Fixed a regression relating to registering post-step() callbacks from other post-step() callbacks.
132 * BUG: Fixed a minor memory leak for sleeping bodies when destroying a space.
133 * MISC: Point queries are now deprecated in preference to point queries.
134 * MISC: cpSpatialIndexPointQuery() was redundant and has been removed. Use cpSpatialIndexQuery() instead.
135 * MISC: cpShape*Query() functions now accept a NULL info pointer if you don't want detailed query info.
136 * MISC: The enableContactGraph property of cpSpace is deprecated and always be true.
137 * MISC: Added a new demos of the convex hull functions and a self balancing Unicycle.
138
139 What's new in 6.0.3:
140 * API: Added a cpBBForCircle() convenience function.
141 * API: Added cpBBSegmentQuery() to check where a segment hits a cpBB.
142 * API: Added cpBodyGetVelAtWorldPoint() and cpBodyGetVelAtLocalPoint() to get point velocities on a body.
143 * API: Added cpArbiterTotalKE() to calculate the energy lost due to a collision. Great for calculating damage accurately.
144 * API: Added methods to get an ObjC pointer from a C chipmunk struct.
145 * API: Added a CHIPMUNK_ARBITER_GET_BODIES() macro for Objective-Chipmunk.
146 * API: The Objective-Chipmunk headers are now ARC compatible.
147 * API: Added a [ChipmunkSpace contains:] method to check if a ChipmunkObject has been added to the space or not.
148 * API: Added a cpBBNewForCircle() function.
149 * API: Added a cpBBSegmentQuery() function for raycasting againsts AABBs.
150 * BUG: Fixed a regression with ChipmunkSpace.bodies and ChipmunkSpace.shapes that caused crashes.
151 * BUG: Fixed a rare bug with postStep() callbacks and iterators.
152 * BUG: Fixed a border case in cpBBIntersectsSegment() that could cause missed segment queries.
153 * MISC: Added some new assertions for error conditions that were previously uncaught.
154 * MISC: Accelerated segment queries in cpBBTree by sorting the nodes.
155 * MISC: Added a new "Slice" demo that lets you cut up a polygon.
156 * MISC: Added NEON optimizations for Chipmunk Pro. Expect running on most ARM platforms to be 25-35% faster for contact heavy simulations.
157 * MISC: All ChipmunkObject instances added to a space are now retained, even composite ones.
158
159 What's new in 6.0.2:
160 * API: Added cpSpaceIsLocked() to check if you are in a callback or not.
161 * API: Removed the long deprecated [ChipmunkSpace addShapeAHandler:] and [ChipmunkSpace addShapeBHandler:] methods.
162 * API: The ChipmunkObject protocol now can return any id<NSFastEnumeration> object instead of just an NSSet.
163 * API: The largely useless [ChipmunkSpace addBaseObjects:] and [ChipmunkSpace removeBaseObjects:] methods were removed.
164 * API: Added [ChipmunkSpace smartAdd:] and [ChipmunkSpace smartRemove:] methods for a consistent API to remove objects inside and out of callbacks.
165 * API: Added [ChipmunkSpace addPostStepBlock:key:] to complement [ChipmunkSpace addPostStepCallback:selector:key:].
166 * API: Added [ChipmunkSpace addPostStepAddition:].
167 * API: Objective-Chipmunk collision handlers no longer retain their target to avoid reference cycles.
168 * API: Added callbacks to joints.
169 * BUG: Soft errors (only checked when debug mode is enabled) and warnings were disabled. Whoops.
170 * BUG: cpShapeIsSensor() was incorrectly named in chipmunk_ffi.h.
171 * BUG: It should be safe to call cpActivateBody() from an space iterator callback now.
172 * MISC: Very nice bouyancy demo added based on callbacks.
173 * MISC: Breakable Joints demo showing how to use the new joint callbacks.
174 * MISC: Player demo updated and greatly enhanced by Chipmunk 6 features.
175 * MISC: Changed adding a static body to a space from a warning to a hard error.
176 * MISC: cpGroup and cpCollisionType now default to uintptr_t so you can safely use pointers instead of ints for these types.
177 * MISC: Updated the MSVC10 project file.
178 * MISC: Updated the FFI defs.
179
180 What's new in 6.0.1:
181 * BUG: Calling cpBodySetPos() on a sleeping body was delaying the Separate() handler callback if one existed.
182 * BUG: Fixed a bug where Separate() handler callbacks were not occuring when removing shapes.
183 * BUG: Calling cpBodyApplyForce() or cpBodyResetForces() was not activating sleeping bodies.
184 * API: Added cpSpaceEachConstraint().
185 * API: Added a "CurrentTimeStep" property to cpSpace to retrieve the current (or most recent) timestep.
186 * MISC: Got rid of anonymous unions so that it is C99 clean again.
187
188 What's new in 6.0.0:
189 Chipmunk 6.x's API is not quite 100% compatible with 5.x. Make sure you read the list of changes carefully.
190 Keep in mind that this is a x.0.0 release and that it's likely there are still some bugs I don't know about yet. I've spent a lot of effort rewritting the collision detection, sleeping, and contact graph algorithms that have required large changes and cleanup to the 5.x codebase. I've ironed out all the bugs that I know of, and the beta test went well. So it's finally time for 6!
191
192 * API: Chipmunk now has hard runtime assertions that aren't disabled in release mode for many error conditions. Most people have been using release builds of Chipmunk during development and were missing out on very important error checking.
193 * API: Access to the private API has been disabled by default now and much of the private API has changed. I've added official APIs for all the uses of the private API I knew of.
194 * API: Added accessor functions for every property on every type. As Chipmunk's complexity has grown, it's become more difficult to ignore accessors. You are encouraged to use them, but are not required to.
195 * API: Added cpSpaceEachBody() and cpSpaceEachShape() to iterate bodies/shapes in a space.
196 * API: Added cpSpaceReindexShapesForBody() to reindex all the shapes attached to a particular body.
197 * API: Added a 'data' pointer to spaces now too.
198 * API: cpSpace.staticBody is a pointer to the static body instead of a static reference.
199 * API: The globals cp_bias_coef, cp_collision_slop, cp_contact_persistence have been moved to properties of a space. (collisionBias, collisionSlop, collisionPersistence respectively)
200 * API: Added cpBodyActivateStatic() to wake up bodies touching a static body with an optional shape filter parameter.
201 * API: Added cpBodyEachShape() and cpBodyEachConstraint() iterators to iterate the active shapes/constraints attached to a body.
202 * API: Added cpBodyEeachArbiter() to iterate the collision pairs a body is involved in. This makes it easy to perform grounding checks or find how much collision force is being applied to an object.
203 * API: The error correction applied by the collision bias and joint bias is now timestep independent and the units have completely changed.
204 * FIX: Units of damping for springs are correct regardless of the number of iterations. Previously they were only correct if you had 1 or 2 iterations.
205 * MISC: Numerous changes to help make Chipmunk work better with variable timesteps. Use of constant timesteps is still highly recommended, but it is now easier to change the time scale without introducing artifacts.
206 * MISC: Performance! Chipmunk 6 should be way faster than Chipmunk 5 for almost any game.
207 * MISC: Chipmunk supports multiple spatial indexes and uses a bounding box tree similar to the one found in the Bullet physics library by default. This should provide much better performance for scenes with objects of differening size and works without any tuning for any scale.
208
209
210 What's new in 5.3.5
211 * FIX: Fixed spelling of cpArbiterGetDepth(). Was cpArbiteGetDepth() before. Apparently nobody ever used this function.
212 * FIX: Added defines for M_PI and M_E. Apparently these values were never part of the C standard math library. Who knew!?
213 * FIX: Added a guard to cpBodyActivate() so that it's a noop for rouge bodies.
214 * FIX: Shape queries now work with (and against) sensor shapes.
215 * FIX: Fixed an issue where removing a collision handler while a separate() callback was waiting to fire the next step would cause crashes.
216 * FIX: Fixed an issue where the default callback would not be called for sensor shapes.
217 * FIX: Resetting or applying forces or impulses on a body causes it to wake up now.
218 * MISC: Added a check that a space was not locked when adding or removing a callback.
219 * MISC: Removed cpmalloc from the API and replaced all occurences with cpcalloc
220 * MISC: Added a benchmarking mode to the demo app. -trial runs it in time trial mode and -bench makes it run some benchmarking demos.
221
222 What's new in 5.3.4:
223 * FIX: cpBodyActivate() can now be called from collision and query callbacks. This way you can use the setter functions to change properties without indirectly calling cpBodyActivate() and causing an assertion.
224 * FIX: cpArbiterGetContactPointSet() was returning the collision points for the normals.
225 * FIX: cpSpaceEachBody() now includes sleeping bodies.
226 * FIX: Shapes attached to static rogue bodies created with cpBodyNewStatic() are added as static shapes.
227 * MISC: Applied a user patch to update the MSVC project and add a .def file.
228
229 What's new in 5.3.3:
230 * API: Added cpArbiteGetCount() to return the number of contact points.
231 * API: Added helper functions for calculating areas of Chipmunk shapes as well as calculating polygon centroids and centering polygons on their centroid.
232 * API: Shape queries. Query a shape to test for collisions if it were to be inserted into a space.
233 * API: cpBodyInitStatic() and cpBodyNewStatic() for creating additional static (rogue) bodies.
234 * API: cpBodySleepWithGroup() to allow you to create groups of sleeping objects that are woken up together.
235 * API: Added overloaded *, +, - and == operators for C++ users.
236 * API: Added cpSpaceActivateShapesTouchingShape() to query for and activate any shapes touching a given shape. Useful if you ever need to move a static body.
237 * FIX: Fixed an extremely rare memory bug in the collision cache.
238 * FIX: Fixed a memory leak in Objective-Chipmunk that could cause ChipmunkSpace objects to be leaked.
239 * MISC: C struct fields and function that are considered private have been explicitly marked as such. Defining CP_ALLOW_PRIVATE_ACCESS to 0 in Chipmunk.h will let you test which parts of the private API that you are using and give me feedback about how to build proper APIs in Chipmunk 6 for what you are trying to do.
240 * MISC: Allow CGPoints to be used as cpVect on Mac OS X as well as iOS.
241
242
243 What's new in 5.3.2:
244 * FIX: Collision begin callbacks were being called continuously for sensors or collisions rejected from the pre-solve callback.
245 * FIX: Plugged a nasty memory leak when adding post-step callbacks.
246 * FIX: Shapes were being added to the spatial hash using an uninitialized bounding box in some cases.
247 * FIX: Perfectly aligned circle shapes now push each other apart.
248 * FIX: cpBody setter functions now call cpBodyActivate().
249 * FIX: Collision handler targets are released in Objective-Chipmunk when they are no longer needed instead of waiting for the space to be deallocated.
250 * API: cpSpaceSegmentQuery() no longer returns a boolean. Use cpSpaceSegmentQueryFirst() instead as it's more efficient.
251 * NEW: cpSpaceRehashShape() Rehash an individual shape, active or static.
252 * NEW: cpBodySleep() Force a body to fall asleep immediately.
253 * NEW: cpConstraintGetImpulse() Return the most recent impulse applied by a constraint.
254 * NEW: Added setter functions for the groove joint endpoints.
255 * MISC: A number of other minor optimizations and fixes.
256
257 What's new in 5.3.1:
258  * NEW: Added a brand new tutorial for Objective-Chipmunk: SimpleObjectiveChipmunk that can be found in the Objective-Chipmunk folder.
259  * NEW: Proper API docs for Objective-Chipmunk.
260  * NEW: Updated the included Objective-Chipmunk library.
261  * FIX: Fixed a rare memory crash in the sensor demo.
262  * FIX: Fixed some warnings that users submitted.
263
264 What's new in 5.3.0:
265  * FIX: Fixed the source so it can compile as C, C++, Objective-C, and Objective-C++.
266  * FIX: Fixed cp_contact_persistence. It was broken so that it would forget collision solutions after 1 frame instead of respecting the value set.
267  * OPTIMIZATION: Several minor optimizations have been added. Though performance should only differ by a few percent.
268  * OPTIMIZATION: Chipmunk now supports putting bodies to sleep when they become inactive.
269  * API: Elastic iterations are now deprecated as they should no longer be necessary.
270  * API: Added API elements to support body sleeping.
271  * API: Added a statically allocated static body to each space for attaching static shapes to.
272  * API: Static shapes attached to the space's static body can simply be added to the space using cpSpaceAddShape().
273  * NEW: New MSVC projects.
274  * NEW: Added boolean and time stamp types for clarity.
275
276 What's new in 5.2.0:
277  * OPTIMIZATION: Chipmunk structs used within the solver are now allocated linearly in large blocks. This is much more CPU cache friendly. Programs have seen up to 50% performance improvements though 15-20% should be expected.
278  * API: Shape references in cpArbiter structs changed to private_a and private_b to discourage accessing the fields directly and getting them out of order. You should be using cpArbiterGetShapes() or CP_ARBITER_GET_SHAPES() to access the shapes in the correct order.
279  * API: Added assertion error messages as well as warnings and covered many new assertion cases.
280  * FIX: separate() callbacks are called before shapes are removed from the space to prevent dangling pointers.
281  * NEW: Added convenience functions for creating box shapes and calculating moments.
282  
283
284 What's new in 5.1.0:
285  * FIX: fixed a NaN issue that was causing raycasts for horizontal or vertical lines to end up in an infinite loop
286  * FIX: fixed a number of memory leaks
287  * FIX: fixed warnings for various compiler/OS combinations
288  * API: Rejecting a collision from a begin() callback permanently rejects the collision until separation
289  * API: Erroneous collision type parameterns removed from cpSpaceDefaulteCollisionHandler()
290  * MOVE: FFI declarations of inlined functions into their own header
291  * MOVE: Rearranged the project structure to separate out the header files into a separate include/ directory.
292  * NEW: Added a static library target for the iPhone.
293  * NEW: Type changes when building on the iPhone to make it friendlier to other iPhone APIs
294  * NEW: Added an AABB query to complement point and segment queries
295  * NEW: CP_NO_GROUP and CP_ALL_LAYERS constants
296
297 What's new in 5.0.0:
298  * Brand new Joint/Constraint API: New constraints can be added easily and are much more flexible than the old joint system
299  * Efficient Segment Queries - Like raycasting, but with line segments.
300  * Brand new collision callback API: Collision begin/separate events, API for removal of objects within callbacks, more programable control over collision handling.