[Mono-dev] JumboPatch: work-in progress.

2010-12-10 Thread Miguel de Icaza
Hello guys,

I did another pass at merging Ralph's changes, and committed a lot of
the low-hanging fruit into Git.

The remaining changes are now:
http://tirania.org/tmp/changes4.gz

If anyone wants to extract some of the changes and document the
subsystems and what they do, it would be of great help.

The clipboard refactoring code is still here, but nobody has provided
any feedback, from my previous post:


> I am not sure why these changes were needed in the first place.   They
> moved the Clipboard functionality from the XplatXXX drivers into a new set
> of XplatClipboardXXX drivers, but we have no idea what was wrong with the
> previous approach and why this change is needed.   At least we now have
> those split, so we can chose to pick the changes later if they make sense,
> and we can continue integrating the rest of the patches that Ralph left on
> our doorstep one-by-one.
>
> [1] http://tirania.org/tmp/clipboard-patches
> [2] http://tirania.org/tmp/changes3.gz
>
>
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Announcing Monoreports - report designer and reporting engine

2010-12-10 Thread Joe Dluzen
This is really fantastic! A lot of people are going to love this,
myself included.


Joe

> Date: Thu, 09 Dec 2010 11:09:29 +0100
> From: Tomasz Kubacki 
> Subject: [Mono-dev] Announcing Monoreports - report designer and
>        reporting       engine
> To: mono-devel-list@lists.ximian.com
> Message-ID: <1291889369.28614.43.ca...@sokrates>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi all,
>
> I've started new project that may interest you: report designer and
> reporting engine for mono/.net. It's similar to the CrystalReport and
> other tools like that, except it's not this much sql oriented.
>
> I've done short (6 minutes) youtube demo here:
>
> http://www.youtube.com/watch?v=P7jHXFyMstM
>
> Monoreport is MIT11 licensed and githubed at:
>
> https://github.com/tomaszkubacki/monoreports
>
> Binary package:
>
> Since the only Monoreports dependency is mono >= 2.6 > or .net >= 3.5
> you can grab binary package from here:
> http://github.com/downloads/tomaszkubacki/monoreports/monoreports_pre.zip
> and play without compilation.
>
> Monoreports features:
>
> - simple layouting - if control in section is growable and will grow due
> to assigned data, engine will do layouting to make report look properly
>
> - page breaking - Monoreports engine will break or keep together report
> sections whatever is needed
>
> - generating and running reports from designer and code.
>
> - pdf export
>
> - reporting engine is not tightly coupled with gtk/cairo stuff,
> therefore it's reasonably easy to write new export backends (e.g. html,
> xls etc)
>
> Call for help:
>
> Now the most important thing. I've zero experience running open source
> projects, so i will appreciate any help, comments, constructive
> criticism.
>
> All this can be done here:
> http://groups.google.com/group/monoreports
>
> For short yes/no question/comments my twitter nick is tomaszkubacki
>
> Cheers,
>
> Tomasz Kubacki
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] profiler in master

2010-12-10 Thread Paolo Molaro
On 12/10/10 Duane Wandless wrote:
> That has the same result as before.

Could you post the output of the following commands in mono/profiler?
make clean
make V=1
make install
mono-sgen --version
mono-sgen --profile=log:heapshot,report app.exe

Thanks
lupus

-- 
-
lu...@debian.org debian/rules
lu...@ximian.com Monkeys do it better
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] profiler in master

2010-12-10 Thread Duane Wandless
That has the same result as before.

Duane

On Fri, Dec 10, 2010 at 8:23 AM, Paolo Molaro  wrote:

