Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
10 user(s) are online (5 user(s) are browsing Forums)

Members: 0
Guests: 10

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 28 29 30 (31) 32 33 34 ... 72 »
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@samo79

Yes, maybe the same bug. I reported here :

http://www.amigans.net/modules/xforum ... um=3&topic_id=6982&order=

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@all
A little more tweaks by deadwood's patches (old one was incomplete): https://www.sendspace.com/file/p6de1n

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@Kas1e

ok I downloaded this new test version and it worked for about two minutes before crashing here on amigans.net

please tell me if you need the crashlog and where can i upload it or if you want it by email

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@numberchecorre
You tried first one, or second one ? Second one is "full" as should be with deadwood's patches. If it crashes and worse than before, then probably we can't apply them just like this, sadly.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@kas1e
Using second one since few times, no crash.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e
Using second one since few times, no crash.
Here also.

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
Using second one for about 2 hours. Only one crash while watching a videoclip but thats the old mediaplayer bug. Other then that working nice. Cool with the continue work on odyssey :)

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@kas1e

Tested both versions (3 hours of intensive usage) and no crash at all :)
More or less it same stable as the standard version on OS4Depot

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@kas1e

2 little quirks:

Can the $VER: date at least be changed so we can "know" what version/release are we running?

Catalog (owb.catalog) doesn't seems to be closed on quit/exit, as I can't flush it from memory to test updated/fixed localization. Thus i need to fast reboor miggy to test updated catalog


EDIT: And what internal date/time UTC uses, just posted this at 1H00 Madrid, Spain time and it shows 3H00 ¿:-/



TIA

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
Ooops. double post.

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@jabirulo
"Catalog (owb.catalog) doesn't seems to be closed on quit/exit, as I can't flush it from memory to test updated/fixed localization"

Even with "expunge locale.library" (or by double-clicking on libraries/Catalogs list of SysMon) ?

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
Odyssey1.23 fix2 seems to be better working than original Odyssey 1.23
I have to do more testing
@kas1e can you fix the Ahi bug?
When i am running AmigaAmp and start then a Youtube video, i get no sound of the Youtube video
Start i first a Youtube video then i can not start AmigaAmp
Both programs are using the same Ahi channel. Odyssey need an option to switch the Ahi channel when it is occupied

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Jabirulo
Quote:

Catalog (owb.catalog) doesn't seems to be closed on quit/exit, as I can't flush it from memory to test updated/fixed localization. Thus i need to fast reboor miggy to test updated catalog


That strange, because:

locale.cpp:

#include "gui.h"

/* public */
#include <proto/dos.h>
#include <proto/exec.h>
#include <proto/locale.h>
#include <libraries/locale.h>

/* private */
#include "alocale.h"
#include "owb_cat.h"

static struct Catalog *catalog;

struct Locale *locale;

LONG   locale_timezone_offset;

ULONG locale_init(void)
{    
    
locale OpenLocale(NULL);

    
locale_timezone_offset = -locale->loc_GMTOffset 60;

    
catalog OpenCatalog(
        
NULL"OWB.catalog",
        
OC_BuiltInLanguage"english",
        
OC_Version1,  /* required catalog version */
        
TAG_DONE
    
);

    if (
catalog)
    {
        
int c;

        for (
0NUMCATSTRINGc++)
        {    
            
#ifdef __amigaos4__
            
((char**)__stringtable)[ ] = (char *)GetCatalogStr(catalogc, (char*)__stringtable[c]);
            
#else
            
((char**)__stringtable)[ ] = GetCatalogStr(catalogc, (char*)__stringtable[c]);
            
#endif
        
}
    }
    return (
TRUE);
}

void locale_cleanup(void)
{
    
CloseLocale(locale);
    
CloseCatalog(catalog);
}


And then, in the main:

if(open_libs())
    {
        if(
safety_check())
        {
            
app create_application(argc ? (char*)argv[1] : (char *)"");

            if(
app)
            {
                
main_loop();
            }

            
destroy_application();
        }
    }
    
close_libs();


Where destroy_application() are:

void destroy_application(void)
{
    if(
app)
    {
        
MUI_DisposeObject(app);
        
methodstack_cleanup();
        
classes_cleanup();
        
locale_cleanup();
        
app NULL;
    }
}


So probably it should be ok.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
locale_cleanup() should be called independently of the application object.

Why stop it now, just when I am hating it?

Thore Böckelmann
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Thore
Why ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
Big thank you, fixed version seems to work much smoother on my X1000.
Now I can listen AmigaRemix songs via OWB and netradio stations wich I have listened using OWB seems to working better (earlier versions ate memory after about one hour listening and then my Amy crached)
ps: small motivation donation sent, I recomment to all

\o/....X1000....\o/
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@ kas1e

Because the catalog will be closed only if creating the application succeeded before. Otherwise you have a memory leak. Unprobable, but not impossible. I don't know how safety_check() and create_application() look like, but I suppose the catalog will be opened before the application is created.

Why stop it now, just when I am hating it?

Thore Böckelmann
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@kas1e

http://www.amigans.net/modules/xforum/viewtopic.php?post_id=99737

Building it against the latest OpenSSL should fix that.

Go to top
Re: Odyssey 1.23 progress
Amigans Defender
Amigans Defender


See User information
@kas1e

Thank you for the upload! A brief report from me:

- Odyssey registers as a commodity. I guess this is unnecessary? Why would a 60MB mammoth browser application want to be a commodity? Commodities are primarily service programs.

- The commodity support is broken anyway. Upon receiving CXCMD_DISAPPEAR Odyssey iconifies instead of hiding; this is contrary to the usual conventions. If the program receives a CXCMD_KILL when it is iconified, Odyssey neither quits, nor can it be uniconified again: the icon just stays "locked" on the WB. (I suspect the CXCMD_KILL-handling code does not account for the window being not open at the moment the message arrives.)

- Odyssey registers as an application but there is virtually no application.library support. The program does not respond to APPLIBMT_Hide or APPLIBMT_Unhide messages, although iconification is apparently supported. APPLIBMT_Quit is not implemented either.

I can fix this for you if this part is in plain C.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@kas1e

void locale_cleanup(void

    
CloseLocale(locale); 
    
CloseCatalog(catalog); 
}


This code, you can make safer by doing:

void locale_cleanup(void

   if (
localeCloseLocale(locale); 
   if (
catalogCloseCatalog(catalog); 

   
locale NULLcatalog NULL;
}


This prevent nasty crashes, If local_cleanup() is called more than once, by accident, or things like that. That’s how I always do my clean up code. And this make easier to find issues where locale might be used after its freed and so on.

Go to top

  Register To Post
« 1 ... 28 29 30 (31) 32 33 34 ... 72 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project