[Mono-docs-list] Monodoc editing ideas.

2003-09-12 Thread Miguel de Icaza
Hey guys,

   Some ideas I had this morning while doing my line at the embassy:

* Support a `[Revert]' button.

* We need an Edit/Toggle menu item, the MONODOC_EDITING hack is 
  not what we want;  It was just a quick early-hack.

* Compare button to render the pristine versus edited
  versions.

   At this point, am seriously thinking `we really should get some
GtkHTML2 bindings, just to use CSS2'. 

Miguel.


___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-docs-list] Monodoc web edition: needed feature.

2003-09-12 Thread Miguel de Icaza
Hey guys,

I would like to make Monodoc use the same setup that the MSDN
documentation has: that as you navigate the pages, the url changes, so
that it is possible to cut-and-paste the url as a reference to what is
being looked for.

Ideas?

Miguel
-- 
Miguel de Icaza [EMAIL PROTECTED]
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


Re: [Mono-docs-list] Monodoc editing ideas.

2003-09-12 Thread John Luke


Miguel de Icaza wrote:

Hey guys,

  Some ideas I had this morning while doing my line at the embassy:

	* Support a `[Revert]' button.

	* We need an Edit/Toggle menu item, the MONODOC_EDITING hack is 
	  not what we want;  It was just a quick early-hack.
 

Attached is a patch that adds an Edit toggle menu, and also a collapse 
all menu (for the treeview).  I didn't see an obvious way to make the 
ecma-provider aware of the status of the menuitem, however, it left me 
wondering if this should be done in another place so other providers can 
also have editing.  Any thoughts?

* Compare button to render the pristine versus edited
  versions.
  At this point, am seriously thinking `we really should get some
GtkHTML2 bindings, just to use CSS2'.
 

Is there a reason not to use Mozilla? (Except for we don't want to have 
Mozilla as a dependency)

Miguel.

	
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list
 

? browser.gladep
? editmenu.diff
? match.diff
? test.diff
Index: ChangeLog
===
RCS file: /cvs/public/monodoc/browser/ChangeLog,v
retrieving revision 1.86
diff -u -r1.86 ChangeLog
--- ChangeLog   8 Sep 2003 03:48:04 -   1.86
+++ ChangeLog   13 Sep 2003 01:58:51 -
@@ -1,3 +1,9 @@
+2003-09-12  John Luke  [EMAIL PROTECTED]
+   
+   * browser.cs: add IsEditable property, OnEditingActivated and
+   OnCollapseActivated events
+   * browser.glade: add Collapse All, Settings, Editing menu items
+
 2003-09-08  Alp Toker [EMAIL PROTECTED]
 
* Makefile.am: csc fixes
Index: browser.cs
===
RCS file: /cvs/public/monodoc/browser/browser.cs,v
retrieving revision 1.62
diff -u -r1.62 browser.cs
--- browser.cs  7 Sep 2003 16:36:44 -   1.62
+++ browser.cs  13 Sep 2003 01:58:51 -
@@ -87,6 +87,7 @@
Glade.XML ui;
Gtk.Window MainWindow;
Style bar_style;
+   private bool editable = false;
 
[Glade.Widget] public Window window1;
[Glade.Widget] TreeView reference_tree;
@@ -209,6 +210,11 @@
public enum Mode {
Viewer, Editor
}
+   
+   public bool IsEditable
+   {
+   get { return editable; }
+   }
 
