Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

anthemion-devtools · Anthemion Tools for Developers

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 7233 - 7262 of 7463   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#7233 From: alec@...
Date: Mon Jun 25, 2012 8:46 am
Subject: Re: Issues w/ DB and Fedora
apply72000
Send Email Send Email
 
In message
<CABJ5b7oxrPESBJ9FF=410GDEwpc-GkB3D9r0qJ-JuV4=V731dg@...>,
Domingo Becker <domingobecker@...> writes
>2012/6/24 <alec@...>
>>
...

>
>The configuration I use successfully under Fedora is:
>
>Use wx-config: yes
>Use installed wxWidgets: yes
>

...

Tks, Domingo.

BR

Alec
--
Alec Ross

#7234 From: "Marcel" <marcel.v.tongeren@...>
Date: Mon Jun 25, 2012 7:09 pm
Subject: Re: Windows 7 showing .htb file output as html
etxmato
Send Email Send Email
 
Hi Julian/Bob,

Thanks for your input.

Just so I understand, do you know if it is the file association for .html that
is causing the problem?

Any reference to what key in the registry I should change to possibly reproduce
this? the main .html (and .htm?) entry in HKEY_CLASSES_ROOT or something else?
Do I need to restart PC or something else after this change?

Cheers, Marcel.

#7235 From: Julian Smart <julian@...>
Date: Tue Jun 26, 2012 8:06 am
Subject: Re: Re: Windows 7 showing .htb file output as html
felixcarswell
Send Email Send Email
 
Hi Marcel,

The relevant registry entry is:

HKEY_CLASSES_ROOT\.html

and possibly .htm as well. I just tried renaming them and unfortunately
it didn't make any difference to displaying in a wxHTML help window,
which is annoying as it'll make it harder to track the problem down.
Possibly they are present, but have wrong MIME types. You could try
asking your user to export data from their registry so you can check
what the values are.

Regards,

Julian

On 25/06/2012 20:09, Marcel wrote:
> Hi Julian/Bob,
>
> Thanks for your input.
>
> Just so I understand, do you know if it is the file association for .html that
is causing the problem?
>
> Any reference to what key in the registry I should change to possibly
reproduce this? the main .html (and .htm?) entry in HKEY_CLASSES_ROOT or
something else? Do I need to restart PC or something else after this change?
>
> Cheers, Marcel.
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7236 From: alec@...
Date: Wed Jun 27, 2012 10:21 am
Subject: Re: DB w/ ARM as a target
apply72000
Send Email Send Email
 
Hi Julian,

Well not yet the complete makefile wanted, but relevant I think is the
info posted at:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=9324

Does this help?

BR,

Alec

In message <4ED16E11.2080801@...>, Julian Smart
<julian@...> writes
>Hi Alec,
>
>I'd love to see wxWidgets running on ARM and DB targetting ARM. I don't
>know how difficult it would be to generate the settings for ARM,
>especially since we're talking about a cross-compilation environment
>which from what I remember can be a little involved. The first step
>would be to see a native makefile that supports cross-compilation for a
>simple example, and then I can reverse-engineer it for DB.
>
>Regards,
>
>Julian
>
>On 26/11/2011 20:03, Alec Ross wrote:
>> Hi Julian,
>>
>> How simple or otherwise would it be to offer an option - perhaps at a
>> later date - for DB to target an ARM device?  I'm thinking about some
>> time in the future when the major Linux distros may have versions
>> targeting this platform.  (Particularly for tablet use.)
>>
>> Plus, of course, Windows 8.
>>
>> Regards,
>>
>> Alec
>
>

--
Alec Ross

#7237 From: Julian Smart <julian@...>
Date: Wed Jun 27, 2012 11:21 am
Subject: Re: DB w/ ARM as a target
felixcarswell
Send Email Send Email
 
Hi Alec,

I'd be doing any tweaks blind, so I don't think there's any point until
someone can tell me exactly what I need to put in the makefile. I.e.
it's much better to debug the makefile with an ARM system available,
then think about how DB should generate it. But I'm not going to be
fiddling ARM builds myself, I'm afraid.

Regards,

Julian

