[Mono-dev] Getting started on mono sources

2014-02-14 Thread Edward Ned Harvey (mono)
I'm a developer who uses mono and .NET a lot - and as such, I very often want to read the mono source to see how something is implemented. (Someday, I'll probably stumble across something that should be improved.) Before anything else, I'd like to ask, is there a preferred platform or IDE or

Re: [Mono-dev] Getting started on mono sources

2014-02-15 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] Sent: Saturday, February 15, 2014 5:34 PM While I am not positive on this at all, it may be easier to just use make in a cygwin env. So, whether mac, linux, unix, or windows, the easiest way to build is clearly to use make. But for

Re: [Mono-dev] Getting started on mono sources

2014-02-16 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Frankie Fisher Xamarin studio? That would be great. Do you know of any way to make mono build on Xamarin Studio? Even if it was just one assembly, that would be great - So far I

[Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
I benchmarked RSA key generation, .Net versus Mono, and also RSA vs ECDiffieHellman. A couple of things - For RSA keys, Mono was way slower. Like way crazy, super way slower. See results below, but something like 40x slower. Second, ECDiffieHellman is way faster than RSA, by approx 100x.

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
Here are my RSA benchmark results: Conclusion is that RSA key generation is expensive no matter what, but it's 20x-40x worse on mono. .NET 4.0, Win 8.1 VM inside a Mac, Debug build, 3 trials average: 102427 ms 204880 ms 3072673 ms .NET 4.0, Win 8.1 VM inside a Mac, Release build, 3

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] I wonder, you are instantiating the RSACryptoServiceProvider object after storing the before ticks, how much of the time is simply instantiating the object? Maybe move that ahead of before ticks if you want to measure just the key

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] Sent: Sunday, February 16, 2014 11:55 AM If this is the case, that sounds like a bug. Behaviour shouldn't deviate across implementations like that AFAIK. Ideally, yeah, but realistically, behavior will deviate. (See my other question,

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
From: Ian Norton [mailto:inor...@gmail.com] Hi folks. Key generation can be hugely different on different platforms. Essentially for RSA you need to generate two huge random integers and do primality checks on them. This is always going to be fairly nondeterministic in terms of time. What

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Edward Ned Harvey (mono)
From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] Please re-read the TLS RFC (any of them) and tell me where you need to _generate_ an RSA keypair to establish an SSL/TLS connection ?!? It seems I had a misunderstanding - I know, as long as the server only needs to generate a new

Re: [Mono-dev] Getting started on mono sources

2014-02-17 Thread Edward Ned Harvey (mono)
From: jean-michel.perr...@csiro.au [mailto:jean-michel.perr...@csiro.au] At least a couple of people including myself have an interest in recommended dev env to work on Mono itself ( http://lists.ximian.com/pipermail/mono-devel-list/2013-July/040638.html). A Howto on recommended setup for

Re: [Mono-dev] Getting started on mono sources

2014-02-18 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) Followed instructions to build from Git. https://github.com/mono/mono Note: The instructions only say to make and don't say to make install afterward

Re: [Mono-dev] VS build requires cygwin build first?

2014-02-18 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Aaron Shumaker I am trying the other route of compiling from cygwin: ./configure --host=i686-pc-mingw32 This step gives error No such file or directory There is a configure.in

[Mono-dev] Library path bug in Makefile?

2014-03-02 Thread Edward Ned Harvey (mono)
I had a problem, and I figured it out, thanks to this page: http://www.cc.dtu.dk/?page_id=304 I have a system with mono built as follows: ./configure --prefix=/usr/local/mono-3.2.8 make echo echo Done echo followed by sudo make install echo echo Ok Ok Ok echo I would expect,

Re: [Mono-dev] Library path bug in Makefile?

2014-03-04 Thread Edward Ned Harvey (mono)
Nobody has any opinions on this? That seems hard to believe -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) Sent: Sunday, March 2, 2014 9:58 PM To: mono-devel-list

