Re: [Mono-dev] Patch to System.Web.SessionState.SessionSQLServerHandler
Hello, Thanks for commiting my previous patch, but it's not complete because the INSERT query is column index dependent too. Here's the small patch which correct this. Thanks to commit! Hubert FONGARNAND Le jeudi 12 octobre 2006 12:04 +0200, Hubert FONGARNAND a crit : Hello, This small patch permits that the user add some custom column in the aspsessionstate table when using sqlserver mode for storing session in ASP.NET. (This is useful for us because we want to add tracability to the session in the database). Therefore i think it's better to do a SELECT timeout,staticobjectsdata,sessiondata than SELECT * (with select * the order of the column, you've specified when you create the table is important...). This patch corrects a bug too in ReadBytes. The index parameter was not properly used when calculating the size of the data... Could someone commit? Thanks! -- Hubert FONGARNAND [EMAIL PROTECTED] Fiducial ___ Ce message et les ventuels documents joints peuvent contenir des informations confidentielles. Au cas o il ne vous serait pas destin, nous vous remercions de bien vouloir le supprimer et en aviser immdiatement l'expditeur. Toute utilisation de ce message non conforme sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'tant pas scurises, l'intgrit de ce message n'est pas assure et la socit mettrice ne peut tre tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. Index: System.Web.SessionState/SessionSQLServerHandler.cs === --- System.Web.SessionState/SessionSQLServerHandler.cs (révision 66641) +++ System.Web.SessionState/SessionSQLServerHandler.cs (copie de travail) @@ -51,7 +51,7 @@ const string defaultParamPrefix = :; string paramPrefix; string selectCommand = SELECT timeout,staticobjectsdata,sessiondata FROM ASPStateTempSessions WHERE SessionID = :SessionID AND Expires :Expires; - string insertCommand = INSERT INTO ASPStateTempSessions VALUES (:SessionID, :Created, :Expires, :Timeout, :StaticObjectsData, :SessionData); + string insertCommand = INSERT INTO ASPStateTempSessions (SessionId, Created, expires, timeout, StaticObjectsData, SessionData) VALUES (:SessionID, :Created, :Expires, :Timeout, :StaticObjectsData, :SessionData); string updateCommand = UPDATE ASPStateTempSessions SET expires = :Expires, timeout = :Timeout, SessionData = :SessionData WHERE SessionId = :SessionID; string deleteCommand = DELETE FROM ASPStateTempSessions WHERE SessionId = :SessionID; ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Replacing/Removing I18N
On 10/12/06 Kornél Pál wrote: Currently I have little time for Mono but I have some ideas about getting rid of I18N assemblies: [...] What about these ideas? The only difference in your proposal is how to store the data. I maintain that having the option to store it either embedded in the binary or in data files is better than the proposal to use assembly resources or your proposal of having only external files (which makes it harder to support mkbundle). lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Minor MIPS changes to mono/mono/mini
On 10/12/06 Mark E Mason wrote: Ah - make dist was one I hadn't thought of. Ok. Expect a fuller set of changes early next week then. Thanks! I'm calling it from mini-mips.c when outputting basic blocks if the verbose level is greater than 2. Tell me which name(s) you want and I'll take care of the changes. mono_print_ins () is fine. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] web application domains in apache
Hi, How is mod_mono implemented, is it possible different web applications to run in their own process space (or app domain pool) under apache. I mean, different virtual directories, as it is under IIS 6.0? I need to be able to deploy a couple of web services on one server, and each one of them to use their own thread pool, etc. -- -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Are any implementations of IChannel available?
Hello! Trying use Mono Remoting the same way as remoting for MS Framework I have missed to find any implementations of System.Runtime.Remoting.Channels.IChannel Perhaps someone heard about an implementation of it or have an example how to use remoting in Mono. Thanks! -- Slava. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Replacing/Removing I18N
The only difference in your proposal is how to store the data. I maintain that having the option to store it either embedded in the binary or in data files is better than the proposal to use assembly resources or your proposal of having only external files (which makes it harder to support mkbundle). I just was thinking of a data file (or more data files) but that can be independent of the assembly, can be a linked resource or an embedded resource. I think that this is a minor detail because this can be changed in some minutes at any time and does not affect the entire encoding infrastructure. And I agree with you that using resources is a better solution. I happy that we both have the same opinion. I probably was lost in the long running conversation about this problem and didn't realize this fact. Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Replacing/Removing I18N
On 10/13/06 Kornél Pál wrote: I maintain that having the option to store it either embedded in the binary or in data files is better than the proposal to use assembly resources or your proposal of having only external files (which makes it harder to support mkbundle). I just was thinking of a data file (or more data files) but that can be independent of the assembly, can be a linked resource or an embedded resource. I think that this is a minor detail because this can be changed in some minutes at any time and does not affect the entire encoding infrastructure. And I agree with you that using resources is a better solution. You misunderstood: embedding the data as a resource in the assemblies is not a better solution. The best way is to add an icall: static byte* GetEncodingData (int encoding_id); The runtime can search an internal table for the data, or lookup the file $prefix/lib/mono/encodings/encoding_id, mmap it and return the pointer. The result of the icall is stored in a readonly static field. If you use a resource in the managed assemblies you'll have more overhead, since it requires creating objects, setting up finalizers etc. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Replacing/Removing I18N
You misunderstood: embedding the data as a resource in the assemblies is not a better solution. The best way is to add an icall: OK, thanks for the clarification. I really didn't understand you.:) I believe you that this is faster.:) Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-devel-list] Initial ARM JIT port in svn
Hello, Is there anyone in the Silicon Valley area who would be interested in helping bring up the AOT on an ARM based system on a contract basis? We'd love to switch from pnet to mono, but the JIT time at startup is nasty (over 30 seconds according to the JIT profiler). 30 seconds sounds like a lot of time, even for an underpowered machine, what kind of test are you running? You could customize Mono in your particular device by removing things that it might not need. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Patch to System.Web.SessionState.SessionSQLServerHandler
Hello, Thanks for commiting my previous patch, but it's not complete because the INSERT query is column index dependent too. Here's the small patch which correct this. Thanks to commit! Does that mean that it is currently broken? Because we have already done the packaging for 1.1.18 with this patch. Or does it mean that it is just suboptimal? Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] web application domains in apache
Hello, How is mod_mono implemented, is it possible different web applications to run in their own process space (or app domain pool) under apache. I mean, different virtual directories, as it is under IIS 6.0? I need to be able to deploy a couple of web services on one server, and each one of them to use their own thread pool, etc. See: http://www.mono-project.com/Mod_mono#Multiple_Applications.2C_Multiple_mod-mono-servers Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] web application domains in apache
On 10/13/06, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, How is mod_mono implemented, is it possible different web applications to run in their own process space (or app domain pool) under apache. I mean, different virtual directories, as it is under IIS 6.0? I need to be able to deploy a couple of web services on one server, and each one of them to use their own thread pool, etc. See: http://www.mono-project.com/Mod_mono#Multiple_Applications.2C_Multiple_mod-mono-servers Miguel. Great. Thanks -- -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Patch to System.Web.SessionState.SessionSQLServerHandler
Miguel de Icaza wrote: Hello, Thanks for commiting my previous patch, but it's not complete because the INSERT query is column index dependent too. Here's the small patch which correct this. Thanks to commit! Does that mean that it is currently broken? Because we have already done the packaging for 1.1.18 with this patch. Or does it mean that it is just suboptimal? It's suboptimal for the intended functionality, but it doesn't break anything. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Book On Mono
Hi, I'm looking for a good book on Mono / Gtk#. I found Mono: A Developer's Notebook. *another idea ? Thanks ! * ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Are any implementations of IChannel available?
On 10/13/06 Slava Petrenko wrote: Trying use Mono Remoting the same way as remoting for MS Framework I have missed to find any implementations of System.Runtime.Remoting.Channels.IChannel Perhaps someone heard about an implementation of it or have an example how to use remoting in Mono. Compile with: mcs -r:System.Runtime.Remoting ... lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] Are any implementations of IChannel available?
Hello, Trying use Mono Remoting the same way as remoting for MS Framework I have missed to find any implementations of System.Runtime.Remoting.Channels.IChannel Perhaps someone heard about an implementation of it or have an example how to use remoting in Mono. Compile with: mcs -r:System.Runtime.Remoting ... Or you can also use: mcs -pkg:dotnet ... Which brings all the default .NET assemblies to the compile line. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] Are any implementations of IChannelavailable?
IChannel is part of corlib, so he must be having either more trivial or more complex problems than referencing assemblies. To ensure that nothing is wrong with compilation, compile the program using csc.exe then try it on MS.NET and if everyting is fine after that try it on Mono. If this solves the problem the code is compiled incorrectly with mcs (most likely the users fault). Otherwise something is wrong with the Mono installation. BTW I think that it should be advertised on www.mono-project.com on some highly visited place that Mono is able to execute binaries compiled using MS.NET because a lot of people don't know this and the compile and eved distribute different binaries for Mono and MS.NET altough they only differ in the compiler used (csc or mcs). Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Book On Mono
Here's what is on my bookshelf: Mono: Mono: A Developer's Notebook / Hans-Juergen Schoenig Cross-Platform .NET Development: Using Mono, Portable.NET, and Microsoft .NET / M.J. Easton Mono Kick Start / Hans-Juergen Schoenig Practical Mono (Expert's Voice in Open Source) / Mark Mamone Open Source .NET Development : Programming with NAnt, NUnit, NDoc, and More / Brian Nantz .NET: Introducing the Microsoft.NET platform / David S. Platt Programming Microsoft .NET by Jeff Prosise Applied Microsoft.NET framework programming / Jeffrey Richter -- Bill Seurer IBM System i5 internal compiler development Rochester, MN Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED] http://w3.rchland.ibm.com/~seurer/ http://www.seurer.net [EMAIL PROTECTED] wrote on 10/13/2006 01:37:40 PM: I'm looking for a good book on Mono / Gtk#. I found Mono: A Developer's Notebook. *another idea ? Thanks ! ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] Are any implementations ofIChannelavailable?
BTW I think that it should be advertised on www.mono-project.com on some highly visited place that Mono is able to execute binaries compiled using MS.NET because a lot of people don't know this and the compile and eved distribute different binaries for Mono and MS.NET altough they only differ in the compiler used (csc or mcs). It is right there, on the main page. My bad, I never noticed that but telling the truth I read the current What is Mono? section today for the first time. Maybe because I already knew what Mono is.:) I would add a blinking banner, but I would get killed; Any artistic ideas and logo suggestions would be fine ;-) I believe that FAQ is written for people who don't read the FAQ, and the same seems to be true for the Main Page.:) I think this would be more informative (some additions to the current version): Mono allows your existing .NET binaries compiled on Windows to run on Linux with copy-deployment. People probably would notice a blinking banner but a nice green box (like in the Mono in the Real World section) with bold text would be just as fine and less intrusive for this advertisement. Having the same on Downloads page would increase the probability of reading this notice. I may be too pessimistic so the above solution is only a suggestion but as I see most Mono users believe that they have to recompile their code using mcs in order to function under Mono. Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list