Re: [Mono-devel-list] unsigned package mono-jscript-1.1.8.2-0.novell.i586.rpm

2005-07-27 Thread Fawad Halim
If that's the case, then shouldn't the sample mono.repo on the website 
(http://www.go-mono.com/download/fedora-3-i386/mono.repo) be modified to 
have


gpgcheck=0

in each of the repository sections?

-fawad

Ben Maurer wrote:

On Wed, 2005-07-27 at 00:12 +0300, Anton Andreev wrote:


yum install mono-complete

ends with: unsigned package mono-jscript-1.1.8.2-0.novell.i586.rpm

What should I do?

fedora core 4, installing mono 1.1.8.1



We don't sign our packages. You need to tell yum to disable its
signature check.

-- Ben

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


Re: [Mono-devel-list] unsigned package mono-jscript-1.1.8.2-0.novell.i586.rpm

2005-07-27 Thread Fawad Halim

Hi,
	You're absolutely right. Per the yum.conf man page 
(http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum/docs/yum.conf.5?rev=1.33view=auto), 
the setting for gpgcheck in [main] defines the default. At least RHEL 4 
and FC 4 ship with gpgcheck=1 in [main].


Regards
-fawad

Rafael Teixeira wrote:

Hi Fawad,

Maybe yum changed the default for this setting on recent versions, or
the global yum.conf has been changed by the user (Anton) to turn it on
by default.

This gpgcheck setting is omitted in my copy of mono.repo (as the one
you linked) and yum 2.2.1 (FC3) never presented me such message as
told by Anton: unsigned package
mono-jscript-1.1.8.2-0.novell.i586.rpm.

Anyway, I do think mono.repo should be configured as you suggest to
make things 'explicitly' work as intended.

:)

On 7/27/05, Fawad Halim [EMAIL PROTECTED] wrote:


If that's the case, then shouldn't the sample mono.repo on the website
(http://www.go-mono.com/download/fedora-3-i386/mono.repo) be modified to
have

gpgcheck=0

in each of the repository sections?

-fawad

Ben Maurer wrote:


On Wed, 2005-07-27 at 00:12 +0300, Anton Andreev wrote:



yum install mono-complete

ends with: unsigned package mono-jscript-1.1.8.2-0.novell.i586.rpm

What should I do?

fedora core 4, installing mono 1.1.8.1



We don't sign our packages. You need to tell yum to disable its
signature check.

-- Ben


___
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


Re: [Mono-docs-list] monodoc uploading problem

2004-09-02 Thread Fawad Halim
Gonzalo,
I'm not sure what the problem is, as monodoc is supposed to create an
account for you. If you could email me the
~/.config/monodoc/changeset.xml off the list, I'd be glad to commit it
for you.

-fawad

Gonzalo Aguilar Delgado wrote:
 Hello all!!!
 
 I'm doing a lot of contributions to monodoc project but I cannot upload
 my contributions.
 
 The error I receive is:
 
 Error: Monodoc encountered a failure when requesting a password for your
 e-mail address. Try again later.
 
 
 Is there any problem with the upload service?
 How can I get an account?
 
 Thank you
 
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-list] gtk-sharp CVS build failing

2004-06-27 Thread Fawad Halim
Hi,
   gtk-sharp build is failing for me with this error:
Name: pattern Type: FcPattern*  in callback PangoFT2SubstituteFunc  
Stubbing it out 

Unhandled Exception: System.NullReferenceException: Object reference not 
set to an instance of an object
in 0x0005d GtkSharp.Generation.ClassBase:GenMethods 
(GtkSharp.Generation.GenerationInfo,System.Collections.Hashtable,GtkSharp.Generation.ClassBase)

make[3]: *** [generated-stamp] Error 1
make[3]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp'
make: *** [all] Error 2
I'm getting this same error on both FC2 and Debian Unstable. mono and 
gtk-sharp source was gotten from CVS.

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


[Mono-list] gtk-sharp CVS build failing

2004-06-26 Thread Fawad Halim
Hi,
   gtk-sharp build is failing for me with this error:


Name: pattern Type: FcPattern*  in callback PangoFT2SubstituteFunc
 Stubbing it out 

Unhandled Exception: System.NullReferenceException: Object reference
not set to an instance of an object
in 0x0005d GtkSharp.Generation.ClassBase:GenMethods
(GtkSharp.Generation.GenerationInfo,System.Collections.Hashtable,GtkSharp.Generation.ClassBase)