On 27/06/2012 11:21, alec@... wrote:
> Hi Julian,
>
> Well not yet the complete makefile wanted, but relevant I think is the
> info posted at:
>
> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=9324
>
> Does this help?
>
> BR,
>
> Alec
>
> In message <4ED16E11.2080801@...>, Julian Smart
> <julian@...> writes
>> Hi Alec,
>>
>> I'd love to see wxWidgets running on ARM and DB targetting ARM. I don't
>> know how difficult it would be to generate the settings for ARM,
>> especially since we're talking about a cross-compilation environment
>> which from what I remember can be a little involved. The first step
>> would be to see a native makefile that supports cross-compilation for a
>> simple example, and then I can reverse-engineer it for DB.
>>
>> Regards,
>>
>> Julian
>>
>> On 26/11/2011 20:03, Alec Ross wrote:
>>> Hi Julian,
>>>
>>> How simple or otherwise would it be to offer an option - perhaps at a
>>> later date - for DB to target an ARM device?  I'm thinking about some
>>> time in the future when the major Linux distros may have versions
>>> targeting this platform.  (Particularly for tablet use.)
>>>
>>> Plus, of course, Windows 8.
>>>
>>> Regards,
>>>
>>> Alec
>>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7238 From: Alec Ross <alec@...>
Date: Wed Jun 27, 2012 11:29 am
Subject: Re: DB w/ ARM as a target
apply72000
Send Email Send Email
 
Hi Julian,

Nod.  Understood.

Best Regards,

Alec

In message <4FEAECAF.7040306@...>, Julian Smart
<julian@...> writes
>Hi Alec,
>
>I'd be doing any tweaks blind, so I don't think there's any point until
>someone can tell me exactly what I need to put in the makefile. I.e.
>it's much better to debug the makefile with an ARM system available,
>then think about how DB should generate it. But I'm not going to be
>fiddling ARM builds myself, I'm afraid.
>
>Regards,
>
>Julian
>
>On 27/06/2012 11:21, alec@... wrote:
>> Hi Julian,
>>
>> Well not yet the complete makefile wanted, but relevant I think is the
>> info posted at:
>>
>> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=9324
>>
>> Does this help?
>>
>> BR,
>>
>> Alec
>>
>> In message <4ED16E11.2080801@...>, Julian Smart
>> <julian@...> writes
>>> Hi Alec,
>>>
>>> I'd love to see wxWidgets running on ARM and DB targetting ARM. I don't
>>> know how difficult it would be to generate the settings for ARM,
>>> especially since we're talking about a cross-compilation environment
>>> which from what I remember can be a little involved. The first step
>>> would be to see a native makefile that supports cross-compilation for a
>>> simple example, and then I can reverse-engineer it for DB.
>>>
>>> Regards,
>>>
>>> Julian
>>>
>>> On 26/11/2011 20:03, Alec Ross wrote:
>>>> Hi Julian,
>>>>
>>>> How simple or otherwise would it be to offer an option - perhaps at a
>>>> later date - for DB to target an ARM device?  I'm thinking about some
>>>> time in the future when the major Linux distros may have versions
>>>> targeting this platform.  (Particularly for tablet use.)
>>>>
>>>> Plus, of course, Windows 8.
>>>>
>>>> Regards,
>>>>
>>>> Alec
>>>
>
>

--
Alec Ross

#7239 From: "Marcel" <marcel.v.tongeren@...>
Date: Wed Jun 27, 2012 8:24 pm
Subject: Re: Windows 7 showing .htb file output as html
etxmato
Send Email Send Email
 
Hi Julian,

Ok, thanks again.

I got the htm and html registry export files. I made an export of mine and
changed them around and indeed now I can re-create the issue. Switching back to
my own registry entry works fine again.

Now I'm still kinda stuck.

non working html registry in a text editor looks like:
[HKEY_CLASSES_ROOT\.html]
@="ChromeHTML"
"Notepad++_backup"="ChromeHTML"

[HKEY_CLASSES_ROOT\.html\OpenWithProgIDs]
"soffice.StarCalcDocument.6"=""
"soffice.StarWriterDocument.6"=""

similar for the htm file but that has a lot more entries (the rest of the htm
file looks fairly similar to mine).

There is a reference to Chrome in this as far as I can see, and he did have
Chrome as default browser. However if I use my registry file and install Chrome
as default things still work fine.

I also have no clue how to start debugging the wx code if the problem is there;
not sure.

Cheers, Marcel.

#7240 From: Julian Smart <julian@...>
Date: Thu Jun 28, 2012 8:24 am
Subject: Re: Re: Windows 7 showing .htb file output as html
felixcarswell
Send Email Send Email
 
Hi Marcel,

It would be interesting to see the difference between the two .html and
.htm keys. But probably the best bet is to debug. Put a break in
wxHtmlWindow::LoadPage in src/html/htmlwin.cpp, and step through - I'm
sure it'll become clear!

Regards,

Julian

