From: John L. <jr...@us...> - 2007-03-15 00:01:47
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15657/wxLua/bindings/wxstc Modified Files: wxstc_datatypes.lua Log Message: Remove wxLua_AddTrackedObject functions and just use wxLuaState::AddTrackedObject directly Remove all gc (destructor, LuaDelete) functions from the methods of a class since we can delete the objects in the single gc function in wxlbind.cpp anyway. Index: wxstc_datatypes.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxstc/wxstc_datatypes.lua,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** wxstc_datatypes.lua 13 Mar 2007 05:01:00 -0000 1.48 --- wxstc_datatypes.lua 15 Mar 2007 00:01:11 -0000 1.49 *************** *** 16,22 **** --- 16,24 ---- wxDouble = "double", wxInt32 = "int", + wxLogLevel = "unsigned long", wxNotebookPage = "wxWindow", wxPreviewWindow = "wxScrolledWindow", wxTextCoord = "long", + wxTraceMask = "unsigned long", } *************** *** 197,200 **** --- 199,203 ---- Condition = "wxCHECK_VERSION(2,8,0) && wxUSE_ABOUTDLG && wxLUA_USE_wxAboutDialog", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxAboutDialogInfo", *************** *** 203,206 **** --- 206,210 ---- Condition = "wxLUA_USE_wxAcceleratorTable && wxUSE_ACCEL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxAcceleratorEntry", *************** *** 234,237 **** --- 238,242 ---- Condition = "wxLUA_USE_wxArrayInt", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxArrayInt", *************** *** 245,248 **** --- 250,254 ---- Condition = "wxLUA_USE_wxArrayString", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxArrayString", *************** *** 256,259 **** --- 262,266 ---- Condition = "wxLUA_USE_wxTreeCtrl && wxUSE_TREECTRL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxArrayTreeItemIds", *************** *** 262,265 **** --- 269,273 ---- Condition = "wxLUA_USE_wxDisplay && wxUSE_DISPLAY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxArrayVideoModes", *************** *** 316,328 **** Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", IsNumber = false, Name = "wxBitmapDataObject", }, - wxBitmapHandler = { - Condition = "(defined(__WXMSW__)) && (wxLUA_USE_wxBitmap)", - DefType = "class", - IsNumber = false, - Name = "wxBitmapHandler", - }, wxBitmapType = { DefType = "enum", --- 324,331 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxBitmapDataObject", }, wxBitmapType = { DefType = "enum", *************** *** 387,390 **** --- 390,394 ---- Condition = "wxLUA_USE_wxBusyCursor", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxBusyCursor", *************** *** 393,396 **** --- 397,401 ---- Condition = "wxLUA_USE_wxBusyCursor", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxBusyCursorSuspender", *************** *** 439,442 **** --- 444,448 ---- Condition = "wxLUA_USE_wxCalendarCtrl && wxUSE_CALENDARCTRL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxCalendarDateAttr", *************** *** 470,473 **** --- 476,480 ---- Condition = "wxLUA_USE_wxCaret && wxUSE_CARET", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxCaretSuspend", *************** *** 586,589 **** --- 593,597 ---- Condition = "wxLUA_USE_wxColourPenBrush", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxColourDatabase", *************** *** 645,648 **** --- 653,657 ---- Condition = "wxLUA_USE_wxConfig && wxUSE_CONFIG", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxConfigPathChanger", *************** *** 683,686 **** --- 692,696 ---- Condition = "wxLUA_USE_wxCriticalSection && wxUSE_THREADS", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxCriticalSection", *************** *** 689,692 **** --- 699,703 ---- Condition = "wxLUA_USE_wxCriticalSectionLocker", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxCriticalSectionLocker", *************** *** 709,712 **** --- 720,724 ---- Condition = "wxLUA_USE_wxDC", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDCClipper", *************** *** 715,718 **** --- 727,731 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDataFormat", *************** *** 746,749 **** --- 759,763 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDataObjectComposite", *************** *** 753,756 **** --- 767,771 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDataObjectSimple", *************** *** 779,782 **** --- 794,798 ---- Condition = "wxLUA_USE_wxDateSpan && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDateSpan", *************** *** 785,788 **** --- 801,805 ---- Condition = "wxLUA_USE_wxDateTime && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDateTime", *************** *** 821,824 **** --- 838,842 ---- Condition = "wxLUA_USE_wxDateTime && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDateTimeArray", *************** *** 827,830 **** --- 845,849 ---- Condition = "wxLUA_USE_wxDateTimeHolidayAuthority && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDateTimeHolidayAuthority", *************** *** 834,837 **** --- 853,857 ---- Condition = "wxLUA_USE_wxDateTimeHolidayAuthority && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDateTimeWorkDays", *************** *** 847,850 **** --- 867,871 ---- Condition = "wxLUA_USE_wxDir", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDir", *************** *** 865,868 **** --- 886,890 ---- Condition = "wxLUA_USE_wxDisplay && wxUSE_DISPLAY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDisplay", *************** *** 930,933 **** --- 952,956 ---- Condition = "wxLUA_USE_wxDragDrop && wxUSE_DRAG_AND_DROP", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxDropSource", *************** *** 1009,1012 **** --- 1032,1036 ---- Condition = "wxLUA_USE_wxFile && wxUSE_FILE", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxFile", *************** *** 1035,1038 **** --- 1059,1063 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxFileDataObject", *************** *** 1068,1071 **** --- 1093,1097 ---- Condition = "wxLUA_USE_wxFileName", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxFileName", *************** *** 1173,1176 **** --- 1199,1203 ---- Condition = "wxLUA_USE_wxFontEnumerator", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxFontEnumerator", *************** *** 1216,1219 **** --- 1243,1247 ---- Condition = "wxLUA_USE_wxSizer", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxGBPosition", *************** *** 1229,1248 **** Condition = "wxLUA_USE_wxSizer", DefType = "class", IsNumber = false, Name = "wxGBSpan", }, - wxGDIImageHandler = { - Condition = "(defined(__WXMSW__)) && (wxLUA_USE_wxBitmap)", - DefType = "class", - IsNumber = false, - Name = "wxGDIImageHandler", - }, - wxGDIImageHandlerList = { - BaseClass = "wxList", - Condition = "(wxCHECK_VERSION(2,5,0) && defined(__WXMSW__)) && (wxLUA_USE_wxBitmap)", - DefType = "class", - IsNumber = false, - Name = "wxGDIImageHandlerList", - }, wxGDIObject = { BaseClass = "wxObject", --- 1257,1264 ---- Condition = "wxLUA_USE_wxSizer", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxGBSpan", }, wxGDIObject = { BaseClass = "wxObject", *************** *** 1371,1374 **** --- 1387,1391 ---- Condition = "wxLUA_USE_wxGrid && wxUSE_GRID", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxGridCellCoords", *************** *** 1537,1540 **** --- 1554,1558 ---- Condition = "wxLUA_USE_wxHelpController && wxUSE_HELP", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxHelpControllerHelpProvider", *************** *** 1555,1558 **** --- 1573,1577 ---- Condition = "wxLUA_USE_wxHelpController && wxUSE_HELP", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxHelpProvider", *************** *** 1707,1710 **** --- 1726,1730 ---- Condition = "wxLUA_USE_wxIcon", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxIconBundle", *************** *** 1713,1716 **** --- 1733,1737 ---- Condition = "wxLUA_USE_wxIcon", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxIconLocation", *************** *** 1750,1753 **** --- 1771,1775 ---- Condition = "wxLUA_USE_wxImage && wxUSE_IMAGE", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxImageHistogram", *************** *** 1756,1759 **** --- 1778,1782 ---- Condition = "wxLUA_USE_wxImage && wxUSE_IMAGE", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxImageHistogram::iterator", *************** *** 1762,1765 **** --- 1785,1789 ---- Condition = "wxLUA_USE_wxImage && wxUSE_IMAGE", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxImageHistogramEntry", *************** *** 1862,1865 **** --- 1886,1901 ---- Name = "wxKillError", }, + wxLanguage = { + Condition = "wxUSE_INTL", + DefType = "enum", + IsNumber = true, + Name = "wxLanguage", + }, + wxLanguageInfo = { + Condition = "wxUSE_INTL", + DefType = "struct", + IsNumber = false, + Name = "wxLanguageInfo", + }, wxLayoutAlgorithm = { BaseClass = "wxObject", *************** *** 1938,1941 **** --- 1974,1978 ---- Condition = "wxLUA_USE_wxListCtrl && wxUSE_LISTCTRL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxListItemAttr", *************** *** 1962,1965 **** --- 1999,2072 ---- Name = "wxListbookEvent", }, + wxLocale = { + Condition = "wxUSE_INTL", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLocale", + }, + wxLocaleCategory = { + Condition = "wxUSE_INTL", + DefType = "enum", + IsNumber = true, + Name = "wxLocaleCategory", + }, + wxLocaleInfo = { + Condition = "wxUSE_INTL", + DefType = "enum", + IsNumber = true, + Name = "wxLocaleInfo", + }, + wxLocaleInitFlags = { + Condition = "wxUSE_INTL", + DefType = "enum", + IsNumber = true, + Name = "wxLocaleInitFlags", + }, + wxLog = { + Condition = "wxUSE_LOG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLog", + }, + wxLogBuffer = { + BaseClass = "wxLog", + Condition = "wxUSE_LOG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLogBuffer", + }, + wxLogChain = { + BaseClass = "wxLog", + Condition = "wxUSE_LOG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLogChain", + }, + wxLogNull = { + Condition = "wxUSE_LOG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLogNull", + }, + wxLogPassThrough = { + BaseClass = "wxLogChain", + Condition = "wxUSE_LOG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLogPassThrough", + }, + wxLongLong = { + Condition = "wxUSE_LONGLONG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxLongLong", + }, wxLuaHtmlWinTagEvent = { BaseClass = "wxEvent", *************** *** 2067,2070 **** --- 2174,2184 ---- Name = "wxMediaState", }, + wxMemoryConfig = { + BaseClass = "wxFileConfig", + Condition = "wxLUA_USE_wxConfig && wxUSE_CONFIG", + DefType = "class", + IsNumber = false, + Name = "wxMemoryConfig", + }, wxMemoryDC = { BaseClass = "wxDC", *************** *** 2171,2174 **** --- 2285,2289 ---- Condition = "wxCHECK_VERSION(2,7,0)", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxMouseState", *************** *** 2190,2193 **** --- 2305,2309 ---- Condition = "wxLUA_USE_wxFont", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxNativeFontInfo", *************** *** 2356,2359 **** --- 2472,2476 ---- BaseClass = "wxArrayString", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPathList", *************** *** 2382,2385 **** --- 2499,2503 ---- Condition = "wxLUA_USE_wxPointSizeRect", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPoint", *************** *** 2388,2391 **** --- 2506,2510 ---- Condition = "wxLUA_USE_Geometry && wxUSE_GEOMETRY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPoint2DDouble", *************** *** 2394,2397 **** --- 2513,2517 ---- Condition = "wxLUA_USE_Geometry && wxUSE_GEOMETRY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPoint2DInt", *************** *** 2502,2505 **** --- 2622,2626 ---- Condition = "wxLUA_USE_wxProcess", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxProcess", *************** *** 2520,2523 **** --- 2641,2645 ---- wxPropagateOnce = { DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPropagateOnce", *************** *** 2525,2528 **** --- 2647,2651 ---- wxPropagationDisabler = { DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxPropagationDisabler", *************** *** 2571,2574 **** --- 2694,2698 ---- Condition = "wxLUA_USE_wxPointSizeRect", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxRect", *************** *** 2577,2580 **** --- 2701,2705 ---- Condition = "wxLUA_USE_Geometry && wxUSE_GEOMETRY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxRect2DDouble", *************** *** 2583,2586 **** --- 2708,2712 ---- Condition = "wxLUA_USE_Geometry && wxUSE_GEOMETRY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxRect2DInt", *************** *** 2589,2592 **** --- 2715,2719 ---- Condition = "wxLUA_USE_wxRegEx && wxUSE_REGEX", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxRegEx", *************** *** 2712,2715 **** --- 2839,2843 ---- Condition = "wxLUA_USE_wxHelpController && wxUSE_HELP", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxSimpleHelpProvider", *************** *** 2732,2735 **** --- 2860,2864 ---- Condition = "wxLUA_USE_wxPointSizeRect", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxSize", *************** *** 2831,2834 **** --- 2960,2964 ---- Condition = "wxLUA_USE_wxArrayString", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxSortedArrayString", *************** *** 2942,2945 **** --- 3072,3076 ---- Condition = "(wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxColourPenBrush)", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxStockGDI", *************** *** 3040,3043 **** --- 3171,3181 ---- Name = "wxSystemSettings", }, + wxTGAHandler = { + BaseClass = "wxImageHandler", + Condition = "(wxCHECK_VERSION(2,8,0) && wxUSE_TGA) && (wxLUA_USE_wxImage && wxUSE_IMAGE)", + DefType = "class", + IsNumber = false, + Name = "wxTGAHandler", + }, wxTIFFHandler = { BaseClass = "wxImageHandler", *************** *** 3078,3081 **** --- 3216,3220 ---- Condition = "wxLUA_USE_wxFile && wxUSE_FILE", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxTempFile", *************** *** 3084,3087 **** --- 3223,3227 ---- Condition = "wxLUA_USE_wxTextCtrl && wxUSE_TEXTCTRL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxTextAttr", *************** *** 3115,3118 **** --- 3255,3259 ---- Condition = "wxLUA_USE_wxDataObject && wxUSE_DATAOBJ", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxTextDataObject", *************** *** 3135,3138 **** --- 3276,3280 ---- Condition = "wxLUA_USE_wxTimeSpan && wxUSE_DATETIME", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxTimeSpan", *************** *** 3249,3252 **** --- 3391,3395 ---- Condition = "wxLUA_USE_wxTreeCtrl && wxUSE_TREECTRL", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxTreeItemId", *************** *** 3258,3261 **** --- 3401,3411 ---- Name = "wxTreeItemIdValue", }, + wxULongLong = { + Condition = "wxUSE_LONGLONG", + DefType = "class", + Encapsulate = true, + IsNumber = false, + Name = "wxULongLong", + }, wxURI = { BaseClass = "wxObject", *************** *** 3294,3297 **** --- 3444,3448 ---- Condition = "(wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxDataObject && wxUSE_DATAOBJ)", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxURLDataObject", *************** *** 3349,3352 **** --- 3500,3504 ---- Condition = "wxLUA_USE_wxDisplay && wxUSE_DISPLAY", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxVideoMode", *************** *** 3405,3408 **** --- 3557,3561 ---- wxWindowDisabler = { DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxWindowDisabler", *************** *** 3474,3477 **** --- 3627,3631 ---- Condition = "wxLUA_USE_wxXMLResource && wxUSE_XML", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxXmlNode", *************** *** 3486,3489 **** --- 3640,3644 ---- Condition = "wxLUA_USE_wxXMLResource && wxUSE_XML", DefType = "class", + Encapsulate = true, IsNumber = false, Name = "wxXmlProperty", *************** *** 3559,3562 **** --- 3714,3718 ---- ["%wxchkver_2_5"] = "wxCHECK_VERSION(2,5,0)", ["%wxchkver_2_6"] = "wxCHECK_VERSION(2,6,0)", + ["%wxchkver_2_6_4"] = "wxCHECK_VERSION(2,6,4)", ["%wxchkver_2_7"] = "wxCHECK_VERSION(2,7,0)", ["%wxchkver_2_7_1"] = "wxCHECK_VERSION(2,7,1)", *************** *** 3850,3853 **** --- 4006,4010 ---- wxUSE_TEXTDLG = "wxUSE_TEXTDLG", wxUSE_TEXTFILE = "wxUSE_TEXTFILE", + wxUSE_TGA = "wxUSE_TGA", wxUSE_THREADS = "wxUSE_THREADS", wxUSE_TIMEDATE = "wxUSE_TIMEDATE", |