From: John L. <jr...@us...> - 2007-12-18 01:04:05
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19598/wxLua/bindings Modified Files: genidocs.lua genidocs_rules.lua Log Message: Cleanup: lua to Lua Fix various binding errors, wrong params for static wxFile functions Bump version to 2.8.7 Add wxImage::GetData(), wxMemoryInputStream Index: genidocs_rules.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genidocs_rules.lua,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** genidocs_rules.lua 16 Jul 2007 19:34:13 -0000 1.5 --- genidocs_rules.lua 18 Dec 2007 01:03:32 -0000 1.6 *************** *** 173,176 **** --- 173,178 ---- -- A message to append to the class name in the index for classes. msgForClassInIndex = { + ["wxAccessible"] = "MS Windows only and disabled by default in wxWidgets", + ["wxAppTraits"] = "Most functions are available elsewhere", ["wxArray"] = "Not a real class, see implementations (wxArrayInt)", ["wxArrayInt"] = "Interchangeable with a numeric indexed lua table", *************** *** 180,183 **** --- 182,199 ---- ["wxCmdLineParser"] = "Easier to implement in lua", ["wxCSConv"] = "Lua uses ANSI 8-bit strings", + + ["wxDb"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbColDataPtr"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbColDef"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbColFor"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbColInf"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbConnectInf"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbGridColInfo"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbGridTableBase"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbIdxDef"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbInf"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbTable"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDbTableInf"] = "Deprecated and will not be in wxWidgets 3.0", + ["wxDirTraverser"] = "Use wxDir::GetFirst() and GetNext()", ["wxDllLoader"] = "Deprecated since version 2.4, see wxDynamicLibrary", *************** *** 222,226 **** <body> ! <h1>wxLua 2.8.4.0 Reference Manual for wxWidgets 2.8.4</h1> ]] --- 238,242 ---- <body> ! <h1>wxLua 2.8.4.0 Reference Manual for wxWidgets 2.8.7</h1> ]] Index: genidocs.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genidocs.lua,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** genidocs.lua 16 Jul 2007 19:34:13 -0000 1.11 --- genidocs.lua 18 Dec 2007 01:03:32 -0000 1.12 *************** *** 142,146 **** for k, v in pairs(dataTypeTable) do -- hack for special classes ! if (v.DefType == "class") or (v.DefType == "struct") or (v.DefType == "wx2lua") then allClasses[k] = true -- the ones we wrap end --- 142,146 ---- for k, v in pairs(dataTypeTable) do -- hack for special classes ! if (v.ValueType == "class") or (v.ValueType == "struct") or (v.ValueType == "wx2lua") then allClasses[k] = true -- the ones we wrap end *************** *** 222,226 **** for k, v in pairs(dataTypeTable) do ! if v.DefType == "enum" then table.insert(names, k) end --- 222,226 ---- for k, v in pairs(dataTypeTable) do ! if v.ValueType == "enum" then table.insert(names, k) end *************** *** 419,424 **** if ((string.len(cname) == 0) or (not string.find(w, cname, 1, 1))) and (not used[w]) and ! dataTypeTable[w] and (dataTypeTable[w].DefType ~= "number") and ! (dataTypeTable[w].DefType ~= "wxtypedef") and (dataTypeTable[w].DefType ~= "special") then used[w] = true --- 419,424 ---- if ((string.len(cname) == 0) or (not string.find(w, cname, 1, 1))) and (not used[w]) and ! dataTypeTable[w] and (dataTypeTable[w].ValueType ~= "number") and ! (dataTypeTable[w].ValueType ~= "wxtypedef") and (dataTypeTable[w].ValueType ~= "special") then used[w] = true *************** *** 586,590 **** end ! dataTypeTable["wxString"].DefType = "class" -- FIXME hack for wxString DefType as "special" if completeClassRefFileTable then --- 586,590 ---- end ! dataTypeTable["wxString"].ValueType = "class" -- FIXME hack for wxString DefType as "special" if completeClassRefFileTable then |