Re: [Mono-list] inlining of methods using structs

2004-08-19 Thread Gert Kello
and, according to that document, If any of the method's formal
arguments are structs, the method will not be inlined.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp

Uhm, now thinking of it, if a method/property is inlined, what happens
when the API changes? So when you use Rectangle, and the setter of
Width is changed, won't your program still used the obsolete version
of Rectangle.set_With? Or am I thinking totally wrong?
The inlining is runtime feature. Every time You restart Your 
application, the progarms are recompiled from the CIL (and any 
optimizations/inlining is performed) And You are propably not able to 
replace assembly during one program execution :)

What You have to remember is rthat the compilation is performed twice: 
once when compiling from high-level language (C#, for example) to CIL, 
second time when the program executes and the CIL is compiled to native 
code. Inlining is perfomed during second compilation.

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Reply to address

2004-08-18 Thread Gert Kello
Probably it is you MUA configuration issue, my client is setting reply address 
correctly. Altough I didn't see any Reply tag in the header.

And what e-mail client You are using? Mozilla Thunderbird uses from 
aadress for reply...

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] inlining of methods using structs

2004-08-18 Thread Gert Kello
You would not have to do anything. All small methods that do not contain 
complex stuff like loops or exception handling would be inlined. Instant 
factor 4 speed boost :-)
and, according to that document, If any of the method's formal 
arguments are structs, the method will not be inlined.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp 

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Any interest in a new open source project?

2004-07-30 Thread Gert Kello
I have done a great deal of work on this project, all in Visual Studio 
.NET in C#. I want to make it open source so that others can help add 
code to support other DB servers besides just MS SQL Server. I started 
the project with extensibility and multiple database server backends 
in mind.

Is there a great deal of interest in helping these classes grow and 
mature? I am planning on putting the source up on Novells sourceforge 
if people are willing to use/contribute.

- Andrew Arnott
Andrew, I am sure there will be great interest in such a project, juding 
from the large number of Object-Relationel Mappers. As far as I know 
most are proprietary. I have put some effort into finding a suitable 
solution but no acceptable free solutions exists (I could not find any. 
Please prove me wrong).

I have worked a little on something that sounds quite similar to what 
you are describing. I would very much like to see what you have produced 
so far, and if we are indeed persuing the same goal I will be willing to 
help with the creation of a free solution.
I'm also about start a non-profit project where I want to use an OPF. I 
did make a list from libraries present in http://SourceForge.net/ So far 
I have managed to review only Gentle.Net (Which didn't satisfy me)

So, could You please share You findings about OPF-s? You might make my 
life much easier :)

Also, I'm willing to share my findings about the ones You didn't evaluate...
And to any other in list: Could You plase share You knowledge about 
diffrent free OPF-s.

If I do not find one that satisfies me, I'm thinking to roll my own 
one... Or, if there is one to be satisfying, I would gladly join the team.

P.S. Note to the list adnministrator: Is there any reasons why the 
reply-to address is not set to the list? I usually want to reply to the 
list... And it is tedious to do recipient clean-up every time I make 
Reply All

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Any interest in a new open source project?

2004-07-30 Thread Gert Kello
I'm also about start a non-profit project where I want to use an OPF. 
I did make a list from libraries present in http://SourceForge.net/ So 
far I have managed to review only Gentle.Net (Which didn't satisfy me)

So, could You please share You findings about OPF-s? You might make my 
life much easier :)

Well, I must say that I never did any thorough evaluations.  I tend to 
get frustrated with a many of the frameworks rather quickly, because 
they often only allow you to download timelimited and/or crippled 
demoversions.
Well, my budget is too small to buy something (Actually, the budget is 
exaclty 0 - My time and hardware I have do not count). So, I haven't 
even looked at non-free solutions...

But if You have good budget, I would suggest to look at the Borland's 
ECO. You have to buy Borland C# builder Architect edition to get that 
(Or Delphi 8 Architect). I have not worked with ECO, but I did try the 
Bold (AFAIK, ECO is reimplemntation of Bold). Bold seemed to be very 
reasonable OPF implementation.

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] missing native feel ?

2004-07-15 Thread Gert Kello

  That is, what I mean, with best integration in the system, so
  that there
  existing a native-feeling by using .net-programs.
 
The problem with giving it a native feel is that it destroys one of the
objectives of Mono...to be able to take a .Net program from Windows and
just run it.
Why so? You can make mono to understand two different (binary) formats: 
the MS one and the Mono native one. So, MS compiled programs would run 
fine under mono...

But the reverse would not be true. So, the mono would need to compile 
into two different formats: mono native and MS compatible.

