Re: [Mono-dev] Add some font methods to Mono.Cairo.Graphics
Added. On 9/20/05, John Luke [EMAIL PROTECTED] wrote: Hey, A patch to add a couple font-related methods. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] patch for Mono.Cairo ImageSurface
Here is a patch to add the two other relevent constructors to ImageSurface and Obsoletes the Surface.CreateForImage () Applied. methods. If Mono.Cairo is not frozen it would be better to just delete them instead of marking them obsolete. I'll fix up and remove the obsolete methods. Thanks -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] path for Mono.Cairo to add Cairo.Graphics.TextExtents ()
Applied. On 9/13/05, John Luke [EMAIL PROTECTED] wrote: Hey, A patch to add Cairo.Graphics.TextExtents () ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.Cairo patch for some small things
Applied. Thanks. On 9/7/05, John Luke [EMAIL PROTECTED] wrote: Hello, Another patch, this time to remove some unneeded references in the Surface and Patterns, and some small changes with naming for the relative path methods to make them easier to document nicely. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.Cairo addition API fixes
Another patch to add/fix some things in Mono.Cairo I noticed when I tried to port cairo-knockout.py over. Great! In SVN. -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] patch for Mono.Cairo to remove pre-1.0 api
Sorted. Thanks. On 9/4/05, John Luke [EMAIL PROTECTED] wrote: Hello, Here is a patch that removes symbols no longer in the cairo 1.0 API found with the mono-shlib-cop tool. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Cairo on win32?
I'm trying to compile/run the cairo examples in the samples directory. I can compile OK, however running yields the following error: Unhandled Exception: System.EntryPointNotFoundException: gdk_x11_drawable_get_xid in (wrapper managed-to-native) GtkCairo:gdk_x11_drawable_get_xid (intptr) This is meant to work on X. Could you try the PNG samples? -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] patch for Mono.Cairo to rename SurfaceImage and Patterns
In SVN. Thanks. On 9/2/05, John Luke [EMAIL PROTECTED] wrote: Hello, Here is a patch to rename SurfaceImage to ImageSurface and implement the type-hierarchy for Patterns in the cairo docs. After this I think I will only have 1 more patch with an api change to make the Surfaces a hierarchy of types also. Thanks to Hisham for taking care of everything so far. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ 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 fix Mono.Cairo.Operator
In SVN. Thanks. On 9/2/05, John Luke [EMAIL PROTECTED] wrote: Hello, One more patch to make Cairo.Operator match cairo_operator_t in cairo 1.0, I guess the other values were either from an older cairo or when Mono.Cairo was being used to emulate another library. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] patch for Mono.Cairo to rename SurfaceImage and Patterns
I will look into this on Sunday as I will be offline most of the day on Saturday. Thanks for your hard work! Hisham. On 9/2/05, John Luke [EMAIL PROTECTED] wrote: Hello, Here is a patch to rename SurfaceImage to ImageSurface and implement the type-hierarchy for Patterns in the cairo docs. After this I think I will only have 1 more patch with an api change to make the Surfaces a hierarchy of types also. Thanks to Hisham for taking care of everything so far. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Mono SVN / gmcs.exe compile error
Hello, I've been compiling Mono from SVN regularly now but a couple of days ago I started getting the following: ** (../../gmcs/gmcs.exe:7176): WARNING **: The class System.Collections.IKeyComparer could not be loaded, used in /cruft/cvs/mono/mcs/class/lib/net_2_0/System.Xml.dll (token 0x01a8) The full output can be seen here: http://pastebin.com/306755 Any help would be greatly appreciated. Regards, Hisham -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Re: Mono SVN / gmcs.exe compile error
Michal, Robert, Thank you for your suggestion, but I already tried that. I just rm -rf'ed mono and mcs and I'm trying a fresh new checkout from SVN (developer repository). Lets hope this helps. I'll let everyone know what happens. Regards, Hisham. On 7/3/05, Robert Jordan [EMAIL PROTECTED] wrote: Hisham, I've been compiling Mono from SVN regularly now but a couple of days ago I started getting the following: ** (../../gmcs/gmcs.exe:7176): WARNING **: The class System.Collections.IKeyComparer could not be loaded, used in /cruft/cvs/mono/mcs/class/lib/net_2_0/System.Xml.dll (token 0x01a8) The full output can be seen here: http://pastebin.com/306755 Any help would be greatly appreciated. $ make distclean $ ./autogen.sh Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Re: Mono SVN / gmcs.exe compile error
Apparently after wiping out mono and mcs and checking them out from SVN everything worked properly. Thanks for your help folks. Regards, Hisham. -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Marshalling char**
all working now. apparently i had an extra field in a struct which I was marshalling and mono didnt like it which caused some corruption on the data. On 5/29/05, Hisham Mardam Bey [EMAIL PROTECTED] wrote: Hey Jonathan, When this line runs: IntPtr s = Marshal.ReadIntPtr (stringArray, i * IntPtr.Size); I get: ** ERROR **: Structure field of type String[] can't be marshalled as LPArray aborting... Aborted This is the same error I get with the rest of the calls I tried. (I even implemented PtrToStringArray in my own code before looking at your reply and it didnt work). I'm not using the null terminated version of it as I know how large the string is going to be (its an int field in the struct). Any other tips or things I need to do to figure out this problem? Thank you. Best Regards, hisham. On 5/29/05, Jonathan Pryor [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 02:48 +0300, Hisham Mardam Bey wrote: I wanna try and marshal a char** that is returned in a struct. You can see the code here: http://pastebin.com/291223 I've tried using Copy and ReadIntPtr to no avail. I might be doing something wrong. I do not believe that char** can be marshaled without additional assistance; MarshalAsAttribute.SizeParamIndex *might* work for structs, but I don't think so, and that's the type of support the runtime marshaler would need to avoid manual marshaling. Fortunately, it's fairly straightforward to do it manually. Mono.Unix marshals char** for `struct group`, so you might want to look at: http://mono.myrealbox.com/source/trunk/mcs/class/Mono.Posix/Mono.Unix/Syscall.cs Syscall.CopyGroup() converts and unmanaged representation into the Managed representation; http://mono.myrealbox.com/source/trunk/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs UnixMarshal.PtrToStringArray(), which converts an IntPtr (char**) into a string[], and http://mono.myrealbox.com/source/trunk/mono/support/grp.c copy_group() which converts a Unix `struct group` into the representation shared between Mono.Posix.dll and MonoPosixHelper. You probably won't need to go through this step, since your structure isn't going to vary between differing Unix platforms. - Jon -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Marshalling char**
hello folks, I wanna try and marshal a char** that is returned in a struct. You can see the code here: http://pastebin.com/291223 I've tried using Copy and ReadIntPtr to no avail. I might be doing something wrong. thanks, Hisham. -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [E-devel] Re: [Mono-devel-list] EFL-Sharp
We've already established contact and are working together. (= We should be updating the sf.net site soon. Edje and Ecore_Evas are done. Evas is almost done. The rest of Ecore and EWL are being worked on. -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list