On 27/06/2012 21:24, Marcel wrote:
> Hi Julian,
>
> Ok, thanks again.
>
> I got the htm and html registry export files. I made an export of mine and
changed them around and indeed now I can re-create the issue. Switching back to
my own registry entry works fine again.
>
> Now I'm still kinda stuck.
>
> non working html registry in a text editor looks like:
> [HKEY_CLASSES_ROOT\.html]
> @="ChromeHTML"
> "Notepad++_backup"="ChromeHTML"
>
> [HKEY_CLASSES_ROOT\.html\OpenWithProgIDs]
> "soffice.StarCalcDocument.6"=""
> "soffice.StarWriterDocument.6"=""
>
> similar for the htm file but that has a lot more entries (the rest of the htm
file looks fairly similar to mine).
>
> There is a reference to Chrome in this as far as I can see, and he did have
Chrome as default browser. However if I use my registry file and install Chrome
as default things still work fine.
>
> I also have no clue how to start debugging the wx code if the problem is
there; not sure.
>
> Cheers, Marcel.
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7241 From: "tde51k" <jecxz113@...>
Date: Tue Jul 3, 2012 2:00 am
Subject: wxDIRCTRL_MULTIPLE missing from the wxGenericDirCtrl styles
tde51k
Send Email Send Email
 
Subject line says it all

Using DB 4.43 Unicode, build Mar 14/2012

#7242 From: "tde51k" <jecxz113@...>
Date: Tue Jul 3, 2012 2:30 am
Subject: another wxGenericDirCtrl problem
tde51k
Send Email Send Email
 
Can't seem to generate code to use the member variable  name.

It is accepted in the GUI, but it is not used in the code; neither the header
nor .cpp file show any sign of it.
I have tried to 'Save' the code repeatedly, including exiting and restarting DB.

#7243 From: Julian Smart <julian@...>
Date: Tue Jul 3, 2012 7:29 am
Subject: Re: wxDIRCTRL_MULTIPLE missing from the wxGenericDirCtrl styles
felixcarswell
Send Email Send Email
 
On 03/07/2012 03:00, tde51k wrote:
> Subject line says it all
This is a 2.9 style, which you can add in custom styles; I'll add it for
2.9 compiles of DB.

Regards,

Julian
>
> Using DB 4.43 Unicode, build Mar 14/2012
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7244 From: Julian Smart <julian@...>
Date: Tue Jul 3, 2012 7:29 am
Subject: Re: another wxGenericDirCtrl problem
felixcarswell
Send Email Send Email
 
On 03/07/2012 03:30, tde51k wrote:
> Can't seem to generate code to use the member variable  name.
>
> It is accepted in the GUI, but it is not used in the code; neither the header
nor .cpp file show any sign of it.
> I have tried to 'Save' the code repeatedly, including exiting and restarting
DB.
It works for me when testing with the Elements sample. Perhaps you can
check you typed the member variable into the correct property.

Regards,

Julian
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7245 From: jecxz113 <jecxz113@...>
Date: Tue Jul 3, 2012 8:15 pm
Subject: Re: another wxGenericDirCtrl problem
tde51k
Send Email Send Email
 
On 03/07/2012 12:29 AM, Julian Smart wrote:
 

On 03/07/2012 03:30, tde51k wrote:
> Can't seem to generate code to use the member variable name.
>
> It is accepted in the GUI, but it is not used in the code; neither the header nor .cpp file show any sign of it.
> I have tried to 'Save' the code repeatedly, including exiting and restarting DB.
It works for me when testing with the Elements sample. Perhaps you can
check you typed the member variable into the correct property.

Thank you, Julian,

the variable name was in the correct field.
The problem showed when the wxGenericDirCtrl was in a the following hierarchy.

wxFilesDialog : wxDialog
    wxBoxSizer1 V
       wxBoxSizer2 V
         wxGenericDirCtrl
         wxStdDialogButtobSizer

changing the hierarchy to the following as a test, had the member variable show up in the code as expected

wxFilesDialog : wxDialog
    wxBoxSizer1 V
    wxBoxSizer2 V
         wxGenericDirCtrl
         wxStdDialogButtobSizer

After this, when I built another test dialog, the member variable appeared the fist time without trouble, so I must have been one of those things depending on a specific sequence which I cannot reproduce.

In any case, the issue has gone away, for now at least :-)

Except - for the record - now the 'Sizer' tab on the right hand side only shows the items
Orientation
wxShaped
wxADJUST_MINSIZE
wxFIXED_MIN_SIZE

and I can no longer set the horizontal alignment.

So something isn't right, but it is easy enough to fix by starting over.

Arnold
-- Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml

#7246 From: "Marcel" <marcel.v.tongeren@...>
Date: Tue Jul 3, 2012 8:16 pm
Subject: Re: Windows 7 showing .htb file output as html
etxmato
Send Email Send Email
 
Hi Julian,

Thanks!

Yes it did become a bit clearer!
When I add the following in the htm/html registry (i.e. the version that did NOT
show help correct):
Content Type = text/html

