2025-07-18 03:17 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001563Spring engineLuapublic2009-08-18 23:51
ReporterMelTraX 
Assigned Toimbaczek 
PrioritynormalSeveritytweakReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001563: Mark mod widgets in infolog
DescriptionFor error reports and similar stuff it would be nice if the "Loaded widget: XXX <xxx.lua>" lines in infolog would say if they come from the mod or the user.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • diff file icon Widget source in infolog.diff (545 bytes) 2009-08-18 19:45 -
    --- D:/Games/Spring/LuaUI/widgets_0.79.1.2.lua	Di Jun 23 21:00:32 2009
    +++ D:/Games/Spring/LuaUI/widgets_meltrax.lua	Di Aug 18 19:43:37 2009
    @@ -365,7 +365,8 @@
     
         local name = w.whInfo.name
         local basename = w.whInfo.basename
    -    Spring.Echo(string.format("Loaded widget:  %-18s  <%s>", name, basename))
    +    local source = self.knownWidgets[name].fromZip and "mod: " or "user:"
    +    Spring.Echo(string.format("Loaded widget from %s  %-18s  <%s>", source, name, basename))
       end
     
       -- save the active widgets, and their ordering
    
    diff file icon Widget source in infolog.diff (545 bytes) 2009-08-18 19:45 +

-Relationships
+Relationships

-Notes

~0003947

imbaczek (reporter)

applied in 05fa6034029f, thanks.
+Notes

-Issue History
Date Modified Username Field Change
2009-08-18 19:35 MelTraX New Issue
2009-08-18 19:45 MelTraX File Added: Widget source in infolog.diff
2009-08-18 23:51 imbaczek Note Added: 0003947
2009-08-18 23:51 imbaczek Status new => resolved
2009-08-18 23:51 imbaczek Resolution open => fixed
2009-08-18 23:51 imbaczek Assigned To => imbaczek
+Issue History