[hugin-ptx] Re: Changes to panotools projects on Sourceforge, Mercurial repositories

2013-05-13 Thread ___matthieu___
Hi Bruno,

In the process of having a build of Hugin on MacOSX 10.8 that is compatible 
with MacOSX 10.6, I found that libpano13 was using a symbol (___progname) 
that was not present on OSX 10.6. 

I only found it in sys_compat_unix.c; I replaced the call from ___progname 
to getprogname() (which is defined in stdlib.h). 
This enables the library to be used on 10.6 and 10.8 without problem.

Though, I do not know if my change produces the same output, it used (from 
what I found) only in file.c:panoPSDResourcesBlockWrite() and I do not know 
how to test it.

Is there any way to test it ? Is this change acceptable and/or can it lead 
to problems ?

I attach the diff to this post.

Matthieu

On Monday, May 13, 2013 11:01:37 PM UTC+2, Bruno Postle wrote:
>
> Hi all, Sourceforge have 'upgraded' the panotools project on 
> sourceforge: http://sourceforge.net/projects/panotools/ 
>
> Mercurial repositories have moved, you can now find the libpano13 
> code here: 
>
>hg clone http://hg.code.sf.net/p/panotools/libpano13 
>
> So if you have an existing checkout you can either rebase it by 
> editing the .hg/hgrc file, or just fetch a fresh one.  The old 
> Mercurial repository will continue to exist, but is now read-only. 
>
> I took the opportunity to migrate the other panotools projects from 
> Subversion to Mercurial (hooray!), these are: 
>
> Panotools::Script - perl module for manipulating Hugin .pto projects 
>
> GIMP plugin - A GIMP panotools plugin, this needs to maintenance 
>
> ptfilter - Photoshop filters for panotools 
>
> MPRemap - Java moving panoramas remapping 
>
> If there is anything I'm missing, please let me know.  e.g. I 
> haven't migrated the old libpano12 binary-compatible library - Does 
> anyone want this? 
>
> -- 
> Bruno 
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


diff -r 04c52cae988a sys_compat_unix.c
--- a/sys_compat_unix.c	Fri Apr 12 18:56:04 2013 +0200
+++ b/sys_compat_unix.c	Tue May 14 01:37:33 2013 +0200
@@ -20,6 +20,10 @@
 #include "sys_compat.h"
 #include 
 
