|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/10 23:54
#976 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3409
|
@nbache
Yeah something like this of IBrowse 2.5: https://www.ibrowse-dev.net/2.5/screenshots/spoofing.png |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 4:12
#977 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2006/12/6 20:39 From California, Unitied States
Posts: 367
|
@kas1e
Quote: I want to add new agents... In the kt_scripts archive on OS4Depot there is a script included that allows you to set the user agent to spoof as more modern browsers and set a custom one if you want. I've tried out a lot of newer user agents and the trouble is that is causes some sites, like YouTube, to try to use features that aren't supported with Odyssey. Anyway, you can try different user agents with Odyssey with this script and see if you can find user agensts you like. It would be nice to have something built in. You can get kt_scripts Here! |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 5:48
#978 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@samo79
Quote:
Not now surely :) Firstly i want to update all 3d party libs to the latest ones. @nbache Quote:
If doing this, it should be done in prefs of course, just like in IBrowse samo show. Just i not a coder, so it should be done by someone skilled, who can do clean code, without introducing mess and bugs :) It can be better if IBrowse code was somewhere available, so that part can be just reused in Odyssey, but seems that should be writen from scratch :) @ktadd Quote:
By features that aren't supported you probably mean just outdated webkit's core ? But yes, i noticed the same, that spoofing with modern user-agents make for some sites things be even worse, but then from another side, modern user-agannts on other sites give you ability to pass futher than now. More choices always better |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 7:22
#979 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@all
Once i add more than 16 user agents to the list, odyssey crashes in OWBWindow_BuildSpoofMenu in the https://github.com/kas1e/Odyssey/blob/ ... /owbwindowclass.cpp#L2594 At that line: https://github.com/kas1e/Odyssey/blob/ ... /owbwindowclass.cpp#L2619 As it about 16, and crashed line are malloc + all those sizeof and strlens over pointers, i assume it about size of pointer. Did someone skilled can fix it so it can handle more than 16 user agents ? I can of course keep it as it, and just use 15 and no more, but still feels like something worth dealing with. useragents_strings placed in the prefswindowclass.cpp, there: https://github.com/kas1e/Odyssey/blob/ ... prefswindowclass.cpp#L321 "menu_entry" are in gui.h, and looks like this: Quote:
Edit: it seems about strlen(*agents); exactly, because if i add pure printfs before crashed line, to printf sizes of agents, then 16 times all printfs fine, and on 17st one crash, without printing anything. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 7:58
#980 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
Did you also update useragents_labels? https://github.com/kas1e/Odyssey/blob/ ... prefswindowclass.cpp#L246 |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 8:17
#981 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@Capehill
Of course, there is my current ones :
/* Keep the two arrays below in sync */
And
STATIC STRPTR useragents_strings[] =
Maybe that "STRPTR" thing cause issues ? I remember when i port long ago last versions, i had to replace in some parts STATIC STRPTR and STATIC CONST STRPTR on pure STRPTR, as it cause issues, and some of those changes were in the prefswindowclass.cpp for sure. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 8:20
#982 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
A missing ',' after "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 OPR/67.0.3575.53" unless it was a copy-paste mistake. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 8:24
#983 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@Capehill
Damn crap! :) I rechecked it 3 times before to be sure there no missing ones, but there it is. Thanks :) As it miss then all the stuff after, together with NULL => babah. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 8:29
#984 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
Great to hear. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 8:41
#985 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@All
http://kas1e.mikendezign.com/aos4/ody ... odyssey_1.23r5_beta02.lha Odyssey 1.23 r5_beta02 - AmigaOS4 -- Added bunch of new and up2date user agents to "spoof as". -- Enabled WebP support -- WebKit revision number is now presented in AboutBox too -- Recompiled with more up2date 3d party libraries: libFreeType2 2.10.1, libXML2 2.9.10, libXSLT 1.1.34 and libWebP 1.0.3 Give it a go, if all will be fine we can put new stuff on Github too. Through "webp" rendering still the same "blue color". That needs to be fixed (in odyssey probably, and need to check how morphos version reacts in that terms). But imho better to have it works like this than no having it works at all. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 9:13
#986 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/5/18 11:12 From Audruicq, France
Posts: 90
|
@Kas1e
Do picture channels need to be swapped after all in the webp decoder engine? In the png decoder code f.e., there's no line where it looks for the endianess like in webp. Maybe it is done elsewhere in the component in chage of the render. Cairo format seems to be "ARGB" form the decoder sources. Regards, |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 10:04
#987 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/26 21:45 From a dying planet
Posts: 4032
|
@kas1e
Nice, thank you I have two requests that bothers me for a long time now, if possible. 1) Could you a) Add "DuckDuckGo" to the list of Search Engines (Windows/Search Engines) Quote:
and b) remove the forced Google search when one types into the address field, or rather replace it with the search engine that is set to be the first entry in the Search engines list. and 2) Could you remove the "automatic completion suggestion" when typing into the search field (on the top right)? This one is annoying as hell as my typing is faster than the suggestions PD menu and i end up with broken entries, because the "suggestion" tends to "eat" the first character i typed once the PD menu is gone again. Thanks |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 14:00
#988 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3409
|
@kas1e
You know the font seems better in this release, in some kind they seems more similar to the font we used in the old Orygin Web Browser See grab: https://imgbbb.com/image/TLovty At the left side OWB R1 and at the right the same page opened with the newest R2 All works fine, just this R2 seems a little bit slower when scrolling, but i'm not 100% sure yet |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 15:32
#989 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@Samo
If font start to be better, then seems fresher freetype library can do something about, which in end can probabaly take a bit more ms for rendering. @Raziel Are you sure about needs to add more search engines by default, as users can add them too ? And about "automatic completion suggestion" at top/right, yeah, some option to turn that crap off will be handy for sure :) @Petrol Quote:
As it was there, probabaly it have needs for, but need to check yep |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 15:46
#990 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 370
|
@All
Thanks for the new beta, I really appreciate your work. Thanks again. |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 16:05
#991 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3409
|
@kas1e
But if some speed difference still, it's really tiny I wonder if somethings exits in term of web tools to test this in real number Aniway as you are updating all libs hopefully an updated/accelerated Cairo/Pixmen could solve everything and add more and more fun |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 16:10
#992 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@samo
With Cairo updating not all that fancy : I sure can update to the latest version, but it will be not hardware accelerated. The version which Fredrik has, have amiga-specific surface, and there where things hardware accelerated. But Odyssey, use "image surface" all over the places, so to support even tiny bit of acceleration, it needs to changes in Odyssey's code in all the place to switch from image surface to amiga surface, and maybe then it can give some benefits (but no one know how much). Probabaly after updating all the libs, that stuff need to be considered (i.e. to try to replace in the odyssey image -surface on amiga-surface to be able to use fredrik's version). |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 16:22
#993 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6931
|
@Petrol
Quote:
Tried firstly both versions of that output (for big/middle/little endians) - both suck. Then as you remind that cairo format seems to be ARGB from decoder sources, then i just do: inline WEBP_CSP_MODE outputMode(bool hasAlpha) { return hasAlpha ? MODE_Argb : MODE_ARGB; } And: (press open in new tab for fullsize) ![]() |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 16:22
#994 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/1/10 21:56 From Stockholm Sweden
Posts: 161
|
@kas1e
Quote:
Thank you kas1e! |
|
|
Re: Odyssey 1.23 progress |
Posted on: 2020/3/11 16:24
#995 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3409
|
@kas1e
Understand, just do you know what is the current state of the salass libs ? I mean, is everything accelerated already in his implementation and if not everything accelerated yet, atleast does we have already some simple test of his implementation compared to a "plain" one ? As you say that OWB need to be rewrite in various area for Amiga surface, having a simple test could atleast suggest us if in end the work will worth or not ![]() |
|