make[3]: *** [generated-stamp] Error 1
make[3]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp'
make: *** [all] Error 2


I'm getting this same error on both FC2 and Debian Unstable. mono and
gtk-sharp source was gotten from CVS.

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


Re: [Mono-list] On the new site

2004-06-11 Thread Fawad Halim
Kevin, I'm seeing that the accented characters are showing up funny in 
Mozilla (for example, in the Mono Team page and in the credits in the 
release notes). It might just be the character encoding.

-fawad
Kevin Breit wrote:
Andrew Arnott wrote:
The new site at www.mono-project.com looks great.  Here's a broken link:
On http://www.mono-project.com/using/index.html, clicking the
MonoDevelop link launches this script:
javascript:openExternal('http://www.monodevelop.com');  That link
opens a new browser window that is empty.  Both in FireFox and Internet
Explorer.   

Thanks for the feedback.  I'll get that fixed.
What's wrong with a href=http://www.monodevelop.com;
target=_newMonoDevelop/a ?
 

We use the Javascript function so we have some control (if we want) over 
the opening browser window.

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


Re: [Mono-list] Removing the 'Compilation succeeded' message

2004-06-07 Thread Fawad Halim
Modify the mcs wrapper shell script to pipe the output of mcs.exe into
grep -v '^Compilation succeeded$'
-fawad
William S Fulton wrote:
How can one remove the Compilation succeeded message after invoking 
mcs? I can't find a --quiet option or similar and -nologo doesn't 
remove this message. I'd like to quieten the output for running 
batches of tests so it works in the same way as Microsoft's csc and 
Portable.Net's cscc.

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


Re: [Mono-list] c# written daemon, System.ServiceProcess, posix signals handling...

2004-04-16 Thread Fawad Halim
Hi Robert,
   I'd suggest running your app under runit 
(http://smarden.org/runit/). That'll take care of making sure the app is 
always running even when killed abnormally. When you 'down' the service 
in runit, it sends it a SIGTERM and maintains an internal flag that the 
service is supposed to be down intentionally. There is a thread on 
signal handlers in the March '03 archive of mono-list, including an 
example of a sigterm handler using unmanaged calls.

-fawad

RoBiK wrote:

Hi!

I need to write an application in c#, wich should run in background and be
able to shut down gracefully when required.
The best solution would be to use the System.ServiceProcess namespace, but
this namespace is not implemented in mono. I know that there were some
discussion about this topic in summer 2003, but since i found nothing. Is
there something new in this direction?
The other way (not so nice, but would also do the job) would be the catching
of posix signals (SIGINT, SIGTERM...) but i have no idea how to do thin in
an mono application.
The last solution is to use some selfmade communication mechnism, to
comunicate with the process and initiate the shutdow - maybe using remoting
or some simpler mechanism.
Can someone give me some infos or ideas for the solution?
Thanx

Robert

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


Re: [Mono-docs-list] Question about EXE binaries and kernels?

2004-04-06 Thread Fawad Halim
On a related note, wouldn't it make sense to bundle a simple binfmt init 
script with mono? I'm sure we can come up with a script generic enough 
to work across most of the major distros.

-fawad

Ben Maurer wrote:

On Tue, 2004-04-06 at 17:57, Aaron Weber wrote:
 

Thanks for the explanation. How's this sound?

The normal way to run a Mono application is to invoke it through the
interpreter, like so:
   

Caution. You probably dont mean an `interpreter'. Someone could get
confused with interpreter vs jit.
 

  #!/bin/sh
  /usr/bin/mono myprogram.exe
   

This will execute `myprogram.exe' that is located in the current working
directory. You probably want an absolute path there. Or you could get
the path of the script that is executing.
Also, you want to put $@ at the end so that it gets arguments.

cat `which mcs` has a good example.

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

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


Re: [Mono-list] Docs as plain HTML

2004-02-12 Thread Fawad Halim
Stuart,
   You can use wget (with the appropriate set of args to trigger 
recursiveness). If you can host the docs on a local box, it'll be a lot 
faster than getting them from go-mono.org.

-fawad

Stuart Ballard wrote:

Met @ Uber wrote:

You could use monodoc (check downloads).


The computer I need to use these on can't support running a C# app 
(heck, it's a 486 with 4Mb ram and nonfunctioning g and h keys, 
I'm lucky it can support a text mode console with a remapped 
keyboard). It can just barely support HTML, by using Lynx...

So even if I can use monodoc, that only helps if monodoc can spew out 
static HTML, which I don't think it can... can it? (I can't find any 
monodoc docs - how ironic ;) )