>
> --
> -
> lu...@debian.org debian/rules
> lu...@ximian.com Monkeys do it better
>
>
> -- Forwarded message --
> From: Paolo Molaro 
> To: Duane Wandless 
> Date: Fri, 10 Dec 2010 14:08:40 +0100
> Subject: Re: [Mono-dev] profiler in master
> On 12/10/10 Duane Wandless wrote:
> > I'm trying out the profiler on OSX against trunk.  I'm not getting any
> > useful info.  Do I have to build with special flags?  Is there something
> > else I'm missing.  Thanks,
>
> OSX as different default shared lib symbol search rules.
> Try this patch:
>
> diff --git a/mono/profiler/Makefile.am b/mono/profiler/Makefile.am
> index 26f2e1d..4aa72df 100644
> --- a/mono/profiler/Makefile.am
> +++ b/mono/profiler/Makefile.am
> @@ -36,6 +36,10 @@ libmono_profiler_iomap_la_LIBADD =
> $(top_builddir)/mono/mini/libmono-$(API_VER).
>  libmono_profiler_log_la_SOURCES = proflog.c
>  libmono_profiler_log_la_LIBADD =
> $(top_builddir)/mono/mini/libmono-$(API_VER).la $(Z_LIBS)
>
> +if PLATFORM_DARWIN
> +libmono_profiler_log_la_LDFLAGS = -undefined suppress -flat_namespace
> +endif
> +
>  mprof_report_SOURCES = decode.c
>  mprof_report_LDADD = $(Z_LIBS)
>
> lupus
>
> --
> -
> lu...@debian.org debian/rules
> lu...@ximian.com Monkeys do it better
>
> ___
> 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-dev] profiler in master

2010-12-10 Thread Paolo Molaro

-- 
-
lu...@debian.org debian/rules
lu...@ximian.com Monkeys do it better
--- Begin Message ---
On 12/10/10 Duane Wandless wrote:
> I'm trying out the profiler on OSX against trunk.  I'm not getting any
> useful info.  Do I have to build with special flags?  Is there something
> else I'm missing.  Thanks,

OSX as different default shared lib symbol search rules.
Try this patch:

diff --git a/mono/profiler/Makefile.am b/mono/profiler/Makefile.am
index 26f2e1d..4aa72df 100644
--- a/mono/profiler/Makefile.am
+++ b/mono/profiler/Makefile.am
@@ -36,6 +36,10 @@ libmono_profiler_iomap_la_LIBADD = 
$(top_builddir)/mono/mini/libmono-$(API_VER).
 libmono_profiler_log_la_SOURCES = proflog.c
 libmono_profiler_log_la_LIBADD = 
$(top_builddir)/mono/mini/libmono-$(API_VER).la $(Z_LIBS)
 
+if PLATFORM_DARWIN
+libmono_profiler_log_la_LDFLAGS = -undefined suppress -flat_namespace
+endif
+
 mprof_report_SOURCES = decode.c
 mprof_report_LDADD = $(Z_LIBS)
 
lupus

-- 
-
lu...@debian.org debian/rules
lu...@ximian.com Monkeys do it better
--- End Message ---
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] News about Bug 623477

2010-12-10 Thread Paolo Molaro
On 12/08/10 Rodrigo Kumpera wrote:
> Well, the most appropriate behavior would be to expose a new runtime
> function
> that returns the smallest allowed stack size.
> 
> Something like:
> 
> --in metadata/theads.c
> 
> int
> mono_thread_get_stack_min_size ()
> {
> #if defined (PTHREAD_STACK_MIN)
>return PTHREAD_STACK_MIN;
> #else /*FIXME add more cases. Not sure WINAPI exposes such a thing*/
>   return mono_pagesize (); /*A sane default*/
> #endif

Both PTHREAD_STACK_MIN and the page size are not sane defaults at all.
We should just ignore it if the user asks for a smaller size than the
minimum and raise an exception only on < 0.

lupus

-- 
-
lu...@debian.org debian/rules
lu...@ximian.com Monkeys do it better
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] profiler in master

2010-12-10 Thread Duane Wandless
I should have been more specific.  mono/mono-sgen both give the same 32 byte
output, which is why I then tried mono-sgen.  mono --profile=log
app.exe, mono --profile=log:alloc,calls,report app.exe... all result in the
same output.

Thanks,
Duane

On Fri, Dec 10, 2010 at 7:38 AM, Rafael Teixeira  wrote:

> Not that it may relate to your problem, but you are configuring with
> boehm-gc and trying to run mono-sgen? Things don't match.
>
> Have you tried with mono (default)?
>
> mono --profile=log:heapshot app.exe
>
> my half-cent,
>
> Rafael "Monoman" Teixeira
> ---
> "We live in a world operated by science and technology. We have also
> arranged things so that almost no one understands science and
> technology. This is a prescription for disaster. We might get away
> with it for a while, but sooner or later this combustible mixture of
> ignorance and power is going to blow up in our faces."
> -Carl Sagan
>
>
>
> On Fri, Dec 10, 2010 at 10:32 AM, Duane Wandless 
> wrote:
> > I'm trying out the profiler on OSX against trunk.  I'm not getting any
> > useful info.  Do I have to build with special flags?  Is there something
> > else I'm missing.  Thanks,
> > Duane
> >
> > mono --version
> > Mono JIT compiler version 2.9 (master/ed8e4e2 Thu Dec  9 17:03:28 EST
> 2010)
> > Copyright (C) 2002-2010 Novell, Inc and Contributors.
> www.mono-project.com
> > TLS:   normal
> > SIGSEGV:   normal
> > Notification:  Thread + polling
> > Architecture:  x86
> > Disabled:  none
> > Misc:  softdebug
> > LLVM:  supported, not enabled.
> > GC:Included Boehm (with typed GC)
> >
> > mono-sgen --profile=log:heapshot app.exe
> > The output.mlpd file is always 32 bytes.
> > Mono log profiler data
> > Profiler version: 0.4
> > Data version: 4
> > Mean timer overhead: 70 nanoseconds
> > Program startup: Fri Dec 10 07:27:38 2010
> > Program ID: 800
> > JIT summary
> > Compiled methods: 0
> > Generated code size: 0
> > GC summary
> > GC resizes: 0
> > Max heap size: 0
> > Object moves: 0
> > Metadata summary
> > Loaded images: 0
> > Exception summary
> > Throws: 0
> > Thread summary
> >
> >
> > ___
> > 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-dev] profiler in master

2010-12-10 Thread Rafael Teixeira
Not that it may relate to your problem, but you are configuring with
boehm-gc and trying to run mono-sgen? Things don't match.

Have you tried with mono (default)?

mono --profile=log:heapshot app.exe

my half-cent,

Rafael "Monoman" Teixeira
---
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Fri, Dec 10, 2010 at 10:32 AM, Duane Wandless  wrote:
> I'm trying out the profiler on OSX against trunk.  I'm not getting any
> useful info.  Do I have to build with special flags?  Is there something
> else I'm missing.  Thanks,
> Duane
>
> mono --version
> Mono JIT compiler version 2.9 (master/ed8e4e2 Thu Dec  9 17:03:28 EST 2010)
> Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
> TLS:           normal
> SIGSEGV:       normal
> Notification:  Thread + polling
> Architecture:  x86
> Disabled:      none
> Misc:          softdebug
> LLVM:          supported, not enabled.
> GC:            Included Boehm (with typed GC)
>
> mono-sgen --profile=log:heapshot app.exe
> The output.mlpd file is always 32 bytes.
> Mono log profiler data
>         Profiler version: 0.4
>         Data version: 4
>         Mean timer overhead: 70 nanoseconds
>         Program startup: Fri Dec 10 07:27:38 2010
>         Program ID: 800
> JIT summary
>         Compiled methods: 0
>         Generated code size: 0
> GC summary
>         GC resizes: 0
>         Max heap size: 0
>         Object moves: 0
> Metadata summary
>         Loaded images: 0
> Exception summary
>         Throws: 0
> Thread summary
>
>
> ___
> 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


[Mono-dev] profiler in master

2010-12-10 Thread Duane Wandless
I'm trying out the profiler on OSX against trunk.  I'm not getting any
useful info.  Do I have to build with special flags?  Is there something
else I'm missing.  Thanks,
Duane

mono --version
Mono JIT compiler version 2.9 (master/ed8e4e2 Thu Dec  9 17:03:28 EST 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS:   normal
SIGSEGV:   normal
Notification:  Thread + polling
Architecture:  x86
Disabled:  none
Misc:  softdebug
LLVM:  supported, not enabled.
GC:Included Boehm (with typed GC)


mono-sgen --profile=log:heapshot app.exe

The output.mlpd file is always 32 bytes.

Mono log profiler data
Profiler version: 0.4
Data version: 4
Mean timer overhead: 70 nanoseconds
Program startup: Fri Dec 10 07:27:38 2010
Program ID: 800

JIT summary
Compiled methods: 0
Generated code size: 0

GC summary
GC resizes: 0
Max heap size: 0
Object moves: 0

Metadata summary
Loaded images: 0

Exception summary
Throws: 0

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