Re: [Mono-dev] Library path bug in Makefile?

2014-03-04 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Andrés G. Aragoneses As far as I understand, LD_LIBRARY_PATH is a system setting that mono doesn't modify. Thanks for your response - from the link I originally posted

Re: [Mono-dev] Library path bug in Makefile?

2014-03-05 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Andrés G. Aragoneses Right, LD_LIBRARY_PATH may be simply a fallback. But the thing is, you don't need LD_LIBRARY_PATH when installing libs in standard prefixes like /usr or

Re: [Mono-dev] Library path bug in Makefile?

2014-03-05 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Robert Jordan Non-default Mono installations still need LD_LIBRARY_PATH, otherwise p/invoke of Mono libraries (libgdiplus, libMonoPosixHelper) won't work because p/invoke is

Re: [Mono-dev] Library path bug in Makefile?

2014-03-05 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) So ... http://blog.tremily.us/posts/rpath/ Actually, the answer is right there - Thank you, Trevor and Emily (tremily). This works perfectly: export

Re: [Mono-dev] Library path bug in Makefile?

2014-03-07 Thread Edward Ned Harvey (mono)
From: Rodrigo Kumpera [mailto:kump...@gmail.com] The issue is that we don't want to set RPATH to a value in the dynamic linker path. This is known to cause all sorts of issues. Setting it to, for example, /opt/lib is fine but /usr/lib is not. Just to be clear, setting RPATH and RUNPATH

Re: [Mono-dev] Library path bug in Makefile?

2014-03-07 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Andrés G. Aragoneses It is not if you use fpm (https://github.com/jordansissel/fpm), instead Huh. That looks like it deserves a closer look. Thanks for the suggestion, I'll give

[Mono-dev] Bug with Ssl cert validation

2014-03-17 Thread Edward Ned Harvey (mono)
This *has* to be a bug in mono. I repeated this problem with mono 3.2.7 (the standard distribution MDK) on mac osx Mavericks fully updated, and 3.2.8 on linux, built from source. No problem on windows. (Win 8.1 Pro fully updated) On mac and linux, I am aware that there are no trusted root

Re: [Mono-dev] Bug with Ssl cert validation

2014-03-18 Thread Edward Ned Harvey (mono)
From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com]                         var mySslStream = new SslStream (client.GetStream(), false, ValidateServerCertificate); if you read the source [1] (or look at the API compatibility page [2]) you'll see that this .ctor is decorated

Re: [Mono-dev] Bug with Ssl cert validation

2014-03-18 Thread Edward Ned Harvey (mono)
From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] Sent: Tuesday, March 18, 2014 7:52 AM Any better ideas? Contribute! :-) Honestly, I *do* like this idea, and I'm trying. I'm a C# developer, and have never been a mono developer (I've been a user of C#/mono, but never a

Re: [Mono-dev] Bug with Ssl cert validation

2014-03-18 Thread Edward Ned Harvey (mono)
From: Bryan Crotaz [mailto:bryan.cro...@silvercurve.co.uk] I'd love to contribute, but I have now spent several days trying and failing to compile Mono for Visual Studio so that I can fix bugs in the C# libraries.  If someone could write a VS2010 solution that can be used to debug Mono,

[Mono-dev] Contribution

2014-03-18 Thread Edward Ned Harvey (mono)
Ok, I have a contribution to make. In Mono.Security/Mono.Security.X509/X509Store.cs, the Certificates getter checks to see if _certificates == null, and if so, then BuildCertificatesCollection(). Later, you could do things like Import or Remove, which modify the cert files on disk, but

[Mono-dev] Mono MRE/MDK mac pkg installer

2014-03-18 Thread Edward Ned Harvey (mono)
I'm trying to figure out how to build a pkg installer for mac, which will prompt user to accept eula, and install some project built with monomac or xamarin.mac. This is exactly how the mono MRE/MDK installer behaves. Can anybody provide any pointers, hints, or instructions?