public Mode BrowserMode {
get {
@@ -386,6 +392,17 @@
void delete_event_cb (object o, DeleteEventArgs args)
{
Application.Quit ();
+   }
+   
+   void OnEditingActivate (object o, EventArgs args)
+   {
+   editable = !editable;
+   }
+   
+   void OnCollapseActivate (object o, EventArgs args)
+   {
+   reference_tree.CollapseAll ();
+   reference_tree.ExpandRow (new TreePath (0), false);
}
 
//
Index: browser.glade
===
RCS file: /cvs/public/monodoc/browser/browser.glade,v
retrieving revision 1.28
diff -u -r1.28 browser.glade
--- browser.glade   7 Sep 2003 16:36:44 -   1.28
+++ browser.glade   13 Sep 2003 01:58:51 -
@@ -127,6 +127,43 @@
  property name=visibleTrue/property
  property name=label translatable=yes_View/property
  property name=use_underlineTrue/property
+
+ child
+   widget class=GtkMenu id=view1_menu
+
+ child
+   widget class=GtkMenuItem id=collapse
+ property name=visibleTrue/property
+ property name=label translatable=yesCollapse All/property
+ property name=use_underlineTrue/property
+ signal name=activate handler=OnCollapseActivate 
last_modification_time=Sat, 13 Sep 2003 00:14:16 GMT/
+   /widget
+ /child
+   /widget
+ /child
+   /widget
+ /child
+
+ child
+   widget class=GtkMenuItem id=settings1
+ property name=visibleTrue/property
+ property name=label translatable=yes_Settings/property
+ property name=use_underlineTrue/property
+ 
+ child
+   widget class=GtkMenu id=settings1_menu
+
+ child
+   widget class=GtkCheckMenuItem id=editing1
+ property name=visibleTrue/property
+ property name=label translatable=yesEditing/property
+ property name=use_underlineTrue/property
+ property name=activeFalse/property
+ signal name=activate handler=OnEditingActivate 
last_modification_time=Sat, 13 Sep 2003 00:14:16 GMT/
+   /widget
+ /child
+   /widget
+ /child
/widget
  /child
 


[Mono-list] Re: I have a question??

2003-09-12 Thread Miguel de Icaza
Hello,

 I want to use mono-0.26-win32-2.exe for use the compiler for C# and
 can sale my programs in my contry without problems. 
  
 In the step 4 for do that you put that I need to Install Cygwin, I
 download it but when I tried to intall it an error occur, I actually
 use windows XP, what I can do? 
  
 Thak you for your help!!!

You know that on Windows, you can use Microsoft's .NET framework right?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Novell's Brainshare and Mono.

2003-09-12 Thread Miguel de Icaza
Hello guys,

   Ben asked me to update folks on my recent trip to Novell's Brainshare
event in Barcelona.  Mostly because I was so excited after the trip and
he felt people that were not on irc should hear the story.

   The trip was very interesting, because I typically get to talk to
Linux audiences or developer audiences.  This trip was different in that
most people attending the event were interested in deploying enterprise
solutions.  This was a completely different audience than the one am
used to talk to, so it was one of the most educating events I have
attended in the last year.  Knowing what people actually are using free
software for was fascinating. 

   Most of the attendees work for large companies that use many
systems.  There was a massive interest in the product line that Ximian
produced, I will only talk about the Mono interest in the event.

   Since Novell is going to support its full software stack on Linux,
and is now entering the Linux desktop space, Mono helps in a few areas
here: people considering a migration from Windows, OS2, DOS to Linux
have to migrate applications in many cases, and Mono is a perfect fit to
help the migration process.  

   Mono fits in two key areas: application migration is one;  And
another one is the use of C# as a development platform.  Not only of its
.NET components, but also the components that the community has built
around those (Mozilla, RelaxNG, XmlRpc, Gtk# and more).   

   If you are a large company and are considering Mono, please let me
know, we want to know what are your needs and we want to make sure that
we prioritize our tasks accordingly.

Miguel.


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ConditonalAttribute bug

2003-09-12 Thread Ravi Pratap M
Hi Sebastien,


 There's a bug in the Microsoft documentation which leaked in mono source code.
 
 In ConditionalAttribute.cs,
 
 [AttributeUsage(AttributeTargets.Method)]
 
 Should be
 
 [AttributeUsage(AttributeTargets.Method,AllowMultiple=true)]
 
 To reproduce the case, just try to compile the following:
 
 #define DEBUG
 #define TRACE
 public class Test
 {
   public static void Main(string args[])
   {
   WriteMe();
   }
   
   [Conditional(DEBUG),Conditional(TRACE)]
   public static void WriteMe()
   {
   Console.WriteLine(This is me);
   }
 }
 
 The compiler is allowed to ignore the attribute, but at least it should compile it :)

Could you please file this as a bug on bugzilla.ximian.com ? I can take
care of it soon.


Ravi.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Linux, OpenGl and Mono

2003-09-12 Thread Maurizio Colucci
On Friday 12 September 2003 20:33, Nemanja Hirsl wrote:
 I am planning Mono OpenGl aplication in Linux enviroment. Is it posible to
 do something like this or not? Csgl wrapper is developed for Windows use
 only, and I didn't find any (other) suported by other platforms (Linux and
 Windows).  I suppose I need another wrapper to use OpenGl calls from Gtk#?
 Now, I don't know what to do, to begin this work, or, simply to use C++,
 gtk+, and OpenGl.
 Thanks,
 Nemanja


You can use Tao opengl. It works perfectly well for me. I am doing a game too.

bye


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] where to get the right documentation?

2003-09-12 Thread fd
On Wed, 2003-09-10 at 19:09, Davy Brion wrote:
 (methods/events/...) you didn't even know existed isn't it?  Now of course i 
 can't expect the documentation to be as good as the one available at MSDN.  
 But it would be nice to at least have a complete API reference (all the extra 
 eplanation isn't even necessary... just a list of everything the class has to 
 offer would be nice) which would be easily accessible (for instance in HTML 
 form like that GTK+ API documentation that you mentioned).

The docs and monodoc browser in CVS have been up to this standard for
quite a while and offer quite a bit more than the basic functionality
you request. Just hang on in there until the next release; nobody is
suggesting that you go and read C documentation if all you want to do is
hack Gtk# applications :-)

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list