Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-06-16 Fir de Conversatie Bram Moolenaar
ZyX wrote: > Fixed an error: in a number of places .v_lock was uninitialized which > led to E741 and E742 errors. > Attached patch is a diff against a latest commit in default branch. Thanks. But this is a big change. I would appreciate a few people trying it out first. -- Seen it all, done

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-05-15 Fir de Conversatie ZyX
вторник, 15 мая 2012 г., 1:30:23 UTC+4 пользователь Bram Moolenaar написал: > ZyX wrote: > > > Any news on the status of the patch? > > It's in the todo list at line 164: > > Patch for Python: add pyeval()(zyx, 2012 Apr 15, update Apr 16) > Also changes for Lua. Update Apr 19. Update Apr 22. >

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-05-14 Fir de Conversatie Bram Moolenaar
ZyX wrote: > Any news on the status of the patch? It's in the todo list at line 164: Patch for Python: add pyeval()(zyx, 2012 Apr 15, update Apr 16) Also changes for Lua. Update Apr 19. Update Apr 22. That's the one, right? I didn't have time for Vim last week, and this week is going to be

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-05-13 Fir de Conversatie ZyX
Any news on the status of the patch? -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-04-22 Fir de Conversatie ZyX
четверг, 19 апреля 2012 г., 21:53:43 UTC+4 пользователь ZyX написал: > понедельник, 16 апреля 2012 г., 19:24:21 UTC+4 пользователь ZyX написал: > > понедельник, 16 апреля 2012 г., 4:46:27 UTC+4 пользователь Luis Carvalho > > написал: > > > > > > > > So is this patch ready to be included now? > >

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-04-16 Fir de Conversatie Luis Carvalho
> list_append is already there: list_append_tv. You are appending typval > there, so all you need is to remove copy_tv. Others I will try to promote. Ah, right. Thanks for the patch! I'll work on a patch for if_lua, including funcrefs, as soon as your patch gets tested and accepted. Cheers, Lui

Re: [patch] Extended python support: python types binded to vim structures

2012-04-16 Fir de Conversatie ZyX
понедельник, 16 апреля 2012 г., 17:57:31 UTC+4 пользователь ZyX написал: > понедельник, 16 апреля 2012 г., 12:29:56 UTC+4 пользователь 依云 написал: > > On Sun, Apr 15, 2012 at 04:56:44PM -0700, ZyX wrote: > > > > > > I have a question: it looks like digits in function names are not > > > allowed.

Re: [patch] Extended python support: python types binded to vim structures

2012-04-16 Fir de Conversatie ZyX
понедельник, 16 апреля 2012 г., 12:29:56 UTC+4 пользователь 依云 написал: > On Sun, Apr 15, 2012 at 04:56:44PM -0700, ZyX wrote: > > > > I have a question: it looks like digits in function names are not allowed. > > Should current name (pythreeeval) be left or should I find out how to make > > py3

Re: [patch] Extended python support: python types binded to vim structures

2012-04-16 Fir de Conversatie lilydjwg
On Sun, Apr 15, 2012 at 04:56:44PM -0700, ZyX wrote: > > I have a question: it looks like digits in function names are not allowed. > Should current name (pythreeeval) be left or should I find out how to make > py3eval work? I think it is allowed, as there are already nr2char, char2nr and simil

Re: Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-04-15 Fir de Conversatie ZyX
понедельник, 16 апреля 2012 г., 4:46:27 UTC+4 пользователь Luis Carvalho написал: > > > > So is this patch ready to be included now? > > > Or should we wait until Python 3 is supported? > > > > Attached patch adds both python and python3 extended support (also adds > > luaeval to syntax/vim.vim

Extended eval API (was: [patch] Extended python support: python types binded to vim structures)

2012-04-15 Fir de Conversatie Luis Carvalho
> > So is this patch ready to be included now? > > Or should we wait until Python 3 is supported? > > Attached patch adds both python and python3 extended support (also adds > luaeval to syntax/vim.vim as it is absent there). Thanks for the great job! Since you're hacking at eval.c, can I ask y

Re: [patch] Extended python support: python types binded to vim structures

2012-04-15 Fir de Conversatie ZyX
воскресенье, 15 апреля 2012 г., 18:23:06 UTC+4 пользователь Bram Moolenaar написал: > ZyX wrote: > > > ؏ԋӅԅϘÅ, 8 Ӆ͑ 2012 Ç., 19:42:47> UTC+4 я͘ۏ؁Յ͘ ZyX ρщԁÌ: > > > Here is a patch that adds to "bindeval" function to vim module (acts > > > like> lua's vim.eval, except for function references),

Re: [patch] Extended python support: python types binded to vim structures

2012-04-15 Fir de Conversatie Bram Moolenaar
ZyX wrote: > ؏ԋӅԅϘÅ, 8 Ӆ͑ 2012 Ç., 19:42:47> UTC+4 я͘ۏ؁Յ͘ ZyX ρщԁÌ: > > Here is a patch that adds to "bindeval" function to vim module (acts like> > > lua's vim.eval, except for function references), three types: vimdictionar> > > y, vimlist and vimfunction (latter does not modify vim functi

Re: [patch] Extended python support: python types binded to vim structures

2012-04-10 Fir de Conversatie ZyX
воскресенье, 8 апреля 2012 г., 22:42:26 UTC+4 пользователь ZyX написал: > воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > > Here is a patch that adds to "bindeval" function to vim module (acts like > > lua's vim.eval, except for function references), three types: > > vim

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie ZyX
воскресенье, 8 апреля 2012 г., 23:14:43 UTC+4 пользователь Luis Carvalho написал: > > Yes, there was a copy-paste issue in if_lua.c (their creators copy-pasted > > from eval.c, I chose to purge "static" from declaration there and add a > > prototype to eval.pro). Fixed in one of recent commits (re

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie Luis Carvalho
> Yes, there was a copy-paste issue in if_lua.c (their creators copy-pasted > from eval.c, I chose to purge “static” from declaration there and add a > prototype to eval.pro). Fixed in one of recent commits (removed this > function from if_lua). Yes, that's basically the reason why I haven't inclu

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie ZyX
воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > Here is a patch that adds to "bindeval" function to vim module (acts like > lua's vim.eval, except for function references), three types: vimdictionary, > vimlist and vimfunction (latter does not modify vim functions, but i

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie ZyX
воскресенье, 8 апреля 2012 г., 20:18:03 UTC+4 пользователь 依云 написал: > On Sun, Apr 08, 2012 at 08:49:21AM -0700, ZyX wrote: > > воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > > > Here is a patch that adds to "bindeval" function to vim module (acts like > > > lua's vim.

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie lilydjwg
On Sun, Apr 08, 2012 at 08:49:21AM -0700, ZyX wrote: > воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > > Here is a patch that adds to "bindeval" function to vim module (acts like > > lua's vim.eval, except for function references), three types: > > vimdictionary, vimlist

Re: [patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie ZyX
воскресенье, 8 апреля 2012 г., 19:42:47 UTC+4 пользователь ZyX написал: > Here is a patch that adds to "bindeval" function to vim module (acts like > lua's vim.eval, except for function references), three types: vimdictionary, > vimlist and vimfunction (latter does not modify vim functions, but i

[patch] Extended python support: python types binded to vim structures

2012-04-08 Fir de Conversatie ZyX
Here is a patch that adds to “bindeval” function to vim module (acts like lua’s vim.eval, except for function references), three types: vimdictionary, vimlist and vimfunction (latter does not modify vim functions, but is able to call them without vim.eval() and serializing) and pyeval() VimL fun