Wohlstand
e876ae06a2
Fixed ANSI-C compatibility in lj_fopen.c
2016-03-25 00:53:13 +03:00
Wohlstand
7115753e47
Allow UTF-8 paths on Windows
...
A paths trouble appears on Windows OS when program which uses luajit is placed in a path which contains non-ASCII characters.
Usually on Linux, OS X and other posix and unix-like platforms paths are encoded as UTF-8, therefore no troubles with fopen() function.
On modern Windows versions all paths are encoded as UTF-16LE and also fopen() function on Windows always accepts ANSI-encoded paths,
therefore because a codepage mismatch, fopen() think that file is not exists.
To resolve this trouble need to convert accepted path into UTF-16 from UTF-8 and use _wfopen() which accepts UTF-16 paths.
_lua_fopen() and _lua_freopen() functions are made to allow support of UTF-8 paths
on Windows, on any other platforms there are a macros over standard fopen/freopen functions.
2016-03-24 19:15:06 +03:00
Mike Pall
713e34054f
Merge branch 'master' into v2.1
2016-03-22 22:22:51 +01:00
Mike Pall
7e05355a08
Fix install for cross-builds.
2016-03-22 22:22:43 +01:00
Mike Pall
cf3e01e136
Merge branch 'master' into v2.1
2016-03-22 20:42:00 +01:00
Mike Pall
ddadbe8099
Fix compiler warnings.
...
Thanks to Demetri Obenour.
2016-03-22 20:40:41 +01:00
Mike Pall
be2559291e
ARM: Fix build problem with external frame unwinding.
2016-03-15 11:27:06 +01:00
Mike Pall
64c6da6b21
MIPS soft-float: Fix code generation for HREF.
2016-03-10 17:08:55 +01:00
Mike Pall
75d046dbdd
DynASM/x86: Add ADX instructions.
...
Thanks to Peter Cawley.
2016-03-06 12:25:03 +01:00
Mike Pall
3e4a196777
RELEASE LuaJIT-2.1.0-beta2
2016-03-03 12:40:02 +01:00
Mike Pall
82900761be
Update changelog.
2016-03-03 12:29:01 +01:00
Mike Pall
f4231949b5
Merge branch 'master' into v2.1
2016-03-03 12:11:37 +01:00
Mike Pall
db1b399af1
Bump copyright date to 2016.
2016-03-03 12:02:22 +01:00
Mike Pall
6f3eed9fd8
Fix Android/x86 build.
2016-03-03 11:46:48 +01:00
Mike Pall
1c45c6a6a2
Fix build with JIT disabled.
...
Thanks to Peter Melnichenko.
2016-03-01 13:26:42 +01:00
Mike Pall
18f6aa97fd
Use internal implementation for converting FP numbers to strings.
...
Contributed by Peter Cawley.
2016-02-26 18:03:08 +01:00
Mike Pall
339a1fd696
Windows/x64/LJ_GC64: Fix math.frexp() and math.modf().
...
Thanks to Eddie Edwards.
2016-02-22 19:14:20 +01:00
Mike Pall
6cb38f788f
Merge branch 'master' into v2.1
2016-02-10 18:53:42 +01:00
Mike Pall
a443889677
Don't allocate unused 2nd result register in JIT compiler backend.
2016-02-10 18:51:02 +01:00
Mike Pall
f547a1425e
MIPS: Add soft-float support to JIT compiler backend.
2016-02-10 18:49:22 +01:00
Mike Pall
825dcdc4d1
Generalize LJ_SOFTFP dependencies in lj_asm.c.
2016-02-09 17:29:23 +01:00
Mike Pall
bfbcd72eb7
PS4: Switch default build to amalgamated and LJ_GC64 mode.
...
Thanks to Eddie Edwards.
2016-02-01 18:18:56 +01:00
Mike Pall
60de2f3d51
MIPS: Switch to dual-number mode. Fix soft-float interpreter.
2016-01-29 07:03:36 +01:00
Mike Pall
2f6b2967c7
Add proper DynASM dependency.
2016-01-18 16:57:30 +01:00
Mike Pall
89982b7849
FFI: Parse #line NN and #NN.
2016-01-18 12:34:48 +01:00
Mike Pall
39eddd3b96
Always merge snapshots without instructions inbetween.
...
Thanks to Vyacheslav Egorov.
2016-01-18 12:02:01 +01:00
Mike Pall
04d2806823
Rollback due to HREFK + load fwd must restore guardemit state.
...
Thanks to Vyacheslav Egorov.
2016-01-18 11:58:13 +01:00
Mike Pall
22e7b00ddb
DynASM/x64: Fix for full VREG support.
...
Thanks to Peter Cawley.
2015-12-28 17:06:48 +01:00
Mike Pall
52ebe02c27
x86: Disassemble AES instructions.
...
Contributed by Peter Cawley.
2015-12-28 16:46:31 +01:00
Mike Pall
5ce6399ed9
x86: Improve disassembly of AVX shift instructions.
...
Contributed by Peter Cawley.
2015-12-28 16:42:37 +01:00
Mike Pall
cfae3846f8
DynASM/x86: Add AVX AES instructions.
...
Contributed by Peter Cawley.
2015-12-28 16:40:39 +01:00
Mike Pall
f61148c486
ARM: Add external frame unwinding.
...
Thanks to Nick Zavaritsky.
2015-12-28 16:34:11 +01:00
Mike Pall
a687a60eaa
DynASM/x64: Add full VREG support.
...
Contributed by Peter Cawley.
2015-12-28 13:44:13 +01:00
Mike Pall
20f4141b1a
FFI: Properly unsink non-standard cdata allocations.
2015-12-28 13:02:35 +01:00
Mike Pall
0345f36153
MIPS soft-float, part 2: Add soft-float FFI support.
2015-12-18 21:38:03 +01:00
Mike Pall
3f5c72421e
MIPS soft-float, part 1: Add soft-float support to interpreter.
...
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
2015-12-17 22:42:20 +01:00
Mike Pall
126e55d416
Merge branch 'master' into v2.1
2015-11-26 22:26:39 +01:00
Mike Pall
3d4c9f9639
FFI: Fix SPLIT pass for CONV i64.u64.
...
Thanks to Vyacheslav Egorov.
2015-11-26 22:25:13 +01:00
Mike Pall
3a0b2a907b
x64/LJ_GC64: Fix stack growth in vararg function setup.
...
Thanks to Vyacheslav Egorov.
2015-11-18 23:24:50 +01:00
Mike Pall
4f87367b03
Document minimum compiler requirements for 2.1 branch.
2015-11-04 14:13:39 +01:00
Mike Pall
0aa337a41c
Merge branch 'master' into v2.1
2015-11-04 14:09:59 +01:00
Mike Pall
367cba29ea
DynASM/x86: Add rdpmc instruction.
...
Thanks to Cosmin Apreutesei.
2015-11-04 14:04:19 +01:00
Mike Pall
7991a669dd
Extend Valgrind suppressions for non-inlined C code.
...
Thanks to Dennis Schridde.
2015-11-04 14:02:33 +01:00
Mike Pall
0029110ce9
Update changelog.
2015-10-24 19:38:48 +02:00
Mike Pall
42b9c98d42
iOS/ARM64: Add build instructions.
...
Thanks to Vyacheslav Egorov.
2015-10-24 19:35:30 +02:00
Mike Pall
3ad77346df
Merge branch 'master' into v2.1
2015-10-24 19:30:55 +02:00
Mike Pall
1393b2f681
Update build instructions.
2015-10-24 19:24:53 +02:00
Mike Pall
f416cf6a64
OSX: Switch to Clang as the default compiler.
2015-10-24 19:10:40 +02:00
Mike Pall
ffb124ec77
Merge branch 'master' into v2.1
2015-10-24 19:03:14 +02:00
Mike Pall
3639ff4142
iOS: Disable os.execute() when building for iOS >= 8.0.
...
Thanks to Vyacheslav Egorov.
2015-10-24 19:02:15 +02:00