Commit 7ebdf3a2cd4e693efebeb3a827028ea4632dad93
- Diff rendering mode:
- inline
- side by side
browser/enable-browser-downloads.patch
(69 / 210)
|   | |||
| 1 | Index: /usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 2 | =================================================================== | ||
| 3 | --- .orig/usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 4 | +++ /usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 5 | @@ -1449,6 +1449,8 @@ PageAssistant.prototype.setup = function | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js b/usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 2 | index b2c8848..d541ea7 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js | ||
| 5 | @@ -1449,6 +1449,8 @@ PageAssistant.prototype.setup = function() { | ||
| 6 | 6 | this._webView.addEventListener(Mojo.Event.webViewUrlRedirect, this._onUrlRedirect.bind(this), false); | |
| 7 | 7 | this._webView.addEventListener(Mojo.Event.webViewModifierTap, this._onModifierTapHandler, false); | |
| 8 | 8 | this._webView.addEventListener(Mojo.Event.webViewUpdateHistory, this._onUpdateHistoryHandler, false); | |
| … | … | ||
| 11 | 11 | } | |
| 12 | 12 | catch (e) { | |
| 13 | 13 | Mojo.Log.logException(e, 'PageAssistant#setup'); | |
| 14 | @@ -2287,28 +2289,116 @@ PageAssistant.prototype._newBrowserPage | ||
| 14 | @@ -2287,28 +2289,116 @@ PageAssistant.prototype._newBrowserPage = function(url, pageIdentifier){ | ||
| 15 | 15 | */ | |
| 16 | 16 | PageAssistant.prototype._streamResource = function(uri, appid, mimeType){ | |
| 17 | 17 | ||
| 18 | 18 | - Mojo.Log.info("Streaming: '%s' with '%s' (%s)", uri, appid, mimeType); | |
| 19 | 19 | - | |
| 20 | - // Only a few select applications can be | ||
| 21 | - crossAppScene = { | ||
| 22 | - 'com.palm.app.videoplayer': 'nowplaying', | ||
| 23 | - 'com.palm.app.streamingmusicplayer': 'nowplaying' | ||
| 24 | - }; | ||
| 25 | - var params = {target: uri, mimeType: mimeType}; | ||
| 26 | - if (crossAppScene[appid]) { | ||
| 27 | 20 | + Mojo.Log.error("Streaming: '%s' with '%s' (%s)", uri, appid, mimeType); | |
| 28 | 21 | + if(appid === 'com.palm.app.email') | |
| 29 | 22 | +{ | |
| … | … | ||
| 109 | 109 | + }.bind(this), | |
| 110 | 110 | + onAccept: function(cParams) { // STREAM | |
| 111 | 111 | + var params = {target: uri, mimeType: mimeType, appid: appid}; | |
| 112 | + // Only a few select applications can be | ||
| 112 | // Only a few select applications can be | ||
| 113 | - crossAppScene = { | ||
| 113 | 114 | + var crossAppScene = { | |
| 114 | + 'com.palm.app.videoplayer': 'nowplaying', | ||
| 115 | + 'com.palm.app.streamingmusicplayer': 'nowplaying' | ||
| 116 | + }; | ||
| 115 | 'com.palm.app.videoplayer': 'nowplaying', | ||
| 116 | 'com.palm.app.streamingmusicplayer': 'nowplaying' | ||
| 117 | }; | ||
| 118 | - var params = {target: uri, mimeType: mimeType}; | ||
| 117 | 119 | + //this._onPopupHandler('close'); | |
| 118 | + if (crossAppScene[appid]) { | ||
| 119 | + var args = { appId: appid, name: crossAppScene[appid] }; | ||
| 120 | + this.controller.stageController.pushScene(args, params); | ||
| 121 | + } | ||
| 122 | + else { | ||
| 123 | + this._downloadController.downloadResource(uri); | ||
| 124 | + } | ||
| 125 | + }.bind(this)}) | ||
| 126 | + }); | ||
| 127 | + // Record we have a popup | ||
| 128 | + //this._onPopupHandler('open'); | ||
| 129 | |||
| 130 | - var args = { appId: appid, name: crossAppScene[appid] }; | ||
| 131 | - this.controller.stageController.pushScene(args, params); | ||
| 132 | - } | ||
| 133 | - else { | ||
| 120 | if (crossAppScene[appid]) { | ||
| 121 | - | ||
| 122 | var args = { appId: appid, name: crossAppScene[appid] }; | ||
| 123 | this.controller.stageController.pushScene(args, params); | ||
| 124 | } | ||
| 125 | else { | ||
| 134 | 126 | - this.controller.serviceRequest('palm://com.palm.applicationManager', { | |
| 135 | 127 | - method: 'open', | |
| 136 | 128 | - parameters: { | |
| 137 | 129 | - 'id': appid, | |
| 138 | 130 | - 'params': params | |
| 139 | - } | ||
| 140 | - }); | ||
| 131 | + this._downloadController.downloadResource(uri); | ||
| 132 | } | ||
| 133 | + }.bind(this)}) | ||
| 134 | }); | ||
| 141 | 135 | - } | |
| 136 | + // Record we have a popup | ||
| 137 | + //this._onPopupHandler('open'); | ||
| 138 | + | ||
| 142 | 139 | }; | |
| 143 | 140 | ||
| 144 | 141 | /** | |
| 145 | @@ -2318,16 +2408,29 @@ PageAssistant.prototype._streamResource | ||
| 146 | */ | ||
| 147 | PageAssistant.prototype._downloadResource = function(uri) { | ||
| 148 | |||
| 149 | - Mojo.Log.info("Downloading: " + uri); | ||
| 150 | + Mojo.Log.info("Downloading: " + uri); | ||
| 151 | |||
| 152 | - try { | ||
| 153 | - // We should no longer download a resource but inform the user | ||
| 154 | - // we are unable to perform the download. | ||
| 142 | @@ -2323,11 +2413,24 @@ PageAssistant.prototype._downloadResource = function(uri) { | ||
| 143 | try { | ||
| 144 | // We should no longer download a resource but inform the user | ||
| 145 | // we are unable to perform the download. | ||
| 155 | 146 | - this.controller.showAlertDialog({ | |
| 156 | 147 | - onChoose: function(value) { /* Do Nothing */}, | |
| 157 | 148 | - message: $L('Cannot find an application which can open this file.'), | |
| 158 | 149 | - choices:[{label:$L('OK'), value:'1', type:'dismiss'}] | |
| 159 | - }); | ||
| 160 | + try { | ||
| 161 | + // We should no longer download a resource but inform the user | ||
| 162 | + // we are unable to perform the download. | ||
| 163 | 150 | + if (!this._downloadWidgetElement) { | |
| 164 | 151 | + this._downloadWidgetElement = this.controller.showDialog({ | |
| 165 | 152 | + template: 'download/download-popup', | |
| … | … | ||
| 160 | 160 | + //this._onPopupHandler('close'); | |
| 161 | 161 | + this._downloadController.downloadResource(uri); | |
| 162 | 162 | + }.bind(this)}) | |
| 163 | + }); | ||
| 163 | }); | ||
| 164 | 164 | + | |
| 165 | 165 | + // Record we have a popup | |
| 166 | 166 | + //this._onPopupHandler('open'); | |
| … | … | ||
| 168 | 168 | } catch (e) { | |
| 169 | 169 | Mojo.Log.logException(e, "#_downloadResource"); | |
| 170 | 170 | } | |
| 171 | @@ -3165,9 +3268,34 @@ PageAssistant.prototype._onKeyDownEvent | ||
| 172 | if (!this._addressBar.hasFocus() && !this._editorInPageFocused) { | ||
| 173 | // Only jump to the URL bar IF we are a valid keycode that is | ||
| 171 | @@ -3167,6 +3270,31 @@ PageAssistant.prototype._onKeyDownEvent = function(event) { | ||
| 174 | 172 | // allowed to trigger the bar. | |
| 175 | - if (this._addressBar.isAGotoAddressBarEvent(event.originalEvent)) { | ||
| 176 | - this._gotoUrlBar(); | ||
| 177 | - } | ||
| 178 | + if (this._addressBar.isAGotoAddressBarEvent(event.originalEvent)) { | ||
| 179 | + this._gotoUrlBar(); | ||
| 173 | if (this._addressBar.isAGotoAddressBarEvent(event.originalEvent)) { | ||
| 174 | this._gotoUrlBar(); | ||
| 180 | 175 | + } else { | |
| 181 | 176 | + var key = event.originalEvent.keyCode; | |
| 182 | 177 | + var scroller = this.controller.getSceneScroller(); | |
| … | … | ||
| 197 | 197 | + } else { | |
| 198 | 198 | + Mojo.Log.error("Ignoring keyCode", key); | |
| 199 | 199 | + } | |
| 200 | + } | ||
| 200 | } | ||
| 201 | 201 | } | |
| 202 | 202 | }; | |
| 203 | |||
| 204 | @@ -4956,8 +5084,10 @@ UrlBar.prototype.isAGotoUrlBarKey = func | ||
| 203 | @@ -4956,8 +5084,10 @@ UrlBar.prototype.isAGotoUrlBarKey = function(keycode) { | ||
| 205 | 204 | UrlBar.prototype.setOrientation = function(orientation) { | |
| 206 | 205 | ||
| 207 | 206 | if (orientation !== 'up') { | |
| … | … | ||
| 213 | 213 | this._hidePortrait(); | |
| 214 | 214 | } | |
| 215 | 215 | ||
| 216 | @@ -4984,6 +5114,12 @@ UrlBar.prototype.setup = function(proper | ||
| 216 | @@ -4984,6 +5114,12 @@ UrlBar.prototype.setup = function(properties) { | ||
| 217 | 217 | this._onPropertyChange = properties.onPropertyChange || function(){}; | |
| 218 | 218 | this._configOrientation(properties.orientation || 'up'); | |
| 219 | 219 | ||
| … | … | ||
| 226 | 226 | this.models = { | |
| 227 | 227 | urlInput: { | |
| 228 | 228 | template: 'page/url-field', | |
| 229 | @@ -5001,7 +5137,7 @@ UrlBar.prototype.setup = function(proper | ||
| 229 | @@ -5001,7 +5137,7 @@ UrlBar.prototype.setup = function(properties) { | ||
| 230 | 230 | url: '' | |
| 231 | 231 | }, | |
| 232 | 232 | ||
| … | … | ||
| 235 | 235 | }, | |
| 236 | 236 | ||
| 237 | 237 | // Beware: These are shallow copies. | |
| 238 | @@ -5327,12 +5463,25 @@ UrlBar.prototype._hidePortrait = functio | ||
| 238 | @@ -5327,12 +5463,25 @@ UrlBar.prototype._hidePortrait = function() { | ||
| 239 | 239 | this.controller.setMenuVisible(Mojo.Menu.viewMenu, false); | |
| 240 | 240 | }; | |
| 241 | 241 | ||
| … | … | ||
| 263 | 263 | }; | |
| 264 | 264 | ||
| 265 | 265 | UrlBar.prototype.isVisible = function() { | |
| 266 | @@ -5738,12 +5887,43 @@ Chrome.prototype._hidePortrait = functio | ||
| 266 | @@ -5738,12 +5887,43 @@ Chrome.prototype._hidePortrait = function() { | ||
| 267 | 267 | } | |
| 268 | 268 | }; | |
| 269 | 269 | ||
| … | … | ||
| 309 | 309 | }; | |
| 310 | 310 | ||
| 311 | 311 | Chrome.prototype.isVisible = function() { | |
| 312 | Index: /usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 313 | =================================================================== | ||
| 314 | --- .orig/usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 315 | +++ /usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 316 | @@ -1,20 +1,24 @@ | ||
| 317 | -<div id="view_menu_bkgnd"> | ||
| 318 | - <div id="view_menu_bkgnd_content_nochrome"></div> | ||
| 319 | -</div> | ||
| 320 | - | ||
| 321 | -<div id='web_view_panel' style="min-height:481px;"> | ||
| 322 | -<div id="web_view" x-mojo-element="WebView"></div> | ||
| 323 | -</div> | ||
| 324 | - | ||
| 325 | -<div id="urlSearch" class="browser-search"> | ||
| 326 | - <div class="search-results-container"> | ||
| 327 | - <div id="urlSearchScroller" class="search-results-wrapper" x-mojo-element="Scroller"> | ||
| 328 | - <div id="urlSearchList" class="palm-list" x-mojo-element="List"></div> | ||
| 329 | - </div> | ||
| 330 | - </div> | ||
| 331 | -</div> | ||
| 332 | -<div id="server-disconnected" class="palm-scrim"> | ||
| 333 | - <div id="server-disconnected-spinner" x-mojo-element="Spinner"></div> | ||
| 334 | -</div> | ||
| 335 | - | ||
| 336 | - | ||
| 337 | +<div id="view_menu_bkgnd"> | ||
| 338 | + <div id="view_menu_bkgnd_content_nochrome"></div> | ||
| 339 | +</div> | ||
| 340 | + | ||
| 341 | +<div id='web_view_panel' style="min-height:481px;"> | ||
| 342 | +<div id="web_view" x-mojo-element="WebView"></div> | ||
| 343 | +</div> | ||
| 344 | + | ||
| 345 | +<div id="urlSearch" class="browser-search"> | ||
| 346 | + <div class="search-results-container"> | ||
| 347 | + <div id="urlSearchScroller" class="search-results-wrapper" x-mojo-element="Scroller"> | ||
| 348 | + <div id="urlSearchList" class="palm-list" x-mojo-element="List"></div> | ||
| 349 | + </div> | ||
| 350 | + </div> | ||
| 351 | +</div> | ||
| 352 | +<div id="server-disconnected" class="palm-scrim"> | ||
| 353 | + <div id="server-disconnected-spinner" x-mojo-element="Spinner"></div> | ||
| 354 | +</div> | ||
| 312 | diff --git a/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html b/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 313 | index b5f171f..a838cda 100644 | ||
| 314 | --- a/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 315 | +++ b/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 316 | @@ -1,3 +1,3 @@ | ||
| 317 | <div x-mojo-elements="List" class="palm-list no-lines"> | ||
| 318 | - #{listElements} | ||
| 319 | + #{-listElements} | ||
| 320 | </div> | ||
| 321 | \ No newline at end of file | ||
| 322 | diff --git a/usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html b/usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 323 | index a8fc62d..68bad1b 100644 | ||
| 324 | --- a/usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 325 | +++ b/usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html | ||
| 326 | @@ -16,5 +16,9 @@ | ||
| 327 | <div id="server-disconnected" class="palm-scrim"> | ||
| 328 | <div id="server-disconnected-spinner" x-mojo-element="Spinner"></div> | ||
| 329 | </div> | ||
| 355 | 330 | +<div id="downloadListScroller" class="browser-download" x-mojo-element="Scroller"> | |
| 356 | 331 | + <div id="downloadList" class="palm-list" x-mojo-element="List"></div> | |
| 357 | 332 | +</div> | |
| 358 | 333 | + | |
| 359 | + | ||
| 360 | + | ||
| 361 | Index: /usr/palm/applications/com.palm.app.browser/sources.json | ||
| 362 | =================================================================== | ||
| 363 | --- .orig/usr/palm/applications/com.palm.app.browser/sources.json | ||
| 364 | +++ /usr/palm/applications/com.palm.app.browser/sources.json | ||
| 334 | |||
| 335 | |||
| 336 | diff --git a/usr/palm/applications/com.palm.app.browser/sources.json b/usr/palm/applications/com.palm.app.browser/sources.json | ||
| 337 | index bc485bf..74fb77a 100644 | ||
| 338 | --- a/usr/palm/applications/com.palm.app.browser/sources.json | ||
| 339 | +++ b/usr/palm/applications/com.palm.app.browser/sources.json | ||
| 365 | 340 | @@ -1,5 +1,17 @@ | |
| 366 | -[ | ||
| 367 | +[ | ||
| 341 | [ | ||
| 368 | 342 | { | |
| 369 | - "source": "app\/controllers\/global_code.js" | ||
| 370 | 343 | + "source":"app\/models\/download-model.js" | |
| 371 | 344 | + }, | |
| 372 | 345 | + { | |
| … | … | ||
| 352 | 352 | + "source":"app\/controllers\/downloaddialog-assistant.js" | |
| 353 | 353 | + }, | |
| 354 | 354 | + { | |
| 355 | + "source": "app\/controllers\/global_code.js" | ||
| 355 | "source": "app\/controllers\/global_code.js" | ||
| 356 | 356 | } | |
| 357 | 357 | ] | |
| 358 | Index: /usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js | ||
| 359 | =================================================================== | ||
| 360 | --- /dev/null | ||
| 361 | +++ /usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js | ||
| 362 | @@ -0,0 +1,46 @@ | ||
| 363 | +/** | ||
| 364 | + * A dialog assistant for display of yes/no box. | ||
| 365 | + */ | ||
| 366 | +DownloadDialogAssistant = Class.create({ | ||
| 367 | + | ||
| 368 | + initialize: function(params) { | ||
| 369 | + this.onDismiss = params.onDismiss; | ||
| 370 | + this.onAccept = params.onAccept; | ||
| 371 | + this.controller= params.sceneAssistant.controller; | ||
| 372 | + | ||
| 373 | + // Button handlers. | ||
| 374 | + this.onDismissHandler = this.handleDismiss.bindAsEventListener(this); | ||
| 375 | + this.onAcceptHandler = this.handleAccept.bindAsEventListener(this); | ||
| 376 | + }, | ||
| 377 | + | ||
| 378 | + setup: function(widget) { | ||
| 379 | + this.widget = widget; | ||
| 380 | + this.controller.get('acceptButton').addEventListener(Mojo.Event.tap, this.onAcceptHandler); | ||
| 381 | + this.controller.get('acceptButton').focus(); | ||
| 382 | + this.controller.get('dismissButton').addEventListener(Mojo.Event.tap, this.onDismissHandler); | ||
| 383 | + this.controller.get('dismissButton').focus(); | ||
| 384 | + }, | ||
| 385 | + | ||
| 386 | + handleDismiss: function() { | ||
| 387 | + this.onDismiss(); | ||
| 388 | + delete this.onDismiss; | ||
| 389 | + this.widget.mojo.close(); | ||
| 390 | + }, | ||
| 391 | + handleAccept: function() { | ||
| 392 | + this.onAccept(); | ||
| 393 | + delete this.onAccept; | ||
| 394 | + delete this.onDismiss; | ||
| 395 | + this.widget.mojo.close(); | ||
| 396 | + }, | ||
| 397 | + | ||
| 398 | + cleanup: function() { | ||
| 399 | + Mojo.Log.info("NetworkDialogAssistant#cleanup()"); | ||
| 400 | + Mojo.Event.stopListening(this.controller.get('dismissButton'), Mojo.Event.tap, this.onDismissHandler); | ||
| 401 | + Mojo.Event.stopListening(this.controller.get('acceptButton'), Mojo.Event.tap, this.onAcceptHandler); | ||
| 402 | + | ||
| 403 | + // Send a dismiss if NOT already sent a response | ||
| 404 | + if (this.onDismiss) { | ||
| 405 | + this.onDismiss(); | ||
| 406 | + } | ||
| 407 | + } | ||
| 408 | +}); | ||
| 409 | diff --git a/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html b/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 410 | index b5f171f..a838cda 100644 | ||
| 411 | --- a/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 412 | +++ b/usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html | ||
| 413 | @@ -1,3 +1,3 @@ | ||
| 414 | <div x-mojo-elements="List" class="palm-list no-lines"> | ||
| 415 | - #{listElements} | ||
| 416 | -</div> | ||
| 417 | \ No newline at end of file | ||
| 418 | + #{-listElements} | ||
| 419 | +</div> | ||
| 420 | Index: /usr/palm/applications/com.palm.app.browser/app/views/download/download-popup.html | ||
| 421 | =================================================================== | ||
| 422 | --- /dev/null | ||
| 423 | +++ /usr/palm/applications/com.palm.app.browser/app/views/download/download-popup.html | ||
| 424 | @@ -0,0 +1,8 @@ | ||
| 425 | +<div id="palm-dialog-content" class="palm-dialog-content"> | ||
| 426 | + <div class="dialog-message" x-mojo-loc=""> Cannot find an application which can open this file. Would you like to download it to /media/internal/downloads?</div> | ||
| 427 | +</div> | ||
| 428 | + | ||
| 429 | +<div class="palm-dialog-buttons"> | ||
| 430 | + <div class="dismiss palm-button" id="acceptButton" x-mojo-loc="" x-mojo-tap-highlight="momentary">Yes</div> | ||
| 431 | + <div class="dismiss palm-button" id="dismissButton" x-mojo-loc="" x-mojo-tap-highlight="momentary">No</div> | ||
| 432 | +</div> | ||
| 433 | Index: /usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html | ||
| 434 | =================================================================== | ||
| 435 | --- /dev/null | ||
| 436 | +++ /usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html | ||
| 437 | @@ -0,0 +1,8 @@ | ||
| 438 | +<div id="palm-dialog-content" class="palm-dialog-content"> | ||
| 439 | + <div class="dialog-message" x-mojo-loc="">This file type has been registered as a streaming media file. Would you like to download it to /media/internal/downloads instead?</div> | ||
| 440 | +</div> | ||
| 441 | + | ||
| 442 | +<div class="palm-dialog-buttons"> | ||
| 443 | + <div class="dismiss palm-button" id="acceptButton" x-mojo-loc="" x-mojo-tap-highlight="momentary">Stream</div> | ||
| 444 | + <div class="dismiss palm-button" id="dismissButton" x-mojo-loc="" x-mojo-tap-highlight="momentary">Download</div> | ||
| 445 | +</div> | ||
| 446 | Index: /usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 447 | =================================================================== | ||
| 448 | --- .orig/usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 449 | +++ /usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 358 | diff --git a/usr/palm/applications/com.palm.app.browser/stylesheets/browser.css b/usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 359 | index 4be566b..5a0f544 100644 | ||
| 360 | --- a/usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 361 | +++ b/usr/palm/applications/com.palm.app.browser/stylesheets/browser.css | ||
| 450 | 362 | @@ -753,7 +753,7 @@ div#historyScroller { | |
| 451 | 363 | } | |
| 452 | 364 |
clock/hidden-clock.patch
(13 / 21)
|   | |||
| 1 | Patch to enable "hidden" clock in the Clock app shipped | ||
| 2 | with WebOS 1.0.4. Also modded to show day and date. | ||
| 3 | |||
| 4 | Tested-On: 1.1 | ||
| 5 | |||
| 6 | Mod by frankos72 @ precentral and Phrozen | ||
| 7 | Patch submitted by JackieRipper | ||
| 8 | Index: /usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 9 | =================================================================== | ||
| 10 | --- .orig/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 11 | +++ /usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 2 | index 7652bf7..dbb4c5c 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js | ||
| 12 | 5 | @@ -91,8 +91,8 @@ | |
| 13 | 6 | } | |
| 14 | 7 | // format date | |
| … | … | ||
| 13 | 13 | } | |
| 14 | 14 | ||
| 15 | 15 | ManualanalogClockFunctions.prototype.alarm = function() { | |
| 16 | Index: /usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 17 | =================================================================== | ||
| 18 | --- .orig/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 19 | +++ /usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 16 | diff --git a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 17 | index 2b790e4..8cfb653 100644 | ||
| 18 | --- a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 19 | +++ b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html | ||
| 20 | 20 | @@ -1,8 +1,8 @@ | |
| 21 | 21 | ||
| 22 | 22 | <div class="clock-container"> | |
| … | … | ||
| 28 | 28 | ||
| 29 | 29 | <div id="hour"></div> | |
| 30 | 30 | <div id="minute"></div> | |
| 31 | Index: /usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 32 | =================================================================== | ||
| 33 | --- .orig/usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 34 | +++ /usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 31 | diff --git a/usr/palm/applications/com.palm.app.clock/themes/themes.json b/usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 32 | index 1f29438..272c7c7 100644 | ||
| 33 | --- a/usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 34 | +++ b/usr/palm/applications/com.palm.app.clock/themes/themes.json | ||
| 35 | 35 | @@ -10,5 +10,11 @@ | |
| 36 | 36 | "nicename":"Analog", | |
| 37 | 37 | "description":"", | |
| … | … | ||
| 43 | 43 | + "description":"", | |
| 44 | 44 | + "source": "themes/manualanalog/" | |
| 45 | 45 | } | |
| 46 | -] | ||
| 46 | ] | ||
| 47 | 47 | \ No newline at end of file | |
| 48 | +] |
frameworks/smiley-face-sym-box.patch
(66 / 88)
|   | |||
| 1 | 1 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/da_dk/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/da_dk/alternatechars_table.json | |
| 2 | index 4a5e5b1..2dee293 100644 | ||
| 2 | index 4a5e5b1..55f8270 100644 | ||
| 3 | 3 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/da_dk/alternatechars_table.json | |
| 4 | 4 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/da_dk/alternatechars_table.json | |
| 5 | 5 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 37 | 37 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 38 | 38 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 39 | 39 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 40 | -] | ||
| 41 | \ No newline at end of file | ||
| 42 | 40 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 43 | +] | ||
| 41 | ] | ||
| 42 | \ No newline at end of file | ||
| 44 | 43 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/de_ch/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/de_ch/alternatechars_table.json | |
| 45 | index 01b316b..2dee293 100644 | ||
| 44 | index 01b316b..55f8270 100644 | ||
| 46 | 45 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/de_ch/alternatechars_table.json | |
| 47 | 46 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/de_ch/alternatechars_table.json | |
| 48 | 47 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 77 | 77 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 78 | 78 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 79 | 79 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 80 | -] | ||
| 81 | \ No newline at end of file | ||
| 82 | 80 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 83 | +] | ||
| 81 | ] | ||
| 82 | \ No newline at end of file | ||
| 84 | 83 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/de_de/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/de_de/alternatechars_table.json | |
| 85 | index 01b316b..2dee293 100644 | ||
| 84 | index 01b316b..55f8270 100644 | ||
| 86 | 85 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/de_de/alternatechars_table.json | |
| 87 | 86 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/de_de/alternatechars_table.json | |
| 88 | 87 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 117 | 117 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 118 | 118 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 119 | 119 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 120 | -] | ||
| 121 | \ No newline at end of file | ||
| 122 | 120 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 123 | +] | ||
| 121 | ] | ||
| 122 | \ No newline at end of file | ||
| 124 | 123 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ca/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ca/alternatechars_table.json | |
| 125 | index 8180a5a..2dee293 100644 | ||
| 124 | index 8180a5a..55f8270 100644 | ||
| 126 | 125 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ca/alternatechars_table.json | |
| 127 | 126 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ca/alternatechars_table.json | |
| 128 | 127 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 161 | 161 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 162 | 162 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 163 | 163 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 164 | -] | ||
| 165 | \ No newline at end of file | ||
| 166 | 164 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 167 | +] | ||
| 165 | ] | ||
| 166 | \ No newline at end of file | ||
| 168 | 167 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_gb/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_gb/alternatechars_table.json | |
| 169 | index 8180a5a..2dee293 100644 | ||
| 168 | index 8180a5a..55f8270 100644 | ||
| 170 | 169 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_gb/alternatechars_table.json | |
| 171 | 170 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_gb/alternatechars_table.json | |
| 172 | 171 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 205 | 205 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 206 | 206 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 207 | 207 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 208 | -] | ||
| 209 | \ No newline at end of file | ||
| 210 | 208 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 211 | +] | ||
| 209 | ] | ||
| 210 | \ No newline at end of file | ||
| 212 | 211 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ie/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ie/alternatechars_table.json | |
| 213 | index 8180a5a..2dee293 100644 | ||
| 212 | index 8180a5a..55f8270 100644 | ||
| 214 | 213 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ie/alternatechars_table.json | |
| 215 | 214 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_ie/alternatechars_table.json | |
| 216 | 215 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 249 | 249 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 250 | 250 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 251 | 251 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 252 | -] | ||
| 253 | \ No newline at end of file | ||
| 254 | 252 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 255 | +] | ||
| 253 | ] | ||
| 254 | \ No newline at end of file | ||
| 256 | 255 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_pl/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_pl/alternatechars_table.json | |
| 257 | index 8180a5a..2dee293 100644 | ||
| 256 | index 8180a5a..55f8270 100644 | ||
| 258 | 257 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_pl/alternatechars_table.json | |
| 259 | 258 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_pl/alternatechars_table.json | |
| 260 | 259 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 293 | 293 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 294 | 294 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 295 | 295 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 296 | -] | ||
| 297 | \ No newline at end of file | ||
| 298 | 296 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 299 | +] | ||
| 297 | ] | ||
| 298 | \ No newline at end of file | ||
| 300 | 299 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/alternatechars_table.json | |
| 301 | index 8180a5a..2dee293 100644 | ||
| 300 | index 8180a5a..55f8270 100644 | ||
| 302 | 301 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/alternatechars_table.json | |
| 303 | 302 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/alternatechars_table.json | |
| 304 | 303 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 337 | 337 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 338 | 338 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 339 | 339 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 340 | -] | ||
| 341 | \ No newline at end of file | ||
| 342 | 340 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 343 | +] | ||
| 341 | ] | ||
| 342 | \ No newline at end of file | ||
| 344 | 343 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_es/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_es/alternatechars_table.json | |
| 345 | index 487afa5..2dee293 100644 | ||
| 344 | index 487afa5..55f8270 100644 | ||
| 346 | 345 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_es/alternatechars_table.json | |
| 347 | 346 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_es/alternatechars_table.json | |
| 348 | 347 | @@ -10,7 +10,7 @@ | |
| … | … | ||
| 358 | 358 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 359 | 359 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 360 | 360 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 361 | -] | ||
| 362 | \ No newline at end of file | ||
| 363 | 361 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 364 | +] | ||
| 362 | ] | ||
| 363 | \ No newline at end of file | ||
| 365 | 364 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_mx/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_mx/alternatechars_table.json | |
| 366 | index 487afa5..2dee293 100644 | ||
| 365 | index 487afa5..55f8270 100644 | ||
| 367 | 366 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_mx/alternatechars_table.json | |
| 368 | 367 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_mx/alternatechars_table.json | |
| 369 | 368 | @@ -10,7 +10,7 @@ | |
| … | … | ||
| 379 | 379 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 380 | 380 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 381 | 381 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 382 | -] | ||
| 383 | \ No newline at end of file | ||
| 384 | 382 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 385 | +] | ||
| 383 | ] | ||
| 384 | \ No newline at end of file | ||
| 386 | 385 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_us/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_us/alternatechars_table.json | |
| 387 | index 487afa5..2dee293 100644 | ||
| 386 | index 487afa5..55f8270 100644 | ||
| 388 | 387 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/es_us/alternatechars_table.json | |
| 389 | 388 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/es_us/alternatechars_table.json | |
| 390 | 389 | @@ -10,7 +10,7 @@ | |
| … | … | ||
| 400 | 400 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 401 | 401 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 402 | 402 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 403 | -] | ||
| 404 | \ No newline at end of file | ||
| 405 | 403 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 406 | +] | ||
| 404 | ] | ||
| 405 | \ No newline at end of file | ||
| 407 | 406 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/fi_fi/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/fi_fi/alternatechars_table.json | |
| 408 | index f8a90e5..2dee293 100644 | ||
| 407 | index f8a90e5..55f8270 100644 | ||
| 409 | 408 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/fi_fi/alternatechars_table.json | |
| 410 | 409 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/fi_fi/alternatechars_table.json | |
| 411 | 410 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 441 | 441 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 442 | 442 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 443 | 443 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 444 | -] | ||
| 445 | \ No newline at end of file | ||
| 446 | 444 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 447 | +] | ||
| 445 | ] | ||
| 446 | \ No newline at end of file | ||
| 448 | 447 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ca/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ca/alternatechars_table.json | |
| 449 | index 405065a..2dee293 100644 | ||
| 448 | index 405065a..55f8270 100644 | ||
| 450 | 449 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ca/alternatechars_table.json | |
| 451 | 450 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ca/alternatechars_table.json | |
| 452 | 451 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 482 | 482 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 483 | 483 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 484 | 484 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 485 | -] | ||
| 486 | \ No newline at end of file | ||
| 487 | 485 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 488 | +] | ||
| 486 | ] | ||
| 487 | \ No newline at end of file | ||
| 489 | 488 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ch/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ch/alternatechars_table.json | |
| 490 | index 405065a..2dee293 100644 | ||
| 489 | index 405065a..55f8270 100644 | ||
| 491 | 490 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ch/alternatechars_table.json | |
| 492 | 491 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_ch/alternatechars_table.json | |
| 493 | 492 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 523 | 523 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 524 | 524 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 525 | 525 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 526 | -] | ||
| 527 | \ No newline at end of file | ||
| 528 | 526 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 529 | +] | ||
| 527 | ] | ||
| 528 | \ No newline at end of file | ||
| 530 | 529 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_fr/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_fr/alternatechars_table.json | |
| 531 | index 405065a..2dee293 100644 | ||
| 530 | index 405065a..55f8270 100644 | ||
| 532 | 531 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_fr/alternatechars_table.json | |
| 533 | 532 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/fr_fr/alternatechars_table.json | |
| 534 | 533 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 564 | 564 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 565 | 565 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 566 | 566 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 567 | -] | ||
| 568 | \ No newline at end of file | ||
| 569 | 567 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 570 | +] | ||
| 568 | ] | ||
| 569 | \ No newline at end of file | ||
| 571 | 570 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/it_it/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/it_it/alternatechars_table.json | |
| 572 | index c118bfa..2dee293 100644 | ||
| 571 | index c118bfa..55f8270 100644 | ||
| 573 | 572 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/it_it/alternatechars_table.json | |
| 574 | 573 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/it_it/alternatechars_table.json | |
| 575 | 574 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 605 | 605 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 606 | 606 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 607 | 607 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 608 | -] | ||
| 609 | \ No newline at end of file | ||
| 610 | 608 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 611 | +] | ||
| 609 | ] | ||
| 610 | \ No newline at end of file | ||
| 612 | 611 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/nb_no/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/nb_no/alternatechars_table.json | |
| 613 | index 6239079..2dee293 100644 | ||
| 612 | index 6239079..55f8270 100644 | ||
| 614 | 613 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/nb_no/alternatechars_table.json | |
| 615 | 614 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/nb_no/alternatechars_table.json | |
| 616 | 615 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 647 | 647 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 648 | 648 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 649 | 649 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 650 | -] | ||
| 651 | \ No newline at end of file | ||
| 652 | 650 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 653 | +] | ||
| 651 | ] | ||
| 652 | \ No newline at end of file | ||
| 654 | 653 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/nl_nl/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/nl_nl/alternatechars_table.json | |
| 655 | index 826f97b..2dee293 100644 | ||
| 654 | index 826f97b..55f8270 100644 | ||
| 656 | 655 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/nl_nl/alternatechars_table.json | |
| 657 | 656 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/nl_nl/alternatechars_table.json | |
| 658 | 657 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 688 | 688 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 689 | 689 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 690 | 690 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 691 | -] | ||
| 692 | \ No newline at end of file | ||
| 693 | 691 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 694 | +] | ||
| 692 | ] | ||
| 693 | \ No newline at end of file | ||
| 695 | 694 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/pl_pl/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/pl_pl/alternatechars_table.json | |
| 696 | index 822f0fb..2dee293 100644 | ||
| 695 | index 822f0fb..55f8270 100644 | ||
| 697 | 696 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/pl_pl/alternatechars_table.json | |
| 698 | 697 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/pl_pl/alternatechars_table.json | |
| 699 | 698 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 731 | 731 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 732 | 732 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 733 | 733 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 734 | -] | ||
| 735 | \ No newline at end of file | ||
| 736 | 734 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 737 | +] | ||
| 735 | ] | ||
| 736 | \ No newline at end of file | ||
| 738 | 737 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_br/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_br/alternatechars_table.json | |
| 739 | index 61457f0..2dee293 100644 | ||
| 738 | index 61457f0..55f8270 100644 | ||
| 740 | 739 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_br/alternatechars_table.json | |
| 741 | 740 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_br/alternatechars_table.json | |
| 742 | 741 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 772 | 772 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 773 | 773 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 774 | 774 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 775 | -] | ||
| 776 | \ No newline at end of file | ||
| 777 | 775 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 778 | +] | ||
| 776 | ] | ||
| 777 | \ No newline at end of file | ||
| 779 | 778 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_pt/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_pt/alternatechars_table.json | |
| 780 | index 61457f0..2dee293 100644 | ||
| 779 | index 61457f0..55f8270 100644 | ||
| 781 | 780 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_pt/alternatechars_table.json | |
| 782 | 781 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/pt_pt/alternatechars_table.json | |
| 783 | 782 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 813 | 813 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 814 | 814 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 815 | 815 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 816 | -] | ||
| 817 | \ No newline at end of file | ||
| 818 | 816 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 819 | +] | ||
| 817 | ] | ||
| 818 | \ No newline at end of file | ||
| 820 | 819 | diff --git a/usr/palm/frameworks/mojo/submissions/191.15/resources/sv_se/alternatechars_table.json b/usr/palm/frameworks/mojo/submissions/191.15/resources/sv_se/alternatechars_table.json | |
| 821 | index e1f190f..2dee293 100644 | ||
| 820 | index e1f190f..55f8270 100644 | ||
| 822 | 821 | --- a/usr/palm/frameworks/mojo/submissions/191.15/resources/sv_se/alternatechars_table.json | |
| 823 | 822 | +++ b/usr/palm/frameworks/mojo/submissions/191.15/resources/sv_se/alternatechars_table.json | |
| 824 | 823 | @@ -2,28 +2,28 @@ | |
| … | … | ||
| 854 | 854 | {"keyCode": 88, "letter":"x", "list": ["×","¤"]}, | |
| 855 | 855 | {"keyCode": 89, "letter":"y", "list": ["ÿ","ý","Ÿ","Ý","¥","[","]","{","}","<",">","«","»"]}, | |
| 856 | 856 | - {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•"]} | |
| 857 | -] | ||
| 858 | \ No newline at end of file | ||
| 859 | 857 | + {"keyCode": 90, "letter":"z", "list": ["ž","Ž","•",":doh",":mad",":wtf",":cool",":cry",":eek",":sad",":omg",":grin",":kiss",":lol",":evil",":meh",":sick",":smile",":wink",":yuck",":eww",":heart",":angel",":redface"]} | |
| 860 | +] | ||
| 858 | ] | ||
| 859 | \ No newline at end of file |
messaging/charcounter.patch
(4 / 29)
|   | |||
| 2 | 2 | index 0c816ba..e69aa92 100644 | |
| 3 | 3 | --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | |
| 4 | 4 | +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | |
| 5 | @@ -160,7 +160,12 @@ var ChatviewAssistant = Class.create({ | ||
| 5 | @@ -160,6 +160,11 @@ var ChatviewAssistant = Class.create({ | ||
| 6 | 6 | segmentCountContainer: this.controller.get('segmentCounterContainer'), | |
| 7 | 7 | segmentCountElement: this.controller.get('segmentCounter'), | |
| 8 | 8 | setTextFieldValueFn: this.setTextFieldValue.bind(this) | |
| 9 | - } | ||
| 10 | 9 | + }, | |
| 11 | 10 | + charCounter: { | |
| 12 | 11 | + charCountContainer: this.controller.get('charCounterContainer'), | |
| 13 | 12 | + charCountElement: this.controller.get('charCounter'), | |
| 14 | 13 | + setTextFieldValueFn: this.setTextFieldValue.bind(this) | |
| 15 | + } | ||
| 14 | } | ||
| 16 | 15 | }; | |
| 17 | 16 | ||
| 18 | this.characterCounter = new CharacterCounter(this.controller,this.Messaging.messagingPrefs.platformType,this.messageTextElement,charCounterParams); | ||
| 19 | @@ -2115,4 +2120,4 @@ var ChatviewAssistant = Class.create({ | ||
| 20 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 21 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 22 | } | ||
| 23 | -}); | ||
| 24 | \ No newline at end of file | ||
| 25 | +}); | ||
| 26 | 17 | diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js | |
| 27 | 18 | index e023a89..2d4c30d 100644 | |
| 28 | 19 | --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js | |
| 29 | 20 | +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js | |
| 30 | @@ -140,7 +140,12 @@ var ComposeAssistant = Class.create({ | ||
| 21 | @@ -140,6 +140,11 @@ var ComposeAssistant = Class.create({ | ||
| 31 | 22 | segmentCountContainer: this.controller.get('segmentCounterContainer'), | |
| 32 | 23 | segmentCountElement: this.controller.get('segmentCounter'), | |
| 33 | 24 | setTextFieldValueFn: this.setTextFieldValue.bind(this) | |
| 34 | - } | ||
| 35 | 25 | + }, | |
| 36 | 26 | + charCounter: { | |
| 37 | 27 | + charCountContainer: this.controller.get('charCounterContainer'), | |
| 38 | 28 | + charCountElement: this.controller.get('charCounter'), | |
| 39 | 29 | + setTextFieldValueFn: this.setTextFieldValue.bind(this) | |
| 40 | + } | ||
| 30 | } | ||
| 41 | 31 | }; | |
| 42 | 32 | ||
| 43 | this.characterCounter = new CharacterCounter(this.controller,this.Messaging.messagingPrefs.platformType,this.messageTextElement,charCounterParams); | ||
| 44 | 33 | diff --git a/usr/palm/applications/com.palm.app.messaging/app/utilities/CharacterCounter.js b/usr/palm/applications/com.palm.app.messaging/app/utilities/CharacterCounter.js | |
| 45 | 34 | index 9e0cbc6..ea22829 100644 | |
| 46 | 35 | --- a/usr/palm/applications/com.palm.app.messaging/app/utilities/CharacterCounter.js | |
| … | … | ||
| 101 | 101 | if (_maxLength > 0) | |
| 102 | 102 | setOverLimit(messageData.isOverLimit); | |
| 103 | 103 | setCurrentSegmentCount(messageData.segmentCount); | |
| 104 | @@ -329,4 +359,4 @@ var CharacterCounter = Class.create({ | ||
| 105 | characterCounter.init(controller,platformType,textAreaElement,params); | ||
| 106 | Object.extend(this,characterCounter); | ||
| 107 | } | ||
| 108 | -}); | ||
| 109 | \ No newline at end of file | ||
| 110 | +}); | ||
| 111 | 104 | diff --git a/usr/palm/applications/com.palm.app.messaging/app/views/chatview/chatview-scene.html b/usr/palm/applications/com.palm.app.messaging/app/views/chatview/chatview-scene.html | |
| 112 | 105 | index d0d8745..7ecb65a 100644 | |
| 113 | 106 | --- a/usr/palm/applications/com.palm.app.messaging/app/views/chatview/chatview-scene.html | |
| … | … | ||
| 159 | 159 | #messageContainer #attachmentContainer { | |
| 160 | 160 | position: relative; | |
| 161 | 161 | margin-top:10px; | |
| 162 | @@ -1152,4 +1169,4 @@ img.avatar-overlay { | ||
| 163 | } | ||
| 164 | #im-links .palm-row .title { | ||
| 165 | padding: 9px 14px; | ||
| 166 | -} | ||
| 167 | \ No newline at end of file | ||
| 168 | +} |
|   | |||
| 35 | 35 | if (event && Mojo.Char.isEnterKey(event.keyCode)) { | |
| 36 | 36 | this.considerForSend(); | |
| 37 | 37 | Event.stop(event); | |
| 38 | @@ -2115,4 +2141,4 @@ var ChatviewAssistant = Class.create({ | ||
| 39 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 40 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 41 | } | ||
| 42 | -}); | ||
| 43 | \ No newline at end of file | ||
| 44 | +}); |
messaging/messaging-timestamps.patch
(12 / 27)
|   | |||
| 1 | Patch to add time stamps to all text messages. | ||
| 2 | Index: /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 3 | =================================================================== | ||
| 4 | --- .orig/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 5 | +++ /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 2 | index 0c816ba..37f0501 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js | ||
| 6 | 5 | @@ -1212,6 +1212,9 @@ var ChatviewAssistant = Class.create({ | |
| 7 | 6 | preFormatChatList: function(stuff){ | |
| 8 | 7 | for(var i=0; i<stuff.list.length; i++) { | |
| … | … | ||
| 21 | 21 | ||
| 22 | 22 | // if the INCOMING message was sent longer than 10 minutes before it arrived on device, | |
| 23 | 23 | // add sent date to indicate that this delay happened | |
| 24 | @@ -2115,4 +2118,4 @@ var ChatviewAssistant = Class.create({ | ||
| 25 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 26 | this.controller.sceneScroller.mojo.revealBottom(); | ||
| 27 | } | ||
| 28 | -}); | ||
| 29 | \ No newline at end of file | ||
| 30 | +}); | ||
| 31 | Index: /usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 32 | =================================================================== | ||
| 33 | --- .orig/usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 34 | +++ /usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 24 | diff --git a/usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html b/usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 25 | index 97ff521..95b2ba6 100644 | ||
| 26 | --- a/usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 27 | +++ b/usr/palm/applications/com.palm.app.messaging/app/views/chatview/message/message-text.html | ||
| 35 | 28 | @@ -1 +1 @@ | |
| 36 | 29 | -<div class="messageText">#{-messageText} #{-errorContent}</div> | |
| 37 | 30 | \ No newline at end of file | |
| 38 | 31 | +<div class="messageText"><span class="timeStamp">#{-timeStampText}</span><pre>#{-messageText}</pre> #{-errorContent}</div> | |
| 39 | Index: /usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 40 | =================================================================== | ||
| 41 | --- .orig/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 42 | +++ /usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 32 | diff --git a/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css b/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 33 | index fe6127a..5eceb3d 100644 | ||
| 34 | --- a/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 35 | +++ b/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css | ||
| 43 | 36 | @@ -659,6 +659,18 @@ img.avatar-overlay { | |
| 44 | 37 | font-size:14px; | |
| 45 | 38 | } | |
| … | … | ||
| 52 | 52 | .my-chat .chat-balloon-wrapper, | |
| 53 | 53 | .their-chat .chat-balloon-wrapper { | |
| 54 | 54 | padding: 1px 0; | |
| 55 | @@ -1152,4 +1164,4 @@ img.avatar-overlay { | ||
| 56 | } | ||
| 57 | #im-links .palm-row .title { | ||
| 58 | padding: 9px 14px; | ||
| 59 | -} | ||
| 60 | \ No newline at end of file | ||
| 61 | +} |
|   | |||
| 1 | This patch modifies the Sounds & Rintones app, allowing you | ||
| 2 | to specify tones for alerts, notifications and new messages. | ||
| 3 | This patch should be used in conjunction with the | ||
| 4 | messaging-sounds.patch and is unneeded if you are using | ||
| 5 | the MyNotifications homebrew app. | ||
| 6 | Index: /usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 7 | =================================================================== | ||
| 8 | --- .orig/usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 9 | +++ /usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 10 | @@ -81,9 +81,15 @@ var SoundsalertsconfigAssistant = Class. | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js b/usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 2 | index 1280518..09c20c7 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.soundsandalerts/app/controllers/soundsalertsconfig-assistant.js | ||
| 5 | @@ -81,9 +81,15 @@ var SoundsalertsconfigAssistant = Class.create({ | ||
| 11 | 6 | ||
| 12 | 7 | ||
| 13 | 8 | $('currentringtonerow').observe(Mojo.Event.tap, this.showAudioFilePicker.bindAsEventListener(this)); | |
| … | … | ||
| 18 | 18 | this.getVibrateSettings(); | |
| 19 | 19 | this.getOtherSettings(); | |
| 20 | 20 | ||
| 21 | @@ -239,6 +245,85 @@ var SoundsalertsconfigAssistant = Class. | ||
| 22 | this.setRingtoneReq = SystemService.setRingtone(file); | ||
| 21 | @@ -240,6 +246,85 @@ var SoundsalertsconfigAssistant = Class.create({ | ||
| 23 | 22 | $('currentringtone').innerHTML = file.name; | |
| 24 | 23 | }, | |
| 25 | + | ||
| 24 | |||
| 26 | 25 | + // Alert Picking | |
| 27 | 26 | + getCurrentAlert: function() { | |
| 28 | 27 | + this.getCurrentAlertReq = SystemService.getAlerts(this.getCurrentAlertQuery.bind(this)); | |
| … | … | ||
| 100 | 100 | + this.setMessageReq = SystemService.setMessages(file); | |
| 101 | 101 | + $('currentmessage').innerHTML = file.name; | |
| 102 | 102 | + }, | |
| 103 | |||
| 103 | + | ||
| 104 | 104 | getVibrateSettings: function() { | |
| 105 | 105 | this.getVibrateSettingsReq = AudioService.getVibrateSettings(this.vibrateSettingsCB.bind(this),this); | |
| 106 | Index: /usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 107 | =================================================================== | ||
| 108 | --- .orig/usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 109 | +++ /usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 110 | @@ -28,6 +28,60 @@ SystemService.getRingtone = function(cal | ||
| 106 | }, | ||
| 107 | diff --git a/usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js b/usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 108 | index c5babe5..cdf2383 100644 | ||
| 109 | --- a/usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 110 | +++ b/usr/palm/applications/com.palm.app.soundsandalerts/app/models/SystemService.js | ||
| 111 | @@ -28,6 +28,60 @@ SystemService.getRingtone = function(callback) { | ||
| 111 | 112 | return request; | |
| 112 | 113 | } | |
| 113 | 114 | ||
| … | … | ||
| 169 | 169 | SystemService.getSystemUISounds = function(callback) { | |
| 170 | 170 | var request = new Mojo.Service.Request(SystemService.identifier, { | |
| 171 | 171 | method: 'getPreferences', | |
| 172 | @@ -140,4 +194,4 @@ SystemService.getSystemlockMode = functi | ||
| 173 | onFailure: callback | ||
| 174 | }); | ||
| 175 | return request; | ||
| 176 | -} | ||
| 177 | \ No newline at end of file | ||
| 178 | +} | ||
| 179 | Index: /usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 180 | =================================================================== | ||
| 181 | --- .orig/usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 182 | +++ /usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 172 | diff --git a/usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html b/usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 173 | index 88a6b73..52cc968 100644 | ||
| 174 | --- a/usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 175 | +++ b/usr/palm/applications/com.palm.app.soundsandalerts/app/views/soundsalertsconfig/soundsalertsconfig-scene.html | ||
| 183 | 176 | @@ -48,9 +48,27 @@ | |
| 184 | 177 | </div> | |
| 185 | 178 | </div> | |
| … | … | ||
| 202 | 202 | <div x-mojo-element="Slider" id='systemvolume' class="palm-slider"></div> | |
| 203 | 203 | </div> | |
| 204 | 204 | </div> | |
| 205 | @@ -64,4 +82,4 @@ | ||
| 206 | </div> | ||
| 207 | </div> | ||
| 208 | </div> | ||
| 209 | -</div> | ||
| 210 | \ No newline at end of file | ||
| 211 | +</div> |