Re: [Mono-dev] Bug with Ssl cert validation

2014-03-18 Thread Edward Ned Harvey (mono)
From: Bryan Crotaz [mailto:bryan.cro...@silvercurve.co.uk] I spent 4 days trying to get make to work on Cygwin. Followed those instructions and others. Every post I found had significant errors in it (eg Cygwin package names ) or was years out of date. Oh shoot - don't know why I didn't

[Mono-dev] Building Debugging (was Bug with Ssl cert validation)

2014-03-19 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Greg Young Just off the top of my head... maybe a summer of code would be better spent on these kinds of issues and improving the throughput of donations as opposed to the next

Re: [Mono-dev] Mono MRE/MDK mac pkg installer

2014-03-19 Thread Edward Ned Harvey (mono)
From: Rodrigo Kumpera [mailto:kump...@gmail.com] Appke's pkgbuild does it all. Thanks, will give that a try. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] crn.com: »Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin«

2014-03-20 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Ian Norton whaat!? article looks far from clear though. does this mean monodevelop is going to quietly die? or a license change? :/ LOL, no. :-) Here's what it comes down to:

[Mono-dev] FileSystemWatcher Class

2014-03-20 Thread Edward Ned Harvey (mono)
Can anybody comment on the state of FileSystemWatcher class, particularly on OSX? It looks good on the class compatibility page, and in fact I've been using it flawlessly for months on windows, and also flawlessly on linux for weeks... But now I'm trying to use it on OSX and I'm running into

[Mono-dev] mono git

2014-03-21 Thread Edward Ned Harvey (mono)
I am somewhat confused by the git sources. I would have expected to see a master, and various tags, and branches if people are working on separate lines of development... Instead I see no tags at all, a zillion branches, and if I checkout mono-3.2.8-branch, then I get a detached head. Worse

Re: [Mono-dev] mono git

2014-03-21 Thread Edward Ned Harvey (mono)
From: Alex Rønne Petersen [mailto:a...@alexrp.com] What do you mean? We have tons of tags: https://github.com/mono/mono/releases Got it. Sorry, I was being stupid with sourcetree. Since you mention it, I tried harder. It shows tags with nothing under it, but if you mouseover, then you

Re: [Mono-dev] mono git

2014-03-21 Thread Edward Ned Harvey (mono)
From: Alex Rønne Petersen [mailto:a...@alexrp.com] What issues are you having on master? It should compile fine 99% of the time. Well shoot. On the mac, right now, I can build master. But then when I build an application against it to test FileSystemWatcher and try debugging what's wrong

Re: [Mono-dev] Problems with compiling Mono with VisualStudio 2013

2014-04-07 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of LukasBanana Hi, I'm new to Mono an C# as well. I want to use Mono as C# Compiler and Interpreter in my own Game Engine - like Unity3D does it :-). I tried to compile the mono

[Mono-dev] bug in Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.LocalValidation

2014-04-08 Thread Edward Ned Harvey (mono)
I have these two servers, identical in every way except for their ip, name, and certs. The certs were created by exactly the same process for both machines. I have done mozroots on the client. Servers are running mono 3.2.8. This server negotiates ssl just fine with windows or mac clients.

Re: [Mono-dev] ***UNCHECKED*** RE: Re: Ongoing Mono development / Mono roadmap

2014-04-09 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Alex J Lennon Many thanks for bringing clarity to this for me Chris. As we're in a public forum I hope hope you won't mind me referencing this discussion now and in future when it

[Mono-dev] Can anyone explain this to me? It's the Bermuda triangle.

2014-04-21 Thread Edward Ned Harvey (mono)
I'm trying to figure out why mono is rejecting one of my server's certs (while not rejecting some others). I sprinkled WriteLines in the mono source, and I ran with --debug --trace The last line I ever reach is 635. And then exceptions are thrown. Neither 638 nor 641 is ever displayed. I

Re: [Mono-dev] Can anyone explain this to me? It's the Bermuda triangle.

