Opened 17 years ago

Closed 17 years ago

#2032 closed enhancement (fixed)

[TRACKER] RFC 24: memory management for SWIG mapscript

Reported by: unicoletti Owned by: unicoletti
Priority: high Milestone: 5.0 release
Component: MapScript-SWIG Version: 4.10
Severity: minor Keywords:
Cc:

Description (last modified by hobu)

Tracker bug for rfc 24:

mapserver.gis.umn.edu/development/rfc/ms-rfc-24/

Attachments (7)

rfc-24-layers-final.patch (132.2 KB ) - added by unicoletti 17 years ago.
Convert map->layers into an array of pointers (item 3.3 of rfc 24)
rfc-24-layers-dyn-final.patch (133.1 KB ) - added by unicoletti 17 years ago.
Convert map->layers into an array of pointers with dynamic allocation (item 3.3 of rfc 24)
rfc-24-layer-map-parentchk.patch (11.6 KB ) - added by unicoletti 17 years ago.
Add not-null checks to functions where layer->map was used without checking
rfc24-mapandlayers-demo.patch (152.9 KB ) - added by unicoletti 17 years ago.
Example implementation of rfc24 limited to the map and layer objects
rfc24-mapandlayers-demo-initLayer.patch (718 bytes ) - added by unicoletti 17 years ago.
Resolve a problem when a layer is created with a not-null map
rfc24-demo2.patch (112.7 KB ) - added by unicoletti 17 years ago.
Dynamic class array (only for C) and fixed memleaks
rfc24-USE_MAPSCRIPT.patch (18.4 KB ) - added by unicoletti 17 years ago.
USE_MAPSCRIPT implementation

Download all attachments as: .zip

Change History (11)

by unicoletti, 17 years ago

Attachment: rfc-24-layers-final.patch added

Convert map->layers into an array of pointers (item 3.3 of rfc 24)

by unicoletti, 17 years ago

Convert map->layers into an array of pointers with dynamic allocation (item 3.3 of rfc 24)

comment:1 by unicoletti, 17 years ago

attachments.isobsolete: 01

by unicoletti, 17 years ago

Add not-null checks to functions where layer->map was used without checking

by unicoletti, 17 years ago

Example implementation of rfc24 limited to the map and layer objects

by unicoletti, 17 years ago

Resolve a problem when a layer is created with a not-null map

by unicoletti, 17 years ago

Attachment: rfc24-demo2.patch added

Dynamic class array (only for C) and fixed memleaks

comment:2 by unicoletti, 17 years ago

attachments.description: Dynamic classe array (only for C) and fixed memleaksDynamic class array (only for C) and fixed memleaks

by unicoletti, 17 years ago

Attachment: rfc24-USE_MAPSCRIPT.patch added

USE_MAPSCRIPT implementation

comment:3 by hobu, 17 years ago

Description: modified (diff)
Milestone: 5.0 release

Putting this on the 5.0 milestone for clarity. Umberto, please close this when you are ready.

comment:4 by hobu, 17 years ago

Resolution: fixed
Status: newclosed

Closing.

Note: See TracTickets for help on using tickets.