everything works fine.

I traced it to this part in the LoadPage routine:

             node = m_Filters.GetFirst();
             while (node)
             {
                 wxHtmlFilter *h = (wxHtmlFilter*) node->GetData();
                 if (h->CanRead(*f))
                 {
                     src = h->ReadFile(*f);
                     break;
                 }
                 node = node->GetNext();
             }

where in the not working case h->CanRead(*f) never returns true. CanRead in this
case only returns true in case MimeType == text/html. According to the following
routine in htmlfilt.cpp:

bool wxHtmlFilterHTML::CanRead(const wxFSFile& file) const
{
//    return (file.GetMimeType() == "text/html");
// This is true in most case but some page can return:
// "text/html; char-encoding=...."
// So we use Find instead
   return (file.GetMimeType().Find(wxT("text/html")) == 0);
}

So now I'm still stuck, :(
What should I do, get the user to add the Content Type in the registry or write
a bug report for the above? However removing the check might not be the correct
solution?

Cheers, Marcel.

--- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
> It would be interesting to see the difference between the two .html and
> .htm keys. But probably the best bet is to debug. Put a break in
> wxHtmlWindow::LoadPage in src/html/htmlwin.cpp, and step through - I'm
> sure it'll become clear!

#7247 From: Julian Smart <julian@...>
Date: Wed Jul 4, 2012 7:43 am
Subject: Re: another wxGenericDirCtrl problem
felixcarswell
Send Email Send Email
 
Hi Arnold,

Note that you need a single box sizer as the root sizer for a dialog or
panel; having two at the top level won't work.

I'm afraid that sometimes moving sizers from or to the top-level does
confuse DB w.r.t. the sizer's properties (which are different for the
top-level sizer).

Regards,

Julian

On 03/07/2012 21:15, jecxz113 wrote:
>
>
> On 03/07/2012 12:29 AM, Julian Smart wrote:
>>
>> On 03/07/2012 03:30, tde51k wrote:
>> > Can't seem to generate code to use the member variable name.
>> >
>> > It is accepted in the GUI, but it is not used in the code; neither
>> the header nor .cpp file show any sign of it.
>> > I have tried to 'Save' the code repeatedly, including exiting and
>> restarting DB.
>> It works for me when testing with the Elements sample. Perhaps you can
>> check you typed the member variable into the correct property.
>>
> Thank you, Julian,
>
> the variable name was in the correct field.
> The problem showed when the wxGenericDirCtrl was in a the following
> hierarchy.
>
> wxFilesDialog : wxDialog
>     wxBoxSizer1 V
>        wxBoxSizer2 V
>          wxGenericDirCtrl
>          wxStdDialogButtobSizer
>
> changing the hierarchy to the following as a test, had the member
> variable show up in the code as expected
>
> wxFilesDialog : wxDialog
>     wxBoxSizer1 V
>     wxBoxSizer2 V
>          wxGenericDirCtrl
>          wxStdDialogButtobSizer
>
> After this, when I built another test dialog, the member variable
> appeared the fist time without trouble, so I must have been one of
> those things depending on a specific sequence which I cannot reproduce.
>
> In any case, the issue has gone away, for now at least :-)
>
> Except - for the record - now the 'Sizer' tab on the right hand side
> only shows the items
> Orientation
> wxShaped
> wxADJUST_MINSIZE
> wxFIXED_MIN_SIZE
>
> and I can no longer set the horizontal alignment.
>
> So something isn't right, but it is easy enough to fix by starting over.
>
> Arnold
> --
> Fight Spam - report it with wxSR
> http://www.columbinehoney.net/wxSR.shtml
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7248 From: Julian Smart <julian@...>
Date: Wed Jul 4, 2012 8:27 am
Subject: Re: Re: Windows 7 showing .htb file output as html
felixcarswell
Send Email Send Email
 
Hi Marcel,

Thanks for the description; I think we also need to look at:

wxFSFile* wxFileSystem::OpenFile(const wxString& location, int flags)

in src/common/filesys.cpp since this is where the wxFSFile object with
the bad MIME type was returned. Actually the point of failure is
probably in wxFileSystemHandler::GetMimeTypeFromExt, when
wxTheMimeTypesManager->GetFileTypeFromExtension. There are fallbacks in
this function that map extension to MIME type in case none is found in
the registry, but it doesn't take into account the wrong information
being in the registry. However modifying this would affect other code
and you can't necessarily tell whether the information is wrong.

In wxHtmlWindow::LoadPage, why is m_DefaultFilter not working as a
fallback? Perhaps 'src' is not empty at this point?

In the short term, you could save a portion of the register as a .reg
file and ask your customer to run it in order to fix the registry.

Regards,

Julian