2014-04-21 Thread Edward Ned Harvey (mono)
This is what's displayed on terminal: The only explanation I can come up with is that a different thread threw the exceptions? NEDDEBUG 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs' line 269 NEDDEBUG

Re: [Mono-dev] bug in Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.LocalValidation

2014-04-21 Thread Edward Ned Harvey (mono)
From: Edward Harvey Sent: Tuesday, April 8, 2014 2:35 PM     // const string hostname = telefolder.vgocom.net;    // works     const string hostname = telefolder.clevertrove.net; Update: I changed the name of telefolder.clevertrove.net, to synctuary.clevertrove.net, and

Re: [Mono-dev] Can anyone explain this to me? It's the Bermuda triangle.

2014-04-22 Thread Edward Ned Harvey (mono)
To answer questions: Yes, I have mozroots installed (as evidenced by the fact that the other server, with the exact same cert chain, validates without any problem.) I'm not aware of any other thread which could be throwing the exception - as seen in code below, there is only one thread,

Re: [Mono-dev] Can anyone explain this to me? It's the Bermuda triangle.

2014-04-22 Thread Edward Ned Harvey (mono)
Bermuda triangle went away by doing make clean make So I'm back to a normal state, where a problem exists, but I'm able to follow a logical debugging process, and making progress again... ___ Mono-devel-list mailing list

[Mono-dev] System.Security.Authentication.ExchangeAlgorithmType 44550

2014-04-22 Thread Edward Ned Harvey (mono)
Just FYI, in case for some reason I neglect to commit an update. Microsoft has already deployed to the wild, code updates that cause an ExchangeAlgorithmType to evaluate to 44550, which is an undocumented value. For shame. ;-) When they update MSDN, I plan to commit the new info to mono,

[Mono-dev] build failures

2014-04-24 Thread Edward Ned Harvey (mono)
I am attempting to build on Ubuntu server 12.04, Ubuntu server 14.04, and OSX Mavericks. On all 3 platforms, 3.2.8 builds fine, and on all 3 platforms, 3.4.0 failed... I checked out 2014-04-11-8df0121, which also failed, 2014-04-23-ff938b5, which also failed... I don't believe this is

Re: [Mono-dev] build failures

2014-04-24 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) I am attempting to build on Ubuntu server 12.04, Ubuntu server 14.04, and OSX Mavericks. On all 3 platforms, 3.2.8 builds fine, and on all 3 platforms

Re: [Mono-dev] build failures

2014-04-25 Thread Edward Ned Harvey (mono)
From: Edward Ned Harvey (mono) Correction: No, 3.2.8 doesn't build on ubuntu 14.04. (Sorry 'bout that.) I just confirmed, it is this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=17170 And the workaround described there works, in order to build the latest master on ubuntu 14.04

Re: [Mono-dev] Compiling mono on windows for developing (not running)

2014-04-25 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Martin Thwaites As a side question, what is the tool that the rest of you use to develop mono? do you develop on windows or on Linux? I spent some time on this not long ago, and

Re: [Mono-dev] Compiling mono on windows for developing (not running)

