]> granicus.if.org Git - onig/log
onig
6 years agoMerge pull request #110 from petk/patch-trailing-whitespaces
K.Kosako [Thu, 6 Sep 2018 21:34:03 +0000 (06:34 +0900)]
Merge pull request #110 from petk/patch-trailing-whitespaces

Trim trailing whitespaces

6 years agoTrim trailing whitespaces
Peter Kokot [Thu, 6 Sep 2018 20:19:08 +0000 (22:19 +0200)]
Trim trailing whitespaces

6 years agoMerge pull request #109 from petk/patch-have-string-h
K.Kosako [Thu, 6 Sep 2018 10:41:13 +0000 (19:41 +0900)]
Merge pull request #109 from petk/patch-have-string-h

Remove HAVE_STRING_H

6 years agoRemove HAVE_STRING_H
Peter Kokot [Thu, 6 Sep 2018 09:54:49 +0000 (11:54 +0200)]
Remove HAVE_STRING_H

The C89 standard and later defines the <string.h> header as part of the
standard headers [1] and on current systems it is always present.

Code included also <strings.h> header as an alterinative in some files.
This kind of check was relevant on some older systems where the
<strings.h> file included definitions for the C89 compliant <string.h>.
Today such alternative check is not required anymore. The <strings.h>
file is part of the POSIX definition these days. Current code doesn't
require the <strings.h> files in cases of these patched files.

Also Autoconf suggests doing this and relying on C89 or above [2] and [3].

