1. 17 4月, 2014 1 次提交
  2. 08 4月, 2014 1 次提交
  3. 01 4月, 2014 1 次提交
  4. 21 3月, 2014 1 次提交
    • J
      [System] Fix MacOsNetworkInterface.ImplGetAllNetworkInterfaces() · 306f2ba3
      Jonathan Pryor 提交于
      On my (cursed?) MacBook Pro, calling
      System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
      results in an exception:
      
      	System.ArgumentException: length
      		at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000] in <filename unknown>:0
      		at System.Net.NetworkInformation.MacOsNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
      		at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
      
      Some printfs later, and we see why:
      
      	Array.Copy(array.Length=12, 3, array.Length=0, 0, 0)
      	Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
      	Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
      	Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
      	Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
      	Array.Copy(array.Length=12, 3, array.Length=8, 0, 4)
      	Array.Copy(array.Length=12, 4, array.Length=6, 0, 6)
      	Array.Copy(array.Length=12, 8, array.Length=6, 0, 6)
      	# BOOM!
      
      (Apparently I have 8 interfaces: lo0, gif0, stf0, en0, en1, fw0, p2p0,
      and vboxnet0.)
      
      The problem is readily obvious: we're trying to read 6 bytes of data
      when only 4 are available, and Array.Copy() complains appropriately.
      
      The fix -- which looks to almost contradict a02076ba -- is to use
      `sockaddrdl.sdl_data.Length - sockaddrdl.sdl_nlen` instead of
      `sockaddrdl.sdl_data.Length - macAddress.Length` (or sdl_alen).
      sdl_nlen is the offset into the source sockaddrdl.sdl_data array, and
      in this case sockaddrdl.sdl_alen (the length of the destination
      macAddress) isn't the same as sockaddrdl.sdl_nlen, hence the breakage.
      
      Conflicts:
      	mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs
      306f2ba3
  5. 17 3月, 2014 3 次提交
  6. 13 3月, 2014 1 次提交
  7. 02 3月, 2014 1 次提交
  8. 25 2月, 2014 1 次提交
  9. 21 2月, 2014 1 次提交
  10. 19 2月, 2014 3 次提交
  11. 13 2月, 2014 4 次提交
  12. 07 2月, 2014 1 次提交
  13. 05 2月, 2014 4 次提交
    • M
      Merge branch 'unity-staging' of github.com:Unity-Technologies/mono into unity-staging · 6f0e6a28
      Mantas Puida 提交于
      # By Andreia Gaita (9) and others
      # Via Andreia Gaita (2) and Levi Bard (1)
      * 'unity-staging' of github.com:Unity-Technologies/mono:
        [sharpziplib] Fix DiskStorage so it doesn't keep private state when it's overridden
        Add required overload for adding entries to zip with metadata (otherwise file attributes will be incorrect)
        Fix bad cherry-pick of liveness change.
        added api to unity liveness for multithreading
        Fix several 64bit pointers being truncated to 32bit integers.
        Fix GC losing objects on OSX64 due to registers not getting pushed as roots.
        Nunit and Mono.Cairo are no longer in the 1.0 dirs
        Nunit build fixes for the 1.0-less world
        Fix copying of files, rsync is more reliable (and preserves attributes)
        Fix cecil installation
        Only build the bare essentials on the 1.1 profile, and make all tools based on 2.0 assemblies
        Remove dupe source file from sources list
        Don't try to use a potentially null assembly name, the assembly might not have been found.
        Kill really really old ziplib code
        Update SharpZipLib to latest upstream v0.86.0.518
      6f0e6a28
    • M
      Fix ARM IMT calls on AOT platform. ARM AOT implementation of imt_thunks... · 3ac6ccb2
      Mantas Puida 提交于
      Fix ARM IMT calls on AOT platform. ARM AOT implementation of imt_thunks supports only linear array/list of IMT items
      3ac6ccb2
    • A
      Merge unity-staging (75ce710c) into unity-trunk · 22f716b7
      Andreia Gaita 提交于
      Commits:
      75ce710c Add required overload for adding entries to zip with metadata (otherwise file attributes will be incorrect)
      af3b7435 Fix bad cherry-pick of liveness change.
      d257a76a added api to unity liveness for multithreading
      a351aadc Fix several 64bit pointers being truncated to 32bit integers.
      8c1b80d4 Fix GC losing objects on OSX64 due to registers not getting pushed as roots.
      228d7f00 Nunit and Mono.Cairo are no longer in the 1.0 dirs
      d61e7eb8 Nunit build fixes for the 1.0-less world
      34fa8c76 Fix copying of files, rsync is more reliable (and preserves attributes)
      09ec3632 Fix cecil installation
      328bb2e5 Only build the bare essentials on the 1.1 profile, and make all tools based on 2.0 assemblies
      ff8c6acd Remove dupe source file from sources list
      cb3ea9a3 Don't try to use a potentially null assembly name, the assembly might not have been found.
      59a2e0c5 Kill really really old ziplib code
      437f1d97 Update SharpZipLib to latest upstream v0.86.0.518
      22f716b7
    • A
      [sharpziplib] Fix DiskStorage so it doesn't keep private state when it's overridden · 0dc05bf0
      Andreia Gaita 提交于
      Custom implementations of DiskStorage may need to control the stream, temporary filename
      or how the stream is open (custom file permissions, etc). Keeping private state in
      the base class makes it useless for implementors.
      0dc05bf0
  14. 29 1月, 2014 1 次提交
  15. 28 1月, 2014 4 次提交
  16. 27 1月, 2014 1 次提交
  17. 24 1月, 2014 8 次提交
  18. 23 1月, 2014 3 次提交