Mercurial > vim
view src/GvimExt/gvimext_ming.rc @ 33532:f99f5a56ff27 v9.0.2015
patch 9.0.2015: Vim9: does not handle islocked() from a method correctly
Commit: https://github.com/vim/vim/commit/4c8da025ef8140168b7a09d9fe922ce4bb40f19d
Author: Ernie Rael <errael@raelity.com>
Date: Wed Oct 11 21:35:11 2023 +0200
patch 9.0.2015: Vim9: does not handle islocked() from a method correctly
Problem: Vim9: does not handle islocked() from a method correctly
Solution: Handle islocked() builtin from a method.
- Setup `lval_root` from `f_islocked()`.
- Add function `fill_exec_lval_root()` to get info about executing method.
- `sync_root` added in get_lval to handle method member access.
- Conservative approach to reference counting.
closes: #13309
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 11 Oct 2023 21:45:04 +0200 |
parents | 4e2284e71352 |
children |
line wrap: on
line source
#include <windows.h> #define xstr(x) str(x) #define str(x) #x VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,1 PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x3L #else FILEFLAGS 0x2L #endif FILEOS 0x4L FILETYPE VFT_DLL FILESUBTYPE 0x0L { BLOCK "StringFileInfo" { BLOCK "040904b0" { VALUE "Comments", "Developed using COM architecture!\0" VALUE "CompanyName", "Tianmiao Hu's Developer Studio\0" VALUE "FileDescription", "A small project for the context menu of gvim!\0" VALUE "FileVersion", "1, 0, 0, 1\0" VALUE "InternalName", "gvim right-click menu extension\0" VALUE "LegalCopyright", "Copyright © 1999 Tianmiao Hu\0" VALUE "LegalTrademarks", "Tianmiao Hu's Gvim Context Menu Extension\0" VALUE "OriginalFilename", "gvimext.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "Tianmiao Hu's gvimext context menu extension\0" VALUE "ProductVersion", "1, 0, 0, 1\0" #if defined(__GNUC__) VALUE "SpecialBuild", "Build With " "MingW " xstr(__GNUC__) "." xstr(__GNUC_MINOR__) "." xstr(__GNUC_PATCHLEVEL__) " on " __DATE__ " " __TIME__ "\0" #else VALUE "SpecialBuild", "Unknown compiler\0" #endif } } BLOCK "VarFileInfo" { VALUE "Translation", 0x409, 1200 } }