Re: [Mono-dev] [PATCH] System.Web.UI.LiteralControl

2006-11-15 Thread Igor Zalmanovich
Yes, this change is needed.
We have real user's application that fails without this patch.
See tests included in this commit.

-Igor

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gonzalo
Paniagua Javier
Sent: Tuesday, November 14, 2006 7:47 PM
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] [PATCH] System.Web.UI.LiteralControl

On Sun, 2006-11-12 at 02:18 -0800, Igor Zalmanovich wrote:
 Attached are the patch fixes LiteralControl constructors and 
 the corresponding Test Case

Is this change needed in LiteralControl? I don't see any real
difference.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler

2006-11-15 Thread Igor Zalmanovich

Attached is patch for System.Web.Compilation.TemplateControlCompiler
that resolves the problem is described below.

When %# Bind(...) %-expression is used more then once for same control

The generated code looks like follow:


Line 174: private System.Collections.Specialized.IOrderedDictionary
@__ExtractValues__bctrl_98(System.Web.UI.Control @__container) { 
Line 175: System.Collections.Specialized.OrderedDictionary @__table =
new System.Collections.Specialized.OrderedDictionary(); 
Line 176: System.Web.UI.WebControls.CheckBox CheckBox2; 
Line 177: CheckBox2 = ((System.Web.UI.WebControls.CheckBox)
(@__container.FindControl(CheckBox2))); 
Line 178: if ((CheckBox2 != null)) { 
Line 179: @__table[Role] = CheckBox2.Text; 
Line 180: } 
Line 181: System.Web.UI.WebControls.CheckBox CheckBox2; 
Line 182: CheckBox2 = ((System.Web.UI.WebControls.CheckBox)
(@__container.FindControl(CheckBox2))); 
Line 183: if ((CheckBox2 != null)) { 
Line 184: @__table[IsInRole] = CheckBox2.Checked; 
Line 185: } 
Line 186: return @__table; 
Line 187: }

It causes compilation error, because the same variable is declared more
then once.


Please review.

Regards,
Igor Zelmanovich.

[EMAIL PROTECTED] 



TemplateControlCompiler.patch
Description: TemplateControlCompiler.patch
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] Refactoring in System.Configuration.SectionInfo

2006-11-15 Thread Konstantin Triger








Hello,



On the Java platform we don't yet support fully nullable
types.

I would like to commit the attached refactoring removing
nullable type, which resolves our problem without splitting the code bases. (This
is a refactoring because requirePermission is initialized to true by default
and never is null).



Please approve commit.



Regards,

Konstantin Triger










si.patch
Description: si.patch
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] JAVA is now GPL..

2006-11-15 Thread Miguel de Icaza
Hello,

 Great, now mono can improve its JIT, AOT compilers and their garbage
 collectors with cross pollination from Sun's JVM..

We have historically looked at other open source compilers, garbage
collectors and virtual machines.   Intel produced a number of
high-quality ones, so did IBM and there is quite a lot of research in
the virtual machine world and code generation world to grab ideas from.

But it is easier said than done.   The concepts are probably reusable,
the code is much harder.

Also, Mono is dual licensed, under commercial terms for environments
where the GPL or the LGPL is not suitable, so we would not be able to
use the code in any case.

 - adopting/adapting Java SE garbage collector for mono

This is one of those easier said than done.  Even the ORP GC that was
designed to be reusable turned out to need too much work to make this
feasible.

Also, Java GCs do not have as many requirements as .NET GCs, so its not
a matter of copy/pasting.  Significant work would be required anyways.

 - adopting/adapting Java SE JIT and AOT compiler technology for mono

As someone else pointed out, JITing Java is a subset of JITing .NET, so
it would still require a significant amount of work.   But if someone
wants to do it, we could provide some advise. 

Consider generics: .NET has generics at the CIL level, Java does not.

 - adapting JAVA JVM to run CIL directly, transforming mono in a
 framework/wrapper + CIL2javabytecode translator..

Interesting research topic.

 - enhancing mono IKVM..

Yeah, Jeroen Fritjers already expressed his willingness to go thta
route. 

 There is a lot of technology/code that can be shared..
 
 What do you guys think?
 Do you also see this has a good thing?
 Will there  be any palpable benefits for mono now that sun JDK is GPL ?
 
 just for the record:
 JavaSE:
 https://openjdk.dev.java.net/source/browse/openjdk/
 svn checkout https://openjdk.dev.java.net/svn/openjdk/trunk openjdk
 --username guest
 
 best regards,
 
 ps.: keep going strong
 
 --
 Miguel Sousa Filipe
 
 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] System.Transactions.Transaction

