From 9f268ee22826c50d9c2d522a91c2c366fc1af569b7f18744a9cdaff4a19de23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 9 May 2016 09:49:34 +0000 Subject: [PATCH 1/6] - Updated to revision 1825, fixes the following problems * The screen is not updated if a callback is invoked when closing a channel. * Help completion adds @en to all matches except the first one. * Compiler warnings when sprintf() is a macro. * Removing language from help tags too often. * Redirecting stdout of a channel to "null" doesn't work. * When a job is no longer referenced and does not have an exit callback the process may hang around in defunc state. * When job writes to buffer nothing is written. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=358 --- v7.4.1816.tar.gz | 3 --- v7.4.1825.tar.gz | 3 +++ vim.changes | 14 ++++++++++++++ vim.spec | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1816.tar.gz create mode 100644 v7.4.1825.tar.gz diff --git a/v7.4.1816.tar.gz b/v7.4.1816.tar.gz deleted file mode 100644 index 5293a5b..0000000 --- a/v7.4.1816.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cebc9d73b94101066aa8546772f9d630eea5b6c8417e281e01c82f8f31904a93 -size 12565377 diff --git a/v7.4.1825.tar.gz b/v7.4.1825.tar.gz new file mode 100644 index 0000000..4eb9001 --- /dev/null +++ b/v7.4.1825.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03bd0acd993e7434658fbe5c95a437b3828beb14b06f98fe0a0f9f67436d278 +size 12565955 diff --git a/vim.changes b/vim.changes index 2aa8a7c..e16a824 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 9 09:44:34 UTC 2016 - idonmez@suse.com + +- Updated to revision 1825, fixes the following problems + * The screen is not updated if a callback is invoked when closing + a channel. + * Help completion adds @en to all matches except the first one. + * Compiler warnings when sprintf() is a macro. + * Removing language from help tags too often. + * Redirecting stdout of a channel to "null" doesn't work. + * When a job is no longer referenced and does not have an exit + callback the process may hang around in defunc state. + * When job writes to buffer nothing is written. + ------------------------------------------------------------------- Mon May 2 07:24:31 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 213157d..fdabe03 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1816 +%define patchlevel 1825 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} From 893b3629900075b12d69404f471a6a1e65d54f811337b6da5fe3eb482848b2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 9 May 2016 15:55:03 +0000 Subject: [PATCH 2/6] - Updated to revision 1826, fixes the following problems * Callbacks are invoked when it's not safe. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=359 --- v7.4.1825.tar.gz | 3 --- v7.4.1826.tar.gz | 3 +++ vim.changes | 5 +++-- vim.spec | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 v7.4.1825.tar.gz create mode 100644 v7.4.1826.tar.gz diff --git a/v7.4.1825.tar.gz b/v7.4.1825.tar.gz deleted file mode 100644 index 4eb9001..0000000 --- a/v7.4.1825.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b03bd0acd993e7434658fbe5c95a437b3828beb14b06f98fe0a0f9f67436d278 -size 12565955 diff --git a/v7.4.1826.tar.gz b/v7.4.1826.tar.gz new file mode 100644 index 0000000..ad00d1e --- /dev/null +++ b/v7.4.1826.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64875a015b24f5ad12526021eff59211dca8344ed932a276072b41606932ffd4 +size 12566447 diff --git a/vim.changes b/vim.changes index e16a824..5c38880 100644 --- a/vim.changes +++ b/vim.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Mon May 9 09:44:34 UTC 2016 - idonmez@suse.com +Mon May 9 14:46:34 UTC 2016 - idonmez@suse.com -- Updated to revision 1825, fixes the following problems +- Updated to revision 1826, fixes the following problems * The screen is not updated if a callback is invoked when closing a channel. * Help completion adds @en to all matches except the first one. @@ -11,6 +11,7 @@ Mon May 9 09:44:34 UTC 2016 - idonmez@suse.com * When a job is no longer referenced and does not have an exit callback the process may hang around in defunc state. * When job writes to buffer nothing is written. + * Callbacks are invoked when it's not safe. ------------------------------------------------------------------- Mon May 2 07:24:31 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index fdabe03..c3dc749 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1825 +%define patchlevel 1826 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} From 0b6397a63eeb77fdd2b98e1128bd53d07707363d8476be6c95837ee45e30fbdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 10 May 2016 07:07:35 +0000 Subject: [PATCH 3/6] - Updated to revision 1829, fixes the following problems * No error when invoking a callback when it's not safe. * May try to access buffer that's already freed. * No message on channel log when buffer was freed. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=360 --- v7.4.1826.tar.gz | 3 --- v7.4.1829.tar.gz | 3 +++ vim.changes | 8 ++++++++ vim.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1826.tar.gz create mode 100644 v7.4.1829.tar.gz diff --git a/v7.4.1826.tar.gz b/v7.4.1826.tar.gz deleted file mode 100644 index ad00d1e..0000000 --- a/v7.4.1826.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64875a015b24f5ad12526021eff59211dca8344ed932a276072b41606932ffd4 -size 12566447 diff --git a/v7.4.1829.tar.gz b/v7.4.1829.tar.gz new file mode 100644 index 0000000..9da968d --- /dev/null +++ b/v7.4.1829.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d91e9c3ad6203033a9124f4b720cf9de82cd75358374cd3b4bcde8838ea2871c +size 12566744 diff --git a/vim.changes b/vim.changes index 5c38880..f90a863 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 10 07:06:48 UTC 2016 - idonmez@suse.com + +- Updated to revision 1829, fixes the following problems + * No error when invoking a callback when it's not safe. + * May try to access buffer that's already freed. + * No message on channel log when buffer was freed. + ------------------------------------------------------------------- Mon May 9 14:46:34 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index c3dc749..5a284fb 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1826 +%define patchlevel 1829 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} From 00c4e157507c1a529ee5b05748d91d93db054c3c1a25e02bd01577aa36fc913c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 24 May 2016 07:18:58 +0000 Subject: [PATCH 4/6] - Fix build with perl 5.24 (perl-5.24.patch) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=361 --- perl-5.24.patch | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ vim.changes | 5 +++++ vim.spec | 2 ++ 3 files changed, 64 insertions(+) create mode 100644 perl-5.24.patch diff --git a/perl-5.24.patch b/perl-5.24.patch new file mode 100644 index 0000000..4d3f459 --- /dev/null +++ b/perl-5.24.patch @@ -0,0 +1,57 @@ +UPDADE: Use Perl macro SvREFCNT_inc_void_NN() instead of SvREFCNT()++ +suggested by Ken Takata. + +=for apidoc Am|void|SvREFCNT_inc_void_NN|SV* sv +Same as C, but can only be used if you don't need the return +value, and you know that C is not C. The macro doesn't need +to return a meaningful value, or check for NULLness, so it's smaller +and faster. + +diff -r 030b239e7b25 src/if_perl.xs +--- a/src/if_perl.xs Sun May 01 23:15:06 2016 +0200 ++++ b/src/if_perl.xs Mon May 02 08:17:33 2016 +0200 +@@ -602,13 +602,20 @@ static struct { + }; + + /* Work around for perl-5.18. +- * The definitions of S_SvREFCNT_inc and S_SvREFCNT_dec are needed, so include +- * "perl\lib\CORE\inline.h", after Perl_sv_free2 is defined. +- * The linker won't complain about undefined __impl_Perl_sv_free2. */ ++ * For now, only the definitions of S_SvREFCNT_dec are needed in ++ * "perl\lib\CORE\inline.h". */ + #if (PERL_REVISION == 5) && (PERL_VERSION >= 18) +-# define PL_memory_wrap "panic: memory wrap" /* Dummy */ +-# include +-# undef PL_memory_wrap ++static void ++S_SvREFCNT_dec(pTHX_ SV *sv) ++{ ++ if (LIKELY(sv != NULL)) { ++ U32 rc = SvREFCNT(sv); ++ if (LIKELY(rc > 1)) ++ SvREFCNT(sv) = rc - 1; ++ else ++ Perl_sv_free2(aTHX_ sv, rc); ++ } ++} + #endif + + /* +@@ -777,7 +784,7 @@ newWINrv(SV *rv, win_T *ptr) + sv_setiv(ptr->w_perl_private, PTR2IV(ptr)); + } + else +- SvREFCNT_inc(ptr->w_perl_private); ++ SvREFCNT_inc_void_NN(ptr->w_perl_private); + SvRV(rv) = ptr->w_perl_private; + SvROK_on(rv); + return sv_bless(rv, gv_stashpv("VIWIN", TRUE)); +@@ -793,7 +800,7 @@ newBUFrv(SV *rv, buf_T *ptr) + sv_setiv(ptr->b_perl_private, PTR2IV(ptr)); + } + else +- SvREFCNT_inc(ptr->b_perl_private); ++ SvREFCNT_inc_void_NN(ptr->b_perl_private); + SvRV(rv) = ptr->b_perl_private; + SvROK_on(rv); + return sv_bless(rv, gv_stashpv("VIBUF", TRUE)); diff --git a/vim.changes b/vim.changes index f90a863..5732204 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 24 07:12:15 UTC 2016 - idonmez@suse.com + +- Fix build with perl 5.24 (perl-5.24.patch) + ------------------------------------------------------------------- Tue May 10 07:06:48 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 5a284fb..e0bca1c 100644 --- a/vim.spec +++ b/vim.spec @@ -90,6 +90,7 @@ Patch15: %{name}-7.4-filetype_apparmor.patch Patch18: %{name}-7.3-filetype_spec.patch Patch21: %{name}-7.3-filetype_changes.patch Patch22: %{name}-7.4-filetype_mine.patch +Patch23: perl-5.24.patch Patch100: vim73-no-static-libpython.patch %description @@ -164,6 +165,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch18 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . From d59e60da7ec2c065f72beb9fbe9ab8b9aef53b5d66be18b185d678d35a6c9066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 25 May 2016 10:58:17 +0000 Subject: [PATCH 5/6] - Updated to revision 1842, fixes the following problems * non-antialiased misnamed. * When timer_stop() is called with a string there is no proper error message. * Memory leak in debug commands. * Cannot use an Ex command for 'keywordprg'. * Possible crash when conceal is active. * When splitting and closing a window the status height changes. * When using a partial on a dictionary it always gets bound to that dictionary. * The BufUnload event is triggered twice, when :bunload is used with `bufhidden` set to `unload` or `delete`. * Functions specifically for testing do not sort together. * Cannot get the items stored in a partial. * When using packages an "after" directory cannot be used. * The code to reallocate the buffer used for quickfix is repeated. * get() works for Partial but not for Funcref. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=362 --- v7.4.1829.tar.gz | 3 --- v7.4.1842.tar.gz | 3 +++ vim.changes | 21 +++++++++++++++++++++ vim.spec | 2 +- 4 files changed, 25 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1829.tar.gz create mode 100644 v7.4.1842.tar.gz diff --git a/v7.4.1829.tar.gz b/v7.4.1829.tar.gz deleted file mode 100644 index 9da968d..0000000 --- a/v7.4.1829.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d91e9c3ad6203033a9124f4b720cf9de82cd75358374cd3b4bcde8838ea2871c -size 12566744 diff --git a/v7.4.1842.tar.gz b/v7.4.1842.tar.gz new file mode 100644 index 0000000..bac7c32 --- /dev/null +++ b/v7.4.1842.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2dbf5797569e40aff97b4dba549382464f42e9b10892280985e63952afab829 +size 12573082 diff --git a/vim.changes b/vim.changes index 5732204..f6b4755 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed May 25 10:53:20 UTC 2016 - idonmez@suse.com + +- Updated to revision 1842, fixes the following problems + * non-antialiased misnamed. + * When timer_stop() is called with a string there is no proper + error message. + * Memory leak in debug commands. + * Cannot use an Ex command for 'keywordprg'. + * Possible crash when conceal is active. + * When splitting and closing a window the status height changes. + * When using a partial on a dictionary it always gets bound to that + dictionary. + * The BufUnload event is triggered twice, when :bunload is used with + `bufhidden` set to `unload` or `delete`. + * Functions specifically for testing do not sort together. + * Cannot get the items stored in a partial. + * When using packages an "after" directory cannot be used. + * The code to reallocate the buffer used for quickfix is repeated. + * get() works for Partial but not for Funcref. + ------------------------------------------------------------------- Tue May 24 07:12:15 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index e0bca1c..41c61a1 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1829 +%define patchlevel 1842 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} From ed7f40e8c0c283977ece438e60468f0ecc9ac19040793b1dd3a57257eaf3cb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 26 May 2016 08:32:54 +0000 Subject: [PATCH 6/6] Accepting request 398166 from home:cboltz:branches:editors - Update apparmor.vim (taken from AppArmor 2.10.1) * add support for the "unspec" network keyword OBS-URL: https://build.opensuse.org/request/show/398166 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=363 --- apparmor.vim | 4 ++-- vim.changes | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apparmor.vim b/apparmor.vim index 6af311e..4b7bf59 100644 --- a/apparmor.vim +++ b/apparmor.vim @@ -142,9 +142,9 @@ syn match sdCapDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?capability\s*,(\s*$| " Network line " Syntax: network domain (inet, ...) type (stream, ...) protocol (tcp, ...) " TODO: 'owner' isn't supported, but will be (JJ, 2011-01-11) -syn match sdNetwork /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock))?(\s+(stream|dgram|seqpacket|rdm|packet))?(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude +syn match sdNetwork /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock))?(\s+(stream|dgram|seqpacket|rdm|packet))?(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude " network rules containing 'raw' -syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock))?(\s+(raw))(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude +syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock))?(\s+(raw))(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude " 'all networking' includes raw -> mark as dangerous syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude diff --git a/vim.changes b/vim.changes index f6b4755..edd8a9b 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 26 08:24:46 UTC 2016 - suse-beta@cboltz.de + +- Update apparmor.vim (taken from AppArmor 2.10.1) + * add support for the "unspec" network keyword + ------------------------------------------------------------------- Wed May 25 10:53:20 UTC 2016 - idonmez@suse.com