On 03/07/2012 21:16, Marcel wrote:
> Hi Julian,
>
> Thanks!
>
> Yes it did become a bit clearer!
> When I add the following in the htm/html registry (i.e. the version that did
NOT show help correct):
> Content Type = text/html
>
> everything works fine.
>
> I traced it to this part in the LoadPage routine:
>
>              node = m_Filters.GetFirst();
>              while (node)
>              {
>                  wxHtmlFilter *h = (wxHtmlFilter*) node->GetData();
>                  if (h->CanRead(*f))
>                  {
>                      src = h->ReadFile(*f);
>                      break;
>                  }
>                  node = node->GetNext();
>              }
>
> where in the not working case h->CanRead(*f) never returns true. CanRead in
this case only returns true in case MimeType == text/html. According to the
following routine in htmlfilt.cpp:
>
> bool wxHtmlFilterHTML::CanRead(const wxFSFile& file) const
> {
> //    return (file.GetMimeType() == "text/html");
> // This is true in most case but some page can return:
> // "text/html; char-encoding=...."
> // So we use Find instead
>    return (file.GetMimeType().Find(wxT("text/html")) == 0);
> }
>
> So now I'm still stuck, :(
> What should I do, get the user to add the Content Type in the registry or
write a bug report for the above? However removing the check might not be the
correct solution?
>
> Cheers, Marcel.
>
> --- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>> It would be interesting to see the difference between the two .html and
>> .htm keys. But probably the best bet is to debug. Put a break in
>> wxHtmlWindow::LoadPage in src/html/htmlwin.cpp, and step through - I'm
>> sure it'll become clear!
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7249 From: "Marcel" <marcel.v.tongeren@...>
Date: Wed Jul 4, 2012 3:49 pm
Subject: Re: Windows 7 showing .htb file output as html
etxmato
Send Email Send Email
 
Hi Julian,

Yes, I did another trace and I can see you are right the GetMimeTypeFromExt
seems to skip the extension selection and as such returns an empty string. I
think this is way over my head......

I also checked the fallback to m_DefaultFilter in LoadPage, and that actually
works however as far as I can see it actually returns the content as 'source'
text and as such is shown with all html markup words.

I'm happy with providing the htm and html .reg files but can I be sure that an
export of my values will not cause other issue on the PC where they get
imported? I guess it can't make it any worse? :)

Cheers, Marcel.

--- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>
> Hi Marcel,
>
> Thanks for the description; I think we also need to look at:
>
> wxFSFile* wxFileSystem::OpenFile(const wxString& location, int flags)
>
> in src/common/filesys.cpp since this is where the wxFSFile object with
> the bad MIME type was returned. Actually the point of failure is
> probably in wxFileSystemHandler::GetMimeTypeFromExt, when
> wxTheMimeTypesManager->GetFileTypeFromExtension. There are fallbacks in
> this function that map extension to MIME type in case none is found in
> the registry, but it doesn't take into account the wrong information
> being in the registry. However modifying this would affect other code
> and you can't necessarily tell whether the information is wrong.
>
> In wxHtmlWindow::LoadPage, why is m_DefaultFilter not working as a
> fallback? Perhaps 'src' is not empty at this point?
>
> In the short term, you could save a portion of the register as a .reg
> file and ask your customer to run it in order to fix the registry.
>
> Regards,
>
> Julian

#7250 From: Julian Smart <julian@...>
Date: Wed Jul 4, 2012 4:21 pm
Subject: Re: Re: Windows 7 showing .htb file output as html
felixcarswell
Send Email Send Email
 
Hi Marcel,

It would be nice to have a definitive answer to why it's happening...
perhaps it's time to try wx-users or wx-dev to see if anyone has
suggestions?

Certainly fiddling with the registry could have unexpected consequences,
so it would be good to have some way to force wxHTML to behave - perhaps
using some wxSystemOptions value to force it to interpret htm and html
as HTML.

Regards,

Julian

