Re: [Mono-dev] mod_mono on Windows

2005-12-24 Thread Alexandre Rocha Lima e Marcondes




 Hello Angel,

 I'm glad to hear that we are one issue shorter in order to release a full win32 compliant mod_mono ...

 Thanks to the nice work of all mono hackers/developers/contributors ...

Em Sex, 2005-12-23 s 18:22 +0100, Angel Marin escreveu:


Hi,

Alexandre Rocha Lima e Marcondes escribi:
 * With some releases you can configure the directives with spaces
 and backslashes and then in the next one the behavior changes, the
 directive that accepted spaces, makes mono fail and the one that gave
 problems starts accepting them, for example on 1.1.10
 MonoDocumentRootDir does not work if you configure it with a path that
 has spaces, mono gives exceptions until you use the old 8.3 format for
 the path. On 1.1.9 MonoExecutablePath gave similar problems, but in
 1.1.10 it works. (on a first impression I would say it could be some
 platform path mapping glitch on the base classlib)

With 1.1.12.1 all settings play well with spaces and backslashes, and I 
haven't found any regressions, so looks like this is no longer an issue :)









--
Regards,
 Alexandre Rocha Lima e Marcondes
 P4 Tecnologia e Desenvolvimento Humano 




[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] 


www.p4tecnologia.com
alexandre.p4tecnologia.com 


Projetos:
MonoBrasil MonoBASIC ACBr 
Freedom ERP 








To validate this message's signature follow the instructions: http://www.cacert.org/index.php?id=3lang=en_US











smime.p7s
Description: S/MIME cryptographic signature
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mod_mono on Windows

2005-12-19 Thread Alexandre Rocha Lima e Marcondes




Hello Gonzalo,

 As we talked earlier, I'm sending you the patches for mod_mono on windows. On patch mod_mono-win32-3, const int MAXARGS = 21;

 should work using #define , but on Windows, as const int it does not work, so for now it is hardcoded. I think the best should be testing with define.

 I have discussed it with Algel Marin (the patch creator) and there should be no problem on using define. There are a few issues we should discuss also:

 * If the autohosting is used, mod-mono-server does not identify paths as applications (maybe we didn't figure out how to make it work)

 * We need to determine also a good LISTEN_PORT value

 * With some releases you can configure the directives with spaces and backslashes and then in the next one the behavior changes, the directive that accepted spaces, makes mono fail and the one that gave problems starts accepting them, for example on 1.1.10 MonoDocumentRootDir does not work if you configure it with a path that has spaces, mono gives exceptions until you use the old 8.3 format for the path. On 1.1.9 MonoExecutablePath gave similar problems, but in 1.1.10 it works. (on a first impression I would say it could be some platform path mapping glitch on the base classlib)

 * The build process on windows depends on cygwin (win32 glib builds)

 * fork_mod_mono_server does two different tasks: first it prepares the arguments to launch mod-mono-server.exe, then It setups the environment needed for the fork and forks the process. The arguments needed for win32 are just the same needed for linux, just the fork stuff changes. To ease maintenance the args should be setup in other function and #ifdef WIN32 should be used to declare the right function. The patch mod_mono-win32-3 handles fork_mod_mono on windows ... it should be rewritten as stated earlier.

 The patches were designed in a manner to keed mod_mono the closest from original. There could be some corrections in order to merge it with the actual code and keed it portable. If there is no problem, me and Angel Marin could do the refactoring as stated on this mail and I could commit it later.







--
Regards,
 Alexandre Rocha Lima e Marcondes
 P4 Tecnologia e Desenvolvimento Humano 




[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] 


www.p4tecnologia.com
alexandre.p4tecnologia.com 


Projetos:
MonoBrasil MonoBASIC ACBr 
Freedom ERP 








To validate this message's signature follow the instructions: http://www.cacert.org/index.php?id=3lang=en_US











smime.p7s
Description: S/MIME cryptographic signature
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list