Stuart.

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


Re: [Mono-list] How do I turn on the optional build of gtkhtml-sharp.dll in gtk-sharp-0.15?

2004-01-20 Thread Fawad Halim
Mike,
   It is not disabled by default. The configure script detects the 
presence of the requisite libraries and enables the build accordingly. 
You can use your config.log for hints on what the configure script is 
looking for.

-fawad

Mike Carifio wrote:

Searching the archive for [Mono-list] seems to reveal that building 
gtkhtml-sharp.dll from source
is optional and the default is off. If so, how do I turn it on? Pl. 
advise. Thanks.

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


Re: [Mono-list] Object Browser, gtksourceview-sharp documentation ?

2004-01-20 Thread Fawad Halim
The object browser is monotalk in cvs. It might not build in its current 
state though (uses deprecated methods in Gtk Treeview).

Not sure about the gtksourceview question.

-fawad

Tiago Lima wrote:

Hi,

What is the name of the cvs module for the Object Browser I saw in the 
screenshots?

Has gtksourceview (gtksourceview-sharp) any monodoc documentation? Is there 
any way of importing it to the monodoc?

Thanks in advance,
Tiago Lima
 

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


Re: [Mono-list] Deploying a site (ASP.NET .aspx) with mono

2003-11-25 Thread Fawad Halim
Tiago,
   You usually wanna go with apache with mod_mono on a production 
deployment. mod_mono at least has a good behavior under load. It doesn't 
have problems with concurrent connections. Apachebench on httpd2-cvs, 
mod-mon-cvs gives me the following numbers on my 800MHz athlon box with 
300MB RAM when running xsp/test/index.aspx with concurrency=200 (no 
caching). Like any other benchmark, your mileage may vary.