2014-04-26 Thread Edward Ned Harvey (mono)
From: mar...@my2cents.co.uk [mailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites I'll have to wait until someone puts a guide together about developing on windows as I am seriously out of my depth.  I've spent about 2 evenings so far trying to get mono to build in cygwin, but coming

Re: [Mono-dev] Compiling mono on windows for developing (not running)

2014-04-26 Thread Edward Ned Harvey (mono)
From: mar...@my2cents.co.uk [mailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites I've been trying to get mono to compile in MD (4.3.3) on ubuntu 14.04 and not having much luck with that either.  If you know of a tutorial for getting that up and running I would grateful as that's a

Re: [Mono-dev] Compiling mono on windows for developing (not running)

2014-05-04 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Miguel de Icaza To build Mono on Windows, you will need to use Cygwin to build you entire stack.   Cygwin is a Unix-on-Windows system that will let you properly build Mono. Any

[Mono-dev] Pull Request

2014-05-05 Thread Edward Ned Harvey (mono)
I submitted a pull request 10 days ago that fixes a showstopping bug for using SslStream as a server. The latest comment was 7 days ago, Need maintainer approval to build this pull request. Reply with approve to approve a build of this pull request, I assume I'm not authorized to approve my

Re: [Mono-dev] Developing Mono

2014-05-14 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Martin Thwaites I have the same issues with loading the net_4_5.sln file in MD as I do in VS, in === Section 1: Building Mono === Don't expect the .sln file to work. Just

[Mono-dev] .NET API documentation

2014-05-28 Thread Edward Ned Harvey (mono)
This deserves to be cross-posted. I had heard many people express concern about mono and the .NET API, in the wake of oracle v google, and especially in the recent-ish reversal of decision, which now rules an API to be copyrightable. Congratulations to Mono, and the people named by Miguel

Re: [Mono-dev] Editing mono in IDE?

2014-06-08 Thread Edward Ned Harvey (mono)
=== Section 1: Building Mono === Don't expect the .sln file to work. Just follow the standard build process. The README is a good starting point, but I'll add the following, which started as the standard simple process from the README, but bits and pieces have been added over time, based on

Re: [Mono-dev] Still seeking contractor to adding Tizen support to Mono

2014-06-10 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Bob Summerwill I want to PAY SOMEBODY to port the Mono Runtime to Tizen. Could that person be YOU?    If so, please contact me. ...     .    Must not be employed by Xamarin.

Re: [Mono-dev] Still seeking contractor to adding Tizen support to Mono

2014-06-10 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Bob Summerwill I want to PAY SOMEBODY to port the Mono Runtime to Tizen. Actually, a very reasonable request would be: I want to pay somebody to estimate the complexity of porting

Re: [Mono-dev] Still seeking contractor to adding Tizen support to Mono

2014-06-13 Thread Edward Ned Harvey (mono)
From: bobsummerw...@gmail.com [mailto:bobsummerw...@gmail.com] On Behalf Of Bob Summerwill have never built Mono myself,  let alone done a port, That's the hard part. Although - Miguel is working on improving the build process, so maybe this will get much better very soon. My experience

[Mono-dev] Help Finding this Function?

2014-06-26 Thread Edward Ned Harvey (mono)
I wanted to understand where mono RNGCryptoServiceProvider gets random data. So I read its source, I see it uses extern RngInitialize, so when I search for RngInitialize, it leads me to ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize in rand.c When I read

Re: [Mono-dev] Help Finding this Function?

2014-06-27 Thread Edward Ned Harvey (mono)
From: Miguel de Icaza [mailto:mig...@xamarin.com] rand.c has several implementations, the CryptAcquireContext is part of the Win32 support, and is a Win32 API call. There is also a Native client implementation and a Unix one. Thanks - But - What am I missing? I don't have any wincrypt.h

Re: [Mono-dev] Help Finding this Function?

2014-06-28 Thread Edward Ned Harvey (mono)
From: Rafael Teixeira [mailto:mono...@gmail.com] Sent: Friday, June 27, 2014 10:42 AM Oops, looking more attentively at the code rand.c has lines like: #if defined (HOST_WIN32) Ok, I am seeing it now, thanks. This is an overview: #if defined (HOST_WIN32) if Intel PIII RNG, use it,

[Mono-dev] Mutex Bug

2014-07-02 Thread Edward Ned Harvey (mono)
Before anything else ... Can anybody recommend a way to do interprocess mutex? I would like to confirm this is a bug before I go create a bug report in bugzilla. Can anybody please confirm both (a) you get the same behavior, and (b) it's not correct behavior? I want to make this observation

Re: [Mono-dev] Mutex Bug

2014-07-02 Thread Edward Ned Harvey (mono)
From: Zoltan Varga [mailto:var...@gmail.com]   mono used to support this functionality, but the code to do that was very problematic, and it is disabled in recent mono releases. Thanks - So - Here's what I'm trying to do. Multiple processes want to read and modify a file, but the file must

Re: [Mono-dev] Mutex Bug

2014-07-02 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] You could use dbus if you don't care about windows. I care about windows, linux, and mac. I gather, my options are: WCF (poorly supported in mono, right?), Remoting (which is supposed to be deprecated since WCF, right?), DBus (???)

Re: [Mono-dev] Mutex Bug

2014-07-02 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] Do you *have* to write to the same file? Yes. Here is the situation: https://tinhatrandom.org An open source, MIT licensed class library aimed at improving crypto random available to the application developer... One of the things we

