Ticket #2032 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

[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) (diff)

Tracker bug for rfc 24:

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

Attachments

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

Change History

Changed 5 years ago by unicoletti

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

Changed 5 years ago by unicoletti

Changed 5 years ago by unicoletti

  • attachments.isobsolete changed from 0 to 1

Changed 5 years ago by unicoletti

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

Changed 5 years ago by unicoletti

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

Changed 5 years ago by unicoletti

Example implementation of rfc24 limited to the map and layer objects

Changed 5 years ago by unicoletti

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

Changed 5 years ago by unicoletti

Dynamic class array (only for C) and fixed memleaks

Changed 5 years ago by unicoletti

  • attachments.description changed from Dynamic classe array (only for C) and fixed memleaks to Dynamic class array (only for C) and fixed memleaks

Changed 5 years ago by unicoletti

USE_MAPSCRIPT implementation

Changed 4 years ago by hobu

  • description modified (diff)
  • milestone set to 5.0 release

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

Changed 4 years ago by hobu

  • status changed from new to closed
  • resolution set to fixed

Closing.

Note: See TracTickets for help on using tickets.