Skip to content

Commit ac081eb

Browse files
committed
Merge branch 'develop'
2 parents f390a30 + fa29064 commit ac081eb

File tree

1,134 files changed

+7085
-3635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,134 files changed

+7085
-3635
lines changed

Readme-en.md

+41-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,36 @@
22
[ languages: [中文](Readme.md), [English](Readme-en.md) ]
33

44
### lastest release ###
5-
version:1.13.4.1001
5+
version:1.13.5.1001
66

7-
32 bit: http://pan.baidu.com/s/1c27yqA0
7+
32 bit: http://pan.baidu.com/s/1c1JvOli
88

9-
64 bit: http://pan.baidu.com/s/1pLwS3Wn
9+
64 bit: http://pan.baidu.com/s/1dFbAAnZ
1010

11-
>Publish Time: 2017-08-16
11+
>Publish Time: 2017-09-28
1212
1313
>Changelog:
14+
> Moules:
15+
- upgrade echo-nginx-module to 0.61
16+
- upgrade ngx_postgres to 1.0
17+
- upgrade ngx_lua_upstream to 0.07
18+
- upgrade ngx-lua-module to 0.10.10
19+
- upgrade LuaJIT to 2.1-20170808
20+
1421
> Libs:
15-
- upgrade openssl to 1.0.2l
16-
- upgrade pcre lib to 8.41
22+
- upgrade lua-resty-core to 0.1.12
23+
- upgrade lua-resty-dns to 0.19
24+
- upgrade lua-resty-limit-traffic to 0.04
25+
- upgrade lua-resty-lock to 0.07
26+
- upgrade lua-resty-mysql to 0.20
27+
- upgrade lua-resty-string to 0.10
28+
- upgrade lua-resty-upstream-healthcheck to 0.05
29+
30+
- upgrade resty-cli to 0.19
31+
1732

1833
> Nginx core:
19-
- upgrade nginx core to 1.13.4
34+
- upgrade nginx core to 1.13.5
2035

2136

2237

@@ -604,4 +619,22 @@ version:1.13.0.1001
604619
- upgrade resty-cli to 0.17
605620

606621
> Nginx core:
607-
- upgrade nginx core to 1.13.0
622+
- upgrade nginx core to 1.13.0
623+
624+
625+
626+
version:1.13.4.1001
627+
628+
32 bit: http://pan.baidu.com/s/1c27yqA0
629+
630+
64 bit: http://pan.baidu.com/s/1pLwS3Wn
631+
632+
>Publish Time: 2017-08-16
633+
634+
>Changelog:
635+
> Libs:
636+
- upgrade openssl to 1.0.2l
637+
- upgrade pcre lib to 8.41
638+
639+
> Nginx core:
640+
- upgrade nginx core to 1.13.4

Readme.md

+38-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,33 @@
22
[ 语言: [English](Readme-en.md), [中文](Readme.md)]
33

44
### 最新版本 ###
5-
版本号:1.13.4.1001
5+
版本号:1.13.5.1001
66

7-
32 位下载地址: http://pan.baidu.com/s/1c27yqA0
7+
32 位下载地址: http://pan.baidu.com/s/1c1JvOli
88

9-
64 位下载地址: http://pan.baidu.com/s/1pLwS3Wn
9+
64 位下载地址: http://pan.baidu.com/s/1dFbAAnZ
1010

11-
> 发布时间: 2017-08-16
11+
> 发布时间: 2017-09-28
1212
1313
> 修改日志:
14+
> 模块:
15+
- 更新 echo-nginx-module 到 0.61
16+
- 更新 ngx_postgres 到 1.0
17+
- 更新 ngx_lua_upstream 到 0.07
18+
- 更新 ngx-lua-module 到 0.10.10
19+
- 更新 LuaJIT 到 2.1-20170808
20+
1421
> 库:
15-
- 更新 openssl 到 1.0.2l
16-
- 更新 pcre 到 8.41
22+
- 更新 lua-resty-core 到 0.1.12
23+
- 更新 lua-resty-dns 到 0.19
24+
- 更新 lua-resty-limit-traffic 到 0.04
25+
- 更新 lua-resty-lock 到 0.07
26+
- 更新 lua-resty-mysql 到 0.20
27+
- 更新 lua-resty-string 到 0.10
28+
- 更新 lua-resty-upstream-healthcheck 到 0.05
1729