Re: [Mono-dev] Mutex Bug

2014-07-03 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] Does the file have to be written to in real time? Why not perform buffered writes to a memory region, then flush to disk when a satisfiable amount of entropy has been met? Oh - it's not like that. It's transactional. One time,

Re: [Mono-dev] A few mono issues

2014-07-09 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of JamesSouth I run a fairly successful .NET open source library called ImageProcessor that I am trying to port to Mono. Most things are now working except for two issues. There's

[Mono-dev] Which SQLite?

2014-07-15 Thread Edward Ned Harvey (mono)
For cross-platform compatibility with mono on mac/linux, and .NET on windows... What is recommended SQLite? When I add System.Data.SQLite.Core via NuGet in windows... it seems to be incompatible with mono... It looks like there is SQLite built-in to mono via Mono.Data.SQLite, and I could

Re: [Mono-dev] Which SQLite?

2014-07-17 Thread Edward Ned Harvey (mono)
From: Alex J Lennon [mailto:ajlen...@dynamicdevices.co.uk] Sent: Wednesday, July 16, 2014 5:15 AM To: Edward Ned Harvey (mono); mono-devel-list@lists.ximian.com fwiw - I am currently using System.Data.SQLite, deploying onto both .NET/Windows and Mono/Yocto Embedded Linux However I have

Re: [Mono-dev] Which SQLite?

2014-07-17 Thread Edward Ned Harvey (mono)
From: Timotheus Pokorra [mailto:timotheus.poko...@solidcharity.com] Sent: Thursday, July 17, 2014 8:56 AM On Windows, we copy the Mono.Data.Sqlite.dll and the sqlite3.dll to our application directory. We use the Mono.Data.Sqlite.dll that came with Mono for windows version 2.10.6

Re: [Mono-dev] Which SQLite?

2014-07-17 Thread Edward Ned Harvey (mono)
From: Alex J Lennon [mailto:ajlen...@dynamicdevices.co.uk] Sent: Thursday, July 17, 2014 9:12 AM I guess I'd start by asking - if we have System.Data.Sqlite, and it works on Mono, then why do we need Mono.Data.Sqlite? I don't care if I use System.Data.Sqlite or Mono.Data.Sqlite. So far I

Re: [Mono-dev] Which SQLite?

2014-07-17 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) But it now sounds like there are some additional possibilities to try... This is confirmed working: Install mono 3.4.0 on the mac. Copy one of these files

Re: [Mono-dev] question about directory with white space

2014-07-25 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edwin Liu my os: ubuntu 14.04 there is an directory like     /home/home api which contains white space, I want to get file content within the directory home api the demo

Re: [Mono-dev] Mono 3.6 release?

2014-07-30 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Miguel de Icaza If you are in a rush, use a git checkout. Or just use whatever is the latest stable release, namely 3.4.0? Unless there's a specific feature you need, there will

Re: [Mono-dev] Mono 3.4 Windows Build

2014-08-03 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of mika I notice that when clicking on the Windows build for mono 3.4 you actually get 3.2.3. Is this a mistake? Well... 3.2.3 *is* the latest windows build, but yeah you're right,

Re: [Mono-dev] Performance tests/benchmarks for mono

