Hello community,

here is the log from the commit of package oniguruma for openSUSE:Factory 
checked in at 2015-10-28 17:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oniguruma (Old)
 and      /work/SRC/openSUSE:Factory/.oniguruma.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oniguruma"

Changes:
--------
--- /work/SRC/openSUSE:Factory/oniguruma/oniguruma.changes      2014-09-10 
07:27:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.oniguruma.new/oniguruma.changes 2015-10-28 
17:17:26.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Oct 21 11:48:55 UTC 2015 - [email protected]
+
+- update version 5.9.6
+  * [impl] add onigenc_end_unicode().
+  * [impl] add onig_add_end_call(). 
+
+-------------------------------------------------------------------

Old:
----
  onig-5.9.5.tar.gz

New:
----
  onig-5.9.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ oniguruma.spec ++++++
--- /var/tmp/diff_new_pack.1KZSyD/_old  2015-10-28 17:17:27.000000000 +0100
+++ /var/tmp/diff_new_pack.1KZSyD/_new  2015-10-28 17:17:27.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package oniguruma
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           oniguruma
-Version:        5.9.5
+Version:        5.9.6
 Release:        0
 Summary:        Regex Library Supporting Different Character Encodings
 License:        BSD-2-Clause
 Group:          Development/Languages/C and C++
-Url:            http://www.geocities.jp/kosako3/oniguruma/
-Source:         
http://www.geocities.jp/kosako3/oniguruma/archive/onig-%{version}.tar.gz
+Url:            https://github.com/kkos/oniguruma
+Source:         
https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
 BuildRequires:  pkg-config
 BuildRequires:  ruby-devel >= 1.8
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -88,8 +88,8 @@
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
-find %{buildroot}%{_libdir} -type f -name "*.a" -delete -print
-find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
+find %{buildroot} -type f -name "*.a" -delete -print
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n libonig2 -p /sbin/ldconfig
 

++++++ onig-5.9.5.tar.gz -> onig-5.9.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/HISTORY new/onig-5.9.6/HISTORY
--- old/onig-5.9.5/HISTORY      2013-10-21 09:59:50.000000000 +0200
+++ new/onig-5.9.6/HISTORY      2014-12-12 09:53:51.000000000 +0100
@@ -1,5 +1,10 @@
 History
 
+2014/12/12: Version 5.9.6
+
+2013/11/27: [impl] add onigenc_end_unicode().  (thanks Takenori Imoto)
+2013/11/27: [impl] add onig_add_end_call().    (thanks Takenori Imoto)
+
 2013/10/21: Version 5.9.5
 
 2013/10/21: [impl] escape warnings for -Wall. (regparse.c)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/configure new/onig-5.9.6/configure
--- old/onig-5.9.5/configure    2013-10-21 09:58:37.000000000 +0200
+++ new/onig-5.9.6/configure    2014-12-12 09:50:50.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for onig 5.9.5.
+# Generated by GNU Autoconf 2.68 for onig 5.9.6.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -567,8 +567,8 @@
 # Identity of this package.
 PACKAGE_NAME='onig'
 PACKAGE_TARNAME='onig'
