diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | doc/changes.html | 2 | ||||
-rw-r--r-- | doc/install.html | 8 | ||||
-rw-r--r-- | doc/luajit.html | 2 | ||||
-rw-r--r-- | doc/running.html | 14 | ||||
-rw-r--r-- | doc/status.html | 11 | ||||
-rw-r--r-- | etc/luajit.pc | 2 | ||||
-rw-r--r-- | src/luaconf.h | 4 | ||||
-rw-r--r-- | src/luajit.h | 4 |
10 files changed, 21 insertions, 30 deletions
@@ -16,7 +16,7 @@ | |||
16 | MAJVER= 2 | 16 | MAJVER= 2 |
17 | MINVER= 0 | 17 | MINVER= 0 |
18 | RELVER= 0 | 18 | RELVER= 0 |
19 | PREREL= -beta10 | 19 | PREREL= -beta11 |
20 | VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL) | 20 | VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL) |
21 | ABIVER= 5.1 | 21 | ABIVER= 5.1 |
22 | 22 | ||
@@ -1,4 +1,4 @@ | |||
1 | README for LuaJIT 2.0.0-beta10 | 1 | README for LuaJIT 2.0.0-beta11 |
2 | ------------------------------ | 2 | ------------------------------ |
3 | 3 | ||
4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. | 4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. |
diff --git a/doc/changes.html b/doc/changes.html index 20c2fc59..2bc1171a 100644 --- a/doc/changes.html +++ b/doc/changes.html | |||
@@ -63,7 +63,7 @@ div.major { max-width: 600px; padding: 1em; margin: 1em 0 1em 0; } | |||
63 | <div id="main"> | 63 | <div id="main"> |
64 | <p> | 64 | <p> |
65 | This is a list of changes between the released versions of LuaJIT.<br> | 65 | This is a list of changes between the released versions of LuaJIT.<br> |
66 | The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta10</strong>.<br> | 66 | The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta11</strong>.<br> |
67 | The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.8</strong>. | 67 | The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.8</strong>. |
68 | </p> | 68 | </p> |
69 | <p> | 69 | <p> |
diff --git a/doc/install.html b/doc/install.html index ab2cdda5..c74a57c7 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -188,8 +188,8 @@ open a terminal window and change to this directory. Now unpack the archive | |||
188 | and change to the newly created directory: | 188 | and change to the newly created directory: |
189 | </p> | 189 | </p> |
190 | <pre class="code"> | 190 | <pre class="code"> |
191 | tar zxf LuaJIT-2.0.0-beta10.tar.gz | 191 | tar zxf LuaJIT-2.0.0-beta11.tar.gz |
192 | cd LuaJIT-2.0.0-beta10</pre> | 192 | cd LuaJIT-2.0.0-beta11</pre> |
193 | <h3>Building LuaJIT</h3> | 193 | <h3>Building LuaJIT</h3> |
194 | <p> | 194 | <p> |
195 | The supplied Makefiles try to auto-detect the settings needed for your | 195 | The supplied Makefiles try to auto-detect the settings needed for your |
@@ -239,11 +239,11 @@ Obviously the prefixes given during build and installation need to be the same. | |||
239 | <p style="color: #c00000;"> | 239 | <p style="color: #c00000;"> |
240 | Note: to avoid overwriting a previous version, the beta test releases | 240 | Note: to avoid overwriting a previous version, the beta test releases |
241 | only install the LuaJIT executable under the versioned name (i.e. | 241 | only install the LuaJIT executable under the versioned name (i.e. |
242 | <tt>luajit-2.0.0-beta10</tt>). You probably want to create a symlink | 242 | <tt>luajit-2.0.0-beta11</tt>). You probably want to create a symlink |
243 | for convenience, with a command like this: | 243 | for convenience, with a command like this: |
244 | </p> | 244 | </p> |
245 | <pre class="code" style="color: #c00000;"> | 245 | <pre class="code" style="color: #c00000;"> |
246 | sudo ln -sf luajit-2.0.0-beta10 /usr/local/bin/luajit | 246 | sudo ln -sf luajit-2.0.0-beta11 /usr/local/bin/luajit |
247 | </pre> | 247 | </pre> |
248 | 248 | ||
249 | <h2 id="windows">Windows Systems</h2> | 249 | <h2 id="windows">Windows Systems</h2> |
diff --git a/doc/luajit.html b/doc/luajit.html index 9ab12899..5d021355 100644 --- a/doc/luajit.html +++ b/doc/luajit.html | |||
@@ -197,7 +197,7 @@ cross-language benchmarks since its first release — often by a | |||
197 | substantial margin. | 197 | substantial margin. |
198 | </p> | 198 | </p> |
199 | <p> | 199 | <p> |
200 | For <b>LuaJIT 2.0</b> the whole VM has been rewritten from the ground up | 200 | For <b>LuaJIT 2.0</b>, the whole VM has been rewritten from the ground up |
201 | and relentlessly optimized for performance. It combines a <b>high-speed | 201 | and relentlessly optimized for performance. It combines a <b>high-speed |
202 | interpreter</b>, written in assembler, with a <b>state-of-the-art JIT | 202 | interpreter</b>, written in assembler, with a <b>state-of-the-art JIT |
203 | compiler</b>. | 203 | compiler</b>. |
diff --git a/doc/running.html b/doc/running.html index eddb7ad7..8dd935aa 100644 --- a/doc/running.html +++ b/doc/running.html | |||
@@ -89,16 +89,12 @@ interactive mode, too. | |||
89 | <p class="indent" style="color: #c00000;"> | 89 | <p class="indent" style="color: #c00000;"> |
90 | Note: the beta test releases only install under the versioned name on | 90 | Note: the beta test releases only install under the versioned name on |
91 | POSIX systems (to avoid overwriting a previous version). You either need | 91 | POSIX systems (to avoid overwriting a previous version). You either need |
92 | to type <tt>luajit-2.0.0-beta10</tt> to start it or create a symlink | 92 | to type <tt>luajit-2.0.0-beta11</tt> to start it or create a symlink |
93 | with a command like this: | 93 | with a command like this: |
94 | </p> | 94 | </p> |
95 | <pre class="code" style="color: #c00000;"> | 95 | <pre class="code" style="color: #c00000;"> |
96 | sudo ln -sf luajit-2.0.0-beta10 /usr/local/bin/luajit | 96 | sudo ln -sf luajit-2.0.0-beta11 /usr/local/bin/luajit |
97 | </pre> | 97 | </pre> |
98 | <p> | ||
99 | Unlike previous versions <b>optimization is turned on by default</b> in | ||
100 | LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit -O</tt>. | ||
101 | </p> | ||
102 | 98 | ||
103 | <h2 id="options">Command Line Options</h2> | 99 | <h2 id="options">Command Line Options</h2> |
104 | <p> | 100 | <p> |
@@ -199,7 +195,7 @@ itself. For a description of their options and output format, please | |||
199 | read the comment block at the start of their source. | 195 | read the comment block at the start of their source. |
200 | They can be found in the <tt>lib</tt> directory of the source | 196 | They can be found in the <tt>lib</tt> directory of the source |
201 | distribution or installed under the <tt>jit</tt> directory. By default | 197 | distribution or installed under the <tt>jit</tt> directory. By default |
202 | this is <tt>/usr/local/share/luajit-2.0.0-beta10/jit</tt> on POSIX | 198 | this is <tt>/usr/local/share/luajit-2.0.0-beta11/jit</tt> on POSIX |
203 | systems. | 199 | systems. |
204 | </p> | 200 | </p> |
205 | 201 | ||
@@ -221,6 +217,10 @@ optimizations and higher numbers enable more optimizations. Omitting | |||
221 | the level (i.e. just <tt>-O</tt>) sets the default optimization level, | 217 | the level (i.e. just <tt>-O</tt>) sets the default optimization level, |
222 | which is <tt>-O3</tt> in the current version. | 218 | which is <tt>-O3</tt> in the current version. |
223 | </p> | 219 | </p> |
220 | <p style="font-size: 8pt;"> | ||
221 | Note: Unlike previous versions, <b>optimization is turned on by default</b> in | ||
222 | LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit -O</tt>. | ||
223 | </p> | ||
224 | <p> | 224 | <p> |
225 | The second form adds or removes individual optimization flags. | 225 | The second form adds or removes individual optimization flags. |
226 | The third form sets a parameter for the VM or the JIT compiler | 226 | The third form sets a parameter for the VM or the JIT compiler |
diff --git a/doc/status.html b/doc/status.html index 6bb4df89..574cf3ce 100644 --- a/doc/status.html +++ b/doc/status.html | |||
@@ -62,20 +62,11 @@ ul li { padding-bottom: 0.3em; } | |||
62 | </div> | 62 | </div> |
63 | <div id="main"> | 63 | <div id="main"> |
64 | <p> | 64 | <p> |
65 | The <span style="color: #0000c0;">LuaJIT 1.x</span> series represents | ||
66 | the current <span style="color: #0000c0;">stable branch</span>. | ||
67 | Only a single bug has been discovered in the last three years. So, if | ||
68 | you need a rock-solid VM, you are encouraged to fetch the latest | ||
69 | release of LuaJIT 1.x from the <a href="http://luajit.org/download.html"><span class="ext">»</span> Download</a> | ||
70 | page. | ||
71 | </p> | ||
72 | <p> | ||
73 | <span style="color: #c00000;">LuaJIT 2.0</span> is the currently active | 65 | <span style="color: #c00000;">LuaJIT 2.0</span> is the currently active |
74 | <span style="color: #c00000;">development branch</span> in beta test. | 66 | <span style="color: #c00000;">development branch</span> in beta test. |
75 | It has <a href="http://luajit.org/performance.html"><span class="ext">»</span> much better performance</a> than | 67 | It has <a href="http://luajit.org/performance.html"><span class="ext">»</span> much better performance</a> than |
76 | LuaJIT 1.x and runs on many more platforms and architectures. | 68 | LuaJIT 1.x and runs on many more platforms and architectures. |
77 | It's nearing a stable release, so you should definitely | 69 | The branch has already been frozen as it's nearing a stable release. |
78 | start to evaluate it for new projects right now. | ||
79 | </p> | 70 | </p> |
80 | 71 | ||
81 | <h2>Current Status</h2> | 72 | <h2>Current Status</h2> |
diff --git a/etc/luajit.pc b/etc/luajit.pc index 9fc4754a..6d4413c8 100644 --- a/etc/luajit.pc +++ b/etc/luajit.pc | |||
@@ -2,7 +2,7 @@ | |||
2 | majver=2 | 2 | majver=2 |
3 | minver=0 | 3 | minver=0 |
4 | relver=0 | 4 | relver=0 |
5 | version=${majver}.${minver}.${relver}-beta10 | 5 | version=${majver}.${minver}.${relver}-beta11 |
6 | abiver=5.1 | 6 | abiver=5.1 |
7 | 7 | ||
8 | prefix=/usr/local | 8 | prefix=/usr/local |
diff --git a/src/luaconf.h b/src/luaconf.h index 7e084e7c..df70be2c 100644 --- a/src/luaconf.h +++ b/src/luaconf.h | |||
@@ -30,12 +30,12 @@ | |||
30 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" | 30 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" |
31 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | 31 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
32 | #ifdef LUA_XROOT | 32 | #ifdef LUA_XROOT |
33 | #define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta10/" | 33 | #define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta11/" |
34 | #define LUA_XPATH \ | 34 | #define LUA_XPATH \ |
35 | ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" | 35 | ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" |
36 | #define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;" | 36 | #define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;" |
37 | #else | 37 | #else |
38 | #define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta10/" | 38 | #define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta11/" |
39 | #define LUA_XPATH | 39 | #define LUA_XPATH |
40 | #define LUA_XCPATH | 40 | #define LUA_XCPATH |
41 | #endif | 41 | #endif |
diff --git a/src/luajit.h b/src/luajit.h index 10e926e1..d4d0e9e3 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
@@ -30,9 +30,9 @@ | |||
30 | 30 | ||
31 | #include "lua.h" | 31 | #include "lua.h" |
32 | 32 | ||
33 | #define LUAJIT_VERSION "LuaJIT 2.0.0-beta10" | 33 | #define LUAJIT_VERSION "LuaJIT 2.0.0-beta11" |
34 | #define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */ | 34 | #define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */ |
35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta10 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta11 |
36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2012 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2012 Mike Pall" |
37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "http://luajit.org/" |
38 | 38 | ||