Re: [PATCH] Contrib: vim syntax, support block region

2017-04-19 Thread OOO
Hi Dounin I have looked into your POC. I use this approach in yajs.vim too. The major problem of this approach is: It creates (sort of) redundant syntax group. For the listen directive: > syn keyword ngxDirectiveImportantListen listen > \ nextgroup=@ngxListenParams skipwhite skipempty > syn m

[njs] Fixed parsing ISO 8601 format in Date.parse().

2017-04-19 Thread Andrey Zelenkov
details: http://hg.nginx.org/njs/rev/96fda9957427 branches: changeset: 340:96fda9957427 user: Andrey Zelenkov date: Wed Apr 19 17:48:56 2017 +0300 description: Fixed parsing ISO 8601 format in Date.parse(). Fixed parsing in case milliseconds are not specified. Added converting to lo

Re: [PATCH] Contrib: vim syntax, support block region

2017-04-19 Thread Maxim Dounin
Hello! On Wed, Apr 19, 2017 at 05:52:36PM +0800, OOO wrote: > Hi Dounin > > I have looked into your POC. > I use this approach in yajs.vim too. > The major problem of this approach is: It creates (sort of) redundant > syntax group. > For the listen directive: > > > syn keyword ngxDirectiveImpor

Re: nginx development guide

2017-04-19 Thread Maxim Konovalov
Hello, On 13/02/2017 12:38, Vladimir Homutov wrote: > Hello all! > > We are glad to share with first results of our ongoing efforts to create > documentation for nginx developers: the development guide document [1]. > > The guide is not yet 100% complete and more parts to follow. > > Of course,

Re: crash in ngx_add_timer

2017-04-19 Thread Dk Jack
Thanks Ben, That worked! I wonder why these data-structures where not initialized earlier? On Tue, Apr 18, 2017 at 7:23 PM, 734819342 <734819...@qq.com> wrote: > Hi, > > > U should not call ngx_add_timer there, cause ngx_event_timer_rbtree > is initialized in [init process]. > > > -