1830
> Nginx 核心:
19-
- 更新 nginx core 到 1.13.4
31+
- 更新 nginx core 到 1.13.5
2032

2133

2234

@@ -604,4 +616,22 @@ Version:1.9.7.1001
604616
- 更新 resty-cli 到 0.17
605617

606618
> Nginx 核心:
607-
- 更新 nginx core 到 1.13.0
619+
- 更新 nginx core 到 1.13.0
620+
621+
622+
版本号:1.13.4.1001
623+
624+
32 位下载地址: http://pan.baidu.com/s/1c27yqA0
625+
626+
64 位下载地址: http://pan.baidu.com/s/1pLwS3Wn
627+
628+
> 发布时间: 2017-08-16
629+
630+
> 修改日志:
631+
> 库:
632+
- 更新 openssl 到 1.0.2l
633+
- 更新 pcre 到 8.41
634+
635+
> Nginx 核心:
636+
- 更新 nginx core 到 1.13.4
637+

src/LuaJIT/.travis.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
sudo: required
2+
dist: trusty
3+
4+
os: linux
5+
6+
language: c
7+
8+
compiler:
9+
- gcc
10+
- clang
11+
12+
addons:
13+
apt:
14+
packages:
15+
- axel
16+
- cpanminus
17+
- libtest-base-perl
18+
- libtext-diff-perl
19+
- libtest-longstring-perl
20+
- liblist-moreutils-perl
21+
- libparallel-forkmanager-perl
22+
- libgd-dev
23+
- libmpc-dev
24+
- build-essential
25+
- libgtk2.0-dev
26+
- valgrind
27+
28+
env:
29+
global:
30+
- JOBS=3
31+
- LUAJIT_PREFIX=/opt/luajit21
32+
- LUAJIT_SYSM_PREFIX=/opt/luajit21-sysm
33+
34+
install:
35+
- git clone https://github.com/openresty/luajit2-test-suite.git ../luajit2-test-suite
36+
37+
script:
38+
- valgrind --version
39+
- make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT -DLUAJIT_NUMMODE=2 -msse4.2 -O1' > build.log 2>&1 || (cat build.log && exit 1)
40+
- sudo make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1)
41+
- cd ../luajit2-test-suite
42+
- ./run-tests -j $JOBS $LUAJIT_PREFIX
43+
- echo "starting valgrind mod"
44+
- cd ../luajit2
45+
- make clean
46+
- make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_SYSM_PREFIX CC=$CC XCFLAGS='-DLUAJIT_NUMMODE=2 -DLUA_USE_APICHECK -DLUA_USE_ASSERT -DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -O1 -msse4.2' > build.log 2>&1 || (cat build.log && exit 1)
47+
- sudo make install PREFIX=$LUAJIT_SYSM_PREFIX > build.log 2>&1 || (cat build.log && exit 1)
48+
- cd ../luajit2-test-suite
49+
- ./run-tests -j $JOBS -v $LUAJIT_SYSM_PREFIX

src/LuaJIT/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
MAJVER= 2
1717
MINVER= 1
1818
RELVER= 0
19-
PREREL= -beta2
19+
PREREL= -beta3
2020
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
2121
ABIVER= 5.1
2222

src/LuaJIT/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README for LuaJIT 2.1.0-beta2
1+
README for LuaJIT 2.1.0-beta3
22
-----------------------------
33

44
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

src/LuaJIT/doc/changes.html