2006-11-15 Thread Matthijs ter Woord
 I'd prefer

ReferenceEquals (x, null)

 instead.  Also, please use the proper indentation.

Like this? 


begin 666 trans.patch
[EMAIL PROTECTED](%1R86YS86-T:6]N+F-SCT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*
M+2TM(%1R86YS86-T:6]N+F-S2AR979IVEO;B [EMAIL PROTECTED](%1R86YS
M86-T:6]N+F-S2AW;W)K:6YG(-O'DID! (TU-RPV(LU-RPW($! B )
M6EN=5R;F%L(%1R86YS86-T:6]N(A4F%NV%C=EO;B!O=AEBD*( D)
MPH@0D);5V96P@/2!O=AEBYL979E;#L**PD)0H@0D):6YF;R ](]T
M:5R+FEN9F\[B )0ED97!E;F1E;G1S(#T@;W1H97(N95P96YD96YTSL*
M( D)?0I 0 M,3DX+#$U(LQ.3DL,C @0$ *( D)?0H@B )5M-;VYO5$]$
M3UT*+0D)'5B;EC('-T871I8R!B;V]L(]P7TEN97%U86QI='[EMAIL PROTECTED]
M86-T:6]N('@L(%1R86YS86-T:6]N('DIBL)7!U8FQI8R!S=%T:6,@8F]O
M;!O5R871OB A/2 H5')A;G-A8W1I;VX@[EMAIL PROTECTED]')A;G-A8W1I;VX@2D*
M( D)PHM0D):[EMAIL PROTECTED]'@@/3T@;G5L; F)B!Y(#T](YU;PIBT)0D)F5T
M=7)N(9A;'-E.PHM0D):[EMAIL PROTECTED]'@@/3T@;G5L;!\?!Y(#T](YU;PIBL)
M0EI9B H3V)J96-T+E)E9F5R96YC945Q=6%LRAX+!N=6QL*2 F)B!/8FIE
M8W0N4F5F97)E;F-E17%U86QS*'DL(YU;PI*0HK0D)( @(')E='5R;B!F
M86QS93L**PD)6EF(A/8FIE8W0N4F5F97)E;F-E17%U86QS*'@L(YU;PI
M('Q\($]B:F5C=Y2969EF5N8V5%75A;',H2P@;G5L;DIB )0D)F5T
M=7)N('1R=64[B *( D)7)E='5R;B A('@N17%U86QS(AY*3L*( D)?0HK
M0D**PD)'5B;EC('-T871I8R!B;V]L(]P97)A=]R(#T](A4F%NV%C
M=EO;B!X+!4F%NV%C=EO;B!Y*0HK0E[BL)0ER971UFX@(2AX($]
M('DI.PHK0E]B *( D)'5B;EC(]V97)R:61E(EN=!'971(87-H0V]D
*92 H*0H@0E[@``
`
end


___
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] mod_mono causes [mono] defunct zombie processes

2006-11-15 Thread Michał Ziemski
Hi!

I have the same on FC4 with mono 1.2-rc0.
There was a bug about this (75678) bu it is marked as RESOLVED.

Shoould I file another one?

Cheers!
Michał Ziemski

Jurek Bartuszek napisał(a):
 Hi there,

 I have a problem with mod_mono. Every time I access an .aspx web page 
 hosted by mono, a new zombie process is shown in the list of processes:

 apache   26531  0.1  0.0  0 0 ?Z18:26   0:00 [mono] 
 defunct
 apache   26551  0.2  0.0  0 0 ?Z18:26   0:01 [mono] 
 defunct
 apache   26554  0.2  0.0  0 0 ?Z18:26   0:01 [mono] 
 defunct

 After some time, apache refuses to serve asp.net applications anymore 
 and I'm forced to restart it.

 This behavior is independent of whether MonoRunXSP is set to True or 
 False (mod-mono-server is started either manually or automatically).

 Any ideas?

 Best regards,
 Jurek Bartuszek
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
   


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler

2006-11-15 Thread Gonzalo Paniagua Javier
On Wed, 2006-11-15 at 00:53 -0800, Igor Zalmanovich wrote:
 Attached is patch for System.Web.Compilation.TemplateControlCompiler
 that resolves the problem is described below.
 
 When %# Bind(...) %-expression is used more then once for same control

Please, commit.

Thanks.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] System.Web.UI.LiteralControl

2006-11-15 Thread Gonzalo Paniagua Javier
On Wed, 2006-11-15 at 00:37 -0800, Igor Zalmanovich wrote:
 Yes, this change is needed.
 We have real user's application that fails without this patch.
 See tests included in this commit.

Ok, then go ahead and commit.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Refactoring in System.Configuration.SectionInfo

2006-11-15 Thread Gonzalo Paniagua Javier
On Wed, 2006-11-15 at 00:58 -0800, Konstantin Triger wrote:
 Hello,
 
  
 
 On the Java platform we don't yet support fully nullable types.
 
 I would like to commit the attached refactoring removing nullable
 type, which resolves our problem without splitting the code bases.
 (This is a refactoring because requirePermission is initialized to
 true by default and never is null).
 
  
 
 Please approve commit.

Please, commit.
Thanks again.

-Gonzalo



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Unable to compile this morning

2006-11-15 Thread Hubert FONGARNAND




After make clean, ./autogen.sh and make

...
make[8]: Entering directory `/home/hubert/mono/mcs/class/System.Data'
MONO_PATH=../../class/lib/default:$MONO_PATH /home/hubert/mono/mono/runtime/mono-wrapper ../../class/lib/default/mcs.exe /codepage:65001 -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 -unsafe -r:mscorlib.dll -r:../../class/lib/default/System.dll -r:System.Xml.dll -r:System.EnterpriseServices.dll -r:Mono.Data.Tds.dll -target:library -out:../../class/lib/default/System.Data.dll Mono.Data.SqlExpressions/Parser.cs @System.Data.dll.sources
System.Data/DataRowCollection.cs(123,19): error CS0117: `System.Data.DataRowAction' does not contain a definition for `ChangeCurrentAndOriginal'


I think DataRowAction.ChangeCurrentAndOriginal is only defined in the .NET 2.0 profile!
___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.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] (no subject)

2006-11-15 Thread Tony Gu
Hello,
Does anybody know if Mono will implement ASP.NET AJAX soon?
Or is there any alternative AJAX already supported by Mono?
Thanks!
Tony___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Joe Audette
I can't answer about the AJAX Extensions stuff though I don't see how it could come anytime soon.There are a lot of AJAX technologies you can use today. I use:MagicAJAX which is .NET specific I think might work
pure _javascript_ ones like these certainly can be used:SarissaPrototypeOpenRicoDojoHope it helps,JoeOn 11/15/06, 
Tony Gu [EMAIL PROTECTED] wrote:
Hello,
Does anybody know if Mono will implement ASP.NET
 AJAX soon?
Or is there any alternative AJAX already supported by Mono?
Thanks!
Tony
___Mono-devel-list mailing listMono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Ben Timby

http://www.mono-project.com/FAQ:_ASP.NET#Does_Mono_support_Atlas.3F

Tony Gu wrote:

Hello,
Does anybody know if Mono will implement ASP.NET AJAX soon?
Or is there any alternative AJAX already supported by Mono?
Thanks!
Tony


--
Ben Timby
Senior Software Architect
Helios, LLC
(p) 317-554-3619
(f) 317-554-8997
www.gohelios.com


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


Re: [Mono-dev] (no subject)

2006-11-15 Thread Marek Habersack
On Wed, 15 Nov 2006 14:50:53 -0500, Joe Audette
[EMAIL PROTECTED] scribbled:

 I can't answer about the AJAX Extensions stuff  though I don't see
 how it could come anytime soon.
 
 There are a lot of AJAX technologies you can use today. I use:
 MagicAJAX which is .NET specific I think might work
I use Anthem (http://anthemdotnet.com/,
http://anthem-dot-net.sourceforge.net/) in my projects. Its integration
is practically a no-brainer. Really good for quick AJAX solutions.

best,

marek


signature.asc
Description: PGP signature
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Unable to compile this morning

2006-11-15 Thread Konstantin Triger
Title: RE: [Mono-dev] Unable to compile this morning






Hi,

This is fixed in r67895.

Thanks,
Kosta


-Original Message-
From: [EMAIL PROTECTED] on behalf of Hubert FONGARNAND
Sent: Wed 15/11/2006 11:31
To: mono-devel-list@lists.ximian.com
Subject: [Mono-dev] Unable to compile this morning

After make clean, ./autogen.sh and make

...
make[8]: Entering directory `/home/hubert/mono/mcs/class/System.Data'
MONO_PATH=../../class/lib/default:
$MONO_PATH /home/hubert/mono/mono/runtime/mono-wrapper ../../class/lib/default/mcs.exe /codepage:65001 -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 -unsafe -r:mscorlib.dll -r:../../class/lib/default/System.dll -r:System.Xml.dll -r:System.EnterpriseServices.dll -r:Mono.Data.Tds.dll -target:library -out:../../class/lib/default/System.Data.dll Mono.Data.SqlExpressions/Parser.cs @System.Data.dll.sources
System.Data/DataRowCollection.cs(123,19): error CS0117:
`System.Data.DataRowAction' does not contain a definition for
`ChangeCurrentAndOriginal'


I think DataRowAction.ChangeCurrentAndOriginal is only defined in
the .NET 2.0 profile!
___
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


Re: [Mono-dev] (no subject)

2006-11-15 Thread Manuel Espinosa








Hello
Tony, 



There
is an open source AJAX
implementation called Anthem.NET. It runs on Mono and .Net and has support for
1.1 and 2.0 .net frameworks.



This
framework provides you with a set of AJAX-enabled controls inherited from the
standard ASP.NET WebControls. You dont need to
write any _javascript_ code, everything is handled by
the framework.



Project
URL: http://anthemdotnet.com/



Manuel











De:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Tony Gu
Enviado el: Miércoles, 15 de
Noviembre de 2006 01:34 p.m.
Para:
mono-devel-list@lists.ximian.com
Asunto: [Mono-dev] (no subject)









Hello,





Does anybody know if Mono will
implement ASP.NET AJAX soon?





Or is there any alternative
AJAX already supported by Mono?





Thanks!





Tony












___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Tony Gu
Manuel,
Thanks!
Tony
- Original Message From: Manuel Espinosa [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Wednesday, November 15, 2006 11:57:19 AMSubject: Re: [Mono-dev] (no subject)



Hello Tony, 

There is an open source AJAX implementation called Anthem.NET. It runs on Mono and .Net and has support for 1.1 and 2.0 .net frameworks.

This framework provides you with a set of AJAX-enabled controls inherited from the standard ASP.NET WebControls. You don’t need to write any _javascript_ code, everything is handled by the framework.

Project URL: http://anthemdotnet.com/

Manuel





De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Tony GuEnviado el: Miércoles, 15 de Noviembre de 2006 01:34 p.m.Para: mono-devel-list@lists.ximian.comAsunto: [Mono-dev] (no subject)



Hello,

Does anybody know if Mono will implement ASP.NET AJAX soon?

Or is there any alternative AJAX already supported by Mono?

Thanks!

Tony

___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Tony Gu
Just downloaded Anthem and tried to run under
mono-1.2. But got the NotImplementedException on the
sample UpdatePanel.aspx (Do I need modify anything in
mono? It runs on ASP.NET fine):
System.NotImplementedException: The requested feature
is not implemented.
  at
System.Web.UI.ClientScriptManager.RegisterForEventValidation
(System.String uniqueId, System.String argument)
[0x0] 
  at Anthem.Manager.AddEventHandler
(System.Web.UI.Control parent,
System.Web.UI.WebControls.WebControl control,
System.String eventName, System.String commandName,
System.String commandArgument, Boolean
causesValidation, System.String validationGroup,
System.String textDuringCallBack, Boolean
enabledDuringCallBack, System.String
preCallBackFunction, System.String
postCallBackFunction, System.String
callBackCancelledFunction) [0x0] 
  at Anthem.Manager.AddCallBacks
(System.Web.UI.Control control, Boolean
enabledDuringCallBack, System.String
textDuringCallBack, System.String preCallBackFunction,
System.String postCallBackFunction, System.String
callBackCancelledFunction) [0x0] 
  at Anthem.Manager.AddCallBacks
(System.Web.UI.Control control, Boolean
enabledDuringCallBack, System.String
textDuringCallBack, System.String preCallBackFunction,
System.String postCallBackFunction, System.String
callBackCancelledFunction) [0x0] 
  at Anthem.Panel.Render (System.Web.UI.HtmlTextWriter
writer) [0x0] 
  at System.Web.UI.Control.RenderControl
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at Anthem.Panel.RenderControl
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.Control.RenderChildren
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at
System.Web.UI.HtmlControls.HtmlForm.RenderChildren
(System.Web.UI.HtmlTextWriter w) [0x0] 
  at
System.Web.UI.HtmlControls.HtmlContainerControl.Render
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.HtmlControls.HtmlForm.Render
(System.Web.UI.HtmlTextWriter w) [0x0] 
  at System.Web.UI.Control.RenderControl
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.HtmlControls.HtmlForm.RenderControl
(System.Web.UI.HtmlTextWriter w) [0x0] 
  at System.Web.UI.Control.RenderChildren
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.Control.Render
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.Page.Render
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.Control.RenderControl
(System.Web.UI.HtmlTextWriter writer) [0x0] 
  at System.Web.UI.Page.InternalProcessRequest ()
[0x0] 
  at System.Web.UI.Page.ProcessRequest
(System.Web.HttpContext context) [0x0] 

--- Marek Habersack [EMAIL PROTECTED] wrote:

 On Wed, 15 Nov 2006 14:50:53 -0500, Joe Audette
 [EMAIL PROTECTED] scribbled:
 
  I can't answer about the AJAX Extensions stuff 
 though I don't see
  how it could come anytime soon.
  
  There are a lot of AJAX technologies you can use
 today. I use:
  MagicAJAX which is .NET specific I think might
 work
 I use Anthem (http://anthemdotnet.com/,
 http://anthem-dot-net.sourceforge.net/) in my
 projects. Its integration
 is practically a no-brainer. Really good for quick
 AJAX solutions.
 
 best,
 
 marek
  ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-devel-list
 



 

Sponsored Link

$420k for $1,399/mo. 
Think You Pay Too Much For Your Mortgage? 
Find Out! www.LowerMyBills.com/lre
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Marek Habersack
On Wed, 15 Nov 2006 14:15:41 -0800 (PST), Tony Gu [EMAIL PROTECTED]
scribbled:

 Just downloaded Anthem and tried to run under
 mono-1.2. But got the NotImplementedException on the
 sample UpdatePanel.aspx (Do I need modify anything in
 mono? It runs on ASP.NET fine):
You apparently compiled anthem with the V2 symbol defined - i.e. the
vs2005 version. The offending code is in Manager.cs, the
AddEventHandler method - you can comment it out and it will compile
correctly. Note that to compile and use Anthem under mono/asp.net 2.0
you need to also comment all the references to WebParts (basically
it's just the WebPartZone.cs file).
I'm hoping to implement the Event Validation for ASP.NET 2.0 soon, then
the modification to Manager.cs will not be required anymore.

Anthem vs2003 should work without modification under mono,

regards,

marek


signature.asc
Description: PGP signature
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] (no subject)

2006-11-15 Thread Tony Gu
Marek,
That's it. I did compile on vs2005. It works after comment out the part you 
mentioned.
The PanelsAndVisibility.aspx seems has the bug which not working after the 
cecond click. Well, I will try it in my project.
Thanks! 
Tony


- Original Message 
From: Marek Habersack [EMAIL PROTECTED]
To: Tony Gu [EMAIL PROTECTED]
Cc: mono-devel-list@lists.ximian.com
Sent: Wednesday, November 15, 2006 2:27:56 PM
Subject: Re: [Mono-dev] (no subject)


On Wed, 15 Nov 2006 14:15:41 -0800 (PST), Tony Gu [EMAIL PROTECTED]
scribbled:

 Just downloaded Anthem and tried to run under
 mono-1.2. But got the NotImplementedException on the
 sample UpdatePanel.aspx (Do I need modify anything in
 mono? It runs on ASP.NET fine):
You apparently compiled anthem with the V2 symbol defined - i.e. the
vs2005 version. The offending code is in Manager.cs, the
AddEventHandler method - you can comment it out and it will compile
correctly. Note that to compile and use Anthem under mono/asp.net 2.0
you need to also comment all the references to WebParts (basically
it's just the WebPartZone.cs file).
I'm hoping to implement the Event Validation for ASP.NET 2.0 soon, then
the modification to Manager.cs will not be required anymore.

Anthem vs2003 should work without modification under mono,

regards,

marek

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Serialization issue with anonymous methods?

2006-11-15 Thread Johan Hernandez

Hi my name is Johan Hernandez(excuse me for my english). I was looking for a
list of known issues for Mono 1.2 but I can't find it, so I will post my
issue here. Please compile the attachments in this mail and run the
sample. I got this Serialization error:

SerializationException
'MyApp.MainClass+c__CompilerGenerated1 is nor marked as serializable

My class 'MyApp.MainClass contains a method(the Application Main Method)
with a anonymous method like this:
/*
 d.UnhandledException+= delegate {
  Console.WriteLine(Log Exception inside the application domain);
  };
*/
... where d is a AppDomain instance running and raising exceptions. When
the first exception is throwed
the SerializationException occurs.

The c__CompilerGenerated1 type is generated by the compiler but it is not
marked as serializable by default.

I am just thinkin that this is the cause but i'm not sure because I not able
to run MS ILDASM on a Mono Assembly and Mono Package don't have this tool.

This issue is not present in MS .NET 2.0.

I hope this is helpful.

Best regards, Johan Hernandez.


CompileERROR.bat_
Description: Binary data


CompileOK.bat_
Description: Binary data


Dragon.cs_
Description: Binary data


MainClass.cs_
Description: Binary data
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list