vim/src/proto
John Marriott b32800f7c5
patch 9.1.1063: too many strlen() calls in userfunc.c
Problem:  too many strlen() calls in userfunc.c
Solution: refactor userfunc.c and remove calls to strlen(),
          drop set_ufunc_name() and roll it into alloc_ufunc(),
          check for out-of-memory condition in trans_function_name_ext()
          (John Marriott)

closes: #16537

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-02-01 15:25:34 +01:00
..
alloc.pro
arabic.pro
arglist.pro
autocmd.pro patch 9.1.0563: Cannot process any Key event 2024-07-11 22:05:12 +02:00
beval.pro
blob.pro patch 9.0.1416: crash when collection is modified when using filter() 2023-03-19 21:23:38 +00:00
blowfish.pro patch 9.0.1481: decrypting with libsodium may fail if the library changes 2023-04-23 17:50:22 +01:00
buffer.pro patch 9.1.0997: too many strlen() calls in drawscreen.c 2025-01-08 20:10:59 +01:00
bufwrite.pro
change.pro
channel.pro patch 9.0.0977: it is not easy to see what client-server commands are doing 2022-11-30 18:12:19 +00:00
charset.pro patch 9.1.0803: tests: no error check when setting global 'isk' 2024-10-22 22:27:19 +02:00
cindent.pro
clientserver.pro
clipboard.pro patch 9.0.1330: handling new value of an option has a long "else if" chain 2023-02-20 12:16:39 +00:00
cmdexpand.pro patch 9.1.0495: Matched text isn't highlighted in cmdline pum 2024-06-17 18:25:32 +02:00
cmdhist.pro patch 9.1.0426: too many strlen() calls in search.c 2024-05-20 19:18:26 +02:00
crypt.pro patch 9.0.2153: no support to build on OpenVMS 2023-12-05 16:04:23 +01:00
crypt_zip.pro patch 9.0.1481: decrypting with libsodium may fail if the library changes 2023-04-23 17:50:22 +01:00
debugger.pro patch 9.0.2190: proto files need update 2024-01-01 20:19:09 +01:00
dict.pro patch 9.1.0984: exception handling can be improved 2025-01-02 18:06:00 +01:00
diff.pro patch 9.1.1009: diff feature can be improved 2025-01-12 09:58:00 +01:00
digraph.pro
drawline.pro patch 9.0.1585: weird use of static variables for spell checking 2023-05-27 22:22:10 +01:00
drawscreen.pro patch 9.0.1061: cannot display 'showcmd' somewhere else 2022-12-15 13:15:39 +00:00
edit.pro patch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor" 2023-06-02 14:16:35 +01:00
eval.pro patch 9.1.0870: too many strlen() calls in eval.c 2024-11-18 20:26:13 +01:00
evalbuffer.pro patch 9.0.0916: getbufline() is inefficient for getting a single line 2022-11-21 19:57:04 +00:00
evalfunc.pro patch 9.0.1320: checking the type of a null object causes a crash 2023-02-18 14:42:44 +00:00
evalvars.pro patch 9.1.0360: Vim9: does not handle autoloaded variables well 2024-04-21 14:45:48 +02:00
evalwindow.pro
ex_cmds.pro
ex_cmds2.pro
ex_docmd.pro patch 9.1.0831: 'findexpr' can't be used as lambad or Funcref 2024-11-02 18:43:42 +01:00
ex_eval.pro patch 9.1.0999: Vim9: leaking finished exception 2025-01-09 22:14:34 +01:00
ex_getln.pro patch 9.1.0770: current command line completion is a bit limited 2024-10-08 22:24:04 +02:00
fileio.pro patch 9.1.0465: missing filecopy() function 2024-06-03 23:01:40 +02:00
filepath.pro patch 9.1.0959: Coverity complains about type conversion 2024-12-25 10:20:51 +01:00
findfile.pro patch 9.1.0568: Cannot expand paths from 'cdpath' setting 2024-07-11 22:45:42 +02:00
float.pro
fold.pro
gc.pro patch 9.1.0431: eval.c is too long 2024-05-22 16:45:04 +02:00
getchar.pro patch 9.1.0060: Recorded register cannot be translated using keytrans() 2024-01-28 19:03:00 +01:00
gui.pro patch 9.0.0886: horizontal mouse scroll only works in the GUI 2022-11-15 17:43:36 +00:00
gui_beval.pro
gui_gtk.pro
gui_gtk_gresources.pro
gui_gtk_x11.pro patch 9.1.0063: GTK code can be improved 2024-01-29 20:18:22 +01:00
gui_haiku.pro
gui_motif.pro patch 9.0.1336: functions without arguments are not always declared properly 2023-02-21 14:27:41 +00:00
gui_photon.pro
gui_w32.pro patch 9.0.1084: code handling low level MS-Windows events cannot be tested 2022-12-20 20:01:58 +00:00
gui_x11.pro patch 8.2.5171: dependencies and proto files are outdated 2022-06-27 22:52:43 +01:00
gui_xim.pro patch 9.0.1330: handling new value of an option has a long "else if" chain 2023-02-20 12:16:39 +00:00
gui_xmdlg.pro
hardcopy.pro patch 9.0.1330: handling new value of an option has a long "else if" chain 2023-02-20 12:16:39 +00:00
hashtab.pro patch 9.0.0949: crash when unletting a variable while listing variables 2022-11-25 16:31:51 +00:00
help.pro patch 8.2.5171: dependencies and proto files are outdated 2022-06-27 22:52:43 +01:00
highlight.pro patch 9.0.0003: functions are global while they could be local 2022-06-29 12:55:36 +01:00
if_cscope.pro
if_lua.pro
if_mzsch.pro patch 9.0.1341: build error with mzscheme but without GUI 2023-02-22 13:14:36 +00:00
if_ole.pro
if_perl.pro
if_perlsfio.pro
if_python.pro patch 9.1.0844: if_python: no way to pass local vars to python 2024-11-06 21:53:07 +01:00
if_python3.pro patch 9.1.0844: if_python: no way to pass local vars to python 2024-11-06 21:53:07 +01:00
if_ruby.pro
if_tcl.pro patch 8.2.5171: dependencies and proto files are outdated 2022-06-27 22:52:43 +01:00
if_xcmdsrv.pro
indent.pro patch 9.1.0806: tests: no error check when setting global 'briopt' 2024-10-22 22:59:39 +02:00
insexpand.pro patch 9.1.1056: Vim doesn't highlight to be inserted text when completing 2025-01-29 18:58:04 +01:00
job.pro
json.pro
linematch.pro patch 9.1.1009: diff feature can be improved 2025-01-12 09:58:00 +01:00
list.pro patch 9.1.0524: the recursive parameter in the *_equal functions can be removed 2024-07-04 17:20:53 +02:00
locale.pro
logfile.pro patch 9.0.0977: it is not easy to see what client-server commands are doing 2022-11-30 18:12:19 +00:00
main.pro patch 9.0.1593: MS-Windows: assert error when compiled with debug mode 2023-05-31 12:47:45 +01:00
map.pro patch 9.0.1330: handling new value of an option has a long "else if" chain 2023-02-20 12:16:39 +00:00
mark.pro patch 9.1.0554: :bw leaves jumplist and tagstack data around 2024-07-09 20:03:24 +02:00
match.pro
mbyte.pro patch 9.1.1016: Not possible to convert string2blob and blob2string 2025-01-14 17:29:42 +01:00
memfile.pro
memline.pro patch 9.1.0615: Unnecessary STRLEN() in make_percent_swname() 2024-07-25 20:58:42 +02:00
menu.pro
message.pro patch 9.1.0908: not possible to configure :messages 2024-12-06 17:26:25 +01:00
misc1.pro patch 9.1.0818: some global functions are only used in single files 2024-10-27 21:54:11 +01:00
misc2.pro patch 9.1.0715: Not correctly parsing color names (after v9.1.0709) 2024-09-04 22:10:34 +02:00
mouse.pro patch 9.0.2032: cannot get mouse click pos for tab or virt text 2023-10-15 10:03:30 +02:00
move.pro patch 9.1.0320: Wrong cursor position after using setcellwidths() 2024-04-14 18:52:49 +02:00
netbeans.pro
normal.pro patch 9.1.0433: Wrong yanking with exclusive selection and ve=all 2024-05-23 07:47:55 +02:00
ops.pro patch 9.1.0120: hard to get visual region using Vim script 2024-02-21 00:02:45 +01:00
option.pro patch 9.1.0908: not possible to configure :messages 2024-12-06 17:26:25 +01:00
optionstr.pro patch 9.1.0908: not possible to configure :messages 2024-12-06 17:26:25 +01:00
os_amiga.pro
os_mac_conv.pro
os_macosx.pro patch 9.0.1471: warnings for function declarations 2023-04-19 20:28:48 +01:00
os_mswin.pro patch 9.1.0518: initialize the random buffer can be improved 2024-07-04 13:20:49 +02:00
os_qnx.pro
os_unix.pro patch 9.1.0871: getcellpixels() can be further improved 2024-11-18 21:12:21 +01:00
os_vms.pro
os_win32.pro patch 9.0.1980: win32: issues with stable python ABI 2023-10-04 20:05:05 +02:00
popupmenu.pro
popupwin.pro patch 9.1.0500: cannot switch buffer in a popup 2024-06-18 21:01:23 +02:00
profiler.pro
pty.pro
quickfix.pro patch 9.0.1330: handling new value of an option has a long "else if" chain 2023-02-20 12:16:39 +00:00
regexp.pro patch 9.0.0513: may not be able to use a pattern ad the debug prompt 2022-09-20 13:51:25 +01:00
register.pro
screen.pro patch 9.1.0184: Cursor pos wrong when clicking with conceal and wrap 2024-03-16 15:03:33 +01:00
scriptfile.pro patch 9.1.0984: exception handling can be improved 2025-01-02 18:06:00 +01:00
search.pro patch 9.1.0766: too many strlen() calls in ex_getln.c 2024-10-07 21:40:39 +02:00
session.pro
sha256.pro
sign.pro patch 9.1.0538: not possible to assign priority when defining a sign 2024-07-06 18:04:09 +02:00
sound.pro patch 9.0.0694: no native sound support on Mac OS 2022-10-08 13:50:05 +01:00
spell.pro patch 9.1.0783: 'spell' option setting has problems 2024-10-14 20:21:48 +02:00
spellfile.pro
spellsuggest.pro
strings.pro patch 9.1.1016: Not possible to convert string2blob and blob2string 2025-01-14 17:29:42 +01:00
syntax.pro patch 9.0.0750: crash when popup closed in callback 2022-10-14 17:04:09 +01:00
tag.pro patch 9.1.0554: :bw leaves jumplist and tagstack data around 2024-07-09 20:03:24 +02:00
term.pro patch 9.1.0030: Cannot use terminal alternate font 2024-01-15 22:27:35 +01:00
terminal.pro patch 9.0.2025: no cmdline completion for ++opt args 2023-10-14 11:46:51 +02:00
termlib.pro
testing.pro patch 9.0.1084: code handling low level MS-Windows events cannot be tested 2022-12-20 20:01:58 +00:00
textformat.pro patch 8.2.5171: dependencies and proto files are outdated 2022-06-27 22:52:43 +01:00
textobject.pro patch 8.2.5171: dependencies and proto files are outdated 2022-06-27 22:52:43 +01:00
textprop.pro patch 9.0.0993: display errors when adding or removing text property type 2022-12-02 20:46:26 +00:00
time.pro patch 9.0.0682: crash when popup with deleted timer is closed 2022-10-07 11:20:29 +01:00
typval.pro patch 9.1.0818: some global functions are only used in single files 2024-10-27 21:54:11 +01:00
ui.pro patch 9.0.0886: horizontal mouse scroll only works in the GUI 2022-11-15 17:43:36 +00:00
undo.pro patch 9.1.0113: duplicate code when cleaning undo stack 2024-02-15 20:17:37 +01:00
usercmd.pro patch 9.0.0828: various typos 2022-11-02 13:30:51 +00:00
userfunc.pro patch 9.1.1063: too many strlen() calls in userfunc.c 2025-02-01 15:25:34 +01:00
version.pro
vim9class.pro patch 9.1.0850: Vim9: cannot access nested object inside objects 2024-11-11 20:01:06 +01:00
vim9cmds.pro patch 9.0.0683: cannot specify a time for :echowindow 2022-10-07 14:31:45 +01:00
vim9compile.pro patch 9.0.1890: Vim9: lookup code for class/object repaeated 2023-09-10 18:19:06 +02:00
vim9execute.pro patch 9.0.2190: proto files need update 2024-01-01 20:19:09 +01:00
vim9expr.pro patch 9.0.0370: cleaning up afterwards can make a function messy 2022-09-03 21:35:53 +01:00
vim9instr.pro patch 9.1.0673: Vim9: too recursive func calls when calling super-class method 2024-08-13 23:27:22 +02:00
vim9script.pro patch 9.0.1569: cannot use "this.member" in lambda in class method 2023-05-19 19:01:17 +01:00
vim9type.pro patch 9.0.2169: Vim9: builtin funcs may accept a non-value 2023-12-16 14:03:33 +01:00
viminfo.pro
winclip.pro
window.pro patch 9.1.0892: the max value of 'tabheight' is limited by other tabpages 2024-11-28 18:16:55 +01:00