{"push_id":2430092643,"size":25,"distinct_size":25,"ref":"refs/heads/master","head":"0aeb92d61e127a3f5304281014997b0a90019578","before":"f38b8ccc717793a9e450bc79fbb408b73b6f0994","commits":[{"sha":"134151979d7183db55f4291c55895f86ca190ae0","author":{"name":"kenji yoshida","email":"feb0a2117846c0eb36aa0edbf630005a1b84bd53@gmail.com"},"message":"Fix #1146: Java 9 compatibility (#1159)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/134151979d7183db55f4291c55895f86ca190ae0"},{"sha":"48d73ae32a1c987c690b25a5d45c0b19e096bf80","author":{"name":"Shadaj Laddad","email":"a2ef2b6b74b1fb288ce96438137c8b9334a6c059@users.noreply.github.com"},"message":"Fix #1157: Fix crash when writing to a socket closed by the client (#1158)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/48d73ae32a1c987c690b25a5d45c0b19e096bf80"},{"sha":"c1a69bcca242213ae74dd1d4147770a9f9134a91","author":{"name":"Eric K Richardson","email":"6b231ff92df1c57c47b1f3b9639f9b0c178146dc@gmail.com"},"message":"Docs: change zone example and add link to cstdlib (#1152)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/c1a69bcca242213ae74dd1d4147770a9f9134a91"},{"sha":"083d66e88858b099bd92e6ca751edd999b854a91","author":{"name":"Eric K Richardson","email":"6b231ff92df1c57c47b1f3b9639f9b0c178146dc@gmail.com"},"message":"Add support for POSIX setenv and unsetenv (#1151)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/083d66e88858b099bd92e6ca751edd999b854a91"},{"sha":"4462f8281b709eb5ce5f76ae4325a1afb4a5773f","author":{"name":"Denys Shabalin","email":"4d01f57400576181b61bba37248555b6803715c7@gmail.com"},"message":"Fix #1155: Don't add $ to impl class names (#1156)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/4462f8281b709eb5ce5f76ae4325a1afb4a5773f"},{"sha":"42aab512d4bbce7a7f86fae13b5eee24d82497c4","author":{"name":"Eric K Richardson","email":"6b231ff92df1c57c47b1f3b9639f9b0c178146dc@gmail.com"},"message":"Improve rebuild workflow and environment variable-based defaults (#1117)\n\n* Change gc setting and add link output\r\n\r\n* Directly call publishLocal\r\n\r\n* Works the same via env var and command line\r\n\r\n* Revert settings back to non-global and simplify how the plugin gets set\r\n\r\n* Add publishLocal dependencies\r\n\r\n* Use dependencies for scripted\r\n\r\n* Add documentation for build\r\n\r\n* Scripted now works from clean cache, local\r\n\r\n* Add nativeMode and change gc output\r\n\r\n* Update the documentation","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/42aab512d4bbce7a7f86fae13b5eee24d82497c4"},{"sha":"d3cf5b83e7cd1651275d632b65c6432ce9b6fdde","author":{"name":"Felix Garcia Borrego","email":"781fa54d5c6b79a91f73ce993196aa509c1e58c6@gmail.com"},"message":"Fix #1062: Difference in behaviour between JVM and Native with BufferedInputStream (#1153)\n\nThe original code didn't return the expected `available` when the internal `buf` was empty.\r\nTo fix #1062,  `available` returns now the number of bytes available in the buffer + `in.available`","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/d3cf5b83e7cd1651275d632b65c6432ce9b6fdde"},{"sha":"fa20091c2dec619045d8a1e312ead7396fb91b34","author":{"name":"Denys Shabalin","email":"4d01f57400576181b61bba37248555b6803715c7@gmail.com"},"message":"Add autoImport alias to preserve build source compatibility (#1160)\n\nIn #1147 we renamed `AutoImport ` to `autoImport`. This breaks\r\nsource compatibility for existing builds. This commit adds\r\na deprecated alias `autoImport` instead.","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/fa20091c2dec619045d8a1e312ead7396fb91b34"},{"sha":"9ea8ba3610ef4eba2c74f7a2633ee346c8f4b0c6","author":{"name":"Denys Shabalin","email":"4d01f57400576181b61bba37248555b6803715c7@gmail.com"},"message":"Last bits for JDK9 build compatibility (#1161)\n\n* Upgrades sbt version to 0.13.17\r\n* Adds a few forwarding stubs due to linker being overly picky\r\n\r\nFixes #1146","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/9ea8ba3610ef4eba2c74f7a2633ee346c8f4b0c6"},{"sha":"a1c620dba6271aed94419fbce4883332b4053697","author":{"name":"kenji yoshida","email":"feb0a2117846c0eb36aa0edbf630005a1b84bd53@gmail.com"},"message":"Add java.text.ParseException (#1163)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/a1c620dba6271aed94419fbce4883332b4053697"},{"sha":"353485127b6dab22a65368c8527538f7173929a2","author":{"name":"kenji yoshida","email":"feb0a2117846c0eb36aa0edbf630005a1b84bd53@gmail.com"},"message":"add java.lang.System.{setIn, setOut, setErr} (#1162)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/353485127b6dab22a65368c8527538f7173929a2"},{"sha":"1df8b94099ee7857e1614d48de210cf1ad0f8c46","author":{"name":"Jocelyn Boullier","email":"325d3da55bec3f57fb77052cacd3d49be6a7b27c@gmail.com"},"message":"Regex: assign 0 to group pos instead of -1 on empty string (#1124)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/1df8b94099ee7857e1614d48de210cf1ad0f8c46"},{"sha":"04e4d3364d03dfa6836941aa823fb8a5e0f64bea","author":{"name":"Srepfler Srdan","email":"dbea5939d78f8265050b55fe8feaa373958bdfc7@gmail.com"},"message":"Add bindings for libc's time.h (#929)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/04e4d3364d03dfa6836941aa823fb8a5e0f64bea"},{"sha":"4cd07b45a777f0fdefa489b74a4804f076ade6a9","author":{"name":"Andrei Pozolotin","email":"541d513971372e982164c0d880a9cb2d03ad776b@users.noreply.github.com"},"message":"Fix #1178: update install docs for Arch Linux (#1184)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/4cd07b45a777f0fdefa489b74a4804f076ade6a9"},{"sha":"f9670fb23a0cb5dad4a175ce08c9e5fb878dcafc","author":{"name":"LeeTibbert","email":"64ff93ec6195bfaabdd1bffc02479a6b3fb64bbd@users.noreply.github.com"},"message":"Fix #1164: Automatically discover Clang 6.0 (#1166)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/f9670fb23a0cb5dad4a175ce08c9e5fb878dcafc"},{"sha":"e03a85c914bcda57f99647d0b3b9d0e671711831","author":{"name":"Ethan Atkins","email":"f05d1af623e496cd5940baaabe31961d724cda20@gmail.com"},"message":"Fix #746: Add support for java.lang.{Process, ProcessBuilder} (#1082)\n\n* Alphabetize time methods\r\n\r\nNo functional difference.\r\n\r\n* Fix TimeSuite test failures (#1167)\r\n\r\nThe TimeSuite tests was failing for me on both OSX and Linux. I\r\ndiscovered three issues:\r\n\r\n1) The difftime stub had the wrong result type\r\n2) I'm not exactly clear on what the\r\n     `localtime() should transform day zero...`\r\n   test was trying to do, but it did not seem to correctly use the\r\n   semantics of localtime and ascstring\r\n3) The stack allocations would cause the test suite to frequently crash\r\n   for me unless I wrapped the tests in a try { } catch { }\r\n\r\nThe first issue was easy to fix by changing the type signature. I\r\nre-interpreted the second test and changed it to so that it should\r\nadjust the epoch time by the local time zone offset to that the\r\nascstring returns \"Sun Jan  1 00:00:00 1900\\n\" no matter how the system\r\nis configured. The third issue was fixed by using zone allocation\r\ninstead of stack allocation.\r\n\r\nI also deleted the unused test.\r\n\r\nFixes: #1167\r\n\r\nBonus: add daylight, tzname and tzset methods\r\n\r\n* Add parens to getFD\r\n\r\nThis makes it consistent with the getFD method of FileOutputStream (and\r\nthe java api).\r\n\r\n* Don't alias protected InputStream\r\n\r\nReusing the in variable name makes it difficult to mutate the protected\r\n`in` variable in FilterInputStream.\r\n\r\n* Whitespace: alphabetize unistd.scala\r\n\r\nNo functional change.\r\n\r\n* Add user.dir system property\r\n\r\nSince this property was missing, I tried to implement it in the same way\r\nthat java does. The test that I add essentially tests that both java and\r\nscala native return the same \"user.dir\" value since it relies on the sbt\r\nSystem property.\r\n\r\n* Add pthread files\r\n\r\nThese were copied from #1068\r\n(https://github.com/scala-native/scala-native/pull/1068)\r\nsince there was overlap between the two prs.\r\n\r\nThey are just boilerplate anyway.\r\n\r\n* Implement #746 Add support for java.lang.{Process, ProcessBuilder}\r\n\r\nThis commit adds support for the java Process api for posix platforms.\r\n\r\nNotes:\r\n\r\n* The lack of thread support made this challenging. The naive approach\r\n   to reaping the processes is to add a monitor thread that blocks on\r\n   waitpid and then updates the process. Because scala native doesn't\r\n   support threads yet, this must be done with a thread in native code.\r\n   I initially tried adding minimal pthread apis to scala native, but\r\n   invariably the pthread would allocate memory and the garbage\r\n   collector would eventually crash. To get around this, I wrote the\r\n   monitor thread in c.\r\n\r\n   Because the main thread needs to update the process, the monitor\r\n   thread must interrupt it. I ran into problems when the main thread\r\n   was interrupted while reading from the piped file descriptor of the\r\n   child process. To get around this, I add a global mutex that is\r\n   shared by the process and the monitor thread. Most of the process\r\n   methods are guarded by this mutex and the monitor must acquire it\r\n   before it raises the SIGUSR1.\r\n\r\n   It should be straightforward to port the monitor thread to scala and\r\n   use java synchronized/wait/notify instead of the mutex/cond approach\r\n   used here once scala native threads are ready.\r\n\r\n* To avoid file descriptor leaks, it's a good idea to drain the piped\r\n   file descriptors after the process terminates. We store the drained\r\n   data (if any) into a ByteArrayInputStream which should allow the\r\n   bytes to be freed when the Process is garbage collected if the user\r\n   doesn't explicitly close the input stream. If we didn't do this, we\r\n   wouldn't need to interrupt the process and instead could just\r\n   communicate the process exit value through a heap allocated pointer.\r\n\r\nI initially forked from @hwielenberg* to get started, but ultimately\r\nrewrote pretty much all of the code. I'm sure some of the lines in\r\nProcessBuilder.scala haven't changed much though and I wanted to be sure\r\nto acknowledge that initial work.\r\n\r\n*https://github.com/hwielenberg/scala-native/tree/scala-native-746","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/e03a85c914bcda57f99647d0b3b9d0e671711831"},{"sha":"1b2f62a9813d68a1b6767ef8a61a8bfd4baa1f41","author":{"name":"Denys Shabalin","email":"4d01f57400576181b61bba37248555b6803715c7@gmail.com"},"message":"Fix #1182: Clarify docs on zone and stack allocation (#1188)\n\nZone allocation does zero out the memory, while stack allocation does not.","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/1b2f62a9813d68a1b6767ef8a61a8bfd4baa1f41"},{"sha":"c799ac7ac4f7c721cef65af9756fadebb052c699","author":{"name":"Andrei Pozolotin","email":"541d513971372e982164c0d880a9cb2d03ad776b@users.noreply.github.com"},"message":"Fix #1185: Don't include classfiles for scalalib in the packaged jar (#1191)\n\nFixes #1007 as well.","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/c799ac7ac4f7c721cef65af9756fadebb052c699"},{"sha":"c3741a7bfc10a267c0f262651d92a1abba59ab08","author":{"name":"Andrei Pozolotin","email":"541d513971372e982164c0d880a9cb2d03ad776b@users.noreply.github.com"},"message":"Add eclipse-specific files to gitignore (#1192)","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/c3741a7bfc10a267c0f262651d92a1abba59ab08"},{"sha":"4b39f9fe4094551b554b126be562cb17bfb10070","author":{"name":"Eric K Richardson","email":"6b231ff92df1c57c47b1f3b9639f9b0c178146dc@gmail.com"},"message":"Add support for POSIX termios (#1196)\n\n* Types, functions, and some constants\r\n\r\n* Add to documentation\r\n\r\n* Use scalafmt\r\n\r\n* Finish Definitions\r\n\r\n* Add C adapter file\r\n\r\n* Fix error in C file","distinct":true,"url":"https://api.github.com/repos/xeno-by/scala-native/commits/4b39f9fe4094551b554b126be562cb17bfb10070"}]}
{"actor":{"display_login":"xeno-by"}}