Commit f5f2e70120cc2f778698b58eb8febadcfaf0fd75

  • avatar
  • Daniel Beames <dBsooner @dbt…nk.com>
  • Thu Nov 05 07:05:01 CET 2009
5 adds, 2 modifies via submission form
  
1Name: Add Priority Discard Btns
2Version: 1.2.1-12120
3Author: mamouton
4Description: This will place a high priority icon and a discard message icon at the bottom of your current message. Special thanks to Tibfib for adding the confirmation for the discard message and removing the options from the menu area.
5
16--- .orig/usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js
27+++ /usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js
3@@ -80,7 +80,9 @@
8@@ -79,6 +79,7 @@
9 visible: true,
410 menuClass: 'palm-white',
511 items: [
12+ {label:$L('Priority'), icon:'priority', command:'priority'},
613 {label:$L('Attach'), icon:'attach', command:'attach'},
14 {label:$L('Send'), icon:'send', command:'send'}
15 ]};
16@@ -80,7 +81,8 @@
17 menuClass: 'palm-white',
18 items: [
19 {label:$L('Attach'), icon:'attach', command:'attach'},
720- {label:$L('Send'), icon:'send', command:'send'}
8+ {label:$L('Priority'), icon:'priority', command:'priority'},
9+ {label:$L('Delete'),icon:'delete', command:'cancel'},
10+ {label:('Send'), icon:'send', command:'send'}
21+ {label:('Send'), icon:'send', command:'send'},
22+ {label:$L('Delete'),icon:'delete', command:'cancel'}
1123 ]};
1224
1325 this.draftIsDirty = false;
26@@ -89,8 +91,8 @@
27 this.appMenuModel = {
28 visible:true,
29 items: [
30- this.priorityFlagMenuItem,
31- {label:$L('Discard Message'), command:'cancel'},
32+ //this.priorityFlagMenuItem,
33+ //{label:$L('Discard Message'), command:'cancel'},
34 {label:$L('Save as Draft'), command:'save', disabledProperty:true }
35 ]};
36 this.controller.setupWidget(Mojo.Menu.appMenu, {richTextEditMenu: true}, this.appMenuModel);
37@@ -185,7 +187,8 @@
38 }
39
40 // Delayed a little, since we want the header part of render as quickly as possible
41- ComposeAssistant.onLoad.defer(this.controller, this.email);
42+ComposeAssistant.onLoad.defer(this.controller, this.email);
43+this.controller.window.PalmSystem.setWindowOrientation("free");
44 },
45
46 cleanup: function() {
47@@ -236,7 +239,15 @@
48 break;
49
50 case 'cancel':
51- this.cancelCompose();
52+ this.controller.showAlertDialog({
53+ onChoose: function(value) {if (value == 'yes') {this.cancelCompose();}},
54+ title: $L("Discard this Draft?"),
55+ message: $L("This cannot be undone"),
56+ choices:[
57+ {label:$L('Yes'), value:"yes", type:'negative'},
58+ {label:$L("No"), value:"no", type: 'dismiss'}
59+ ]
60+ });
61 break;
62
63 case 'priority':
  
1Copyright (c) 2009 VeeDubb65 <mail@stevecoonsphoto.com>
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Causes the Pre to be recognized as a mass storage media player when connected to a linux desktop, without spoofing an ipod device.
2Compatible with Banshee, Ryhthmbox, and several other open-source media players.
3
4Works in both USB mode, and Media Sync mode.
5
6Index: /media/internal/.is_audio_player
7===================================================================
8--- /dev/null
9+++ /media/internal/.is_audio_player
10@@ -0,0 +1,3 @@
11+name=PalmPre
12+audio_folders=Music/, AmazonMP3/, Videos/
13+output_formats=audio/mp3,audio/aac,video/mp4,video/quicktime,video/mp4-generic,video/mpeg4,application/sdp
  
1Copyright (c) 2009 wtgreen <wt.green@bigfoot.com>
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Adds button to answer call via speaker phone
2Index: /usr/palm/applications/com.palm.app.phone/app/controllers/incomingcall-assistant.js
3===================================================================
4--- .orig/usr/palm/applications/com.palm.app.phone/app/controllers/incomingcall-assistant.js
5+++ /usr/palm/applications/com.palm.app.phone/app/controllers/incomingcall-assistant.js
6@@ -336,6 +336,7 @@ var IncomingcallAssistant = Class.create
7 && this.sliderOpen === false
8 && newSliderOpenState === true) {
9 this.answerCall();
10+ TelephonyCommands.setAudioScenario("phone_back_speaker");
11 }
12 this.sliderOpen = newSliderOpenState
13 }
  
