[Git][wine/wine][master] 2 commits: vbscript: Add missing runtime error constants and tests.
Alexandre Julliard pushed to branch master at wine / wine Commits: 7e51d44f by Francis De Brabandere at 2026-04-15T22:01:47+02:00 vbscript: Add missing runtime error constants and tests. Add VBSE_DUPLICATE_KEY (457) and VBSE_CLASS_NOT_DEFINED (506) error code definitions with their string resources, and add tests for runtime errors 11, 94, 429, 451, 457, and 506. Errors 94 and 506 are marked todo_wine as Wine currently returns incorrect error codes for those cases. - - - - - 96be54d1 by Francis De Brabandere at 2026-04-15T22:01:47+02:00 vbscript: Return proper error for New on undefined or non-class identifier. When the class lookup in interp_new() fails, distinguish whether the name is otherwise unknown (return VBSE_VARIABLE_UNDEFINED, error 500) or resolves to an existing identifier that is not a class (return VBSE_CLASS_NOT_DEFINED, error 506), matching the behavior reported by the Windows VBScript runtime. - - - - - 54 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/lang.vbs - dlls/vbscript/vbscript.rc - dlls/vbscript/vbscript_defs.h - po/ar.po - po/ast.po - po/bg.po - po/ca.po - po/cs.po - po/da.po - po/de.po - po/el.po - po/en.po - po/en_US.po - po/eo.po - po/es.po - po/fa.po - po/fi.po - po/fr.po - po/he.po - po/hi.po - po/hr.po - po/hu.po - po/it.po - po/ja.po - po/ka.po - po/ko.po - po/lt.po - po/ml.po - po/nb_NO.po - po/nl.po - po/or.po - po/pa.po - po/pl.po - po/pt_BR.po - po/pt_PT.po - po/rm.po - po/ro.po - po/ru.po - po/si.po - po/sk.po - po/sl.po - po/sr_RS@cyrillic.po - po/sr_RS@latin.po - po/sv.po - po/ta.po - po/te.po - po/th.po - po/tr.po - po/uk.po - po/wa.po - po/wine.pot - po/zh_CN.po - po/zh_TW.po View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/520b82d67f6814197cd8953d7fd92a... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/520b82d67f6814197cd8953d7fd92a... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)