Concurrency Level:  100
Time taken for tests:   345.85596 seconds
Complete requests:  2000
Failed requests:0
Write errors:   0
Total transferred:  21026000 bytes
HTML transferred:   20474000 bytes
Requests per second:5.80 [#/sec] (mean)
Time per request:   17254.280 [ms] (mean)
Time per request:   172.543 [ms] (mean, across all concurrent requests)
Transfer rate:  59.50 [Kbytes/sec] received
Connection Times (ms)
 min  mean[+/-sd] median   max
Connect:02  12.3  0  82
Processing:  7673 16107 3658.2  15580   99947
Waiting: 7572 16056 3660.1  15533   99923
Total:   7706 16110 3657.3  15580   99947
-fawad

Tiago Lima wrote:

Hi,
 
What is the best way to deploy a site (ASP.NET .aspx) using mono?
Do you use xsp only, apache with mod_mono?
Does the site has a correct behaviour when receiving multiple 
simultaneous requests?
For example, ~20+ simultaneous users...
 
Does anyone has any experience on this?
 
Thanks in advance,
Tiago Lima
 


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


Re: [Mono-list] cvs monodoc mdk9.1

2003-10-26 Thread Fawad Halim
Eduardo,
   You're not doing anything wrong. The docs you're getting an error 
with don't come with the monodoc cvs module. For example, you need to 
install the monkeyguide CVS module to get the monodoc handbook docs.

-fawad

Eduardo Osorio Armenta wrote:

i made changes on browser.cs line 1204 
from :

if (tree_view.Selection.GetSelected (out model, ref
iter)){
 Node n = (Node) iter_to_node [iter];
.
.
.
to :
if (tree_view.Selection.GetSelected (out model, out
iter)){
Node n = (Node) iter_to_node [iter];
.
.
.
and the same in line 1127
and finally monodoc compiles fine 

make install

great!

but 

after changing monodoc.config 
in /usr/lib/monodoc.config

monodoc starts! (oh ma!)

but  HandBook  Gnome Libraries  Mozilla Libraries
 Dia Canvas
shows:

Unhandled URLFunctionality to view the resource
root:/monohb is not available on your system or has
not yet been implemented.
Unhandled URLFunctionality to view the resource
root:/classlib-diacanvas is not available on your
system or has not yet been implemented.
what did i make wrong?

thanks for advice

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
 



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


Re: [Mono-docs-list] Web browser hyperlink cleanup

2003-10-16 Thread Fawad Halim
Sorry about that. Here is the unified diff format.

Regards
-fawad
Miguel de Icaza wrote:

Hello,

 

   Attached is a patch that makes monodoc.ashx fix the a links on the 
server side instead of using javascript on the client side.
   

Great patch, one of the things I wanted to see. 

Would you mind resending this in diff -u format, so it is easier to
study/apply?
Miguel
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list
 


Index: browser/web/monodoc.ashx
===
RCS file: /mono/monodoc/browser/web/monodoc.ashx,v
retrieving revision 1.18
diff -u -r1.18 monodoc.ashx
--- browser/web/monodoc.ashx31 Aug 2003 23:45:50 -  1.18
+++ browser/web/monodoc.ashx16 Oct 2003 22:09:49 -
@@ -21,6 +21,7 @@
 using System.Xml;
 using System.Xml.Xsl;
 using Monodoc;
+using System.Text.RegularExpressions;
 
 namespace Mono.Website.Handlers
 {
@@ -195,6 +196,7 @@
output.Flush();
}
 
+   string requestPath;
void PrintDocs (string content, HttpContext ctx)
{
ctx.Response.Write (@
@@ -204,14 +206,12 @@
 !--
 function load ()
 {
-   objs = document.getElementsByTagName('a');
-   for (i = 0; i  objs.length; i++) {
-   e = objs [i];
-   if (e.href == null) continue;
-   
-   objs[i].href = makeLink (objs[i].href);
+   // If topic loaded in a window by itself, load index.aspx with the same set of 
params.
+   if (top.location == document.location)
+   {
+   top.location.href = 'index.aspx'+document.location.search;
}
-   
+
objs = document.getElementsByTagName('img');
for (i = 0; i  objs.length; i++)
{
@@ -249,12 +249,43 @@
body onLoad='load()'
 
);
-   ctx.Response.Write (content);
+   // Set up object variable, as it's required by the MakeLink 
delegate
+   requestPath=ctx.Request.Path;
+   string content_changed=MakeLinks(content);
+   ctx.Response.Write (content_changed);
ctx.Response.Write (@
/body
/html);
}
 
+
+   string MakeLinks(string content)
+   {
+   MatchEvaluator linkUpdater=new MatchEvaluator(MakeLink);
+   if(content.Trim().Length1|| content==null)
+   return content;
+   try
+   {
+   string 
updatedContents=Regex.Replace(content,(a[^]*href=['\])([^'\]+)(['\][^]*), 
linkUpdater);
+   return(updatedContents);
+   }
+   catch(Exception e)
+   {
+   return content+!!--Exception:+e.Message+--;
+   }
+   }
+   
+   // Delegate to be called from MakeLinks for fixing a tag
+   string MakeLink(Match theMatch)
+   {
+   string updatedLink=String.Format({0}{1}?link={2}{3},
+   theMatch.Groups[1].ToString(),
+   requestPath, 
+   
HttpUtility.UrlEncode(theMatch.Groups[2].ToString().Replace(file://,)),
+   theMatch.Groups[3].ToString());
+   return updatedLink;
+   }
+   
bool IHttpHandler.IsReusable
{
get {


[Mono-docs-list] Npgsql docs update

2003-10-14 Thread Fawad Halim
Attached is a diff containing updates to several Npgsql docs.

Is there a standard way of creating Examples pages in ECMA that we can 
reference from the topics or do the common examples have to be copied in 
each topic?

Regards
-fawad
Index: class/Npgsql//en/Npgsql/NpgsqlCommand.xml
===
RCS file: /mono/monodoc/class/Npgsql/en/Npgsql/NpgsqlCommand.xml,v
retrieving revision 1.1
diff -r1.1 NpgsqlCommand.xml
12,13c12,30
 summaryTo be added/summary
 remarksTo be added/remarks
---
 summaryRepresents a command to be executed against the PostgreSQL database 
 backend./summary
 remarks
   para
   An NpgsqlCommand object is associated with a see 
 cref=T:Npgsql.NpgsqlConnection / instance.It can be used to execute
   SQL statements (SELECT, INSERT, UPDATE, DELETE, etc.), stored 
 procedures and functions against the database the see 
 cref=T:Npgsql.NpgsqlConnection /
   instance referenced in the see 
 cref=P:Npgsql.NpgsqlCommand.Connection / is associated with.
   /para
   para
   As the NpgsqlCommand implements the see 
 cref=T:System.Data.IDbCommand / interface, it can be used to
   list type=bullet
   itemtermExecute queries without expecting a result back 
 using the 
   see cref=M:Npgsql.NpgsqlCommand.ExecuteNonQuery / 
 method/term/item
   itemtermExecute queries only a single (scalar) result back 
 using the
   see cref=M:Npgsql.NpgsqlCommand.ExecuteScalar / 
 method/term/item
   itemtermExecute queries without expecting a
   see cref=Npgsql.NpgsqlDataReader / back using the 
 see cref=M:Npgsql.NpgsqlCommand.ExecuteDataReader //term/item
   /list
   /para
   /remarks
73,75c90,138
 summaryTo be added/summary
 returnsa see cref=T:System.Int32 //returns
 remarksTo be added/remarks
---
 summaryExecutes a query against the database backend without expecting 
 data back from it/summary
 returnsA see cref=T:System.Int32 / containing the number of records 
 affected on the database by the query/returns
 remarks
   para
   The see cref=M:Npgsql.NpgsqlCommand.ExecuteNonQuery 
 / method is used to execute a query against the database
   without exepecting a result back. This is useful for 
 running data manipulation commands, etc.
   /para
   para
   The following example demonstrates the use of the 
 method against a database. For the example to work, a user 'joe'
   with the password 'secret' needs to have access to the 
 'table1' table in the 'joedata' database created with the SQL
   /para
   c
   CREATE TABLE table1 (int1 INTEGER, int2 INTEGER);
   /c
   code lang=C#
 /* Compiling:
  *mcs -r:Npgsql -r:System.Data NpgsqlExecuteNonQuery.cs
  */
 using System;
 using System.Data;
 using Npgsql;
 
 public class NpgsqlExecuteNonQuery
 {
   public static void Main(String[] args)
   {
   NpgsqlConnection conn = new 
 NpgsqlConnection(Server=127.0.0.1;Port=5432;User 
 Id=joe;Password=secret;Database=joedata;);
   conn.Open();
   
   NpgsqlCommand command = new NpgsqlCommand(insert into table1 
 values(1, 1), conn);
   Int32 rowsaffected;
   
   try
   {
   rowsaffected = command.ExecuteNonQuery();
   Console.WriteLine(Just added {0} lines in the table table1, 
 rowsaffected);
   }
   finally
   {
   conn.Close();
   }
   }
 } 
   /code
   para
   Executing the query should give the output
   /para
   cJust added 1 lines in the table table1/c
   /remarks
115,117c178,253
 summaryTo be added/summary
 returnsa see cref=T:System.Object //returns
 remarksTo be added/remarks
---
 summaryExecutes a query against the see cref=T:Npgsql.NpgsqlConnection 
 / and expects a single value as output/summary
 returnsa see cref=T:System.Object / containing the output 
 value./returns
 remarks
   para
   This command returns a single value as the output of the 
 command execution.
   /para
   code lang=C#
 using System;
 using System.Data;
 using Npgsql;
 
 public class NpgsqlExecuteScalar
 {
   public static void Main(String[] args)
   {
   NpgsqlConnection 

Re: [Mono-list] I would like to contribute to Mono

2003-10-12 Thread Fawad Halim
John,
   Check out the mcs module from CVS. The class/ directory containes 
all the code for the mainline (i.e. corlib, System.XML, etc.). The 
directory also contains the nunit2 tests.  You can run the tests, add 
tests as neccesary, and fix tests that fail.

The documentation system is in the monodoc module in CVS. You can update 
the core docs in the class/ directory in that module or you can put one 
of the non-core modules (like gtk-sharp) to document. The documentation 
is in ECMA XML docs format and there are plenty of examples. For 
documentation there's a seperate mono-docs-list on ximian.com

-fawad

John Meredith wrote:

I would like to contribute on a regular basis to the Mono project.  I've read 
the documentation, written some console based apps with Mono and had a look 
around the source code.  I've also been programming in a professional 
environment using C# .NET (MS-Windows) for about a year and I am excited by 
Mono and would love to get involved.

I would like to do some unit testing to start with or maybe some 
documentation, but I was wondering which sections / classes need testing.

Could anyone please point me in the right direction?
Thanks
John Meredith
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] XSP server

2003-10-12 Thread Fawad Halim
George,
   The xsp-0.6 packages were built with only the binaries. The README 
file, sources etc. are all missing. You can either wait for a corrected 
package or just get xsp from CVS.

-fawad

amerigo5 amerigo5 wrote:

Hi,

I downloaded the XSP file and when I unpacked it, the contents seemed 
to be different from previous versions. It would have been OK but the 
install instruction is not in the package. Can anyone tell me how I 
can install and use XSP-0.6?

Thanks,

George

_
Share your photos without swamping your Inbox.  Get Hotmail Extra 
Storage today! http://join.msn.com/?PAGE=features/es

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


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


Re: [Mono-docs-list] Problem viewing class members documentation from class members page

2003-10-11 Thread Fawad Halim
Carlos, I posted the same problem and a fix yesterday. Check the patch 
in 
http://lists.ximian.com/archives/public/mono-docs-list/2003-October/000863.html 
to see if that fixes your problem (it seems to affect at least GECKO 
browsers and opera but not IE).

Regards
-fawad
Carlos Guzmán Álvarez wrote:

Hello:

One question about monodoc at http://www.go-mono.com:8080/ 
http://www.go-mono.com:8080/ ( probably it's already known issue ), 
when i try to see the doc of a method from the member list page it 
shows always a empty page, the link seems to generated bad because 
making click on the same method on the tree view shows the 
documentation of the method.

The link generated from the members page ( that it's not valid ) is:
http://www.go-mono.com:8080/monodoc.ashx?link=m:System.Buffer.BlockCopy 
http://www.go-mono.com:8080/monodoc.ashx?link=m:System.Buffer.BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) 

And from the treeview:
http://www.go-mono.com:8080/[EMAIL PROTECTED] 
http://www.go-mono.com:8080/[EMAIL PROTECTED] 








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


[Mono-docs-list] Error in monodoc web interface

2003-10-06 Thread Fawad Halim
Hi,
   Am getting an error when trying to view docs for a specific member 
of a class in the monodoc web interface. Am viewing the docs directly 
over xsp.exe (no mod_mono).

   * Clicking the System namespace in tree shows classes in namespace.
 (http://localhost:8080/[EMAIL PROTECTED])
   * Clicking 'Console' on the previous page returns a blank page
 (http://localhost:8080/monodoc.ashx?link=t:System.Console)
   * Selecting 'Console Class' in the tree on the left returns a page
 with an error message
 (http://localhost:8080/[EMAIL PROTECTED]).
 Error stack trace:
System.Xml.XmlException: No applicable function for EditUrl takes 
(System.Collections.ArrayList)
in 0x00229 .ReflectedExtensionFunction:Function (object[])
in 0x0004a (wrapper delegate-invoke) System.MulticastDelegate:invoke_object_object[] 
(object[])
in 0x00299 .ExtensionFunctionWrapper:Function (intptr,int)
in 0x00035 (wrapper native-to-managed) .ExtensionFunctionWrapper:Function 
(intptr,int)
in (unmanaged) (wrapper managed-to-native) 
System.Xml.Xsl.UnmanagedXslTransform:xsltApplyStylesheetUser 
(intptr,intptr,string[],string,intptr,intptr)
in 0x4 (wrapper managed-to-native) 
System.Xml.Xsl.UnmanagedXslTransform:xsltApplyStylesheetUser 
(intptr,intptr,string[],string,intptr,intptr)
in 0x0098b System.Xml.Xsl.UnmanagedXslTransform:ApplyStylesheet 
(intptr,string[],System.Collections.Hashtable)
in 0x0002a System.Xml.Xsl.UnmanagedXslTransform:ApplyStylesheetAndGetString 
(intptr,string[],System.Collections.Hashtable)
in 0x00533 System.Xml.Xsl.UnmanagedXslTransform:Transform 
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.Xml.XmlWriter,System.Xml.XmlResolver)
in 0x0004b System.Xml.Xsl.UnmanagedXslTransform:Transform 
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter,System.Xml.XmlResolver)
in 0x0001d System.Xml.Xsl.XslTransform:Transform 
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in 0x00037 System.Xml.Xsl.XslTransform:Transform 
(System.Xml.XPath.IXPathNavigable,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in 0x0004c Monodoc.EcmaHelpSource:Htmlize 
(System.Xml.XPath.IXPathNavigable,System.Xml.Xsl.XsltArgumentList)
in 0x00112 Monodoc.EcmaHelpSource:GetTextFromUrl (string)
in 0x00124 Monodoc.EcmaHelpSource:GetText (string,Monodoc.Node)
in 0x00119 Mono.Website.Handlers.MonodocHandler:HandleTreeLink 
(System.Web.HttpContext,string)
in 0x00056 
Mono.Website.Handlers.MonodocHandler:System.Web.IHttpHandler.ProcessRequest 
(System.Web.HttpContext)
in 0x00191 .ExecuteHandlerState:Execute ()
in 0x0004e .StateMachine:ExecuteState 
(System.Web.HttpApplication/IStateHandler,bool)
Executing the same set of steps on monodoc.exe returns the correct docs. 
(although for some strange reason, it crashes during execution when run 
using a KDE shortcut, but not when run from console).

-fawad

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


[Mono-docs-list] Npgsql docs in monodoc?

2003-10-05 Thread Fawad Halim
Hi,
   What's the procedure for setting it up so that the docs for 
Npgsql.dll can show up in monodoc? I am able to add them to my local 
install using updater.exe, assembler.exe and cloning netdocs.source for 
this library. Can we make the docs part of the standard monodoc install? 
I'd like to write up the docs on the library when I can get a chance to 
do so.

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


[Mono-list] Error running monodoc assembler

2003-08-19 Thread Fawad Halim
Hi,
   I'm trying to get monodoc to build on my box, but am getting errors 
while assembler.exe runs:

mono --debug ../browser/assembler.exe --ecma ./corlib/en/ --ecma 
./System/en/  --ecma ./System.XML/en/ --ecma ./System.Web/en --ecma 
./System.Web.Services/en -o netdocs

** (../browser/assembler.exe:1416): WARNING **: Missing method .ctor in 
assembly ../browser/assembler.exe typeref index 9

Unhandled Exception: System.NullReferenceException: A null value was 
found where an object instance was required

Both the mono and mcs modules have been built from cvs.

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


Re: [Mono-list] Starting xsp at bootup

2003-02-03 Thread Fawad Halim
That worked perfectly, thanks. I'm using a reverse http proxy in lieu of 
mod_mono to server up aspx contents. So

/svn/repos/.* comes from subversion httpd
/mono/.* comes from xsp server.exe
Everything else comes from my stock httpd.

-fawad


Miguel de Icaza wrote:
Hello,



If I run the same script as the ${RUNAS} user, the site loads up perfectly.

Any suggestions about what I'm doing wrong?



Try passing a -l flag to su (login shell), that way the whole
environment will be correctly setup to the one of the user.

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




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



[Mono-list] Starting xsp at bootup

2003-02-02 Thread Fawad Halim
Hi,
 I am trying start the XSP server.exe at system startup. To do that, 
I've written a small sysv init script. I've got a line like:

su ${RUNAS} -c cd ${XSPHOME};${MONO} server.exe server.log 21 

in it, where ${XSPHOME} is the xsp/test directory and ${MONO} is 
/usr/local/bin/mono. ${RUNAS} is the user I'm trying to run the app as. 
When I run xsp with the script above, I get the error:

Error

System.Web.HttpException:  --- System.IO.FileNotFoundException: File 
'tmp1323315300.dll' not found.
in (unmanaged) /usr/local/bin/mono(mono_raise_exception+0x20) [0x80bbc56]
in (unmanaged) 
/usr/local/bin/mono(ves_icall_System_Reflection_Assembly_LoadFrom+0xca) 
[0x80d75ea]
in 0x00101 00 System.Web.Compilation.GlobalAsaxCompiler:GetCompiledType ()
in 0x000e6 00 
System.Web.Compilation.GlobalAsaxCompiler:CompileApplicationType 
(string,System.Web.HttpContext)
in 0x0002c 00 System.Web.HttpApplicationFactory:CompileApp 
(System.Web.HttpContext)
in 0x00048 00 System.Web.HttpApplicationFactory:InitializeFactory 
(System.Web.HttpContext)
in 0x00070 00 System.Web.HttpApplicationFactory:GetInstance 
(System.Web.HttpContext)
in 0x00154 00 System.Web.HttpRuntime:InternalExecuteRequest 
(System.Web.HttpWorkerRequest)
--- End of inner exception stack trace ---

If I run the same script as the ${RUNAS} user, the site loads up perfectly.

Any suggestions about what I'm doing wrong?

Regards
-fawad

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