+67-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h1>LuaJIT Change History</h1>
6565
<div id="main">
6666
<p>
6767
This is a list of changes between the released versions of LuaJIT.<br>
68-
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT&nbsp;2.0.4</strong>.<br>
68+
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT&nbsp;2.0.5</strong>.<br>
6969
</p>
7070
<p>
7171
Please check the
@@ -74,6 +74,30 @@ <h1>LuaJIT Change History</h1>
7474
</p>
7575

7676
<div class="major" style="background: #d0d0ff;">
77+
<h2 id="LuaJIT-2.1.0-beta3">LuaJIT 2.1.0-beta3 &mdash; 2017-05-01</h2>
78+
<ul>
79+
<li>Rewrite memory block allocator.</li>
80+
<li>Add various extension from Lua 5.2/5.3.</li>
81+
<li>Remove old Lua 5.0 compatibility defines.</li>
82+
<li>Set arg table before evaluating <tt>LUA_INIT</tt> and <tt>-e</tt> chunks.</li>
83+
<li>Fix FOLD rules for <tt>math.abs()</tt> and FP negation.</li>
84+
<li>Fix soft-float <tt>math.abs()</tt> and negation.</li>
85+
<li>Fix formatting of some small denormals at low precision.</li>
86+
<li>LJ_GC64: Add JIT compiler support.</li>
87+
<li>x64/LJ_GC64: Add JIT compiler backend.</li>
88+
<li>x86/x64: Generate BMI2 shifts and rotates, if available.</li>
89+
<li>Windows/x86: Add full exception interoperability.</li>
90+
<li>ARM64: Add big-endian support.</li>
91+
<li>ARM64: Add JIT compiler backend.</li>
92+
<li>MIPS: Fix <tt>TSETR</tt> barrier.</li>
93+
<li>MIPS: Support MIPS16 interlinking.</li>
94+
<li>MIPS soft-float: Fix code generation for <tt>HREF</tt>.</li>
95+
<li>MIPS64: Add MIPS64 hard-float JIT compiler backend.</li>
96+
<li>MIPS64: Add MIPS64 hard-float/soft-float support to interpreter.</li>
97+
<li>FFI: Compile bitfield loads/stores.</li>
98+
<li>Various fixes common with the 2.0 branch.</li>
99+
</ul>
100+
77101
<h2 id="LuaJIT-2.1.0-beta2">LuaJIT 2.1.0-beta2 &mdash; 2016-03-03</h2>
78102
<ul>
79103
<li>Enable trace stitching.</li>
@@ -140,6 +164,48 @@ <h2 id="LuaJIT-2.1.0-beta1">LuaJIT 2.1.0-beta1 &mdash; 2015-08-25</h2>
140164
</div>
141165

