webOS Nation Forums >  Homebrew >  webOS patches > [autopatch] Browser Multi-Patch
[autopatch] Browser Multi-Patch

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/17/2009, 11:23 AM   #61 (permalink)
Member
 
Join Date: May 2009
Posts: 24
Likes Received: 0
Thanks: 14
Thanked 2 Times in 2 Posts
Default

I tried to use the shift key (orange) button to go page up, but it does not seem to be working. All other shortcuts appear to work right. Does anybody have any idea what's going on for my issue possibly? Thx in advance.
woody88 is offline   Reply With Quote
Old 10/19/2009, 02:23 PM   #62 (permalink)
Member
 
Join Date: Apr 2007
Location: Pennsylvania, USA (GMT-5)
Posts: 412
Likes Received: 0
Thanks: 41
Thanked 55 Times in 36 Posts
Default

Quote:
Originally Posted by woody88 View Post
I tried to use the shift key (orange) button to go page up, but it does not seem to be working. All other shortcuts appear to work right. Does anybody have any idea what's going on for my issue possibly? Thx in advance.
As I read the thread above, the keycode sent by the shift key changed in webOS 1.2 which broke that small piece of the multi-mod patch (it's looking for a keycode that the shift key no longer produces).

Reading between the lines, it looks like the author hard-coded the old numeric code for shift key, rather than use a defined constant ("Mojo.Char.shift"). Using the constant would have made the patch immune to the keycode change; as it is, the patch needs a small correction here and there.

It seems like a fairly simple fix, but the patch author just needs to find time to do the correction.
dwhitman is offline   Reply With Quote
Old 10/19/2009, 03:33 PM   #63 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

<--pledges $2 paypal for a fix to this patch.
Galtish is offline   Reply With Quote
Old 10/20/2009, 03:16 AM   #64 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

This is also a spelling mistake:

docviwer should be docviewer
daventx is offline   Reply With Quote
Old 10/20/2009, 03:45 AM   #65 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

If someone would like to get it updated on preware..

Here is the new one with the docviewer fix and the shift key fix:

OLD - http://thenxtlvl.com/pre/browser-multi-mod.patch

Last edited by daventx; 10/24/2009 at 04:42 PM.
daventx is offline   Reply With Quote
Old 10/20/2009, 07:40 AM   #66 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

Thanks! PM ur paypal addy, I'll send the funds when the patch hits preware.
Galtish is offline   Reply With Quote
Old 10/20/2009, 07:51 AM   #67 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by daventx View Post
If someone would like to get it updated on preware..

Here is the new one with the docviewer fix and the shift key fix:

http://thenxtlvl.com/pre/browser-multi-mod.patch
just looked through the coding..should probably remodify it to be shorter

all this can be put together in to one like so just to be shorter u know..
Code:
if(appid === 'com.palm.app.email' || 'com.palm.app.docviewer' || 'com.palm.app.pdfviewer' || 'com.palm.app.maps' || 'com.palm.app.youtube' || 'com.palm.app.phone')
//a phone #, Google Map, docviewer, email, pdfviewer, or YouTube link was clicked, so we bypass the download dialog and open the app.
    var params = {target: uri, mimeType: mimeType};
    this.controller.serviceRequest('palm://com.palm.applicationManager',{
        method: 'open',
        parameters: {
            'id': appid,
            'params': params
        }}
    );
    return;
}
fritos1406 is offline   Reply With Quote
Old 10/20/2009, 09:31 AM   #68 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by daventx View Post
If someone would like to get it updated on preware..

Here is the new one with the docviewer fix and the shift key fix:

http://thenxtlvl.com/pre/browser-multi-mod.patch

While the shift is being fixed to use Mojo.Char.shift, I recommend using constants for the other key bindings as well.
__________________

-Eric G

WebOS Internals Developer.
Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether |

Donate
egaudet is offline   Reply With Quote
Old 10/20/2009, 12:02 PM   #69 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Ok.. I'd really like a hand or some advice figuring out *** is the deal with patches. I've had this issue before and either I'm not grasping something.. or just missing something somewhere.

I follow the instructions for creating a patch here:
Applying Patches - WebOS Internals

But as soon as i try to push that patch, I always get errors about the HUNKS failing.

I understand what it means, i mount it as rw.. but why on earth is the patch failing if I just created it and I know the files are right?

I have this patch ready, with the fixes listed above.. but it fails. Same with other patches I've tried to make...
daventx is offline   Reply With Quote
Old 10/20/2009, 12:32 PM   #70 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by daventx View Post
Ok.. I'd really like a hand or some advice figuring out *** is the deal with patches. I've had this issue before and either I'm not grasping something.. or just missing something somewhere.

I follow the instructions for creating a patch here:
Applying Patches - WebOS Internals

But as soon as i try to push that patch, I always get errors about the HUNKS failing.

I understand what it means, i mount it as rw.. but why on earth is the patch failing if I just created it and I know the files are right?