On 04/07/2012 16:49, Marcel wrote:
> Hi Julian,
>
> Yes, I did another trace and I can see you are right the GetMimeTypeFromExt
seems to skip the extension selection and as such returns an empty string. I
think this is way over my head......
>
> I also checked the fallback to m_DefaultFilter in LoadPage, and that actually
works however as far as I can see it actually returns the content as 'source'
text and as such is shown with all html markup words.
>
> I'm happy with providing the htm and html .reg files but can I be sure that an
export of my values will not cause other issue on the PC where they get
imported? I guess it can't make it any worse? :)
>
> Cheers, Marcel.
>
> --- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>> Hi Marcel,
>>
>> Thanks for the description; I think we also need to look at:
>>
>> wxFSFile* wxFileSystem::OpenFile(const wxString& location, int flags)
>>
>> in src/common/filesys.cpp since this is where the wxFSFile object with
>> the bad MIME type was returned. Actually the point of failure is
>> probably in wxFileSystemHandler::GetMimeTypeFromExt, when
>> wxTheMimeTypesManager->GetFileTypeFromExtension. There are fallbacks in
>> this function that map extension to MIME type in case none is found in
>> the registry, but it doesn't take into account the wrong information
>> being in the registry. However modifying this would affect other code
>> and you can't necessarily tell whether the information is wrong.
>>
>> In wxHtmlWindow::LoadPage, why is m_DefaultFilter not working as a
>> fallback? Perhaps 'src' is not empty at this point?
>>
>> In the short term, you could save a portion of the register as a .reg
>> file and ask your customer to run it in order to fix the registry.
>>
>> Regards,
>>
>> Julian
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7251 From: "tde51k" <jecxz113@...>
Date: Wed Jul 4, 2012 5:41 pm
Subject: Re: another wxGenericDirCtrl problem
tde51k
Send Email Send Email
 
--- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>
> Hi Arnold,
>
> Note that you need a single box sizer as the root sizer for a dialog or
> panel; having two at the top level won't work.
>
> I'm afraid that sometimes moving sizers from or to the top-level does
> confuse DB w.r.t. the sizer's properties (which are different for the
> top-level sizer).

Sure would be nice to make that distinction more apparent and visible to the
users :-)

#7252 From: "Marcel" <marcel.v.tongeren@...>
Date: Wed Jul 4, 2012 8:19 pm
Subject: Re: Windows 7 showing .htb file output as html
etxmato
Send Email Send Email
 
Hi Julian,

Sorry, I know about the wx forum and the trac site but what is wx-users or
wx-dev?

Cheers, Marcel.

--- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>
> Hi Marcel,
>
> It would be nice to have a definitive answer to why it's happening...
> perhaps it's time to try wx-users or wx-dev to see if anyone has
> suggestions?
>
> Certainly fiddling with the registry could have unexpected consequences,
> so it would be good to have some way to force wxHTML to behave - perhaps
> using some wxSystemOptions value to force it to interpret htm and html
> as HTML.
>
> Regards,
>
> Julian

#7253 From: Julian Smart <julian@...>
Date: Thu Jul 5, 2012 8:50 am
Subject: Re: Re: Windows 7 showing .htb file output as html
felixcarswell
Send Email Send Email
 
Hi Marcel,

On 04/07/2012 21:19, Marcel wrote:
> Hi Julian,
>
> Sorry, I know about the wx forum and the trac site but what is wx-users or
wx-dev?
These are the two main mailing lists. Most devs don't look at the forum.
See:

http://www.wxwidgets.org/support/maillst2.htm

Regards,

Julian
>
> Cheers, Marcel.
>
> --- In anthemion-devtools@yahoogroups.com, Julian Smart <julian@...> wrote:
>> Hi Marcel,
>>
>> It would be nice to have a definitive answer to why it's happening...
>> perhaps it's time to try wx-users or wx-dev to see if anyone has
>> suggestions?
>>
>> Certainly fiddling with the registry could have unexpected consequences,
>> so it would be good to have some way to force wxHTML to behave - perhaps
>> using some wxSystemOptions value to force it to interpret htm and html
>> as HTML.
>>
>> Regards,
>>
>> Julian
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7254 From: alec@...
Date: Tue Jul 10, 2012 9:41 pm
Subject: DB enhancement request(s?)
apply72000
Send Email Send Email
 
Hi Julian,

I'd like to request that the settings options be expanded to include
wxWidgets versions 2.n, for n >= 5.

Also, these are not requests, but queries: what about settings for the
currently experimental GTK+3, and the use of GTK with Windows which I
seem to have noticed in development?

TIA

Alec
--
Alec Ross

#7255 From: Julian Smart <julian@...>
Date: Wed Jul 11, 2012 8:20 am
Subject: Re: DB enhancement request(s?)
felixcarswell
Send Email Send Email
 
Hi Alec,

On 10/07/2012 22:41, alec@... wrote:
> Hi Julian,
>
> I'd like to request that the settings options be expanded to include
> wxWidgets versions 2.n, for n >= 5.
Good point, will do (though you can of course type the version number in
the meantime).
>
> Also, these are not requests, but queries: what about settings for the
> currently experimental GTK+3,
I'll look into adding it to the UI but meanwhile you can edit the
configure line in the relevant configuration property to read --with-gtk=3.
>   and the use of GTK with Windows which I
> seem to have noticed in development?
I don't know about that, but in theory you could create a GCC
configuration and set the toolkit to wxMSW. I can't quite see the point
but it should be possible - please let me know if you find erroneous
assumptions that DB has made.