142166
<div class="major" style="background: #ffffd0;">
167+
<h2 id="LuaJIT-2.0.5">LuaJIT 2.0.5 &mdash; 2017-05-01</h2>
168+
<ul>
169+
<li>Add workaround for MSVC 2015 stdio changes.</li>
170+
<li>Limit mcode alloc probing, depending on the available pool size.</li>
171+
<li>Fix overly restrictive range calculation in mcode allocation.</li>
172+
<li>Fix out-of-scope goto handling in parser.</li>
173+
<li>Remove internal <tt>__mode = "K"</tt> and replace with safe check.</li>
174+
<li>Add "proto" field to <tt>jit.util.funcinfo()</tt>.</li>
175+
<li>Fix GC step size calculation.</li>
176+
<li>Initialize <tt>uv-&gt;immutable</tt> for upvalues of loaded chunks.</li>
177+
<li>Fix for cdata vs. non-cdata arithmetics/comparisons.</li>
178+
<li>Drop leftover regs in 'for' iterator assignment, too.</li>
179+
<li>Fix PHI remarking in SINK pass.</li>
180+
<li>Don't try to record outermost <tt>pcall()</tt> return to lower frame.</li>
181+
<li>Add guard for obscure aliasing between open upvalues and SSA slots.</li>
182+
<li>Remove assumption that <tt>lj_math_random_step()</tt> doesn't clobber FPRs.</li>
183+
<li>Fix handling of non-numeric strings in arithmetic coercions.</li>
184+
<li>Fix recording of <tt>select(n, ...)</tt> with off-trace varargs</li>
185+
<li>Fix install for cross-builds.</li>
186+
<li>Don't allocate unused 2nd result register in JIT compiler backend.</li>
187+
<li>Drop marks from replayed instructions when sinking.</li>
188+
<li>Fix unsinking check.</li>
189+
<li>Properly handle OOM in <tt>trace_save()</tt>.</li>
190+
<li>Limit number of arguments given to <tt>io.lines()</tt> and <tt>fp:lines()</tt>.</li>
191+
<li>Fix narrowing of <tt>TOBIT</tt>.</li>
192+
<li>OSX: Fix build with recent XCode.</li>
193+
<li>x86/x64: Don't spill an explicit <tt>REF_BASE</tt> in the IR.</li>
194+
<li>x86/x64: Fix instruction length decoder.</li>
195+
<li>x86/x64: Search for exit jumps with instruction length decoder.</li>
196+
<li>ARM: Fix <tt>BLX</tt> encoding for Thumb interworking calls.</li>
197+
<li>MIPS: Don't use <tt>RID_GP</tt> as a scratch register.</li>
198+
<li>MIPS: Fix emitted code for U32 to float conversion.</li>
199+
<li>MIPS: Backport workaround for compact unwind tables.</li>
200+
<li>MIPS: Fix cross-endian jit.bcsave.</li>
201+
<li>MIPS: Fix <tt>BC_ISNEXT</tt> fallback path.</li>
202+
<li>MIPS: Fix use of ffgccheck delay slots in interpreter.</li>
203+
<li>FFI: Fix FOLD rules for <tt>int64_t</tt> comparisons.</li>
204+
<li>FFI: Fix SPLIT pass for <tt>CONV i64.u64</tt>.</li>
205+
<li>FFI: Fix <tt>ipairs()</tt> recording.</li>
206+
<li>FFI: Don't propagate qualifiers into subtypes of complex.</li>
207+
</ul>
208+
143209
<h2 id="LuaJIT-2.0.4">LuaJIT 2.0.4 &mdash; 2015-05-14</h2>
144210
<ul>
145211
<li>Fix stack check in narrowing optimization.</li>