I have this patch ready, with the fixes listed above.. but it fails. Same with other patches I've tried to make...

Assuming you did the following:

started with fresh/clean files
quilt new <patch>
quilt add <file1>
quilt add <file2>
...
quilt refresh <patch>


You created that patch and now have modified files with that patch applied. quilt push of that patch will fail because the files are already patched.

I don't use quilt to create patches so I'm not positive, but does quilt pop unapply the patch after you create/update it with refresh?
__________________

-Eric G

WebOS Internals Developer.
Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether |

Donate
egaudet is offline   Reply With Quote
Old 10/20/2009, 02:07 PM   #71 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Yeah, I had restored the original files to start new when I do the first push to try out the patch.

It's got to be something stupid... thanks for writing back though.

As far as everyone else... I'll have a new patch coming as soon as i figure it out.
daventx is offline   Reply With Quote
Thanked By: Galtish
Old 10/21/2009, 03:12 PM   #72 (permalink)
Member
 
Join Date: Jul 2009
Posts: 22
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I keep running into an error when it tries to patch the sources.json file.. does anyone have a original sources.json file they can shoot me so I can get this to work?

Thanks!
clintkoglin is offline   Reply With Quote
Old 10/22/2009, 01:58 AM   #73 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Quote:
Originally Posted by clintkoglin View Post
I keep running into an error when it tries to patch the sources.json file.. does anyone have a original sources.json file they can shoot me so I can get this to work?

Thanks!
Here ya go.. if you are having issues with my last patch, it maybe my fault. But I'm planning on knocking out a new one tomorrow thats proper
Attached Files
File Type: zip 1.2.1 sources_json.zip (518 Bytes, 3 views) Email Attachment
daventx is offline   Reply With Quote
Old 10/22/2009, 03:49 AM   #74 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Exclamation

Bleh. 3:47 am. Can't sleep



OLD - http://thenxtlvl.com/pre/browser-mul..._1.2.1-2.patch

tested and works

Last edited by daventx; 10/24/2009 at 04:42 PM.
daventx is offline   Reply With Quote
Thanked by clintkoglin, Galtish
Old 10/22/2009, 02:36 PM   #75 (permalink)
Member
 
Join Date: Jul 2009
Posts: 22
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Works beautifully Thanks!!!
clintkoglin is offline   Reply With Quote
Old 10/22/2009, 04:56 PM   #76 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Quote:
Originally Posted by Galtish View Post
Thanks! PM ur paypal addy, I'll send the funds when the patch hits preware.
Submitted to preware today. Should be up soon. Please donate to the wiki:
WebOS Internals:Site support - WebOS Internals
daventx is offline   Reply With Quote
Old 10/22/2009, 08:50 PM   #77 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

Quote:
Originally Posted by daventx View Post
Submitted to preware today. Should be up soon. Please donate to the wiki:
WebOS Internals:Site support - WebOS Internals
Thanks for your work: Transaction ID: 09G25632GH907745L

Just a warning to others (who probably already know better), if installing this patch from WOSQI first uninstall the old browser patch, otherwise you get errors and it doesn't install correctly.
__________________
Want to read new posts on PreCentral without the off-topic garbage? Bookmark this link here:
http://forums.precentral.net/search....tnew&exclude=6 or here for the mobile forums (orange button plus click the link to copy the URL):
http://m.forums.precentral.net/searc...tnew&exclude=6
Galtish is offline   Reply With Quote
Old 10/22/2009, 09:08 PM   #78 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by daventx View Post
Bleh. 3:47 am. Can't sleep



http://thenxtlvl.com/pre/browser-mul..._1.2.1-2.patch

tested and works

Thank you for the updated keycodes and removing the code replications for each appid. Will be in preware shortly I believe dBsooner is working on it.
__________________

-Eric G

WebOS Internals Developer.
Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether |

Donate
egaudet is offline   Reply With Quote
Old 10/22/2009, 09:35 PM   #79 (permalink)
Member
 
Shadavis08's Avatar
 
Join Date: Aug 2009
Location: Ї Ƈøṁε ℉яøṁ ṫɦε ℓαη∂ øḟ ṫɦε øḟḟ ṫø℘ḯ¢ !! NOW BACK OFF !! ltm ltm ltm
Posts: 9,127
Likes Received: 70
Thanks: 2,261
Thanked 2,792 Times in 2,201 Posts
Default

when will preware be updated with this fix does anyone know
__________________
ĦṔ-ḶøØṫ-ŦḯØη
Here is a direct link to webOS Doc for all carriers
http://www.webos-internals.org/wiki/...octor_Versions
P.S. if i have helped you and you are thankful please hit the thanks button to the right---->
Shadavis08 is offline   Reply With Quote
Old 10/23/2009, 01:02 AM   #80 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Not sure now about Preware, dBsooner mentioned in another post he had them all updated. But i've yet to see this one.

I PM'd him and am waiting for a reply to see whats up.
daventx is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0