Mono / .net related stuff - Monodevelop.sfs

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#31 Post by MU »

8)

Next week I have 3 days left to fix the bugs I added by rewriting code to get the automatic layouting to work.

E.g. splitpanels mess up project.glade, so that glade refuses to load it.

The screenshot shows a small testprogram running in Visual Studio (C#, Winforms, Windows XP) and right after conversion in Vala-IDE (Vala/Gtk2, Newyearspup).
I did not edit the converted project in Glade - it started out of the box like this after compilation in the Vala-IDE.

A download follows friday in 1 week after the presentation.
Mark
Attachments
csharp2vala15.jpg
(169.85 KiB) Downloaded 753 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

MUguest
Posts: 73
Joined: Sat 09 Dec 2006, 16:40

#32 Post by MUguest »

:D

I did NOT alter the resulting Window in Glade :!:
It is directly compiled and run after conversion :P

You just had to resize some elements for a "perfect" result, that takes 1 minute.

Tomorrow I will have a look, if I can convert menus.

Mark
Attachments
csharp2vala16e.zip
(161 KiB) Downloaded 705 times
csharp2vala16d-mini.jpg
(29.03 KiB) Downloaded 2173 times
csharp2vala16d.jpg
(100.98 KiB) Downloaded 805 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#33 Post by MU »

This is almost the "final" state, as I have just 1 day left to finish the project.

I added support for menus, even nested submenus work.
The menu and the statusbar will be not placed in the "fixed" widget, but in a vbox, so they expand with the window.

All other elements now are sized.
In most cases this gives better results than before.
Just flowlayouts look strange then, and must be adjusted by hand in Glade (see the bottom left corner, where the button is expanded).

Tomorrow I plan:
- add a scrolled-window to surround textboxes,
- remove unneeded properties (they throw warnings when the program runs - not critical, but it would look more professional to avoid them).
- if a menubar is available, move all elements on the "fixed" sligtly up.
I cannot gurantee, that I'll have success with every point.

I plan to announce the program in a Mono Mailinglist or so, so that it can be continued by other people.
Even if they are not interested in Vla - the Winforms to Glade feature is great for C#, too (Monodelop, Glade#).

Myself I will concentrate on Genie programming, and do not plan to extend it further on my own.
You still could add "thousands" of enhancements (more widgets, convert more than one form, ...), and it would take several weeks or even months, to implement all of this.

Mark
Attachments
csharp2vala17-mini.jpg
(42.06 KiB) Downloaded 1923 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#34 Post by MU »

Here is the final release.

I improved the import of multiline text, added scrolledwindows to textboxes, shadows to the treeviews.

If a menu is used, the elements are moved up to get the original aspect ratios.

Mark
Attachments
csharp2vala18mini.jpg
(36.98 KiB) Downloaded 1936 times
csharp2vala18.jpg
(134.87 KiB) Downloaded 720 times
WindowsFormsTest.zip
(105.52 KiB) Downloaded 573 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#35 Post by MU »

here are the final files I used for the presentation.
Still need to set up a webpage and translate fies to english...

http://dotpups.de/csharp2vala/

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

Puppy Monodevelop .iso - VMware Guest under WinXP Host

#36 Post by DanYHKim »

Nice work on the Monodevelop in Puppy. It works out of the box for me.
I have it running as a VMware guest on my WinXP host.

While running, I noticed that the mouse cursor can "break out" of the VMware window to my XP desktop. This is a behavior I normally see when a VMware guest has the VMware Tools installed. Otherwise, I must use CTRL-Alt to make the VMware guest let go of the mouse.

How does this happen? Is it a function of the Newyearspup base distro for Puppy Monodevelop, or is it something else?

I'd love to know, because VMware Tools doesn't really buy me any compelling advantages in a Puppy guest virtual machine except for the mouse breakout.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#37 Post by MU »

no, it does not have the vmware tools installed.
I have no idea, what causes that behaviour.
Maybe it has to do with the newer Xorg it uses (7.4, compared to 7.3 in Puppy 4.x).
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

ALC
Posts: 3
Joined: Mon 02 Nov 2009, 06:28

#38 Post by ALC »

i tried to install the iso that you have uploaded
X fails to start when i try to run it with Xorg server and when i try to choose Xvesa i seems to work during 1 or 2 sec and my screen becomes blank right after...what's happening?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#39 Post by Lobster »

Try using vesa again at a lower res than normal
I had to use vesa rather than xorg . . .
I uploaded an Iso (190 MB)
I downloaded it.

Being very impressed with MONO
(first looked at it when I was using Knoppix
- very immature at the time)

Now it is something rather simple and good
I tried to work out the Eclipse IDE
Too hard.

I may have access to some
interesting C# code so . . .
MONO with your Vala editions . . . Hooray!

Some questions you might know about
You can embed the mono or jit or some such in
a C# program - I hear they can be quite small
but not Puppy small . . . ?

Anyway I hope to look further into the possibilities and
really pleased this Puppy Mono environment exists ;)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#40 Post by snayak »

Many thanks Mark. Monodevelop iso works nice for learning .Net.

Did you got a chance to brought up .Net Core 1.0.4 on any puppy?
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#41 Post by disciple »

Lobster wrote:Some questions you might know about
You can embed the mono or jit or some such in
a C# program - I hear they can be quite small
but not Puppy small . . . ?
I know you asked this many years ago, but for the record:
If you are talking about mkbundle, last time I checked it seemed to be fundamentally broken as per https://bugzilla.xamarin.com/show_bug.cgi?id=3955.
IIRC I eventually found that I could include the gdiplus using a very old version of mono, but I never figured out the --config thing that is apparently needed for libc!
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply