Commit Graph

3486 Commits

Author SHA1 Message Date
Alexey Pelykh
197d4f7f89 Make clean target more robust
Conflicts:

	.gitignore
2013-02-09 09:42:48 +02:00
Alexey Pelykh
f3c443dbfa Fix dword<>qword mistake 2013-02-09 09:42:47 +02:00
Alexey Pelykh
24e1e1a745 Remove empty lines
Conflicts:

	classpath/java-lang.cpp
2013-02-09 09:42:46 +02:00
Alexey Pelykh
b918389672 Support built-in jars when wusing multi-library 2013-02-09 09:42:45 +02:00
Alexey Pelykh
e7ad04fc7a Culture fixes ; Path extensions 2013-02-09 09:42:45 +02:00
Alexey Pelykh
d6a5544f2b getErrorStr() for Windows platforms 2013-02-09 09:42:44 +02:00
Alexey Pelykh
362f4aaa89 Support new WinRT interop 2013-02-09 09:42:43 +02:00
Alexey Pelykh
6376a491b6 Added comments regarding java.io.File.toAbsolute() and WinRT/WP8 2013-02-09 09:42:42 +02:00
Alexey Pelykh
234bba5927 Add notifications about improvements possible 2013-02-09 09:42:41 +02:00
Alexey Pelykh
e358a681b2 WP8/WinRT : Proper absolute path
WP8/WinRT : Last modified time
2013-02-09 09:42:40 +02:00
Alexey Pelykh
11eda6af3e java.io.RandomAccessFile for WinPhone8 / WinRT 2013-02-09 09:42:39 +02:00
Alexey Pelykh
9d8c825cbc Remove debug code 2013-02-09 09:42:38 +02:00
Alexey Pelykh
c3b437a381 Instead of throwing exception, just return initial file name 2013-02-09 09:42:37 +02:00
Alexey Pelykh
74c9f60b98 Fix crash if no avian.boostrap is specified (oops) 2013-02-09 09:42:36 +02:00
Alexey Pelykh
d0ac63292c Fix crash if no avian.boostrap is specified (oops) 2013-02-09 09:42:35 +02:00
Alexey Pelykh
bd2a836395 Fix crash if no avian.boostrap is specified (oops) 2013-02-09 09:42:34 +02:00
Alexey Pelykh
bde33c97f8 Fix crash if no avian.boostrap is specified 2013-02-09 09:42:33 +02:00
Alexey Pelykh
9ed312451a Allow avian.bootstrap to accept multiple libraries 2013-02-09 09:42:32 +02:00
Alexey Pelykh
c13149088e Fix crash on memory validation 2013-02-09 09:42:31 +02:00
Alexey Pelykh
71052fa50c Fix WP8/WinRT ARM build 2013-02-09 09:42:30 +02:00
Alexey Pelykh
c6694287e9 Finally, proper jvm.dll linking for WP8 2013-02-09 09:42:29 +02:00
Alexey Pelykh
d51db00136 Allow output of exceptions to debugger. Generate WinMD file 2013-02-09 09:42:28 +02:00
Alexey Pelykh
aaa60aebff Makefile changes, added additional compiler flags 2013-02-09 09:42:27 +02:00
Alexey Pelykh
4228f69a0d Additional AOT_ONLY ifdef 2013-02-09 09:42:26 +02:00
Alexey Pelykh
acdd297fb2 Fixes to WP8/WinRT support 2013-02-09 09:42:25 +02:00
Alexey Pelykh
5e0b073eff Fix library overwriting ; proper assembler flags 2013-02-09 09:42:24 +02:00
Victor Shcherb
2d11e7ccd4 Add last modified to file 2013-02-09 09:42:23 +02:00
Alexey Pelykh
dca12d3cd0 WinRT/WP8 process=compile 2013-02-09 09:42:22 +02:00
Alexey Pelykh
4d03650544 Replaced TODO comments with messages ; More correct AVIAN_AOT_ONLY usage 2013-02-09 09:42:21 +02:00
Alexey Pelykh
1b43caf815 Makefile fix 2013-02-09 09:42:20 +02:00
Alexey Pelykh
2f2cac556c Windows Phone 8 / Windows RT initial support
Conflicts:

	makefile
2013-02-09 09:42:19 +02:00
Victor Shcherb
cc237b94c4 Fix proguard warnings
Conflicts:

	TODO.if.merge
2013-02-09 09:42:18 +02:00
Victor Shcherb
51e8a00f58 Add android redirect to logcat 2013-02-09 09:42:17 +02:00
Victor Shcherb
c368a8b74a Fix android makefile 2013-02-09 09:42:16 +02:00
Alexey Pelykh
1f77d15040 Path fix 2013-02-09 09:42:15 +02:00
Alexey Pelykh
b1990ba55f Android toolchain 2013-02-09 09:42:14 +02:00
Victor Shcherb
3a42db9f6f Add android platform 2013-02-09 09:42:13 +02:00
Victor Shcherb
c8ca83836a Fix RAF 2013-02-09 09:42:12 +02:00
Alexey Pelykh
f1b2b3f78d RandomAccessFile 2013-02-09 09:42:12 +02:00
Victor Shcherb
d6aff87ef9 Add java lang math methods 2013-02-09 09:42:11 +02:00
Alexey Pelykh
85ce7696ca java.lang.Math.log() and java.lang.Math.tan() 2013-02-09 09:42:10 +02:00
Joel Dice
07e3294937 use rpath=$ORIGIN instead of LD_LIBRARY_PATH
Hi

If libjvm.so is in the same directory as avian-dynamic, then there's
no need for LD_LIBRARY_PATH to include that directory, we can just set
the rpath in avian-dynamic to $ORIGIN when linking it. Working patch
attached.

Regards
Damjan
2013-02-08 09:34:26 -07:00
Joel Dice
f9b3be0301 fix format string in loadLibrary call to snprintf
"%*s" means "at least", whereas "%.*s" means at most, and the latter
is what I intended.  This only became noticable as of 9f22a70, when I
added another directory to the library path, which caused loadLibrary
to fail to find libraries in either directory.
2013-02-08 08:24:06 -07:00
Joel Dice
6d4f797b66 fix handling of non-ascii characters in filenames on Windows 2013-02-07 11:39:04 -07:00
Joel Dice
b38eecbefa specify O_BINARY when opening files on Windows 2013-02-07 11:35:48 -07:00
Joel Dice
5241660463 fix SIGSEGV and off-by-one error in logDebug
We must use separate va_start/va_end pairs for each call to vsnprintf
on Linux and possibly other platforms in order to avoid a crash.
Also, we need to give it room to null terminate the string at the
right point.
2013-02-07 09:33:22 -07:00
Joel Dice
ef11cd1d8d rename clean to clean-current, and clean-all back to clean
This way, the clean target continues to do what it always did: delete
the whole build directory.  You can use clean-current to just delete
the currently-configured build directory.
2013-02-07 09:33:21 -07:00
Joel Dice
82d4ced160 specify UTF-8 encoding to javac
This fixes "illegal character" errors when compiling e.g. Misc.java on
systems where the default encoding is not UTF-8.
2013-02-07 09:33:21 -07:00
Joel Dice
d97fe5304f use THREAD_RUNTIME_ARRAY instead of RUNTIME_ARRAY where appropriate
This ensures that if the stack is unwound for an exception we'll still
release the memory.
2013-02-07 09:33:20 -07:00
Alexey Pelykh
f2d2c9af29 Fix for windows ::open 2013-02-07 11:43:39 +02:00