WP8/WinRT support preview (take two) - #33
Conversation
|
Thanks, Alexey. This looks really good. I have a few comments:
I'd like to address these issues before I merge the changes. If you'd like to do that, let me know. Otherwise, I'll work on it when I get a chance. |
|
|
On Mon, 4 Feb 2013, Alexey Pelykh wrote:
Ah, yes, I misread it. Still, I feel like it could be abstracted away e.g. void fprintf(stderr, "%s", buffer); |
|
It can be done, but then that method will be completely rewritten, since you don't have a single format string |
|
On Mon, 4 Feb 2013, Alexey Pelykh wrote:
I don't understand what you mean by that. I'm attaching a patch to show Note that logDebug would protably need to take a FILE* too, so we can pass |
|
Ah, got it. Ok, I'll update that soon |
|
It would be awesome if you could advise something on previous issue regarding performance. |
|
That should be good now, also rebased |
|
Thanks, Alexey. Can this branch actually be compiled for WinRT/WP8 by itself, or is additional code needed (e.g. avian-interop.h)? |
|
Same relation as your "win32" repo has. |
|
Ah, yes, sorry -- you answered that earlier. I'll do some more testing and then push it if it looks good. |
|
Hi Alexey. I've done some testing and fixed a couple of things: https://github.com/dicej/avian/commits/master. One thing I found but wasn't sure how to fix is that Java_java_io_RandomAccessFile_open doesn't work anymore on desktop Windows, since we're casting a wchar_t* to a const char*, which always results in "No such file or directory" when we call ::open. Do you have any thoughts on how to fix that? |
|
I'll fix that today. Actually it should be _wopen. Maybe it will also work for WP8 to avoid native calls usage. Or, as an option, I can write Win32 calls for Windows instead of ::open |
Conflicts: TODO.if.merge
Conflicts: makefile
WP8/WinRT : Last modified time
Conflicts: classpath/java-lang.cpp
Conflicts: .gitignore
|
I've added small change to makefile |
No description provided.