1Copyright (c) 2009 Eric Salo <salo@cs.stanford.edu>
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Moves the "Emergency Call" button to the middle of the lock screen and the "Cancel" button to the left of the zero.
2Index: /usr/palm/applications/com.palm.app.phone/app/views/pin/pin-scene.html
3===================================================================
4--- .orig/usr/palm/applications/com.palm.app.phone/app/views/pin/pin-scene.html
5+++ /usr/palm/applications/com.palm.app.phone/app/views/pin/pin-scene.html
6@@ -29,7 +29,7 @@
7 <div class="key glassbutton nine" id="nine_button" x-mojo-touch-feedback="immediate"><div></div></div>
8 </div>
9 <div class="keypad-row last">
10- <div class="key glassbutton empty"><div></div></div>
11+ <div class="key glassbutton empty" id="cancel_pin" x-mojo-touch-feedback="immediate"><div class="patch-cancel" x-mojo-loc=''><br />Cancel</div></div>
12 <div class="key glassbutton zero" id="zero_button" x-mojo-touch-feedback="immediate"><div></div></div>
13 <div class="key glassbutton pin-backspace" id="backspace" x-mojo-touch-feedback="immediate"><div></div></div>
14 </div>
15@@ -39,9 +39,6 @@
16 <div id="emergency_pin" x-mojo-touch-feedback="immediate" class="pin-menu-button half" x-mojo-loc=''>
17 Emergency Call
18 </div>
19- <div id="cancel_pin" x-mojo-touch-feedback="immediate" class="pin-menu-button half" x-mojo-loc=''>
20- Cancel
21- </div>
22 </div>
23 </div>
24 </div>
25Index: /usr/palm/applications/com.palm.app.phone/stylesheets/pinpad.css
26===================================================================
27--- .orig/usr/palm/applications/com.palm.app.phone/stylesheets/pinpad.css
28+++ /usr/palm/applications/com.palm.app.phone/stylesheets/pinpad.css
29@@ -69,6 +69,12 @@ div.pin-key.pin-glassbutton {
30 bottom: 0px;
31 width: 320px;
32 height: 60px;
33+ margin-left: 80px;
34+}
35+
36+.patch-cancel {
37+ font-size: 16px;
38+ line-height: 15px;
39 }
40
41 .pin-menu-button {
  
1Copyright (c) 2009 Jason Robitaille
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Name: Brightness in Device Menu
2Version: 1.2.1-1
3Author: Jason Robitaille
4Description: Adds screen brightness control to the device menu (MIT license)
5
6--- .orig/usr/lib/luna/system/luna-systemui/app/controllers/devicemenu-assistant.js
7+++ /usr/lib/luna/system/luna-systemui/app/controllers/devicemenu-assistant.js
8@@ -32,6 +32,8 @@
9 var msg = $L("Battery: #{batlevel}");
10 this.controller.get('dm_battery').innerHTML = new Template(msg).evaluate({"batlevel": Mojo.Format.formatPercent(this.barAssistant.getBatteryLevel())});
11
12+ this.controller.setupWidget('brightSlider', {minValue: 0, maxValue: 100}, this.brightModel = { value: 50});
13+
14 this.modesModel = {scrollbars: false, mode: "vertical"},
15 this.controller.setupWidget('devicescroller', {}, this.modesModel);
16 this.menuscroller = this.controller.get('devicescroller');
17@@ -37,6 +39,7 @@
18 this.menuscroller = this.controller.get('devicescroller');
19
20 this.drawerModel = {myOpenProperty:false};
21+ this.controller.setupWidget('brightdetails', {modelProperty:'myOpenProperty'}, this.drawerModel);
22 this.controller.setupWidget('wifidetails', {modelProperty:'myOpenProperty'}, this.drawerModel);
23 this.controller.setupWidget('btdetails', {modelProperty:'myOpenProperty'}, this.drawerModel);
24 this.wifidrawer = this.controller.get('wifidetails');
25@@ -113,6 +116,8 @@
26 },
27
28 activate: function() {
29+ this.controller.get('brightSlider').addEventListener(Mojo.Event.propertyChange, this.handleBrightSlider.bindAsEventListener(this));
30+ this.controller.get('brightRow').addEventListener(Mojo.Event.tap, this.handleBrightTap.bindAsEventListener(this));
31 this.controller.get('dm_airplanemode').addEventListener(Mojo.Event.tap, this.toggleAirplaneMode.bindAsEventListener(this));
32 this.controller.get('wifilist').addEventListener(Mojo.Event.listTap,this.handleWiFiTap.bindAsEventListener(this));
33 this.controller.get('btlist').addEventListener(Mojo.Event.listTap,this.handleBTTap.bindAsEventListener(this));
34@@ -126,6 +131,18 @@
35 //Close the App because this is a first launch.
36 this.toggleDeviceMenu();
37 },
38+
39+ handleBrightTap: function(event) {
40+ this.controller.get('brightdetails').mojo.setOpenState(!this.controller.get('brightdetails').mojo.getOpenState());
41+ },
42+
43+ handleBrightSlider: function(event) {
44+ this.controller.serviceRequest('palm://com.palm.display/control', {
45+ method: 'setProperty',
46+ parameters:{maximumBrightness:Math.round(event.value)}
47+ });
48+ this.controller.get('dm_brightness').innerText = "Brightness: " + Math.round(event.value) + "%";
49+ },
50
51 cleanup: function() {
52 Mojo.Log.error("Device Menu - Clean up called");
53@@ -900,7 +917,8 @@
54 this.clearWiFiList();
55 this.controller.hideWidgetContainer(this.controller.get('wifidetails'));
56 this.wifidrawer.mojo.setOpenState(false);
57 }
58+ this.controller.get('brightdetails').mojo.setOpenState(false);
59 //this.isVisible = false;
60 if(this.isVisible){
61 this.toggleDeviceMenu();
62@@ -944,6 +962,20 @@
63 this.isVisible = true;
64 var date = new Date();
65 this.controller.get('dm_date').innerHTML = Mojo.Format.formatDate(date,{date:'EEE '}) + Mojo.Format.formatDate(date,{date:'long'});
66+ this.controller.serviceRequest('palm://com.palm.display/control', {
67+ method: 'getProperty',
68+ parameters:{properties:['maximumBrightness']},
69+ onSuccess: function(response) {
70+ if(response.maximumBrightness != undefined) {
71+ this.brightModel.value = parseInt(response.maximumBrightness);
72+ this.controller.modelChanged(this.brightModel);
73+ this.controller.get('dm_brightness').innerText = "Brightness: " + response.maximumBrightness + "%";
74+ } else {
75+ this.controller.get('dm_brightness').innerText = "Brightness: ??%";
76+ }
77+ }.bind(this)
78+ });
79+
80 this.controller.stageController.activate();
81
82 var animateDialog = function(){
83--- .orig/usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html
84+++ /usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html
85@@ -23,8 +23,21 @@
86
87 <div class="palm-row"><div class="palm-row-wrapper">
88 <div id="dm_battery" class="title dim"></div>
89 </div></div>
90
91+ <div class="palm-section-divider">
92+ </div>
93+
94+ <div class="palm-row" id="brightRow" x-mojo-tap-highlight='momentary'><div class="palm-row-wrapper">
95+ <div id="dm_brightness" class="title"></div>
96+ </div></div>
97+
98+ <div id="brightdetails" x-mojo-element="Drawer">
99+ <div class="palm-row first"><div class="palm-row-wrapper">
100+ <div x-mojo-element="Slider" id="brightSlider" style="padding-top: 30px; height: 50px;"></div>
101+ </div></div>
102+ </div>
103+
104 <div class="palm-section-divider">
105 </div>
106
  
1Copyright (c) 2009 Jason Robitaille
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Name: GPS in Device Menu
2Version: 1.2.1-1
3Author: Jason Robitaille
4Description: Adds a GPS toggle to the device menu (MIT license)
5
6--- .orig/usr/lib/luna/system/luna-systemui/app/controllers/devicemenu-assistant.js
7+++ /usr/lib/luna/system/luna-systemui/app/controllers/devicemenu-assistant.js
8@@ -122,6 +122,7 @@
9 this.controller.get('bt_radio').addEventListener(Mojo.Event.tap, this.toggleBTRadio.bindAsEventListener(this));
10 this.controller.get('bt_pref').addEventListener(Mojo.Event.tap,this.handleBluetoothLaunch.bindAsEventListener(this));
11 this.controller.get('wifi_pref').addEventListener(Mojo.Event.tap,this.handleWiFiLaunch.bindAsEventListener(this));
12+ this.controller.get('dm_gps').addEventListener(Mojo.Event.tap, this.toggleGPS.bindAsEventListener(this));
13 this.controller.get('scrim').addEventListener(Mojo.Event.tap, this.toggleDeviceMenu.bindAsEventListener(this));
14 //Close the App because this is a first launch.
15 this.toggleDeviceMenu();
16@@ -177,6 +178,25 @@
17 }
18 this.apModeInProgress = false;
19 },
20+
21+ toggleGPS: function(event) {
22+ this.gpsEnabled = !this.gpsEnabled;
23+ this.controller.serviceRequest('palm://com.palm.location', {
24+ method: 'setUseGps',
25+ parameters: {
26+ useGps: this.gpsEnabled
27+ }
28+ });
29+ this.setGPSLabel();
30+ },
31+
32+ setGPSLabel: function() {
33+ if(this.gpsEnabled) {
34+ this.controller.get('gpsStatus').innerText = "On";
35+ } else {
36+ this.controller.get('gpsStatus').innerText = "Off";
37+ }
38+ },
39
40 toggleBTRadio: function(event) {
41 if(RadioState.get('bluetooth')) {
42@@ -956,6 +976,15 @@
43 );
44 }
45
46+ this.controller.serviceRequest('palm://com.palm.location', {
47+ method: 'getUseGps',
48+ parameters: {},
49+ onSuccess: function(response) {
50+ this.gpsEnabled = response.useGps;
51+ this.setGPSLabel();
52+ }.bind(this)
53+ });
54+
55 //animate the scrim onto the scene and then the submenu
56 Mojo.Animation.animateStyle(this.scrim, 'opacity', 'bezier', {
57 from: 0,
58--- .orig/usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html
59+++ /usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html
60@@ -89,6 +89,15 @@
61
62 </div>
63
64+ <div class="palm-section-divider"></div>
65+
66+ <div class="palm-row" id="dm_gps" x-mojo-tap-highlight='momentary'><div class="palm-row-wrapper">
67+ <div class="title truncating-text">
68+ <div class="label right" id="gpsStatus">&nbsp;</div>
69+ <span x-mojo-loc=''>GPS</span>
70+ </div>
71+ </div></div>
72+
73 <div class="palm-section-divider"></div>
74
75 <div id="dm_airplanemode" class="palm-row last menu-end" x-mojo-tap-highlight='momentary'><div class="palm-row-wrapper">
  
3434 //set up searchtermfield
3535 this.searchTermTextAttributes = {
3636 textReplacement:false,
37@@ -1284,6 +1295,229 @@
37@@ -1284,6 +1295,271 @@
3838 ApplicationService.launch('com.palm.app.browser', params);
3939 },
4040
5757+ message: s + " = " + result,
5858+ choices: [ { label: "OK", value: "ok" } ]
5959+ });
60+ },
61+ noArguments: {
62+ appId: "com.palm.app.calculator"
6063+ }
6164+ },
6265+ "imdb": {
6366+ usage: "<i>query</i>",
6467+ description: "Find something on IMDB.com.",
65+ url: "http://www.imdb.com/find?s=all&q="
68+ url: "http://www.imdb.com/find?s=all&q=",
69+ noArguments: {
70+ url: "http://www.imdb.com/"
71+ }
6672+ },
6773+ "dict": {
6874+ usage: "<i>word</i>",
6975+ description: "Find a word on Dictionary.com.",
70+ url: "http://m.reference.com/d/search.html?q="
76+ url: "http://m.reference.com/d/search.html?q=",
77+ noArguments: {
78+ url: "http://m.reference.com/d/"
79+ }
7180+ },
7281+ "thes": {
7382+ usage: "<i>word</i>",
7483+ description: "Find a word on Thesaurus.com.",
75+ url: "http://m.reference.com/t/search.html?q="
84+ url: "http://m.reference.com/t/search.html?q=",
85+ noArguments: {
86+ url: "http://m.reference.com/t/"
87+ }
7688+ },
89+ "ba": "beer",
90+ "beer": {
91+ usage: "<i>beer</i>",
92+ description: "Find a beer on BeerAdvocate.com.",
93+ url: "http://www.google.com/m/search?client=ms-palm-webOS&channel=iss&q=site:beeradvocate.com%20",
94+ noArguments: {
95+ url: "http://www.beeradvocate.com/"
96+ }
97+ },
98+ "rb": "ratebeer",
99+ "ratebeer": {
100+ usage: "<i>beer</i>",
101+ description: "Find a beer on RateBeer.com.",
102+ url: "http://www.google.com/m/search?client=ms-palm-webOS&channel=iss&q=site:ratebeer.com%20",
103+ noArguments: {
104+ url: "http://www.ratebeer.com/"
105+ }
106+ },
107+ "ebay": {
108+ usage: "<i>item</i>",
109+ description: "Find something on eBay.com.",
110+ url: "http://m.ebay.com/Pages/SearchResults.aspx?emvAD=320x320&emvcc=0&sv=",
111+ noArguments: {
112+ url: "http://m.ebay.com/"
113+ }
114+ },
77115+ "memo": "note",
78116+ "note": {
79117+ usage: "<i>text</i>",
80118+ description: "Quickly create a new note.",
81119+ appId: "com.palm.app.notes",
82+ param: "newNoteText"
120+ param: "newNoteText",
121+ noArguments: {
122+ appId: "com.palm.app.notes"
123+ }
83124+ },
84125+ "m": "memo",
85126+ "n": "note",
128128+ "d": "dict",
129129+ "th": "thes",
130130+ "help": {
131+ argumentsOptional: true,
131132+ method: function () {
132133+ var that = this;
133134+ var commands = [];
306306 launchHelpApp: function(url) {
307307 var params = {"target":"http://help.palm.com/search/results.cgi?q="+this.buildSearchQuery(url)};
308308 ApplicationService.launch('com.palm.app.help', params);
309@@ -1305,10 +1539,22 @@
309@@ -1305,10 +1581,22 @@
310310 $('webtext').innerHTML = this.currentFilter;
311311 this.webDrawer.showWeb = true;
312312 this.controller.modelChanged(this.webDrawer);
329329 //$('twitter').addClassName('last');
330330 }
331331 $('find').removeClassName('single');
332@@ -1340,11 +1586,23 @@
332@@ -1340,11 +1628,23 @@
333333 $('webtext').innerHTML = this.currentFilter;
334334 this.webDrawer.showWeb = true;
335335 this.controller.modelChanged(this.webDrawer);
353353 }
354354 $('find').removeClassName('single');
355355 $('find').addClassName('first');
356@@ -1395,10 +1653,22 @@
356@@ -1395,10 +1695,22 @@
357357 $('webtext').innerHTML = this.currentFilter;
358358 this.webDrawer.showWeb = true;
359359 this.controller.modelChanged(this.webDrawer);
376376 //$('twitter').addClassName('last');
377377 }
378378 $('find').removeClassName('single');
379@@ -1414,6 +1684,8 @@
379@@ -1414,6 +1726,8 @@
380380 }
381381 else if (url == "web")
382382 this.launchBrowser(this.currentFilter);
385385 else if(url == 'twitter')
386386 {
387387 var twitterAppInfo = this.launcherAssistant.pagesModel.getAppInfo(palmBrandedTwitterAppID+"_default");
388@@ -1653,6 +1925,8 @@
388@@ -1653,6 +1967,8 @@
389389 this.numberDiv.hide();
390390 this.webDrawer.showWeb = false ;
391391 this.controller.modelChanged(this.webDrawer);
394394 this.expandedSearchDrawer.showExpanded = false;
395395 this.controller.modelChanged(this.expandedSearchDrawer);
396396 this.searchApps.clear();
397@@ -1661,10 +1935,15 @@
397@@ -1661,10 +1977,15 @@
398398 $('wikipedia').removeClassName('selected');
399399 $('twitter').removeClassName('selected');
400400 $('web').removeClassName('selected');
410410 webSiteString: function(s){
411411 if (s.indexOf("http://") == 0)
412412 return s;
413@@ -1762,6 +2041,7 @@
413@@ -1762,6 +2083,7 @@
414414 //clear search':
415415 $('google').removeClassName('palm-focus');
416416 $('web').removeClassName('palm-focus');
418418 },
419419 highlightSelection: function() {
420420
421@@ -1823,6 +2103,11 @@
422 $('web').addClassName('palm-focus');
423 this.highlightTarget = $('web');
424 }
425+ else if (this.commandLineDrawer.showCommandLine == true) {
426+ $('google').removeClassName('palm-focus');
427+ $('web').removeClassName('palm-focus');
428+ this.highlightTarget = $('commandLine');
429+ }
430 else if(this.expandedSearchDrawer.showExpanded == true){
431 $('google').addClassName('palm-focus');
432 $('web').removeClassName('palm-focus');
433@@ -1834,6 +2119,21 @@
421@@ -1834,6 +2156,24 @@
434422 $('google').removeClassName('palm-focus');
435423 $('web').removeClassName('palm-focus');
436424 }
428428+ $('commandLine').removeClassName('palm-focus');
429429+ }
430430+ else if (this.commandLineDrawer.showCommandLine == true) {
431+ $('google').removeClassName('palm-focus');
432+ $('web').removeClassName('palm-focus');
433+ this.highlightTarget = $('commandLine');
431434+ $('commandLine').addClassName('palm-focus');
432435+ }
433436+ else if (this.expandedSearchDrawer.showExpanded == true) {
443443 },
444444
445445 enterKeyAction: function(){
446@@ -1922,6 +2222,8 @@
446@@ -1922,6 +2262,8 @@
447447 }
448448 if (this.webDrawer.showWeb == true)
449449 this.launchBrowser(this.currentFilter);