Better way to keep the lists of fractals and palettes?

Bug #789693 reported by Ross Younger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brot2
Fix Released
High
Ross Younger
0.0-alpha
Won't Fix
High
Unassigned
0.5-beta
Fix Released
High
Ross Younger

Bug Description

The current FractalRegistry and PaletteRegistry system seems efficient, but fell over when libbrot2 became a static library - there was nothing to force the fractals, themselves file-scope objects instantiated at static constructor time, to be linked. So far there is an ugly hack in place to do so, but on reflection it strikes me that there must be a way to redesign this. It perhaps involves doing away with the file-scope objects altogether, or a neater way of bringing them in.

Ross Younger (crazyscot)
Changed in brot2:
assignee: nobody → Ross Younger (crazyscot)
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Ross Younger (crazyscot) wrote :

The aforementioned ugly hack is change 3574749d6ea318379d57102fac891819ef78465a ("LP#789693: Make the hack to force linkage slightly more palatable.")

Revision history for this message
Ross Younger (crazyscot) wrote :

This has now been merged to trunk. Branch "789693" refers.

Revision history for this message
Ross Younger (crazyscot) wrote :

Released in 0.5:
  * LP#789693: Create a Registry class, overhaul palettes and fractals to use it.

Changed in brot2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.