http://wiki.webos-internals.org/api.php?action=feedcontributions&user=Pyrognome&feedformat=atomWebOS Internals - User contributions [en]2024-03-28T23:53:35ZUser contributionsMediaWiki 1.35.1http://wiki.webos-internals.org/index.php?title=Patch_Calendar_Show_All-Day_Events_in_Month_View&diff=6632Patch Calendar Show All-Day Events in Month View2009-10-23T19:13:12Z<p>Pyrognome: This needs to be updated for 1.2.1 and released to webos-internals for a patch.</p>
<hr />
<div>{{template:patch}}<br />
Is any one going to update this for 1.2.1?<br />
Could some one add this patch to the webos modifications series for quilt?<br />
<br />
This patch will modify the calendar application to show all day events in the month view of the application.<br />
It denotes days with all day events by changing the background of the cell to be blue.<br />
<br />
<pre><nowiki><br />
Modifies the month controller to show allday events in the month scene by changing the background of the cell to a light blue.<br />
Index: /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
===================================================================<br />
--- .orig/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
+++ /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
@@ -25,11 +25,25 @@ var MonthAssistant = Class.create({<br />
this.scrollerModel = { scrollbars: false, mode: "vertical-snap", snapIndex: 0, snapElements: { y: [] } };<br />
},<br />
<br />
+ fullEvts: null,<br />
+<br />
setupMonth: function(startDate, endDate, callbackfn)<br />
{<br />
+ getCalendarService().getEvents(getCurrentCal(),startDate.getTime(), endDate.getTime(),<br />
+ this.getEventsCallback.bind(this),<br />
+ this.controller,<br />
+ this.getEventsFailCallback,<br />
+ {useSlices: true}<br />
+ );<br />
getCalendarService().getBusyDays(getCurrentCal(), startDate.getTime(), endDate.getTime(), callbackfn, this.controller);<br />
},<br />
-<br />
+<br />
+ getEventsCallback: function(resp)<br />
+ {<br />
+Mojo.Log.info('month-assistant:getEventsCallback');<br />
+ this.fullEvts = resp.days;<br />
+ },<br />
+<br />
buildViewHeader: function()<br />
{<br />
//Mojo.Log.info("month-assistant: buildViewHeader");<br />
@@ -342,6 +356,10 @@ var MonthAssistant = Class.create({<br />
var daylen = days.length - 1; // We get back more days of info that we want - 1 more in fact, because its inclusive, rather than exclusive<br />
for (var d = 0; d < daylen; d++)<br />
{<br />
+ if (this.fullEvts[d].allDayEvents.length > 0)<br />
+ {<br />
+ dayCell.style.backgroundColor = '#99ccff';<br />
+ }<br />
var day = this._token2state(days.charCodeAt(d));<br />
<br />
var child = dayCell.firstChild;<br />
<br />
</nowiki></pre><br />
<br />
==Notes==<br />
* When changing (scrolling) from current month to the next month, the All-Day Events seem to be appended to the current list, therefore the dates show the blue background even though there isn't an event on the day. I'm still working on a fix for it but right now I have the correct dates showing but the color format for the previous and next overlapping month dates are incorrect -sstallard419</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Talk:Patch_webOS_Graphics&diff=5789Talk:Patch webOS Graphics2009-09-16T20:43:15Z<p>Pyrognome: New page: The icon links don't seem to be working.</p>
<hr />
<div>The icon links don't seem to be working.</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Talk:Patch_Calendar_Show_All-Day_Events_in_Month_View&diff=3455Talk:Patch Calendar Show All-Day Events in Month View2009-08-02T17:40:25Z<p>Pyrognome: </p>
<hr />
<div>Could some one please add this patch to the webos-interal's modifications git?<br />
<br />
I tried to go through and add the lines with +++ to them and tried to match where they go in the code, but I got nowhere. The cells did not turn blue.</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Talk:Patch_Calendar_Show_All-Day_Events_in_Month_View&diff=3454Talk:Patch Calendar Show All-Day Events in Month View2009-08-02T17:40:10Z<p>Pyrognome: Could some one please add this patch to the webos-interal's modifications git?</p>
<hr />
<div>Could some one please add this patch to the webos-interal's modifications git?<br />
<br />
I tried to go through and add the line with +++ to them and tried to match where they go in the code, but I got nowhere. The cells did not turn blue.</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Portal:Patches_to_webOS&diff=3197Portal:Patches to webOS2009-07-30T19:35:21Z<p>Pyrognome: </p>
<hr />
<div>__notoc__<br />
{{portal-header<br />
|This page lists patches to webOS existing apps which modify the behavior as shipped. '''Note''' that these patches may be version specific and may be broken by future webOS updates. Proceed with caution. If you get one that works please move it under the correct column and section.<br />
}}<br />
This page is undergoing structuring please contribute moving or adding new entries under the appropriate headings. For now put pages in alphabetical order. Each page should contain at least the basic headings<br />
*1. '''Introduction''': A brief description to introduce people to the patch.<br />
**1.1 '''Usage''':An explanation if it is needed on how to use the modification see Add/Delete Pages in the Launcher as an example.<br />
*2. '''Editing Process''': Step by step instructions to manually edit. <br />
*3. '''Patching Process''': Details for making the edits with a patch file and pointing people to the [[Applying Patches]] page if the patch is also provided in the webos-internals gitorious repository.<br />
<br />
{{portal-three-columns<br />
|column1= <br />
===webOS Update Information===<br />
* [[Update 1.1.0|Update 1.1]]<br />
* [[Update 1.0.4|Update 1.0.4]] <br />
* [[Update 1.0.3|Update 1.0.3]]<br />
<br />
===Patches that Need Work===<br />
* [[Bugs]]<br />
<br />
|column2=<br />
===Patch Ideas to be Created or in Progress===<br />
<br />
* [[Add_Ability_To_Choose_Snooze_Length|Add Ability to Choose Snooze Length]]<br />
* [[Changing_clipboard_data_from_the_shell|Changing Clipboard Data from the Shell]]<br />
* [[Development_%26_Tweak_Ideas | Development & Tweaking Ideas]]<br />
* [[Longer Vibrate|Longer Vibrate]]<br />
Create a patch for showing day events in month view on calendar<br />
<br />
|column3=<br />
===Notes===<br />
These modifications lack a patch process, please add one to the details to the page and have it added to the webOS-internals gitorious repository. Info for the repository is on [[Applying Patches]].<br />
<br />
*Empty<br />
}}<br />
{{portal-three-columns<br />
|column1= <br />
==Patches to webOS apps==<br />
===webOS 1.1 OK===<br />
<br />
* [[Always_Show_Details_of_New_Tasks|Always Show Details of New Tasks]]<br />
* [[Patch Browser Global Search Addons|Browser: Global Search Addons]]<br />
* [[Bookmarking_MediaPlayer|Bookmarking MediaPlayer]]<br />
* [[Boot_Themes|Boot Themes]]<br />
* [[Camera Mod Shutter Sound On-Off Button]]<br />
* [[Confirm Deletion on Email|Confirm Deletion on Email]]<br />
* [[Edit Dialer Theme|Edit Dialer Theme]]<br />
* [[Patch Email Change Default Font for Replies-Forwards from Navy to Black|Email: Change Default Font for Replies/Forwards from Navy to Black]]<br />
* [[GPS Tracking|GPS Tracking]]<br />
* [[Patch Launcher Add or Delete Pages|Launcher: Add/Delete Pages]]<br />
* [[Patch Launcher Hide-Delete The NASCAR App|Launcher: Hide/Delete The NASCAR App]]<br />
* [[Patch Launcher Unhide the DeveloperMode App|Launcher: Unhide the DeveloperMode App]]<br />
* [[Patch Messaging Character Counter|Messaging: Character Counter]]<br />
* [[Patch Messaging Forward Messages|Messaging: Forward Messages]]<br />
* [[Patch Messaging New Cards For Each Conversation|Messaging: New Cards For Each Conversation]]<br />
* [[Using Volume Buttons to Take a Picture|Using Volume Buttons to Take a Picture]]<br />
<br />
===Fixed in 1.1 - No longer needed===<br />
* [[Patch Email Fix Broken Formatting|Email: Fix Broken Formatting for E-mails]]<br />
<br />
===Not 1.1 compatible===<br />
* [[Camera_Remote_View|Camera Remote View]]<br />
* [[Downloading From The Browser|Downloading From The Browser]] <br />
* [[Enable Landscape Viewing in Email|Enable Landscape Viewing in Email]] <br />
* [[Fix Email Attachments|Fix Email Attachments]] <br />
<br />
|column2=<br />
==Patches not part of a specific app==<br />
===webOS 1.1 OK===<br />
* [[Brightness]]<br />
* [[Bypassing_Activation|Bypassing Activation]]<br />
* [[Change_Carrier_String|Change Carrier String]]<br />
* [[Changing_the_%22Turn_off_after_X%22_time|Changing the "Turn off after X" Time]]<br />
* [[CPU Frequency or Voltage Scaling|CPU Frequency or Voltage Scaling]]<br />
* [[Disable Charging Event Alerts Sounds|Disable Charging Event Alerts Sounds]]<br />
* [[Graphics]]<br />
* [[Logging information from within scripts|Logging information from within scripts]]<br />
* [[Message Sound|Message Sound]]<br />
* [[Modifying a Stock App While Keeping the Original|Modifying a Stock App While Keeping the Original]] <br />
* [[Add_Words_to_AutoCorrect_Dictionary|Modify AutoCorrect Dictionary]]<br />
* [[Radio_Power_Switch|Phone On/Off Switch]]<br />
* [[Random Wallpaper Switching|Random Wallpaper Switching]]<br />
* [[Reverse Tunnel|Reverse Tunnel]] <br />
* [[Roam Control|Roam Control]]<br />
* [[Show_Actual_Battery_Percent | Show Actual Battery Percentage]]<br />
<br />
===Fixed in 1.1 - No longer needed===<br />
* Empty<br />
<br />
===Not 1.1 compatible===<br />
* [[Email App Patch to Prompt for IPK Installation|Email App Patch to Prompt for IPK Installation]] <br />
<br />
|column3=<br />
==== The following have not been checked for compatibility with webOS 1.1. ====<br />
<br />
* [[Adding Timestamps to All Received Messages]]<br />
* [[Application:Clock Enabling the Hidden Theme]]<br />
* [[Application_Mods:_PDF_Viewer|Application Mods: PDF Viewer]]<br />
* [[Application:MCraig Enabling Personals Category]]<br />
* [[Application:Sudoku Disable Zooming]]<br />
* [[Changing the Dialer Background Image|Changing the Dialer Background Image]]<br />
* [[Browser_Plugins|Browser Plugins]]<br />
* [[Camera Mod 10 Second Countdown Timer]]<br />
* [[Camera Mod Alternate Sound Disable]]<br />
* [[Change_Enter_To_Create_Newline_Instead_of_Send_Message|Change Enter to Create Newline Instead of Send Message]]<br />
* [[Change_the_default_notification.wav_Sound|Change the Default notification.wav Sound]]<br />
* [[Changes_Alert/Notification_Sounds|Changes Alert/Notification Sounds]]<br />
* [[Changing Alarm Clock Button Order and Snooze Duration]]<br />
* [[Download Amazon Music over EVDO]]<br />
* [[Display_Full_Status_Messages(Messenger)|Display Full Status Messages(Messenger)]] <br />
* [[Hourly Chime|Hourly Chime]] <br />
* [[Ignore 'A', 'An', and 'The' In Artist and Album names|Ignore 'A', 'An', and 'The' In Artist and Album names]] <br />
* [[Installing Homebrew Apps With A Rooted Pre|Installing Homebrew Apps With A Linux Accessed Pre]] <br />
* [[Keep Phone From Entering Standby While in Remote Session]]<br />
* [[Messaging Mod Force Offline Send Without Dialog]]<br />
* [[Modifying Stock Applications|Modifying Stock Applications]] <br />
* [[My notification|My notification]] <br />
* [[Packaging Homebrew Apps for Stock Pre without Rooting|Packaging Homebrew Apps for Stock Pre without Accessing Linux]] <br />
* [[Myavatar In Messaging App|Myavatar In Messaging App]] <br />
* [[Photos Slideshow|Photos Slideshow]] <br />
* [[Screenlock On When Connected|Stay On While Connected]]<br />
* [[Show allday events in calendar month view]] <br />
* [[Show Call Duration in the Call Log]] <br />
* [[Turn Off Missed Call Sound|Turn Off Missed Call Sound]] <br />
* [[Turning Off Dialpad Noise]]<br />
<br />
<br />
}}</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Calendar_Show_All-Day_Events_in_Month_View&diff=3195Patch Calendar Show All-Day Events in Month View2009-07-30T19:08:37Z<p>Pyrognome: Could some one add this patch to the webos modifications series for quilt?</p>
<hr />
<div>Could some one add this patch to the webos modifications series for quilt?<br />
<br />
This patch will modify the calendar application to show all day events in the month view of the application.<br />
It denotes days with all day events by changing the background of the cell to be blue.<br />
<br />
<pre><nowiki><br />
Modifies the month controller to show allday events in the month scene by changing the background of the cell to a light blue.<br />
Index: /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
===================================================================<br />
--- .orig/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
+++ /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js<br />
@@ -25,11 +25,25 @@ var MonthAssistant = Class.create({<br />
this.scrollerModel = { scrollbars: false, mode: "vertical-snap", snapIndex: 0, snapElements: { y: [] } };<br />
},<br />
<br />
+ fullEvts: null,<br />
+<br />
setupMonth: function(startDate, endDate, callbackfn)<br />
{<br />
+ getCalendarService().getEvents(getCurrentCal(),startDate.getTime(), endDate.getTime(),<br />
+ this.getEventsCallback.bind(this),<br />
+ this.controller,<br />
+ this.getEventsFailCallback,<br />
+ {useSlices: true}<br />
+ );<br />
getCalendarService().getBusyDays(getCurrentCal(), startDate.getTime(), endDate.getTime(), callbackfn, this.controller);<br />
},<br />
-<br />
+<br />
+ getEventsCallback: function(resp)<br />
+ {<br />
+Mojo.Log.info('month-assistant:getEventsCallback');<br />
+ this.fullEvts = resp.days;<br />
+ },<br />
+<br />
buildViewHeader: function()<br />
{<br />
//Mojo.Log.info("month-assistant: buildViewHeader");<br />
@@ -342,6 +356,10 @@ var MonthAssistant = Class.create({<br />
var daylen = days.length - 1; // We get back more days of info that we want - 1 more in fact, because its inclusive, rather than exclusive<br />
for (var d = 0; d < daylen; d++)<br />
{<br />
+ if (this.fullEvts[d].allDayEvents.length > 0)<br />
+ {<br />
+ dayCell.style.backgroundColor = '#99ccff';<br />
+ }<br />
var day = this._token2state(days.charCodeAt(d));<br />
<br />
var child = dayCell.firstChild;<br />
<br />
</nowiki></pre></div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Email_Confirm_Deletion&diff=2935Patch Email Confirm Deletion2009-07-29T17:14:12Z<p>Pyrognome: typeo</p>
<hr />
<div>This will enable the confirmation when swiping emails off the screen. Some people have found themselves mistakenly deleting email that they needed, so here's the method to enable the confirm message similar to that for text messages.<br />
<br />
Open<br />
<pre><nowiki>/usr/palm/applications/com.palm.app.email/app/controllers/list-assistant.js</nowiki></pre><br />
<br />
Find (on line 58)<br />
<pre><nowiki>autoconfirmDelete: true,</nowiki></pre><br />
<br />
Change it to<br />
<pre><nowiki>autoconfirmDelete: false,</nowiki></pre><br />
<br />
...enjoy.<br />
<br />
= Concern=<br />
Previous to the 1.1 update hitting the "Delete" button would for some reason select the email above, some times below the email you were trying to delete. It was as if the targeting for the button was not calibrated correctly. <br />
<br />
'''The targeting of the "Delete" button seems to be dead on. This is no longer an issue with 1.1'''</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Email_Confirm_Deletion&diff=2934Patch Email Confirm Deletion2009-07-29T17:13:37Z<p>Pyrognome: reworded the concern section</p>
<hr />
<div>This will enable the confirmation when swiping emails off the screen. Some people have found themselves mistakenly deleting email that they needed, so here's the method to enable the confirm message similar to that for text messages.<br />
<br />
Open<br />
<pre><nowiki>/usr/palm/applications/com.palm.app.email/app/controllers/list-assistant.js</nowiki></pre><br />
<br />
Find (on line 58)<br />
<pre><nowiki>autoconfirmDelete: true,</nowiki></pre><br />
<br />
Change it to<br />
<pre><nowiki>autoconfirmDelete: false,</nowiki></pre><br />
<br />
...enjoy.<br />
<br />
= Concern=<br />
Previous to the 1.1 update hitting the "Delete" button would for some reason select the email above, some times below the email you were trying to delete. It was as if the targeting for the button was not calibrated correctly. <br />
<br />
'''The targeting if the "Delete" button seems to be dead on. This is no longer an issue with 1.1'''</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Email_Confirm_Deletion&diff=2933Patch Email Confirm Deletion2009-07-29T17:08:44Z<p>Pyrognome: The line to edit is no longer 46, it is 58.</p>
<hr />
<div>This will enable the confirmation when swiping emails off the screen. Some people have found themselves mistakenly deleting email that they needed, so here's the method to enable the confirm message similar to that for text messages.<br />
<br />
Open<br />
<pre><nowiki>/usr/palm/applications/com.palm.app.email/app/controllers/list-assistant.js</nowiki></pre><br />
<br />
Find (on line 58)<br />
<pre><nowiki>autoconfirmDelete: true,</nowiki></pre><br />
<br />
Change it to<br />
<pre><nowiki>autoconfirmDelete: false,</nowiki></pre><br />
<br />
...enjoy.<br />
<br />
= Concern=<br />
Anyone else find that the clicking on the "Delete" button for the confirmation is off a bit? I've done this like ten times since making the change and pretty much every time it opened the email above the deleted one, rather than confirming the deletion. //-jhoff80//<br />
-- I have noticed this aswell. Now I can see why they did not include it in the official release. Hitting the delete button is off. To successfully hit delete you have to touch the very bottom of the button. ~pyrognome<br />
<br />
'''Target for confirm button fixed in 1.1'''</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Browser_Global_Search_Addons&diff=2147Patch Browser Global Search Addons2009-07-24T19:25:24Z<p>Pyrognome: </p>
<hr />
<div>For this example I am going to add a reddit.com option to the global search. Feel free to use whatever site you want -- just make sure to change the names accordingly :)<br />
<br />
'''NOTE''' Make sure you put all your addons BEFORE twitter, if they are after it will not work properly!!<br />
<br />
'''0. [[Portal:Accessing_Linux|Access Linux]], then enable write access:'''<br />
<br />
<pre><nowiki>mount -o remount,rw /</nowiki></pre><br />
<br />
'''1. Edit the following file:'''<br />
/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js<br />
<br />
Find this code and modify it as such (be sure to use the correct search link):<br />
<br />
<pre><nowiki><br />
this.URLs = {<br />
'google':$L("www.google.com/m/search?client=ms-palm-webOS&channel=iss&q="),<br />
'wikipedia':$L("http://en.wikipedia.org/wiki/Special:Search/"),<br />
'reddit': $L("http://www.reddit.com/search?q="),<br />
'twitter': $L("http://search.twitter.com/search?q=")<br />
<br />
<br />
};<br />
</nowiki></pre><br />
<br />
Be sure to note the comma at the end of the line beginning with 'twitter'. URL codes for additional search engines found [[global-search-addons-collection | here]].<br />
<br />
<br />
'''2. In the same file -- you must also add "$('reddit').removeClassName('selected');" to this function:'''<br />
<br />
<pre><nowiki><br />
clearSearch: function() {<br />
if (this.delayShowAppsConatactsTimeout)<br />
window.clearTimeout(this.delayShowAppsConatactsTimeout);<br />
this.currentFilter = "";<br />
this.searchExplicitlyExpanded = false;<br />
this.noMatches = false;<br />
this.hideContactsDiv();<br />
this.launcherIconsDiv.hide();<br />
this.dialDiv.hide();<br />
this.numberDiv.hide();<br />
this.webDrawer.showWeb = false ;<br />
this.controller.modelChanged(this.webDrawer);<br />
this.expandedSearchDrawer.showExpanded = false;<br />
this.controller.modelChanged(this.expandedSearchDrawer);<br />
this.searchApps.clear();<br />
$('google').removeClassName('selected');<br />
$('map').removeClassName('selected');<br />
$('wikipedia').removeClassName('selected');<br />
$('reddit').removeClassName('selected');<br />
$('twitter').removeClassName('selected');<br />
$('web').removeClassName('selected');<br />
if (this.controller.get('searchterm')) {<br />
this.controller.get('searchterm').mojo.setText("");<br />
this.controller.get('searchterm').mojo.blur();<br />
}<br />
this.gpsInfo = undefined;<br />
},<br />
</nowiki></pre><br />
<br />
'''3. Edit the following file:'''<br />
/usr/lib/luna/system/luna-applauncher/app/views/global-search/expanded-searches-div.html<br />
<br />
Modify the code to add a new div:<br />
<pre><nowiki><br />
<div id='expanded_searches_drawer' x-mojo-element="Drawer"><br />
<div class="palm-row" id="google" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="search-google"></div><br />
</div><br />
</div><br />
<div class="palm-row" id="map" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="search-maps"></div><br />
</div><br />
</div><br />
<div class="palm-row" id="wikipedia" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="search-wikipedia"></div><br />
</div><br />
</div><br />
<div class="palm-row" id="reddit" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="search-reddit"></div><br />
</div><br />
</div><br />
<div class="palm-row" id="twitter" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="search-twitter"></div><br />
</div><br />
</div><br />
<div id='web_drawer' x-mojo-element="Drawer"><br />
<div class="palm-row last" id="web" name="search-identifier" x-mojo-tap-highlight="persistent"><br />
<div class="palm-row-wrapper"><br />
<div class="title search-url truncating-text" id="webtext">#{filterText}</div><br />
</div><br />
</div><br />
</div><br />
</div><br />
</nowiki></pre><br />
<br />
'''4. Edit the following file:'''<br />
/usr/lib/luna/system/luna-applauncher/stylesheets/global-search.css<br />
<br />
Add the following class to the css file:<br />
<pre><nowiki><br />
.palm-group.search .search-reddit {<br />
width: 100%;<br />
height: 52px;<br />
background: url(../images/search-reddit.png) center center no-repeat;<br />
}<br />
</nowiki></pre><br />
<br />
'''5. Finally, you need to create a png image (ideally 200x44, but any size up to 300x44 should work) with a transparent background and the logo of your choice. Add it to the path below making sure the name matches the css class, reboot, and enjoy!'''<br />
/usr/lib/luna/system/luna-applauncher/images<br />
<br />
'''6. Remount file system as read-only:'''<br />
<br />
<pre><nowiki>mount -o remount,ro / </nowiki></pre><br />
<br />
Here is the image I used:<br />
<br />
[[Image:Reddit.png]]<br />
<br />
See [[global-search-addons-collection | all available 'universal search' images]].<br />
<br />
And here is the end result!<br />
<br />
[[Image:global-search.jpg]]</div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Template:Page-main&diff=2142Template:Page-main2009-07-24T19:11:03Z<p>Pyrognome: Missed a p in the word helping in the top "thank you" paragraph</p>
<hr />
<div><table width="100%" cellspacing="10" cellpadding="0"><br />
<tr><br />
<td colspan="3" style="background-color:#FBE6FB;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;"><br />
<div style="text-align:center;padding:10px 10px 5px 10px;border-bottom:1px dotted #999;font-size:18px;">Thank you for helping us convert all the pages from the old wiki!<br/> Now, please help us in [[Help:Converting Pages|Restructuring]] and sorting them!</div><br />
<div style="padding:5px 10px 10px 10px;text-align:center;font-size:12px;">You may get an error while confirming your registration, ignore it. It actually worked.</div><br />
</td><br />
</tr><br />
<tr><br />
<td colspan="3"><br />
<br />
'''Welcome to the WebOS Internals wiki'''<br />
<br />
This site is for collecting information about the inner workings of webOS, which powers everybody (else)'s favorite smart phone, the Palm Pre. If you add information which you did not discover yourself, please try to give credit to the original researcher. Also, please do not add information that has not been confirmed. This is meant to be a collection of facts, and our site is growing quickly, so organization may sometimes be lacking.</td><br />
<tr><br />
<tr><br />
<td style="background-color:#FFFFE0;width:33%;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-1-1}}}</td><br />
<td style="background-color:#F1F1F1;width:33%;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-2-1}}}</td><br />
<td style="background-color:#ECF9FF;width:33%;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-3-1}}}</td><br />
</tr><br />
<tr><br />
<td style="background-color:#FFFFE0;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-1-2}}}</td><br />
<td style="background-color:#F1F1F1;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-2-2}}}</td><br />
<td style="background-color:#ECF9FF;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-3-2}}}</td><br />
</tr><br />
<tr><br />
<td style="background-color:#FFFFE0;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-1-3}}}</td><br />
<td style="background-color:#F1F1F1;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-2-3}}}</td><br />
<td style="background-color:#ECF9FF;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{cell-3-3}}}</td><br />
</tr><br />
<tr><br />
<td colspan="3"><br />
<table width="100%" cellspacing="0" cellpadding="0"><br />
<tr><br />
<td>{{{leftnav}}}<td><br />
<td style="text-align:right;">{{{rightnav}}}</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td style="background-color:#FFFFE0;vertical-align:top;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{irc}}}</td><br />
<td style="background-color:#F1F1F1;vertical-align:top;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;"><br />
{{{coderepositories}}}</td><br />
<td style="background-color:#ECF9FF;vertical-align:top;border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #333;border-bottom:1px solid #333;">{{{resources}}}</td><br />
</tr><br />
<tr><br />
<td colspan="3"><br />
<br />
== Disclaimer ==<br />
<br />
Enacting any set of instructions from this site has the (remote, but greater than zero) potential to void your warranty. Our intention and the specific design of all instructions is such that you should be able to recover using the [http://www.palm.com/ROM webOS Doctor] should anything go wrong, and put your Pre back to a state which is indistinguishable from a factory-new Pre, but we give no guarantee. Use any information from this site at your own risk. At the very least, you should be prepared to lose all data on your phone at any time. We cannot tell you what you should do - we provide the information, but it's up to your own sense of personal responsibility to determine what you do with that information. We require you to use the [http://www.palm.com/ROM webOS Doctor] to put your Pre back to factory condition before contacting Palm or your cellular carrier for service or support.<br />
<br />
'''Note: The section called "Accessing Linux" used to be known as "Rooting your Pre".'''<br><br />
'''See [http://forums.precentral.net/web-os-development/193679-accessing-linux-rooting-your-pre.html Accessing Linux != "rooting your Pre"] for more details.'''<br />
</td><br />
</tr><br />
</table></div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Launcher_Add_or_Delete_Pages&diff=821Patch Launcher Add or Delete Pages2009-07-20T14:19:22Z<p>Pyrognome: </p>
<hr />
<div><p>Someone in the forum talked about being able to add and delete pages in the Launcher app and I thought I would look into it further. They stated that they were able to add new pages and delete existing pages.</p><br />
<p>Upon further investigation, they were correct. There is existing code in a particular js file that has been commented out that will allow you to create a new page and delete the current page you are on in the Launcher. There is a variable that stores the max number of pages to 10. This value can probably be increased, but I don't recommend it and seriously, who would need more that 10 pages anyway, right?</p><br />
<p>After I uncommented these said lines and rebooted, I was able to perform these functions. So I tested the new page function.</p><br />
<p>The new page and delete page functions will appear in the launcher app menu.</p><br />
<p><strong>Creating/adding a page:</strong></p><br />
<p>This will create a new page and move whatever page you were on to the right. There is nothing special to this page besides the fact that you now have a new page. I was able to drag icons to it just like any other page. To test this new page out I added a contact to that page.</p><br />
<p><strong>Deleting/Removing a page:</strong></p><br />
<br />
<p>The code is already set up to automagically move any icons to the page to the left of the page you are deleting. What I mean is if the page you delete is in the middle of other pages it will toss whatever was on your current page to the page to the left of it.</p><br />
<p>When I deleted a page that was to the left of the apps page that had web app defaulted to it, it tossed the icons to that page because there is no page to the left of the one I just deleted.</p><br />
<p><strong>Creating/adding multiple pages:</strong></p><br />
<p>So I was on page 1 and created a new page. Then I moved over to the page where device info, backup, screen &amp; lock was at and created a new page there. It tossed the page to the right and made a new page.</p><br />
<hr /><br />
<br />
<h1 id="toc1"><span>Uncomment the Following</span></h1><br />
<br />
<p>/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js</p><br />
<p>Look for "appMenuModel" (line 27) a few lines below you will see a line that has "newpage" in it.<br /><br />
<br />
On the line that remove the "/*" and on the line that has "deletepage" remove the "*/"</p><br />
<p>Next look further in the file (line 119) for "switch" again remove the "/* and "*/" that surrounds the cases for newpage and deletepage.</p><br />
<p>reboot and now you'll have new page and delete page in the launcher app menu.</p><br />
<p>Note that you can download a patch for this at http://gitorious.org/webos-internals/modifications/blobs/raw/master/applauncher/add-delete-pages-in-the-launcher.patch</p><br />
<br />
You can see a picture of the new menu here: http://img195.imageshack.us/img195/7636/unknown20091306141631.png<br />
<p>-PS I moved the location of the edit menu down…</p><br />
<p>-Enjoy</p><br />
<hr /><br />
<p>The credit to this goes to someone in the forums, at the time this was written I wasn't able to find out who exactly was it who wrote about it first (purely I don't have the time to look.) Pyrognome tested and confirmed the new page and delete page functionality.</p></div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Launcher_Add_or_Delete_Pages&diff=820Patch Launcher Add or Delete Pages2009-07-20T14:19:06Z<p>Pyrognome: </p>
<hr />
<div><p>Someone in the forum talked about being able to add and delete pages in the Launcher app and I thought I would look into it further. They stated that they were able to add new pages and delete existing pages.</p><br />
<p>Upon further investigation, they were correct. There is existing code in a particular js file that has been commented out that will allow you to create a new page and delete the current page you are on in the Launcher. There is a variable that stores the max number of pages to 10. This value can probably be increased, but I don't recommend it and seriously, who would need more that 10 pages anyway, right?</p><br />
<p>After I uncommented these said lines and rebooted, I was able to perform these functions. So I tested the new page function.</p><br />
<p>The new page and delete page functions will appear in the launcher app menu.</p><br />
<p><strong>Creating/adding a page:</strong></p><br />
<p>This will create a new page and move whatever page you were on to the right. There is nothing special to this page besides the fact that you now have a new page. I was able to drag icons to it just like any other page. To test this new page out I added a contact to that page.</p><br />
<p><strong>Deleting/Removing a page:</strong></p><br />
<br />
<p>The code is already set up to automagically move any icons to the page to the left of the page you are deleting. What I mean is if the page you delete is in the middle of other pages it will toss whatever was on your current page to the page to the left of it.</p><br />
<p>When I deleted a page that was to the left of the apps page that had web app defaulted to it, it tossed the icons to that page because there is no page to the left of the one I just deleted.</p><br />
<p><strong>Creating/adding multiple pages:</strong></p><br />
<p>So I was on page 1 and created a new page. Then I moved over to the page where device info, backup, screen &amp; lock was at and created a new page there. It tossed the page to the right and made a new page.</p><br />
<hr /><br />
<br />
<h1 id="toc1"><span>Uncomment the Following</span></h1><br />
<hr /><br />
<p>/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js</p><br />
<p>Look for "appMenuModel" (line 27) a few lines below you will see a line that has "newpage" in it.<br /><br />
<br />
On the line that remove the "/*" and on the line that has "deletepage" remove the "*/"</p><br />
<p>Next look further in the file (line 119) for "switch" again remove the "/* and "*/" that surrounds the cases for newpage and deletepage.</p><br />
<p>reboot and now you'll have new page and delete page in the launcher app menu.</p><br />
<p>Note that you can download a patch for this at http://gitorious.org/webos-internals/modifications/blobs/raw/master/applauncher/add-delete-pages-in-the-launcher.patch</p><br />
<br />
You can see a picture of the new menu here: http://img195.imageshack.us/img195/7636/unknown20091306141631.png<br />
<p>-PS I moved the location of the edit menu down…</p><br />
<p>-Enjoy</p><br />
<hr /><br />
<p>The credit to this goes to someone in the forums, at the time this was written I wasn't able to find out who exactly was it who wrote about it first (purely I don't have the time to look.) Pyrognome tested and confirmed the new page and delete page functionality.</p></div>Pyrognomehttp://wiki.webos-internals.org/index.php?title=Patch_Launcher_Add_or_Delete_Pages&diff=819Patch Launcher Add or Delete Pages2009-07-20T14:18:42Z<p>Pyrognome: </p>
<hr />
<div><h2 id="toc0"><span>This is a quick tutorial on how to add or delete pages in the Launcher.</span></h2><br />
<br />
<p>Someone in the forum talked about being able to add and delete pages in the Launcher app and I thought I would look into it further. They stated that they were able to add new pages and delete existing pages.</p><br />
<p>Upon further investigation, they were correct. There is existing code in a particular js file that has been commented out that will allow you to create a new page and delete the current page you are on in the Launcher. There is a variable that stores the max number of pages to 10. This value can probably be increased, but I don't recommend it and seriously, who would need more that 10 pages anyway, right?</p><br />
<p>After I uncommented these said lines and rebooted, I was able to perform these functions. So I tested the new page function.</p><br />
<p>The new page and delete page functions will appear in the launcher app menu.</p><br />
<p><strong>Creating/adding a page:</strong></p><br />
<p>This will create a new page and move whatever page you were on to the right. There is nothing special to this page besides the fact that you now have a new page. I was able to drag icons to it just like any other page. To test this new page out I added a contact to that page.</p><br />
<p><strong>Deleting/Removing a page:</strong></p><br />
<br />
<p>The code is already set up to automagically move any icons to the page to the left of the page you are deleting. What I mean is if the page you delete is in the middle of other pages it will toss whatever was on your current page to the page to the left of it.</p><br />
<p>When I deleted a page that was to the left of the apps page that had web app defaulted to it, it tossed the icons to that page because there is no page to the left of the one I just deleted.</p><br />
<p><strong>Creating/adding multiple pages:</strong></p><br />
<p>So I was on page 1 and created a new page. Then I moved over to the page where device info, backup, screen &amp; lock was at and created a new page there. It tossed the page to the right and made a new page.</p><br />
<hr /><br />
<br />
<h1 id="toc1"><span>Uncomment the Following</span></h1><br />
<hr /><br />
<p>/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js</p><br />
<p>Look for "appMenuModel" (line 27) a few lines below you will see a line that has "newpage" in it.<br /><br />
<br />
On the line that remove the "/*" and on the line that has "deletepage" remove the "*/"</p><br />
<p>Next look further in the file (line 119) for "switch" again remove the "/* and "*/" that surrounds the cases for newpage and deletepage.</p><br />
<p>reboot and now you'll have new page and delete page in the launcher app menu.</p><br />
<p>Note that you can download a patch for this at http://gitorious.org/webos-internals/modifications/blobs/raw/master/applauncher/add-delete-pages-in-the-launcher.patch</p><br />
<br />
You can see a picture of the new menu here: http://img195.imageshack.us/img195/7636/unknown20091306141631.png<br />
<p>-PS I moved the location of the edit menu down…</p><br />
<p>-Enjoy</p><br />
<hr /><br />
<p>The credit to this goes to someone in the forums, at the time this was written I wasn't able to find out who exactly was it who wrote about it first (purely I don't have the time to look.) Pyrognome tested and confirmed the new page and delete page functionality.</p></div>Pyrognome