[1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoMerge pull request #108 from petk/patch-autoupdate
K.Kosako [Thu, 6 Sep 2018 06:05:33 +0000 (15:05 +0900)]
Merge pull request #108 from petk/patch-autoupdate

Upgrade deprecated AC_OUTPUT macro call

6 years agoUpgrade deprecated AC_OUTPUT macro call
Peter Kokot [Thu, 6 Sep 2018 05:49:18 +0000 (07:49 +0200)]
Upgrade deprecated AC_OUTPUT macro call

Autoconf 2.50 made several changes to macro calls. These include also
arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf
documentation includes an example of using AC_OUTPUT with
AC_CONFIG_FILES and AC_CONFIG_COMMANDS:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

Systems out there should be well supported by now.

This patch was created with the help of autoupdate script:
autoupdate <file>

More info on where exactly this got deprecated:
- ftp://ftp.gnu.org/old-gnu/Manuals/autoconf-2.13/html_mono/autoconf.html
- ftp://ftp.auckland.ac.nz/pub/gnu/Manuals/autoconf-2.52/html_chapter/autoconf_15.html
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS

6 years agoMerge pull request #107 from petk/patch-setjmp
K.Kosako [Thu, 6 Sep 2018 05:03:38 +0000 (14:03 +0900)]
Merge pull request #107 from petk/patch-setjmp

Remove unused HAVE__SETJMP symbols

6 years agoRemove unused HAVE__SETJMP symbols
Peter Kokot [Thu, 6 Sep 2018 04:54:58 +0000 (06:54 +0200)]
Remove unused HAVE__SETJMP symbols

6 years agofix invalid range check for name argument in onig_unicode_define_user_property()
K.Kosako [Thu, 6 Sep 2018 04:45:27 +0000 (13:45 +0900)]
fix invalid range check for name argument in onig_unicode_define_user_property()

6 years agoMerge pull request #106 from petk/patch-ac-c-const
K.Kosako [Thu, 6 Sep 2018 04:12:09 +0000 (13:12 +0900)]
Merge pull request #106 from petk/patch-ac-c-const

Remove AC_C_CONST

6 years agoRemove AC_C_CONST
Peter Kokot [Thu, 6 Sep 2018 04:00:14 +0000 (06:00 +0200)]
Remove AC_C_CONST

Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems, including the `AC_C_CONST`.

The `const` keyword is used in C since C89. On old systems some compilers
lacked the `const` and this macro defined it to be empty. This check was
relevant on systems with compilers before C89 and on current systems it
can be omitted since Ë™const` is always available. [2]

Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoMerge pull request #105 from petk/patch-ac-header-time
K.Kosako [Thu, 6 Sep 2018 03:53:26 +0000 (12:53 +0900)]
Merge pull request #105 from petk/patch-ac-header-time

Remove AC_HEADER_TIME

6 years agoMerge pull request #104 from petk/patch-have-memcmp
K.Kosako [Thu, 6 Sep 2018 03:41:36 +0000 (12:41 +0900)]
Merge pull request #104 from petk/patch-have-memcmp

Remove unused old symbols for string.h functions

6 years agoRemove AC_HEADER_TIME
Peter Kokot [Thu, 6 Sep 2018 03:40:25 +0000 (05:40 +0200)]
Remove AC_HEADER_TIME

Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_HEADER_TIME`.

This macro checks if both `<sys/time.h>` and `<time.h>` can be included
at the same time and defines the `TIME_WITH_SYS_TIME` and
`HAVE_SYS_TIME_H` symbols. On current system such check is not relevant
anymore because in case both headers are present both can be also
included at the same time.

This patch simplifies this checking.

Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoRemove unused old symbols for string.h functions
Peter Kokot [Thu, 6 Sep 2018 03:07:37 +0000 (05:07 +0200)]
Remove unused old symbols for string.h functions

The C89 standard and later defines the <string.h> header as part of the
standard headers [1]. Functions memcmp, memmove, strerror, strchr, strstr,
and others are all part of C89 and <string.h> header definition.

Some build systems used to define the presence of these functions via
HAVE_MEMCMP, HAVE_MEMMOVE, HAVE_STRERROR, HAVE_STRCHR, HAVE_STRSTR
symbols. These aren't used in oniguruma library anymore and can be
ommitted from the config files for windows systems.

[1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.11

6 years agoMerge pull request #103 from petk/patch-ac-func-memcmp
K.Kosako [Thu, 6 Sep 2018 03:03:15 +0000 (12:03 +0900)]
Merge pull request #103 from petk/patch-ac-func-memcmp

Remove AC_FUNC_MEMCMP

6 years agoRemove AC_FUNC_MEMCMP
Peter Kokot [Thu, 6 Sep 2018 02:45:45 +0000 (04:45 +0200)]
Remove AC_FUNC_MEMCMP

Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_FUNC_MEMCMP`.

On some old systems such as SunOS 4.1.3 (EOL in 2003) and NeXT x86
OpenStep (discontinued) the `memcmp` function wasn't present or it
didn't work properly. [2]

On current systems including at least Solaris 10+ this check is not
relevant anymore.

Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoMerge pull request #102 from xcorail/master
K.Kosako [Wed, 5 Sep 2018 12:30:51 +0000 (21:30 +0900)]
Merge pull request #102 from xcorail/master

Add LGTM code quality badges

6 years agoAdd LGTM.com code quality badges
Xavier RENE-CORAIL [Wed, 5 Sep 2018 10:46:22 +0000 (11:46 +0100)]
Add LGTM.com code quality badges

6 years agoMerge pull request #101 from petk/patch-stdlib-h
K.Kosako [Wed, 5 Sep 2018 04:02:59 +0000 (13:02 +0900)]
Merge pull request #101 from petk/patch-stdlib-h

Remove HAVE_STDLIB_H

6 years agoRemove HAVE_STDLIB_H
Peter Kokot [Wed, 5 Sep 2018 03:42:32 +0000 (05:42 +0200)]
Remove HAVE_STDLIB_H

The `<stdlib.h>` header file is part of the standard C89 headers [1] and
on current systems there is no need to do a manual check if header is
present anymore [2].

Build systems used to check for the presence of the header file and defined
the `HAVE_STDLIB_H` symbol:
- Autoconf in configure.ac
- Cmake in CMakeLists.txt

This patch removes these checks and prepares for another patch to remove
the obsolescent `AC_HEADER_STDC` Autoconf macro and the obsolescent
`STDC_HEADERS` symbol.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

6 years agoMerge pull request #100 from petk/patch-float-h
K.Kosako [Wed, 5 Sep 2018 03:13:12 +0000 (12:13 +0900)]
Merge pull request #100 from petk/patch-float-h

Remove HAVE_FLOAT_H

6 years agoRemove HAVE_FLOAT_H
Peter Kokot [Wed, 5 Sep 2018 02:25:01 +0000 (04:25 +0200)]
Remove HAVE_FLOAT_H

The `<float.h>` header file is part of the standard C89 headers [1] and
on current systems there is no need to do a manual check if header is
present anymore [2].

Build systems used to check for the presence of the header file and defined
the `HAVE_FLOAT_H` symbol.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.4
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

6 years agoMerge pull request #99 from petk/patch-have-limits-h
K.Kosako [Wed, 5 Sep 2018 00:27:36 +0000 (09:27 +0900)]
Merge pull request #99 from petk/patch-have-limits-h

Remove HAVE_LIMITS_H

6 years agoRemove HAVE_LIMITS_H
Peter Kokot [Wed, 5 Sep 2018 00:05:32 +0000 (02:05 +0200)]
Remove HAVE_LIMITS_H

The `<limits.h>` header file is part of the standard C89 headers [1] and
on current systems there is no need to do a manual check anymore if
header is present.

Build systems checked for the presence of the header file and defined
the `HAVE_LIMITS_H` symbol:
- Autoconf in configure.a [2]
- cmake in CMakeLists.txt

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.4
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

6 years agosetup 6.9.0 v6.9.0
K.Kosako [Fri, 31 Aug 2018 05:24:27 +0000 (14:24 +0900)]
setup 6.9.0

6 years agoremove src/unicode-7.0
K.Kosako [Fri, 31 Aug 2018 05:15:23 +0000 (14:15 +0900)]
remove src/unicode-7.0

6 years agoremove src/unicode-7.0 from distribution files
K.Kosako [Fri, 31 Aug 2018 05:13:29 +0000 (14:13 +0900)]
remove src/unicode-7.0 from distribution files

6 years agoupdate HISTORY
K.Kosako [Fri, 31 Aug 2018 04:17:51 +0000 (13:17 +0900)]
update HISTORY

6 years agofix #98: AM_PROG_LIBTOOL is deprecated
K.Kosako [Fri, 31 Aug 2018 04:16:27 +0000 (13:16 +0900)]
fix #98: AM_PROG_LIBTOOL is deprecated

6 years agorefactoring
K.Kosako [Mon, 27 Aug 2018 04:35:38 +0000 (13:35 +0900)]
refactoring

6 years agodon't use STRING_RAW flag
K.Kosako [Mon, 27 Aug 2018 04:30:23 +0000 (13:30 +0900)]
don't use STRING_RAW flag

6 years agorefactoring
K.Kosako [Mon, 27 Aug 2018 04:26:57 +0000 (13:26 +0900)]
refactoring

6 years agoupdate year number
K.Kosako [Mon, 27 Aug 2018 04:10:37 +0000 (13:10 +0900)]
update year number

6 years agosmall update README.md
K.Kosako [Mon, 27 Aug 2018 03:07:18 +0000 (12:07 +0900)]
small update README.md

6 years agominor update of Unicode data files
K.Kosako [Mon, 27 Aug 2018 02:12:58 +0000 (11:12 +0900)]
minor update of Unicode data files

6 years agoadd output of Copyright
K.Kosako [Mon, 27 Aug 2018 02:12:05 +0000 (11:12 +0900)]
add output of Copyright

6 years agorename CASEFOLD_VERSION to UNICODE_CASEFOLD_VERSION
K.Kosako [Mon, 27 Aug 2018 02:01:14 +0000 (11:01 +0900)]
rename CASEFOLD_VERSION to UNICODE_CASEFOLD_VERSION

6 years agorename PROPERTY_VERSION to UNICODE_PROPERTY_VERSION
K.Kosako [Mon, 27 Aug 2018 01:54:11 +0000 (10:54 +0900)]
rename PROPERTY_VERSION to UNICODE_PROPERTY_VERSION

6 years agoupdate year number
K.Kosako [Mon, 27 Aug 2018 01:51:44 +0000 (10:51 +0900)]
update year number

6 years agoupdate README.md
K.Kosako [Fri, 24 Aug 2018 07:01:34 +0000 (16:01 +0900)]
update README.md

6 years agoadd Extended Grapheme Cluster Boundary GB11 rule test cases
K.Kosako [Fri, 24 Aug 2018 06:03:08 +0000 (15:03 +0900)]
add Extended Grapheme Cluster Boundary GB11 rule test cases

6 years agoremove EGCB_E_Base etc.. from EGCB_TYPE
K.Kosako [Fri, 24 Aug 2018 05:35:51 +0000 (14:35 +0900)]
remove EGCB_E_Base etc.. from EGCB_TYPE

6 years agoupdate Extended Grapheme Cluster Boundary rule
K.Kosako [Fri, 24 Aug 2018 05:32:42 +0000 (14:32 +0900)]
update Extended Grapheme Cluster Boundary rule

6 years agoupdate Unicode Properties data for PROP_INDEX_XXX
K.Kosako [Fri, 24 Aug 2018 05:30:12 +0000 (14:30 +0900)]
update Unicode Properties data for PROP_INDEX_XXX

6 years agoadd output of PROP_INDEX_XXXX in Unicode Properties data
K.Kosako [Fri, 24 Aug 2018 05:28:59 +0000 (14:28 +0900)]
add output of PROP_INDEX_XXXX in Unicode Properties data

6 years agomove include position of Unicode Properties data
K.Kosako [Fri, 24 Aug 2018 05:15:28 +0000 (14:15 +0900)]
move include position of Unicode Properties data

6 years agoadd emoji property case into test
K.Kosako [Fri, 24 Aug 2018 04:17:55 +0000 (13:17 +0900)]
add emoji property case into test

6 years agoupdate doc/UNICODE_PROPERTIES for Emoji
K.Kosako [Fri, 24 Aug 2018 04:10:51 +0000 (13:10 +0900)]
update doc/UNICODE_PROPERTIES for Emoji

6 years agoupdate Unicode Properties for Emoji
K.Kosako [Fri, 24 Aug 2018 02:13:11 +0000 (11:13 +0900)]
update Unicode Properties for Emoji

6 years agoadd emoji-data.txt to Unicode Properties
K.Kosako [Fri, 24 Aug 2018 02:12:26 +0000 (11:12 +0900)]
add emoji-data.txt to Unicode Properties

6 years agorefactoring
K.Kosako [Fri, 24 Aug 2018 00:56:40 +0000 (09:56 +0900)]
refactoring

6 years agoupdate Unicode data version to 11.0.0
K.Kosako [Fri, 24 Aug 2018 00:42:20 +0000 (09:42 +0900)]
update Unicode data version to 11.0.0

6 years agoupdate year number
K.Kosako [Fri, 24 Aug 2018 00:40:17 +0000 (09:40 +0900)]
update year number

6 years agoremove unidefine __GNUC__ code for Clang
K.Kosako [Thu, 23 Aug 2018 08:57:17 +0000 (17:57 +0900)]
remove unidefine __GNUC__ code for Clang

6 years agominor optimization
K.Kosako [Thu, 23 Aug 2018 08:34:03 +0000 (17:34 +0900)]
minor optimization

6 years agoreplace option -o to /Fe: for escape warning by cl command
K.Kosako [Wed, 22 Aug 2018 06:03:22 +0000 (15:03 +0900)]
replace option -o to /Fe: for escape warning by cl command

6 years agoadd cast in hash() for escape warning in Windows
K.Kosako [Wed, 22 Aug 2018 05:51:35 +0000 (14:51 +0900)]
add cast in hash() for escape warning in Windows

6 years agoadd src/make_property.sh
K.Kosako [Wed, 22 Aug 2018 05:50:49 +0000 (14:50 +0900)]
add src/make_property.sh

6 years agoadd cast into hval assignment for escape warning in Windows
K.Kosako [Wed, 22 Aug 2018 05:33:32 +0000 (14:33 +0900)]
add cast into hval assignment for escape warning in Windows

6 years agoremove unused function list_node_free_not_car()
K.Kosako [Wed, 22 Aug 2018 04:47:40 +0000 (13:47 +0900)]
remove unused function list_node_free_not_car()

6 years agoadd prefix onigenc_ to sjsi_lookup_property_name()
K.Kosako [Wed, 22 Aug 2018 04:44:09 +0000 (13:44 +0900)]
add prefix onigenc_ to sjsi_lookup_property_name()

6 years agoadd prefix onigenc_ to euc_jp_lookup_property_name()
K.Kosako [Wed, 22 Aug 2018 04:39:59 +0000 (13:39 +0900)]
add prefix onigenc_ to euc_jp_lookup_property_name()

6 years agofix invalid function call in property_name_to_ctype() of sjis.c
K.Kosako [Wed, 22 Aug 2018 04:32:13 +0000 (13:32 +0900)]
fix invalid function call in property_name_to_ctype() of sjis.c

6 years agoadd prefix onigenc_ for unicode_unfold_key(), unicode_fold1_key() etc..
K.Kosako [Wed, 22 Aug 2018 02:30:08 +0000 (11:30 +0900)]
add prefix onigenc_ for unicode_unfold_key(), unicode_fold1_key() etc..

6 years agounicode_lookup_property_name() to be static
K.Kosako [Wed, 22 Aug 2018 01:34:53 +0000 (10:34 +0900)]
unicode_lookup_property_name() to be static

6 years agoupdate generated source files by gperf 3.1
K.Kosako [Tue, 21 Aug 2018 09:30:10 +0000 (18:30 +0900)]
update generated source files by gperf 3.1

6 years agochanges for gperf 3.0.4 => 3.1
K.Kosako [Tue, 21 Aug 2018 09:28:35 +0000 (18:28 +0900)]
changes for gperf 3.0.4 => 3.1

6 years agodon't include config.h because build directory is not fixed
K.Kosako [Tue, 7 Aug 2018 05:33:23 +0000 (14:33 +0900)]
don't include config.h because build directory is not fixed

6 years agoadd ENABLE_POSIX_API switch
K.Kosako [Tue, 7 Aug 2018 05:24:17 +0000 (14:24 +0900)]
add ENABLE_POSIX_API switch

6 years agoadd make_win.bat into distribution file
K.Kosako [Tue, 7 Aug 2018 05:23:41 +0000 (14:23 +0900)]
add make_win.bat into distribution file

6 years agoadd make_win.bat
K.Kosako [Thu, 2 Aug 2018 07:40:25 +0000 (16:40 +0900)]
add make_win.bat

6 years agoadd src/config.h.windows.in
K.Kosako [Thu, 2 Aug 2018 07:34:42 +0000 (16:34 +0900)]
add src/config.h.windows.in

6 years agofix SIZEOF_LONG_LONG value
K.Kosako [Thu, 2 Aug 2018 07:16:19 +0000 (16:16 +0900)]
fix SIZEOF_LONG_LONG value

6 years agorefactoring
K.Kosako [Thu, 26 Jul 2018 07:35:14 +0000 (16:35 +0900)]
refactoring

6 years agoomit NST_ from NODE_STATUS_ADD() and NODE_STATUS_REMOVE() argument
K.Kosako [Thu, 26 Jul 2018 07:32:37 +0000 (16:32 +0900)]
omit NST_ from NODE_STATUS_ADD() and NODE_STATUS_REMOVE() argument

6 years agorefactoring
K.Kosako [Thu, 26 Jul 2018 07:22:11 +0000 (16:22 +0900)]
refactoring

6 years agoupdate README.md
K.Kosako [Thu, 26 Jul 2018 07:17:47 +0000 (16:17 +0900)]
update README.md

6 years agosmall update doc/RE
K.Kosako [Thu, 26 Jul 2018 05:57:50 +0000 (14:57 +0900)]
small update doc/RE

6 years agofix invalid directory for installed documents in cmake
K.Kosako [Wed, 25 Jul 2018 00:32:10 +0000 (09:32 +0900)]
fix invalid directory for installed documents in cmake

6 years agoDon't install onigposix.h if ENABLE_POSIX_API=OFF
K.Kosako [Wed, 25 Jul 2018 00:21:51 +0000 (09:21 +0900)]
Don't install onigposix.h if ENABLE_POSIX_API=OFF

6 years agofollow PR #96 : move regposerr.c position
K.Kosako [Wed, 25 Jul 2018 00:10:49 +0000 (09:10 +0900)]
follow PR #96 : move regposerr.c position

6 years agoMerge pull request #97 from petk/patch-typos
K.Kosako [Tue, 24 Jul 2018 23:47:32 +0000 (08:47 +0900)]
Merge pull request #97 from petk/patch-typos

Fix typos

6 years agoMerge pull request #96 from kornelski/master
K.Kosako [Tue, 24 Jul 2018 23:46:48 +0000 (08:46 +0900)]
Merge pull request #96 from kornelski/master

Ability to disable POSIX API when using CMake

6 years agoFix typos
Peter Kokot [Tue, 24 Jul 2018 22:52:29 +0000 (00:52 +0200)]
Fix typos

6 years agoAbility to disable POSIX API when using CMake
Kornel [Tue, 24 Jul 2018 15:00:49 +0000 (16:00 +0100)]
Ability to disable POSIX API when using CMake

Fixes #95

6 years agoMerge pull request #94 from petk/patch-retsigtype
K.Kosako [Mon, 23 Jul 2018 05:39:44 +0000 (14:39 +0900)]
Merge pull request #94 from petk/patch-retsigtype

Remove unused RETSIGTYPE

6 years agoRemove unused RETSIGTYPE
Peter Kokot [Mon, 23 Jul 2018 05:15:06 +0000 (07:15 +0200)]
Remove unused RETSIGTYPE

The RETSIGTYPE defines the signal type. In K&R C, this could be int or
void. Since C89 it is always void. Also the RETSIGTYPE is not used in
current code.

6 years agoMerge pull request #93 from petk/patch-ac-config-header
K.Kosako [Thu, 5 Jul 2018 02:23:39 +0000 (11:23 +0900)]
Merge pull request #93 from petk/patch-ac-config-header

Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS

6 years agoReplace AC_CONFIG_HEADER with AC_CONFIG_HEADERS
Peter Kokot [Thu, 5 Jul 2018 02:00:26 +0000 (04:00 +0200)]
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS

Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13
released in 1999 anywhere in the documentation. Future of this macro is
unclear and commented as possible candidate for obsoletion in the
autoconf source code. Since it is just a wrapper around the main
AC_CONFIG_HEADERS macro, the functionality is the same, and also more
clear to find it in the autoconf documentation and avoid possible future
obsoletion.

6 years agoMerge branch 'develop'
K.Kosako [Tue, 3 Jul 2018 04:16:16 +0000 (13:16 +0900)]
Merge branch 'develop'

6 years agoMerge pull request #92 from petk/patch-configure-1
K.Kosako [Tue, 3 Jul 2018 01:36:46 +0000 (10:36 +0900)]
Merge pull request #92 from petk/patch-configure-1

Replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE

6 years agoReplace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE
Peter Kokot [Tue, 3 Jul 2018 00:23:04 +0000 (02:23 +0200)]
Replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE

Autoconf made several macros obsolete including the AC_TRY_COMPILE in
2001 in version 2.50:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.3

It should be replaced with the current AC_COMPILE_IFELSE instead.

Reference docs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fFOO_005fIFELSE-vs-AC_005fTRY_005fFOO.html

6 years agoMerge pull request #91 from petk/patch-utf8
K.Kosako [Sun, 1 Jul 2018 23:42:55 +0000 (08:42 +0900)]
Merge pull request #91 from petk/patch-utf8

Convert README_japanese to UTF-8

6 years agoConvert README_japanese to UTF-8
Peter Kokot [Sun, 1 Jul 2018 14:54:20 +0000 (16:54 +0200)]
Convert README_japanese to UTF-8

Opening README_japanese on some editors causes issues and it automatically
opens it in UTF-8 so characters are not shown properly. This patch
converts the EUC-JP encoding to UTF-8 for convenience of seeing it
properly.

6 years agoMerge pull request #90 from petk/patch-unused-headers-1
K.Kosako [Fri, 29 Jun 2018 13:13:22 +0000 (22:13 +0900)]
Merge pull request #90 from petk/patch-unused-headers-1

Remove unused defines from Windows configure file

6 years agoRemove unused defines from Windows configure file
Peter Kokot [Fri, 29 Jun 2018 12:09:59 +0000 (14:09 +0200)]
Remove unused defines from Windows configure file

The definitions of the HAVE_ST_RDEV and HAVE_STRUCT_STAT_ST_RDEV
would provide checks for the members of the stat struct. Since the
st_rdev member is not used in this code these checks can be simplified
by removal.

6 years agoremove OP_SET_OPTION/SET_OPTION_PUSH
K.Kosako [Tue, 26 Jun 2018 08:41:14 +0000 (17:41 +0900)]
remove OP_SET_OPTION/SET_OPTION_PUSH

6 years agoremove SIZE_OP_SET_OPTION
K.Kosako [Tue, 26 Jun 2018 08:38:51 +0000 (17:38 +0900)]
remove SIZE_OP_SET_OPTION

6 years agoremove OP_SET_OPTION and OP_SET_OPTION_PUSH
K.Kosako [Thu, 21 Jun 2018 08:20:49 +0000 (17:20 +0900)]
remove OP_SET_OPTION and OP_SET_OPTION_PUSH