2014-08-28 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Liwei Peng I am evaluating mono for Linux (Ubuntu). One of my plans is to evaluate mono CLR perf compared with Windows .NET CLR perf. Before you get into it, you should know a few

[Mono-dev] Version metadata - reflection?

2014-09-11 Thread Edward Ned Harvey (mono)
In Visual Studio, you right-click a project, properties, application, assembly information, and set the version, which corresponds to AssemblyVersion and AssemblyFileVersion in AssemblyInfo.cs, and it can be detected at runtime via

[Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-12 Thread Edward Ned Harvey (mono)
I am trying to find the definition for this: mcs/class/corlib/System.IO/MonoIO.cs: public extern static void Lock (...) I'd like to know how the Lock() method is implemented, so I can understand the valid parameters. (I know the two ints must be = 0, but I'd like

Re: [Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-13 Thread Edward Ned Harvey (mono)
From: Rodrigo Kumpera [mailto:kump...@gmail.com] See icall-def.h Thanks. How did you know that? Since I look in there, I can very clearly see a matching method definition, and what it's connected to, and I was then able to find the implementation in source and get all the answers I was

Re: [Mono-dev] System.Json string handling

2014-09-20 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Miguel de Icaza It is not easy to add people.   We can only add people that have shown the practices and skills that come with reviewing patches and working through the system.

Re: [Mono-dev] System.Json string handling

2014-09-20 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) Tru dat. However, I guess I'm actually trying to say two separate things: * When broken stuff doesn't get fixed, it's a disincentive for usage adoption

Re: [Mono-dev] System.Json string handling

2014-09-21 Thread Edward Ned Harvey (mono)
From: Edward Ned Harvey (mono) even as Xamarin customers you can't get anyone to review your patches. As a tiny little baby step in the right direction, I think Xamarin could at least promise to review pull requests submitted by customers paying for support. (This is a little bit shy

Re: [Mono-dev] System.Json string handling

2014-09-21 Thread Edward Ned Harvey (mono)
From: mar...@my2cents.co.uk [mailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites Agreed on all counts. I agree, as Miguel mentioned, that it's necessary to have quality control in place before accepting commits. As Martin says, don't let something get worse as a result of supposed

Re: [Mono-dev] System.Json string handling

2014-09-22 Thread Edward Ned Harvey (mono)
From: Miguel de Icaza [mailto:mig...@xamarin.com] Sent: Monday, September 22, 2014 9:50 AM We've had a pull request outstanding since April https://github.com/mono/mono/pull/1004 Perhaps the best thing to do is to file a companion bug, and raise the priority of that bug to major

[Mono-dev] apt-get update checksum error

2014-10-06 Thread Edward Ned Harvey (mono)
Trying to run on ubuntu: apt-get update Gives me this error: W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/main/binary-amd64/Packages Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.

Re: [Mono-dev] apt-get update checksum error

2014-10-07 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of spiko This problem has been resolved for me. Running apt-get update today successfully got the repository details and I was able to install mono-complete v3.10.0 Nope, I'm

Re: [Mono-dev] Building mono on Windows issues.

2014-10-15 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Chris Eelmaa I have question regarding building mono on windows, namely I've tried a lot of times, and had a lot of different Many venture into the waters of mono build on windows.

Re: [Mono-dev] Building mono on Windows issues.

2014-10-16 Thread Edward Ned Harvey (mono)
From: Alex J Lennon [mailto:ajlen...@dynamicdevices.co.uk] Generally speaking, the only reasons to build on windows are because you want to debug the code, which is generally better done on mac/linux. Or you're trying to accomplish something else, like obtain a specific DLL (such as

Re: [Mono-dev] Building mono on Windows issues.

2014-10-16 Thread Edward Ned Harvey (mono)
From: Alex J Lennon [mailto:ajlen...@dynamicdevices.co.uk] We use Visual Studio (plus Resharper as Bryan so rightly says - couldn't get along without it) as we find this to be a productive development environment. +1 In addition there is a lot of development resource out there with

Re: [Mono-dev] Building mono on Windows issues.

2014-10-16 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Bryan Crotaz Basically if we could persuade Xamarin to get mono building on Windows and VS users able to debug Mono, suddenly there would be a lot more developers able to

Re: [Mono-dev] Windows builds

2014-10-17 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Bryan Crotaz Who's with me? FWIW, the state of mono for windows is really really bad, but it's not great for rhel or ubuntu either. I agree *enormously* that there's a big

Re: [Mono-dev] Pull Requests

2014-10-17 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Martin Thwaites Just to give my2cents on this. I would just like to know that things will get looked at approved at some point.  Getting reviewed is one thing. (Difficult

Re: [Mono-dev] Pull Requests

2014-10-17 Thread Edward Ned Harvey (mono)
From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Edward Ned Harvey (mono) Getting reviewed is one thing. (Difficult enough.) Getting approved is a completely different thing - even more perilous. ... etc etc yadda yadda

[Mono-dev] Unit Testing process: Community Contributions

2014-10-17 Thread Edward Ned Harvey (mono)
This might have gotten buried in the other thread. So here's a new thread to bring it up to attention. Miguel, this question is probably for you. (And by the way, thank you for everything, and especially thank you for participating here.) The bottleneck that's preventing much community

Re: [Mono-dev] Unit Testing process: Community Contributions

2014-10-21 Thread Edward Ned Harvey (mono)
From: Miguel de Icaza [mailto:mig...@xamarin.com] There is no need to presume, the actual issue was just articulated on a thread, please read it. Pull requests do not work well with Mono.   They need to be discussed in the mailing list Did I miss something? Do you not recognize that

Re: [Mono-dev] Unit Testing process: Community Contributions

2014-10-21 Thread Edward Ned Harvey (mono)
From: Miguel de Icaza [mailto:mig...@xamarin.com] I have not seen you discuss any pull requests on the mailing list.  Did I miss something? In order to respond to this question, I just reviewed all the history of my pull request, but there was a lot of volume in disjoint places (github,

[Mono-dev] InvalidCastException - which makes no sense

2014-10-24 Thread Edward Ned Harvey (mono)
This is a fun one. I'd love it if anyone could explain this to me. using (var command = new SqliteCommand(@SELECT COUNT(*) FROM someTable WHERE someColumn = @someValue , dbConn)) { command.Parameters.Add(new SqliteParameter(someValue, foobar)); object scalar = command.ExecuteScalar();

Re: [Mono-dev] InvalidCastException - which makes no sense

2014-10-24 Thread Edward Ned Harvey (mono)
From: Miguel de Icaza [mailto:mig...@xamarin.com] What happens is this.   The value returned from ExecuteScalar is boxed.   This Got it, thanks. In fact, I simplified to this: Object foo = (Int64)0; Int64 foo64 = (Int64)foo; Int32 foo6432 =

Re: [Mono-dev] [Mono-list] Open source .NET and Mono.

2014-11-12 Thread Edward Ned Harvey (mono)
From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Miguel de Icaza Hey guys, I posted details about the open sourcing of .NET and Mono on my blog. We have already started the work to integrate the .NET Framework code, and once I get back

[Mono-dev] Cross-Platform GUI Tookit

2014-11-14 Thread Edward Ned Harvey (mono)
I'm aware of Xamarin.Forms, but apparently only for iOS, Android, Windows Mobile. Does something similar exist for Mac OSX, Windows Desktop, Linux? I stumbled upon this: https://github.com/picoe/Eto Haven't tried it yet. Maybe it's great, maybe not. Are there some additional competing

Re: [Mono-dev] Cross-Platform GUI Tookit

2014-11-15 Thread Edward Ned Harvey (mono)
From: Brandon Perry [mailto:bperry.volat...@gmail.com] Xwt aims to be a solution to this. https://github.com/mono/xwt Thanks for the suggestion. Sent from a computer No way...;-) ___ Mono-devel-list mailing list

  1   2   3   4   >