-PACKAGE_VERSION='5.9.5'
-PACKAGE_STRING='onig 5.9.5'
+PACKAGE_VERSION='5.9.6'
+PACKAGE_STRING='onig 5.9.6'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1291,7 +1291,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures onig 5.9.5 to adapt to many kinds of systems.
+\`configure' configures onig 5.9.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1361,7 +1361,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of onig 5.9.5:";;
+     short | recursive ) echo "Configuration of onig 5.9.6:";;
    esac
   cat <<\_ACEOF
 
@@ -1466,7 +1466,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-onig configure 5.9.5
+onig configure 5.9.6
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2063,7 +2063,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by onig $as_me 5.9.5, which was
+It was created by onig $as_me 5.9.6, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2881,7 +2881,7 @@
 
 # Define the identity of the package.
  PACKAGE='onig'
- VERSION='5.9.5'
+ VERSION='5.9.6'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12797,7 +12797,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by onig $as_me 5.9.5, which was
+This file was extended by onig $as_me 5.9.6, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12863,7 +12863,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-onig config.status 5.9.5
+onig config.status 5.9.6
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/configure.in new/onig-5.9.6/configure.in
--- old/onig-5.9.5/configure.in 2013-10-21 09:55:22.000000000 +0200
+++ new/onig-5.9.6/configure.in 2014-12-12 09:45:59.000000000 +0100
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(onig, 5.9.5)
+AC_INIT(onig, 5.9.6)
 
 AC_CONFIG_MACRO_DIR([m4])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/enc/unicode.c new/onig-5.9.6/enc/unicode.c
--- old/onig-5.9.5/enc/unicode.c        2010-01-05 14:48:47.000000000 +0100
+++ new/onig-5.9.6/enc/unicode.c        2013-11-27 03:20:04.000000000 +0100
@@ -2,7 +2,7 @@
   unicode.c -  Oniguruma (regular expression library)
 **********************************************************************/
 /*-
- * Copyright (c) 2002-2008  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
+ * Copyright (c) 2002-2013  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -10891,6 +10891,21 @@
 static st_table* Unfold3Table;
 static int CaseFoldInited = 0;
 
+
+extern void onigenc_end_unicode(void)
+{
+  THREAD_ATOMIC_START;
+
+  if (FoldTable    != 0) st_free_table(FoldTable);
+  if (Unfold1Table != 0) st_free_table(Unfold1Table);
+  if (Unfold2Table != 0) st_free_table(Unfold2Table);
+  if (Unfold3Table != 0) st_free_table(Unfold3Table);
+
+  CaseFoldInited = 0;
+
+  THREAD_ATOMIC_END;
+}
+
 static int init_case_fold_table(void)
 {
   const CaseFold_11_Type   *p;
@@ -10952,6 +10967,9 @@
     st_add_direct(Unfold3Table, (st_data_t )p3->from, (st_data_t )(&p3->to));
   }
 
+
+  onig_add_end_call(onigenc_end_unicode);
+
   CaseFoldInited = 1;
   THREAD_ATOMIC_END;
   return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/index.html new/onig-5.9.6/index.html
--- old/onig-5.9.5/index.html   2013-10-21 10:01:08.000000000 +0200
+++ new/onig-5.9.6/index.html   2014-12-12 10:11:24.000000000 +0100
@@ -8,7 +8,7 @@
 <h1>Oniguruma</h1> (<a href="index_ja.html">Japanese</a>)
 
 <p>
-(c) K.Kosako, updated at: 2013/10/21
+(c) K.Kosako, updated at: 2014/12/12
 </p>
 
 <dl>
@@ -16,7 +16,7 @@
 <dt><b>What's new</b>
 </font>
 <ul>
-<li>2013/10/21: Version 5.9.5 released.</li>
+<li>2014/12/12: Version 5.9.6 released.</li>
 <li>2007/08/16: Version 4.7.1 released.</li>
 <li>2007/06/20: Version 2.5.9 released.</li>
 <li>2007/06/20: Maintainer of 2.x was changed.</li>
@@ -62,8 +62,8 @@
 
 <dt><b>Download:</b>
 <ul>
-<li> <a href="archive/onig-5.9.5.tar.gz">Latest release version 5.9.5</a> 
(2013/10/21)   <a href="HISTORY_5X.txt">Change Log</a>
-<li> <a href="archive/onig-5.9.4.tar.gz">5.9.4</a> (2013/04/04)
+<li> <a href="archive/onig-5.9.6.tar.gz">Latest release version 5.9.6</a> 
(2014/12/12)   <a href="HISTORY_5X.txt">Change Log</a>
+<li> <a href="archive/onig-5.9.5.tar.gz">5.9.5</a> (2013/10/21)
 <li> <a href="archive/onig-4.7.1.tar.gz">Latest release version 4.7.1</a> 
(2007/08/16)   <a href="HISTORY_4X.txt">Change Log</a>
 <li> <a href="archive/onig-4.7.0.tar.gz">4.7.0</a> (2007/06/18)
 <li> <a href="archive/onigd2_5_9.tar.gz">Latest release version 2.5.9</a> 
(2007/06/20)   <a href="HISTORY_2X.txt">Change Log</a>
@@ -78,7 +78,7 @@
 * 2.x supports Ruby1.6/1.8.<br>
 
 <br>
-<dt><b>Documents:</b> (version 5.9.5)
+<dt><b>Documents:</b> (version 5.9.6)
 <ul>
  <li> <a href="doc/RE.txt">Regular Expressions</a>
       <a href="doc/RE.ja.txt">(Japanese: EUC-JP)</a>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/index_ja.html new/onig-5.9.6/index_ja.html
--- old/onig-5.9.5/index_ja.html        2013-10-21 10:02:05.000000000 +0200
+++ new/onig-5.9.6/index_ja.html        2014-12-12 10:11:34.000000000 +0100
@@ -8,7 +8,7 @@
 <h1>鬼車</h1>
 
 <p>
-(c) K.Kosako, 最終更新: 2013/04/04
+(c) K.Kosako, 最終更新: 2014/12/12
 </p>
 
 <dl>
@@ -16,7 +16,7 @@
 <dt><b>更新情報</b>
 </font>
 <ul>
-<li>2013/10/21: Version 5.9.5 リリース</li>
+<li>2014/12/12: Version 5.9.6 リリース</li>
 <li>2007/08/16: Version 4.7.1 リリース</li>
 <li>2007/06/20: Version 2.5.9 リリース</li>
 <li>2007/06/20: 2.xの保守担当者を変更</li>
@@ -62,8 +62,8 @@
 
 <dt><b>ダウンロード:</b>
 <ul>
-<li> <a href="archive/onig-5.9.5.tar.gz">5.9.5 最新版</a> (2013/10/21)   <a 
href="HISTORY_5X.txt">更新履歴</a>
-<li> <a href="archive/onig-5.9.4.tar.gz">5.9.4</a> (2013/04/04)
+<li> <a href="archive/onig-5.9.6.tar.gz">5.9.6 最新版</a> (2014/12/12)   <a 
href="HISTORY_5X.txt">更新履歴</a>
+<li> <a href="archive/onig-5.9.5.tar.gz">5.9.5</a> (2013/10/21)
 <li> <a href="archive/onig-4.7.1.tar.gz">4.7.1 最新版</a> (2007/08/16)   <a 
href="HISTORY_4X.txt">更新履歴</a>
 <li> <a href="archive/onig-4.7.0.tar.gz">4.7.0</a> (2007/06/18)
 <li> <a href="archive/onigd2_5_9.tar.gz">2.5.9 最新版</a> (2007/06/20)   <a 
href="HISTORY_2X.txt">更新履歴</a>
@@ -78,7 +78,7 @@
 * 2.xはRuby1.6/1.8組込みライブラリとして動作する。 (2006年末で保守を終了)<br>
 
 <br>
-<dt><b>ドキュメント:</b> (version 5.9.5)
+<dt><b>ドキュメント:</b> (version 5.9.6)
 <ul>
  <li> <a href="doc/RE.txt">正規表現</a>
       <a href="doc/RE.ja.txt">(日本語: EUC-JP)</a>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/oniguruma.h new/onig-5.9.6/oniguruma.h
--- old/onig-5.9.5/oniguruma.h  2013-10-21 09:56:11.000000000 +0200
+++ new/onig-5.9.6/oniguruma.h  2014-12-12 09:52:31.000000000 +0100
@@ -36,7 +36,7 @@
 #define ONIGURUMA
 #define ONIGURUMA_VERSION_MAJOR   5
 #define ONIGURUMA_VERSION_MINOR   9
-#define ONIGURUMA_VERSION_TEENY   5
+#define ONIGURUMA_VERSION_TEENY   6
 
 #ifdef __cplusplus
 # ifndef  HAVE_PROTOTYPES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/regcomp.c new/onig-5.9.6/regcomp.c
--- old/onig-5.9.5/regcomp.c    2013-10-21 09:21:27.000000000 +0200
+++ new/onig-5.9.6/regcomp.c    2013-11-27 03:05:11.000000000 +0100
@@ -2,7 +2,7 @@
   regcomp.c -  Oniguruma (regular expression library)
 **********************************************************************/
 /*-
- * Copyright (c) 2002-2008  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
+ * Copyright (c) 2002-2013  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -5575,11 +5575,44 @@
 }
 
 
+static OnigEndCallListItemType* EndCallTop;
+
+extern void onig_add_end_call(void (*func)(void))
+{
+  OnigEndCallListItemType* item;
+
+  item = (OnigEndCallListItemType* )xmalloc(sizeof(*item));
+  if (item == 0) return ;
+
+  item->next = EndCallTop;
+  item->func = func;
+
+  EndCallTop = item;
+}
+
+static void
+exec_end_call_list(void)
+{
+  OnigEndCallListItemType* prev;
+  void (*func)(void);
+
+  while (EndCallTop != 0) {
+    func = EndCallTop->func;
+    (*func)();
+
+    prev = EndCallTop;
+    EndCallTop = EndCallTop->next;
+    xfree(prev);
+  }
+}
+
 extern int
 onig_end(void)
 {
   THREAD_ATOMIC_START;
 
+  exec_end_call_list();
+
 #ifdef ONIG_DEBUG_STATISTICS
   onig_print_statistics(stderr);
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onig-5.9.5/regint.h new/onig-5.9.6/regint.h
--- old/onig-5.9.5/regint.h     2010-01-05 14:48:47.000000000 +0100
+++ new/onig-5.9.6/regint.h     2013-11-27 02:58:37.000000000 +0100
@@ -4,7 +4,7 @@
   regint.h -  Oniguruma (regular expression library)
 **********************************************************************/
 /*-
- * Copyright (c) 2002-2008  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
+ * Copyright (c) 2002-2013  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -750,6 +750,14 @@
 #define IS_CODE_SB_WORD(enc,code) \
   (ONIGENC_IS_CODE_ASCII(code) && ONIGENC_IS_CODE_WORD(enc,code))
 
+typedef struct OnigEndCallListItem {
+  struct OnigEndCallListItem* next;
+  void (*func)(void);
+} OnigEndCallListItemType;
+
+extern void onig_add_end_call(void (*func)(void));
+
+
 #ifdef ONIG_DEBUG
 
 typedef struct {
@@ -760,6 +768,7 @@
 
 extern OnigOpInfoType OnigOpInfo[];
 
+
 extern void onig_print_compiled_byte_code P_((FILE* f, UChar* bp, UChar** 
nextp, OnigEncoding enc));
 
 #ifdef ONIG_DEBUG_STATISTICS


Reply via email to