Regards,

Julian
>
> TIA
>
> Alec


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7256 From: alec@...
Date: Wed Jul 11, 2012 9:29 am
Subject: Re: DB enhancement request(s?)
apply72000
Send Email Send Email
 
Hi Julian,

Tks.

In message <4FFD374B.8010300@...>, Julian Smart
<julian@...> writes
>Hi Alec,
>
>On 10/07/2012 22:41, alec@... wrote:
>> Hi Julian,
>>
>> I'd like to request that the settings options be expanded to include
>> wxWidgets versions 2.n, for n >= 5.
>Good point, will do (though you can of course type the version number in
>the meantime).
>>

Ok.  (Never had to try.  ;-))


>> Also, these are not requests, but queries: what about settings for the
>> currently experimental GTK+3,
>I'll look into adding it to the UI but meanwhile you can edit the
>configure line in the relevant configuration property to read --with-gtk=3.
>>   and the use of GTK with Windows which I
>> seem to have noticed in development?
>I don't know about that, but in theory you could create a GCC
>configuration and set the toolkit to wxMSW. I can't quite see the point
>but it should be possible - please let me know if you find erroneous
>assumptions that DB has made.

As regards these last two, I wasn't asking for anything that I expect to
want in the foreseeable future; simply raising the issues as things that
might come up.


And thanks as ever, and

BR,

Alec
--
Alec Ross

#7257 From: "tde51k" <jecxz113@...>
Date: Fri Jul 13, 2012 8:27 pm
Subject: using element.pjd copies XPM files ..
tde51k
Send Email Send Email
 
but does not add the #include lines to the new project.
Had to add them manually for a clean compile.

#7258 From: "Joerg Toellner" <dialogblocks@...>
Date: Thu Jul 19, 2012 7:57 am
Subject: Setting the /NXCOMPAT:NO Linker flag doesn't work
dialogblocks@...
Send Email Send Email
 
Hi Julian,

I'm using DB 4.43 registered and MSVC 2010.

I need to set the linker security setting DEP (Data Execution Prevention) in
my project to NO (Default is yes).

I tried to set some different things in the linker flags item in the
VCProject configurations dialog in DB for both configurations (Debug and
Release) like:

%AUTO% /NXCOMPAT:NO
Or
/NXCOMPAT:NO %AUTO%

And also expanded %AUTO% to it's content and pre- and postfixed that long
line with my /NXCOMPAT:NO option.

But whenever i save the project and look into the project properties (and
the linker commandline) in MSVC i get this flag resetted to the default
value "yes" (or better said to: /NXCOMPAT <- without the :NO).

