09/29/2009, 04:18 PM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
I can code apps and make my own modifications but for the life of me I'm not comfortable and not 100% understanding the instructions for pushing the modified patch to the webos-internals repository. So I'm going to post each of the ones I can update on my pre so that someonethat knows how to get them on there can and also so people can test the patch to make sure it is working 100% for everyone.
Code:
Index: /usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
===================================================================
--- .orig/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
+++ /usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
@@ -23,8 +23,8 @@ var LauncherAssistant = Class.create({
visible: true,
label: $L('Launcher'),
items: [
- /*{ label: $L('New page'), command: 'newpage' },
- { label: $L('Delete page'), command: 'deletepage' },*/
+ { label: $L('New page'), command: 'newpage' },
+ { label: $L('Delete page'), command: 'deletepage' },
Mojo.Menu.editItem,
{ label: $L('List Apps...'), command: 'listapps' },
Mojo.Menu.helpItem
@@ -117,7 +117,6 @@ var LauncherAssistant = Class.create({
case 'listapps':
ApplicationService.launch(this.deviceInfo.id, this.deviceInfo.params);
break;
- /*
case 'newpage':
if (this.pageDivs.length < 10) {
this.insertPage(this.activePageIndex, true);
@@ -131,7 +130,6 @@ var LauncherAssistant = Class.create({
}
}
break;
- */
}
}
},
Index: /usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
===================================================================
--- .orig/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
+++ /usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
@@ -23,8 +23,8 @@ var LauncherAssistant = Class.create({
visible: true,
label: $L('Launcher'),
items: [
- /*{ label: $L('New page'), command: 'newpage' },
- { label: $L('Delete page'), command: 'deletepage' },*/
+ { label: $L('New page'), command: 'newpage' },
+ { label: $L('Delete page'), command: 'deletepage' },
Mojo.Menu.editItem,
{ label: $L('List Apps...'), command: 'listapps' },
Mojo.Menu.helpItem
@@ -117,7 +117,6 @@ var LauncherAssistant = Class.create({
case 'listapps':
ApplicationService.launch(this.deviceInfo.id, this.deviceInfo.params);
break;
- /*
case 'newpage':
if (this.pageDivs.length < 10) {
this.insertPage(this.activePageIndex, true);
@@ -131,7 +130,6 @@ var LauncherAssistant = Class.create({
}
}
break;
- */
}
}
},
|
09/29/2009, 04:29 PM
|
#2 (permalink) |
|
Developer
![]() ![]() Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
|
gather your .patch files, zip em up and send them to me. I will get em in the repo and autobuilt as ipk.
__________________
-Eric G WebOS Internals Developer. Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether | Donate |
09/29/2009, 09:40 PM
|
#3 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
Will do, I'm trying to figure out how to build the patch files for mods that are patched yet. The part that confused me the most was being able to push them to the repo. The directions need a little more average joe noob touch to them. Surprisingly more so than the rest of the webos-internals site it assumes the reader has a good deal of understanding of what is happening and leaves out details that average joe needs to understand to follow them. But I think I have grasped the part for making the patch files. The two I posted about so far it was simple enough just to edit the line numbers in the existing patch code.
|
09/29/2009, 09:50 PM
|
#4 (permalink) | |
|
Developer
![]() ![]() Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
|
Quote:
__________________
-Eric G WebOS Internals Developer. Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether | Donate |
|
09/29/2009, 11:19 PM
|
#5 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
Here we go zip with 4 patches:
add/delete pages in launcher more icons per row with reduced margins and increased space between columns (5/row)(modified from original) timestamp all messages using the built in timestamp method which normally only timestamps messages that show up late battery percent and icon in the top bar (this is the same thing that was in webos quick install) uses the default battery percent reporting All updated to work with 1.2 credit for the battery percent goes to the forum members who did the work on it in the thread here on the forum all I did was generate the quilt patch from their files. The other patches I applied manually to my pre and generated the patches. I wanted to generate one for the show call duration in the call log but I don't know where the info is for making the edits to generate a patch for it. I think I added it to my pre from webos quick install. |
09/30/2009, 12:42 AM
|
#6 (permalink) | |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
Quote:
|
|
09/30/2009, 06:59 AM
|
#7 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I need help applying these patches. I recently received a replacement palm pre. I was able to run the patch for add del pages on my old pre (1.1),i got the new pre yesterday so i downloaded 1.2 before i did anything to the pre.
I tried webos-internal method of placing a file adddel.patch on my pre and then runing the comand. That didn't work. I tried three methods to edit the actual file to delete the comment "/*" 1. in developer Mode, used cmd.exe and novacom -t open tty:// to get to root@castle. When i navigated to the folder and opened the editor (vi launche-assistant.js) it did not open correctley. 2. in dev mode, used novterm, tried to edit the file and it was read only could not do anything to it. 3. out of dev mode, used puTTY, and got to joe@castle. here the file was still readonly. for all of these i tried the "mount -o rw, remount /", (sudo when i was at joe@catsle)that only opens the file structure it didnt change the files from being read only. Is there a step by step to get the patch to run? Can i run it from the repository you guys are talkign about? Can you provide the comands for appling these pathes? Thanks, Joe |
09/30/2009, 01:45 PM
|
#8 (permalink) | ||||
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
I'm going to break the post up to address each point in it.
Quote:
Quote:
Quote:
Quote:
|
||||
05/16/2010, 09:39 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
|
Is it possible to add the ability to move pages and all the apps with it. That would be very nice as I could move relevant pages close to each other, rather than moving all the apps as of right now. Thanks a lot for this patch by the way, love it. Please make it perfect.
|
05/17/2010, 01:24 PM
|
#10 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
If that is possible I can't imagine it being easy to do. Personally I don't even know how the existing pages are formed from the code side of things. If one were to see if it were possible would have to figure that out and then a good way for users to interact for moving them.
__________________
As requested: for my works on webOS patches and apps. Twitter: @larryboytw Patches: Small icons browser start page, 5x5 launcher. I have an AAS CIS Programming degree. I enjoy working on open source projects and alpha and beta testing.http://install.preware.org/ for easy to get up and running for patches and apps. |
05/17/2010, 01:43 PM
|
#11 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Location: Wisconsin
Posts: 942
Likes Received: 8
Thanks: 413
Thanked 1,298 Times in 369 Posts
|
Quote:
fwiw...It would probably have to be done through the launcher-pages.js model which seems to be used to parse out the db info related to the pages & app launch/dock points. .
__________________
a.k.a. Josh... Please don't forget your thanks button. --- Appreciate my efforts? -- Donate?Various patches I've worked on: Faster Cards|Emoticons|Shake Reload|Default Call Log|Call Log Styling|Msg Count|New Events|DM Media Vol|Megamix+MediaVol|3G icon|Gmaps fullscreen|Msg Greeting/Sig|Send Img Msg|No Ans Tstone|Dpad on Call|Vid Delete Btns|AutoSpeaker via ProxSensor |
|
05/18/2010, 12:13 AM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
|
Yep I believe that was what I was looking at and seems like already a significant amount of code just to do whatever it is they do with the pages. Honestly it probably is a feature best left to requesting palm to have their devs implement. Who knows perhaps it is something they have thought about but for the same reasons the add/remove pages isn't officially turned on has something to do with it. This is my guess anyways.
__________________
As requested: for my works on webOS patches and apps. Twitter: @larryboytw Patches: Small icons browser start page, 5x5 launcher. I have an AAS CIS Programming degree. I enjoy working on open source projects and alpha and beta testing.http://install.preware.org/ for easy to get up and running for patches and apps. |
07/15/2010, 10:03 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Nov 2005
Posts: 17
Likes Received: 0
Thanks: 5
Thanked 2 Times in 2 Posts
|
Please forgive a newbie question; I just started applying patches to my Pre after getting it in October. When the next WebOS update comes out, I'll need to uninstall all of my applied patches, including this one. My question: what happens then to the additional launcher pages that I've added, and the organization & arrangement of all of my apps on all of those launcher pages? Do all of the apps just get strewn about on the stock 3 launcher pages? And after the WebOS update must I then recreate all of those additional pages and rearrange and organize all of the app icons once again? Thanks.
|
07/15/2010, 10:46 PM
|
#14 (permalink) | |
|
Member
![]() Join Date: Dec 2009
Location: Kansas City Missouri
Posts: 1,045
Likes Received: 3
Thanks: 1,197
Thanked 259 Times in 200 Posts
|
Quote:
|
|
07/15/2010, 11:22 PM
|
#15 (permalink) |
|
Member
![]() Join Date: Nov 2005
Posts: 17
Likes Received: 0
Thanks: 5
Thanked 2 Times in 2 Posts
|
Ah, thank you so much, was just reading up on this - so all patches I have installed today via WebOS Quick Install and Preware and AUPT-technology patches, then? Excellent news, I don't have to fear the coming Sprint 1.4.5 update!
|
07/15/2010, 11:26 PM
|
#16 (permalink) | |
|
Developer
![]() ![]() Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
|
Quote:
__________________
-Eric G WebOS Internals Developer. Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether | Donate |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



