|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 12:06
#63 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2268
|
@MickJT
If all that disabling debug removes is debug symbols and gstabs info then why remove it? Kas1e may not like it but he is just one developer and seeing which function your program crashes in when developing is very useful. If debug adds actual debug code though, there may be efficiency reasons to remove it. gstabs stuff does not affect executable size WRT to relocation etc on the size of the file on disk. I don't think debug symbols are even loaded into memory (for static builds not so sure about sobjs) until it crashes and the Grim Reaper appears. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 13:37
#64 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/4/28 4:57 From Adelaide, Australia
Posts: 939
|
Well, I'll think about it some more :) I want to just leave things how they are by default. If it's built with -g, then it stays that way. The ffmpeg libraries I could make an exception since they're rather big. However, those are only static libs, and so you're still going to be able to strip whatever binary you make with them.
Quote:
Yeah, that's why I was asking before whether --disable-debug did anything more than remove -g. With ffmpeg it might disable other code that's unnecessary for a release archive, but I don't think it does. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 13:44
#65 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@All
I update to all 3d party libs ports, now in 1.23 we will have: cairo : 1.12.16 pixman-1 : 0.32.4 sqlite3 : 3.8.2 ffmpeg : 2.1.1 (snapshoot from 2014.01.09) icu : 49.1.2 libpng12 : 1.2.50 curl : 7.34.0 rtmp : 2.4 openssl : 1.0.0l xml2 : 2.9.1 xslt : 1.1.28 As well , as with all that removing and striping final binary are "just" 52mb of size (that with attached mediaplayer libs and co), which even a bit smaller than on morphos :) Another good news is that i have some initial version of calltips.mcc from Thore, that mean it also passed. Now some minor bugs which the same to fix as previously, and in other words i hope tomorrow to have browser running and have some tasty screenshots ! |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 14:03
#66 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/1/16 1:49 From Mexico City, MEXICO.
Posts: 36
|
@kas1e
Awesome, great work man. Thanks for your efforts on porting Oddyssey to OS4! Cheers, Dragster |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 14:04
#67 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 781
|
@kas1e
great news... Keep up the good work mate.... |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 14:23
#68 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/3/5 16:34 From France (Bretagne)
Posts: 188
|
@kas1e
Very great news ! |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 14:40
#69 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2008/4/10 14:57 From Northern Ireland
Posts: 971
|
@kas1e
Awesome! Sometimes I wish this forum had a like button for posts /jk |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 15:50
#70 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/12/5 20:27 From Doncaster, uk
Posts: 84
|
Fantastic, looking forward to the screenshots
![]() |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 16:42
#71 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2011/11/29 0:54 From Norway
Posts: 304
|
nice work.. you doing a great job:)
|
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 18:11
#72 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3409
|
@kas1e
Yaiii! \o/ |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 18:38
#73 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/24 18:52 From Gloucestershire, UK.
Posts: 1172
|
Excellent work.
If I was porting it and had all the libpng problems I'd have scapped libpng and used datatypes to decode all static images instead, giving a smaller exe, no future problems with libpng incompatabilities etc. but then that would take time and everyone wants a fast port. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 18:49
#74 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/11/20 20:09 Posts: 202
|
@Severin
Except datatypes aren't suited at all for that, and it would actually give a (much) slower result. I could use reggae for decoding, though. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/29 19:43
#75 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2013/10/5 15:07 From Italy
Posts: 624
|
@kas1e
soon we will browsing! |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/30 7:24
#76 |
---|---|---|
Just popping in
![]() ![]() Joined:
2012/4/17 8:24 From Norfolk, UK
Posts: 3
|
Great work kas1e :)
|
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/30 8:07
#77 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/1/26 21:48 From New Zealand
Posts: 2310
|
@Fab
Quote: Except datatypes aren't suited at all for that, and it would actually give a (much) slower result. What makes datatypes unsuitable for this task? Loading image data is one of the things that they were designed for. Hans |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/30 8:11
#78 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/11/20 20:09 Posts: 202
|
@Hans
But in WebKit's case, for performance reasons, slice decoding is needed. With Datatypes, you get the whole thing decoded at once (and with a high memory footprint as well). Edited by Fab on 2014/1/30 12:53:16
|
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/1/30 9:57
#79 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/5/1 18:57 From Czech Republic
Posts: 1258
|
@Hans
Datatypes (at least their current implementations) are not designed for any kind of streaming - partial loading of data. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/2/1 18:07
#80 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/24 18:52 From Gloucestershire, UK.
Posts: 1172
|
@trixie
IBrowse has been using datatypes forever with no problems with displaying or speed. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/2/1 19:59
#81 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@Severin
Quote:
libpng is only 300kb of size, which is really nothing in compare with what it give in end. Besides, on morphos, odyssey use shared png.library, so those 300kb out of binary (but as core itself its pretty big, 300kb there is just nothing, so i think shared png.library or static as i do it now, there is no diffs). Rewrote all that stuff in odyssey on datatypes (even if it was of worry), instead of deal with libpng, for sure _MUCH_ harder and make no sense at all (i.e. compare pure recompile, and sitting days and code stuff, deep inside of internals of all of this, while there is some stuff to fix still). Quote:
Core of IBrowse totaly outdated, and once (if imagine) anyone will add all that support of bloated modern things to it, everything will tells, including usage of datatypes. Ibrowse fast, because have no support of what make other browsers be slower. Besides, we both know that png.datatype on os4 for sure outdated in compare with all the time in develop libpng. In other words, even, and if, its still make no sense to remove as its just not worth of it. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2014/2/1 20:19
#82 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@All
Some news: After fixing of some usual moments, it runs, generate fontconfig, show window and happy crashes on sqlite3 functions. In end it turns that my pure recompiled sqlite3.8.2 as posix based pure like this: ./configure --build=i686-pc-cygwin --host=ppc-amigaos --disable-shared --enable-static --disable-dynamic-extensions CFLAGS='-DSQLITE_OMIT_WAL=1 -Os' didn't works. Once i link with HansJoerg's sqlite 3.7.5 i have no crashes (or even if i link with my old sqlite3). Sadly i do not remember now what library (or odyssey itself?) ask for new version of sqlite3, so i just currently link with Hans one, and at moment we can skipthat till more major problems not sorted. @Fab are you make any specific changes in sqlite3 to make it works ? @All So, after sqlite crash fixed, i have working main window. But, here is another problem which i think related to my current os4 compiler and all that tasty changes in terms of adding "nullptr". I.e. some files before just do not compiles on my gcc, and bring all sort of erros about "nullptr". I.e. file Source/Webcore/accecebility/AccessebilityNodeObject.cpp Do not compiles before with such errors:
/usr/local/amiga/odyssey-r155188-1.23/Source/WebCore/accessibility/AccessibilityNodeObject.cpp: In member function 'WebCore::HTMLLabelElement* WebCore::AccessibilityNodeObject::labelForElement(WebCore::Element*) const':
So i had to replace nullptr in that file on NULL, as well as do the same replaces in the ElementAncestorIterator.h and ElementIterator.h. But while that can looks logical, its still wrong when it come to c++ and all that overloading of everything (see google, it can be ok for some cases, but still can't for another, expectually for c++ and overloading). Another error come from Source/Webcor/dom/ConainerNode.cpp, and while a bit different, still about the same nullptr, and still i had to replace it on NULL too to make it compiles (which is also can be just wrong): Quote:
In other words, in those fils i do that changes to make it compiles on my gcc (i.e. nullptr on null). Source/Webcore/dom/ElementAncestorIterator.h Source/Webcore/dom/ElementIterator.h Source/Webcore/dom/ContainerNode.cpp: Source/Webcore/dom/element.cpp Source/Webcore/dom/spacesplitstring.cpp Source/Webcore/history/cachedpage.cpp Source/WebCore/html/HTMLFieldSetElement.cpp Source/WebCore/html/HTMLFrameSetElement.cpp Source/WebCore/html/HTMLLegendElement.cpp Source/WebCore/style/StyleResolveTree.cpp I use gcc 4.4.3, while fab use 4.4.5. I do not know why i have those errors, i assume because of gcc differences, dunno.. Strange thing, is that this "nullptr" used in all other parts of webcore, and dindn't bring any errors or warning. Webkit even have nullptr.h and nullptr.cpp files, where there is special defines of nullptr for compiler which do not have it, and while it works for all parts, as i say for those files which i quote it didn't , and to make it compiles i had to replace it like this. Maybe 4.4.5 gcc deal with it normally, dunno. Going deep inside of c++ webkit code are of course mess, and i do not know a shit there. So only idea i have for now, its build latest version from adtools (is it 4.4.5 as well ?) and try to build it. I of course think about chaing those nullptr on something like (void *)0 , so to make it "like nullptr" or making some things like done in the google by ppls who have same kind of problems (i.e. make template/class/etc for it), but just do not know if that right to make those hacks-shmaks, while all should just compiles as it. Visually now, its all crashes with null-pointer once i start to works with pages (db-click on some forms, etc). Even can reproduce it in "About:" page, just by clicking on credits part : click on unfold them fine, then clicking to fold them back : crash is coming. Crash looks like this:
Crash log for task "owb"
While crash point out on icu, i still think problem is with nullptr changes, as its all about changes in the ElementItterator.h (and crashes are in the TextBreakIterator function of webcore which then crasehs on same function in ICU itself) and related files which do not compiles as it. Besides crashlog point out on null-pointer crash as well (r8=0x000000) which can mean exactly all that changes and that there is those situations when nullptr is must, and null can't be. I fear if i will made some replacements (like (void *)0), it still will have bad side-effects because of all those overloads and c++ crappos. Damny damn ! Any ideas suggestion for fast fix so we can check youtube ?:) Edited by kas1e on 2014/2/2 7:22:24
|
|