src/LuaJIT/doc/ext_ffi_semantics.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -1221,13 +1221,12 @@ <h2 id="status">Current Status</h2>
12211221
suboptimal performance, especially when used in inner loops:
12221222
</p>
12231223
<ul>
1224-
<li>Bitfield accesses and initializations.</li>
12251224
<li>Vector operations.</li>
12261225
<li>Table initializers.</li>
12271226
<li>Initialization of nested <tt>struct</tt>/<tt>union</tt> types.</li>
12281227
<li>Non-default initialization of VLA/VLS or large C&nbsp;types
12291228
(&gt; 128&nbsp;bytes or &gt; 16 array elements.</li>
1230-
<li>Conversions from lightuserdata to <tt>void&nbsp;*</tt>.</li>
1229+
<li>Bitfield initializations.</li>
12311230
<li>Pointer differences for element sizes that are not a power of
12321231
two.</li>
12331232
<li>Calls to C&nbsp;functions with aggregates passed or returned by

src/LuaJIT/doc/extensions.html

+9
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,13 @@ <h2 id="lua52">Extensions from Lua 5.2</h2>
313313
C&nbsp;functions.</li>
314314
<li><tt>debug.upvalueid()</tt> and <tt>debug.upvaluejoin()</tt>.</li>
315315
<li>Lua/C API extensions:
316+
<tt>lua_version()</tt>
316317
<tt>lua_upvalueid()</tt>
317318
<tt>lua_upvaluejoin()</tt>
318319
<tt>lua_loadx()</tt>
320+
<tt>lua_copy()</tt>
321+
<tt>lua_tonumberx()</tt>
322+
<tt>lua_tointegerx()</tt>
319323
<tt>luaL_fileresult()</tt>
320324
<tt>luaL_execresult()</tt>
321325
<tt>luaL_loadfilex()</tt>
@@ -325,6 +329,8 @@ <h2 id="lua52">Extensions from Lua 5.2</h2>
325329
<tt>luaL_pushmodule()</tt>
326330
<tt>luaL_newlibtable()</tt>
327331
<tt>luaL_newlib()</tt>
332+
<tt>luaL_testudata()</tt>
333+
<tt>luaL_setmetatable()</tt>
328334
</li>
329335
<li>Command line option <tt>-E</tt>.</li>
330336
<li>Command line checks <tt>__tostring</tt> for errors.</li>
@@ -370,6 +376,9 @@ <h2 id="lua53">Extensions from Lua 5.3</h2>
370376
<li><tt>io.read()</tt> and <tt>file:read()</tt> accept formats with or without a leading <tt>*</tt>.</li>
371377
<li><tt>table.move(a1, f, e, t [,a2])</tt>.</li>
372378
<li><tt>coroutine.isyieldable()</tt>.</li>
379+
<li>Lua/C API extensions:
380+
<tt>lua_isyieldable()</tt>
381+
</li>
373382
</ul>
374383

375384
<h2 id="exceptions">C++ Exception Interoperability</h2>

src/LuaJIT/doc/install.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ <h3>Prerequisites</h3>
198198
and change to the newly created directory:
199199
</p>
200200
<pre class="code">
201-
tar zxf LuaJIT-2.0.4.tar.gz
202-
cd LuaJIT-2.0.4</pre>
201+
tar zxf LuaJIT-2.0.5.tar.gz
202+
cd LuaJIT-2.0.5</pre>
203203
<h3>Building LuaJIT</h3>
204204
<p>
205205
The supplied Makefiles try to auto-detect the settings needed for your

src/LuaJIT/doc/running.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h3 id="opt_j"><tt>-j cmd[=arg[,arg...]]</tt></h3>
189189
read the comment block at the start of their source.
190190
They can be found in the <tt>lib</tt> directory of the source
191191
distribution or installed under the <tt>jit</tt> directory. By default
192-
this is <tt>/usr/local/share/luajit-2.0.4/jit</tt> on POSIX
192+
this is <tt>/usr/local/share/luajit-2.0.5/jit</tt> on POSIX
193193
systems.
194194
</p>
195195

src/LuaJIT/etc/luajit.pc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
majver=2
33
minver=1
44
relver=0
5-
version=${majver}.${minver}.${relver}-beta2
5+
version=${majver}.${minver}.${relver}-beta3
66
abiver=5.1
77

88
prefix=/usr/local

src/LuaJIT/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ TARGET_CC= $(STATIC_CC)
209209
TARGET_STCC= $(STATIC_CC)
210210
TARGET_DYNCC= $(DYNAMIC_CC)
211211
TARGET_LD= $(CROSS)$(CC)
212-
TARGET_AR= $(CROSS)ar rcus 2>/dev/null
212+
TARGET_AR= $(CROSS)ar rcus
213213
TARGET_STRIP= $(CROSS)strip
214214

215215
TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib)
@@ -308,6 +308,7 @@ ifeq (Windows,$(TARGET_SYS))
308308
TARGET_XSHLDFLAGS= -shared
309309
TARGET_DYNXLDOPTS=
310310
else
311+
TARGET_AR+= 2>/dev/null
311312
ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
312313
TARGET_XCFLAGS+= -fno-stack-protector
313314
endif

0 commit comments

Comments
 (0)