+#ifdef __APPLE__
+#include 
+#endif
+
 int panoTimeToStrWithTimeZone(char *sTime, int len, struct tm  *time) 
 {
 assert(len >= 11);
@@ -29,6 +33,10 @@
 
 char *panoBasenameOfExecutable(void)
 {
+#ifdef __APPLE__
+return getprogname();
+#else
 extern char *__progname;
 return __progname;
+#endif
 }


Re: [hugin-ptx] [MacOSX] test build for Lion & Mountain Lion

2013-05-13 Thread ___matthieu___
Hi,

I found how to reproduce the problem you're having.

- First, why the default CP settings is not used :

hugin Preferences lives in ~/Library/Preferences. When icpfind is launched, 
a new set of preferences is created in the $HOME directory, but it is only 
a minimal one (it has only two sections concerning Autopano and only one 
control point configuration). As a reminder, it is attached to this post.

In the assistant, when you hit the Align button, the first program used is 
icpfind, which creates its "empty" preferences file and then this file is 
used to search the configuration you use. Since it has only one control 
point configuration in this file, the ones that are defined in 
$HOME/Library/Preferences/hugin Preferences is not used.

I can reproduce it with the beta one build and my build, using the GUI and 
the CLI tool.

- Second, why there is a greyish box.

To reproduce this, you have to have a specific combination :
- hugin GUI is set to Advanced or Expert (/GuiLevel=1 or /GuiLevel=2)
- the tip of the day is displayed (/MainFrame/ShowStartTip != 0)
- and the GL Preview Frame is not shown (/GLPreviewFrame/isShown=0)

With my build, it works every time : the splash screen is displayed, the 
splashscreen is greyed out (I think the image contained and/or the frame is 
destroyed) the Main Frame appears but the frame that contained the splash 
screen is still present, though empty.
The tip of the day is then displayed, but under the frame that contained 
the splash screen.

There are workarounds :
- in Library/Preferences/hugin Preferences, if I change 
GLPreviewFrame/isShown to 1, the splash screen really disappears
- if I do not display the tip of the day, the splash screen really 
disappears, even if the GL Preview Frame is not shown.

I can reproduce it with my build every time I have these conditions. I can 
also reproduce with the beta 1 build, although with more difficulty (it 
depends which window has the focus, or something like that) which could 
mean that the order the windows appears in could be important.

Although I know how to reproduce these problems, I tried debugging in Xcode 
but I can only poke around without really knowing where to look; if someone 
could point me some directions, I would gladly help.

Thanks,

Matthieu

On Monday, May 13, 2013 5:33:27 PM UTC+2, Donald Johnston wrote:
>
> Matthieu, to answer the question about starting hugin … I mostly start 
> hugin without a project.  That is I start hugin, load images, do align, and 
> create pano.  So, as soon as I start hugin I'm getting the triangle 
> problem. 
>
> On 2013-05-12, at 6:27 PM, ___matthieu___ > 
> wrote: 
>
> > Hello Donald, 
> > 
> > On 11 mai, 23:15, Donald Johnston  wrote: 
> >> Matthieu … I just tested this level and it works well for me except for 
> the following two points. 
> >> 
> >> 1. when I start Hugin there is a whitish-grey rectangular box sitting 
> in front of the "Tip of the Day" window.  I can just see the top of that 
> window enough that I can drag it out from under the rectangle and read what 
> it says.  When I exit the tips window the rectangle also disappears. 
> > 
> >  I can not reproduce this problem; I remember having it once but I am 
> > now unable to reproduce it. 
> > 
> >  Does it happen all the time ? Does the problem appear on project 
> > with errors, or with projects containing a lot of images ? 
> >  Does it happen if you launch Hugin without opening a project ? 
> > 
> >> 2. perhaps you've seen the previous set of emails about --linearmatch 
> that Thomas was helping me with.  The concensus is that the default Control 
> Points Detector under Preferences should be called when using the Align 
> button on the Assistant tab.  It sounds like it works on Thomas' machine 
> (not sure what OS he is running) but isn't working on your build on my Mac. 
>  Does this work on you machine? 
> > 
> >  I had not read this thread; I will look into it. 
> > 
> > Cheers, 
> > 
> > Matthieu 
> > 
> > -- 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Hugin and other free panoramic software" group. 
> > A list of frequently asked questions is available at: 
> http://wiki.panotools.org/Hugin_FAQ 
> > To post to this group, send email to hugi...@googlegroups.com 
> > To unsubscribe from this group, send email to 
> hugin-ptx+...@googlegroups.com  
> > For more options, visit this group at 
> http://groups.google.com/group/hugin-ptx 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "hugin and other free panoramic software" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to hugin-ptx+...@googlegroups.com . 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked quest

[hugin-ptx] Changes to panotools projects on Sourceforge, Mercurial repositories

2013-05-13 Thread Bruno Postle
Hi all, Sourceforge have 'upgraded' the panotools project on 
sourceforge: http://sourceforge.net/projects/panotools/


Mercurial repositories have moved, you can now find the libpano13 
code here:


  hg clone http://hg.code.sf.net/p/panotools/libpano13

So if you have an existing checkout you can either rebase it by 
editing the .hg/hgrc file, or just fetch a fresh one.  The old 
Mercurial repository will continue to exist, but is now read-only.


I took the opportunity to migrate the other panotools projects from 
Subversion to Mercurial (hooray!), these are:


Panotools::Script - perl module for manipulating Hugin .pto projects

GIMP plugin - A GIMP panotools plugin, this needs to maintenance

ptfilter - Photoshop filters for panotools

MPRemap - Java moving panoramas remapping

If there is anything I'm missing, please let me know.  e.g. I 
haven't migrated the old libpano12 binary-compatible library - Does 
anyone want this?


--
Bruno

--
--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

--- 
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [hugin-ptx] test build for Lion & Mountain Lion

2013-05-13 Thread Donald Johnston
Matthieu, to answer the question about starting hugin … I mostly start hugin 
without a project.  That is I start hugin, load images, do align, and create 
pano.  So, as soon as I start hugin I'm getting the triangle problem.

On 2013-05-12, at 6:27 PM, ___matthieu___  wrote:

> Hello Donald,
> 
> On 11 mai, 23:15, Donald Johnston  wrote:
>> Matthieu … I just tested this level and it works well for me except for the 
>> following two points.
>> 
>> 1. when I start Hugin there is a whitish-grey rectangular box sitting in 
>> front of the "Tip of the Day" window.  I can just see the top of that window 
>> enough that I can drag it out from under the rectangle and read what it 
>> says.  When I exit the tips window the rectangle also disappears.
> 
>  I can not reproduce this problem; I remember having it once but I am
> now unable to reproduce it.
> 
>  Does it happen all the time ? Does the problem appear on project
> with errors, or with projects containing a lot of images ?
>  Does it happen if you launch Hugin without opening a project ?
> 
>> 2. perhaps you've seen the previous set of emails about --linearmatch that 
>> Thomas was helping me with.  The concensus is that the default Control 
>> Points Detector under Preferences should be called when using the Align 
>> button on the Assistant tab.  It sounds like it works on Thomas' machine 
>> (not sure what OS he is running) but isn't working on your build on my Mac.  
>> Does this work on you machine?
> 
>  I had not read this thread; I will look into it.
> 
> Cheers,
> 
> Matthieu
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at: 
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugin-ptx@googlegroups.com
> To unsubscribe from this group, send email to 
> hugin-ptx+unsubscr...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/hugin-ptx
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to hugin-ptx+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[hugin-ptx] [MacOSX] Re: test build for Lion & Mountain Lion

2013-05-13 Thread ___matthieu___
Hello,

[...]> > 1. when I start Hugin there is a whitish-grey rectangular box
sitting in front of the "Tip of the Day" window.  I can just see the
top of that window enough that I can drag it out from under the
rectangle and read what it says.  When I exit the tips window the
rectangle also disappears.
>
>   I can not reproduce this problem; I remember having it once but I am
> now unable to reproduce it.

I am now having the problem you describe; your two problems are
related.
I will try and find a way to reproduce it.

Cheers,

Matthieu

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.