The format differences could be minimal (like few additional bytes at 
the start of file)

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] mono site not shown in IE?

2004-07-06 Thread Gert Kello
The former site of mono was shown with the same setup. Maybe there is a
strange behavior of  proxy server ISA which is not controlled by me. In
fact, the html is not blank but with blank body (see below).
Regards.
That's what expected AFAIK. For some reason, Your IE does not understand 
META refresh tag... Maybe You have disabled it?

meta http-equiv=refresh content=0; url=/about/index.html

But for site maker, maybe it would be good idea to include some link in 
the body to help out those whose brause do not understand meta refresh?

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Re: Mono 1.0 has been released. (Gert Kello)

2004-07-02 Thread Gert Kello
IMHO, this is a flaw in './gtk-sharp-1.0/sample/rsvg/Makefile.am'. It
seems to miss '../../art/art-sharp.dll' in 'assemblies'. You may try the
following patch to solve the problem.
Tried this and seems to be working. :)
Funny. I tried to modify the makefile directly to include art-sharp.dll 
in assemblies. But this didn't work.. (I know, this would have been 
overwritten during next ./configure ). Propably I did some mistake...

BTW. Could some list admin be so kind and modify the list settings so 
that replies would go directly to list, not to sender? It's quite tedious...

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Mono 1.0 has been released.

2004-06-30 Thread Gert Kello
   Mono 1.0 has been released, get your packages:
	http://www.mono-project.com/downloads/index.html
Hi. I was unable to build gtk-sharp from the tarball (Debian unstable). 
The error was:


Making all in rsvg
make[3]: Entering directory `/home/gert/mono_1.0/gtk-sharp-1.0/sample/rsvg'
/usr/local/bin/mcs /out:svghelloworld.exe ./svghelloworld.cs 
/r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll 
/r:../../atk/atk-sharp.dll /r:../../gdk/gdk-sharp.dll 
/r:../../gtk/gtk-sharp.dll /r:../../rsvg/rsvg-sharp.dll

** (/usr/local/lib/mono/1.0/mcs.exe:3274): WARNING **: Could not find 
assembly art-sharp, references from 
/home/gert/mono_1.0/gtk-sharp-1.0/sample/rsvg/../../rsvg/rsvg-sharp.dll 
(assemblyref_index=3)
 Major/Minor: 1,0
 Build:   0,0
 Token:   35e10195dab3c99f

** (/usr/local/lib/mono/1.0/mcs.exe:3274): WARNING **: Could not find 
assembly art-sharp, references from 
/home/gert/mono_1.0/gtk-sharp-1.0/sample/rsvg/../../rsvg/rsvg-sharp.dll 
(assemblyref_index=3)
 Major/Minor: 1,0
 Build:   0,0
 Token:   35e10195dab3c99f

error CS0006: Cannot find assembly `../../rsvg/rsvg-sharp.dll'
Log:
Compilation failed: 1 error(s), 0 warnings

(Well, actually I was able to make it with make install :) )
--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] Mono 1.0 has been released.

2004-06-30 Thread Gert Kello
I had the same problem until I set MONO_PATH to gtk-sharp and 
gecko-sharp directories:

export MONO_PATH=/usr/lib/mono/gtk-sharp:/usr/lib/mono/gecko-sharp (or 
wherever the libs are installed)
Well, doing make install as a root was simpler :) (As I figured out 
that once the assemblies are in GAC, everything works)

Uhh... How could Your solution help as the only place where the 
art-sharp.dll was present was the gtk-sharp build folder? 
(~/mono_1.0/gtk-sharp-1.0 in my case)

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] gtk-sharp CVS build failing

2004-06-27 Thread Gert Kello
I'm getting this same error on both FC2 and Debian Unstable. mono and 
gtk-sharp source was gotten from CVS.

I'm getting the same error on NetBSD with mono 0.97 and Gtk# 0.99.
Same here on Debian unstable. Also noticed that building libgdiplus 
gives many errors like

../libtool: line 3975: test: : integer expression expected
No idea whether they are related or not...
--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Mono-list] compiling for mono

2004-06-18 Thread Gert Kello
I have a 3rd party component that I use on my .net sites, and I would 
like to know if there is a way to compile the component for use within 
my Mono applications? (obviously this pre-supposes getting the source 
code from the vendor, but they have already expressed an interest in 
getting doing this).
It depends what kind of features does this component use. If all of them 
are implemented in mono, You should be able to use this component even 
without recompiling under mono, AFAIK :)

--
Gert


smime.p7s
Description: S/MIME Cryptographic Signature