Whenever i change anything in DB that effect the project file, i have to
remember that i have to go into the project settings in MSVC after saving
and change that option again back to my :NO value that i need. A bit
annoying and begging for trouble (as without this setting my app can't load
a certain 3rd party DLL and so my program won't run at all).

What am i doing wrong here? What must i do to preserve this setting in DB,
so that it will be set automatically when saving the project from DB. Or is
this a bug in DB? If so, can you fix that please? Or is it not possible to
set this flag at all in DB?

Thank you in advance for your good cooperation and an early reply.

Greetings
Joerg

#7259 From: Julian Smart <julian@...>
Date: Thu Jul 19, 2012 8:55 am
Subject: Re: Setting the /NXCOMPAT:NO Linker flag doesn't work
felixcarswell
Send Email Send Email
 
Hi Joerg,

Unfortunately DB can't preserve all possible settings in a VS project
file. So I would recommend you switch off the "Generate makefile"
configuration option and if you need to add files, add them in both DB
and VS. Sorry!

Regards,

Julian

On 19/07/2012 08:57, Joerg Toellner wrote:
> Hi Julian,
>
> I'm using DB 4.43 registered and MSVC 2010.
>
> I need to set the linker security setting DEP (Data Execution Prevention) in
> my project to NO (Default is yes).
>
> I tried to set some different things in the linker flags item in the
> VCProject configurations dialog in DB for both configurations (Debug and
> Release) like:
>
> %AUTO% /NXCOMPAT:NO
> Or
> /NXCOMPAT:NO %AUTO%
>
> And also expanded %AUTO% to it's content and pre- and postfixed that long
> line with my /NXCOMPAT:NO option.
>
> But whenever i save the project and look into the project properties (and
> the linker commandline) in MSVC i get this flag resetted to the default
> value "yes" (or better said to: /NXCOMPAT <- without the :NO).
>
> Whenever i change anything in DB that effect the project file, i have to
> remember that i have to go into the project settings in MSVC after saving
> and change that option again back to my :NO value that i need. A bit
> annoying and begging for trouble (as without this setting my app can't load
> a certain 3rd party DLL and so my program won't run at all).
>
> What am i doing wrong here? What must i do to preserve this setting in DB,
> so that it will be set automatically when saving the project from DB. Or is
> this a bug in DB? If so, can you fix that please? Or is it not possible to
> set this flag at all in DB?
>
> Thank you in advance for your good cooperation and an early reply.
>
> Greetings
> Joerg
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

#7260 From: "Joerg Toellner" <dialogblocks@...>
Date: Thu Jul 19, 2012 9:27 am
Subject: AW: Setting the /NXCOMPAT:NO Linker flag doesn't work
dialogblocks@...
Send Email Send Email
 
Hi Julian,
 
thank you for your fast reply. I see and will go the recommended way by you.
 
No need for excuses here. DB is still a great tool and a life saver for me. Even if i just use for GUI layout and for startpoint for new projects to let him generate all the tedious codelines that are needed as prerequisite and a nice solution file that i can then open in MSVC to work on and compile there.
 
Greetings
Joerg


Von: anthemion-devtools@yahoogroups.com [mailto:anthemion-devtools@yahoogroups.com] Im Auftrag von Julian Smart
Gesendet: Donnerstag, 19. Juli 2012 10:56
An: anthemion-devtools@yahoogroups.com
Betreff: Re: [anthemion-devtools] Setting the /NXCOMPAT:NO Linker flag doesn't work

 

Hi Joerg,

Unfortunately DB can't preserve all possible settings in a VS project
file. So I would recommend you switch off the "Generate makefile"
configuration option and if you need to add files, add them in both DB
and VS. Sorry!

Regards,

Julian

On 19/07/2012 08:57, Joerg Toellner wrote:
> Hi Julian,
>
> I'm using DB 4.43 registered and MSVC 2010.
>
> I need to set the linker security setting DEP (Data Execution Prevention) in
> my project to NO (Default is yes).
>
> I tried to set some different things in the linker flags item in the
> VCProject configurations dialog in DB for both configurations (Debug and
> Release) like:
>
> %AUTO% /NXCOMPAT:NO
> Or
> /NXCOMPAT:NO %AUTO%
>
> And also expanded %AUTO% to it's content and pre- and postfixed that long
> line with my /NXCOMPAT:NO option.
>
> But whenever i save the project and look into the project properties (and
> the linker commandline) in MSVC i get this flag resetted to the default
> value "yes" (or better said to: /NXCOMPAT <- without the :NO).
>
> Whenever i change anything in DB that effect the project file, i have to
> remember that i have to go into the project settings in MSVC after saving
> and change that option again back to my :NO value that i need. A bit
> annoying and begging for trouble (as without this setting my app can't load
> a certain 3rd party DLL and so my program won't run at all).
>
> What am i doing wrong here? What must i do to preserve this setting in DB,
> so that it will be set automatically when saving the project from DB. Or is
> this a bug in DB? If so, can you fix that please? Or is it not possible to
> set this flag at all in DB?
>
> Thank you in advance for your good cooperation and an early reply.
>
> Greetings
> Joerg
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>

--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation: www.jutoh.com
wxWidgets RAD: www.dialogblocks.com


#7261 From: "pfmaynard" <pmaynard@...>
Date: Thu Jul 26, 2012 12:34 pm
Subject: DB support for MDI?
pfmaynard
Send Email Send Email
 
I'm trying to port a C# image viewing program to wxWidgets / DB.  I see that
wxWidgets has support for MDI, but I can't find it in DB (using 4.4.3).  In my
C# program, I can create and display multiple image panes inside my main frame
application, and if desired, tile them so they are both displayed side by side.

If DB doesn't support this, how can I use DB to get as close as possible?  Are
there any examples out there?

Thanks

#7262 From: Julian Smart <julian@...>
Date: Thu Jul 26, 2012 12:46 pm
Subject: Re: DB support for MDI?
felixcarswell
Send Email Send Email
 
Hi,

When you create a frame in DB, you can choose the class, which can be an
MDI parent or child frame.

Regards,

Julian

On 26/07/2012 14:34, pfmaynard wrote:
> I'm trying to port a C# image viewing program to wxWidgets / DB.  I see that
wxWidgets has support for MDI, but I can't find it in DB (using 4.4.3).  In my
C# program, I can create and display multiple image panes inside my main frame
application, and if desired, tile them so they are both displayed side by side.
>
> If DB doesn't support this, how can I use DB to get as close as possible?  Are
there any examples out there?
>
> Thanks
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
Ebook creation:    www.jutoh.com
wxWidgets RAD:     www.dialogblocks.com

Messages 7233 - 7262 of 7463   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help