[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE : RE : [Pnet-developers] System.NotImplementedException when impl
From: |
Gopal V |
Subject: |
Re: RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder |
Date: |
Wed, 23 Jul 2003 23:16:41 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Yannis BRES wrote:
> That patch is at
> http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1760&group_id=353.
Great work ! ... I really appreciate the work you've put into defining
all the macros and working out the win32 calls .
But in fitting in with "Portable.net" motto , I do think this needs a
lot of re-ordering of code before I commit it 2 days before a release.
I hate it when Rhys or someone rewrites my patches , but it just has
to get cleaner as we reach near the release dates . So I hope you won't
mine me juggling with your functions , names etc... keeping the logic
the same ?
So consider this a guided tour of the Portable.net system for the
first time visitor ;-)
+#else
+ /* TODO for non-Win32 OSes */
+ return null;
+#endif
was supposed to return NULL;
Ok, also another Portable.net policy is to never #ifdef a platform inside
the internal calls , all the system specific code should be moved to the
support/ directory. Before I commit this code , I'll do so and create a
new ILPathGetSpecialFolder() function.
Also the IL_SP_* stuff is better done as (a set of macros + set of enums)
due to 2 reasons . A macro is for communication between engine and support.
And the enum for engine and C# . Also gcc does give better error
checking when handling enums in switch statement . Also this will be
similar to the general design of the rest of the enums used in lib_*.c
files , for an API coherence.
If the platform does not have GetFolder support , we run into an
important problem . Figuring that out is point #2 though.. see my
reply to Pascal Hauser's mail.
In short, a heavily security & portable hardened copy of your patch
will enter CVS shortly :)
Gopal
--
The difference between insanity and genius is measured by success
- [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/22
- Re: [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Gopal V, 2003/07/22
- RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/22
- Re: RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder,
Gopal V <=
- RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/23
- Re: RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Gopal V, 2003/07/23
- Re: RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Rhys Weatherley, 2003/07/23
- RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/24
- Re: RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Rhys Weatherley, 2003/07/24
- RE : RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/24
- Re: RE : RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Rhys Weatherley, 2003/07/24
- RE : RE : RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/24
- [Pnet-developers] Re: RE : RE : RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Rhys Weatherley, 2003/07/24
- RE : RE : RE : RE : RE : RE : RE : [Pnet-developers] System.NotImplementedException when implementing Environment.GetSpecialFolder, Yannis BRES, 2003/07/24