Commit 890bd1d0c78003dd7747cbcf1197381db4ca6d04
- Diff rendering mode:
- inline
- side by side
calendar/all-day-events-in-month-view.patch
(38 / 40)
|   | |||
| 1 | Modifies the month controller to show allday events in the month scene by changing the background of the cell to a light blue. | ||
| 2 | Index: /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 3 | =================================================================== | ||
| 4 | --- .orig/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 5 | +++ /usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 6 | @@ -25,11 +25,25 @@ var MonthAssistant = Class.create({ | ||
| 7 | this.scrollerModel = { scrollbars: false, mode: "vertical-snap", snapIndex: 0, snapElements: { y: [] } }; | ||
| 8 | }, | ||
| 9 | |||
| 1 | diff --git a/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js b/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 2 | index 2e1429e..14e7bda 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.calendar/app/controllers/month-assistant.js | ||
| 5 | @@ -27,11 +27,25 @@ var MonthAssistant = Class.create({ | ||
| 6 | this.scrollerModel = { scrollbars: false, mode: "vertical-snap", snapIndex: 0, snapElements: { y: [] } }; | ||
| 7 | }, | ||
| 8 | |||
| 10 | 9 | + fullEvts: null, | |
| 11 | + | ||
| 12 | setupMonth: function(startDate, endDate, callbackfn) | ||
| 13 | { | ||
| 14 | + getCalendarService().getEvents(getCurrentCal(),startDate.getTime(), endDate.getTime(), | ||
| 15 | + this.getEventsCallback.bind(this), | ||
| 16 | + this.controller, | ||
| 17 | + this.getEventsFailCallback, | ||
| 18 | + {useSlices: true} | ||
| 10 | + | ||
| 11 | setupMonth: function(startDate, endDate, callbackfn) | ||
| 12 | { | ||
| 13 | + getCalendarService().getEvents(getCurrentCal(),startDate.getTime(),endDate.getTime(), | ||
| 14 | + this.getEventsCallback.bind(this), | ||
| 15 | + this.controller, | ||
| 16 | + this.getEventsFailCallback, | ||
| 17 | + {useSlices: true} | ||
| 19 | 18 | + ); | |
| 20 | getCalendarService().getBusyDays(getCurrentCal(), startDate.getTime(), endDate.getTime(), callbackfn, this.controller); | ||
| 21 | }, | ||
| 22 | - | ||
| 19 | getCalendarService().getBusyDays(getCurrentCal(), startDate.getTime(), endDate.getTime(), callbackfn, this.controller); | ||
| 20 | }, | ||
| 21 | |||
| 22 | + getEventsCallback: function(resp) | ||
| 23 | + { | ||
| 24 | + Mojo.Log.info('month-assistant:getEventsCallback'); | ||
| 25 | + this.fullEvts = resp.days; | ||
| 26 | + }, | ||
| 23 | 27 | + | |
| 24 | + getEventsCallback: function(resp) | ||
| 25 | + { | ||
| 26 | +Mojo.Log.info('month-assistant:getEventsCallback'); | ||
| 27 | + this.fullEvts = resp.days; | ||
| 28 | + }, | ||
| 29 | + | ||
| 30 | buildViewHeader: function() | ||
| 31 | { | ||
| 32 | //Mojo.Log.info("month-assistant: buildViewHeader"); | ||
| 33 | @@ -342,6 +356,10 @@ var MonthAssistant = Class.create({ | ||
| 34 | 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 | ||
| 35 | for (var d = 0; d < daylen; d++) | ||
| 36 | { | ||
| 37 | + if (this.fullEvts[d].allDayEvents.length > 0) | ||
| 38 | + { | ||
| 39 | + dayCell.style.backgroundColor = '#99ccff'; | ||
| 40 | + } | ||
| 41 | var day = this._token2state(days.charCodeAt(d)); | ||
| 42 | |||
| 43 | var child = dayCell.firstChild; | ||
| 28 | buildViewHeader: function() | ||
| 29 | { | ||
| 30 | //Mojo.Log.info("month-assistant: buildViewHeader"); | ||
| 31 | @@ -370,6 +384,10 @@ var MonthAssistant = Class.create({ | ||
| 32 | 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 | ||
| 33 | for (var d = 0; d < daylen; d++) | ||
| 34 | { | ||
| 35 | + if (this.fullEvts[d].allDayEvents.length > 0) | ||
| 36 | + { | ||
| 37 | + dayCel.style.backgroundColor = '#99ccff'; | ||
| 38 | + } | ||
| 39 | var day = this._token2state(days.charCodeAt(d)); | ||
| 40 | |||
| 41 | var child = dayCell.firstChild; |
luna/disable-charging-alert-sound.patch
(6 / 8)
|   | |||
| 1 | disable-charging-alert-sound.patch | ||
| 2 | |||
| 3 | Index: /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 4 | =================================================================== | ||
| 5 | --- .orig/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 6 | +++ /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 7 | @@ -1264,7 +1264,7 @@ handlePowerNotifications: function(paylo | ||
| 1 | diff --git a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 2 | index f343ce2..6f9bcd3 100644 | ||
| 3 | --- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 4 | +++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 5 | @@ -1479,7 +1479,7 @@ handlePowerNotifications: function(payload) { | ||
| 8 | 6 | this.controller.showBanner({ | |
| 9 | 7 | messageText: batteryalert, | |
| 10 | 8 | icon: "/usr/lib/luna/system/luna-systemui/images/notification-small-charging.png", | |
| 11 | - soundClass: "alerts" | ||
| 9 | - soundClass: soundClassName | ||
| 12 | 10 | + soundClass: "" | |
| 13 | 11 | },null, 'chargingAlert'); | |
| 14 | 12 | } |
luna/enable-dev-mode-icon.patch
(6 / 7)
|   | |||
| 1 | // enable the dev mode icon in launcher | ||
| 2 | Index: /usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 3 | =================================================================== | ||
| 4 | --- .orig/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 5 | +++ /usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json b/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 2 | index 7d9da85..c0f2522 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json | ||
| 6 | 5 | @@ -5,6 +5,6 @@ | |
| 7 | 6 | "id": "com.palm.app.devmodeswitcher", | |
| 8 | 7 | "icon": "icon.png", | |
| 9 | 8 | "noWindow": false, | |
| 10 | - "visible": false | ||
| 11 | + "visible": true | ||
| 9 | - "visible": false | ||
| 10 | + "visible": true | ||
| 12 | 11 | } | |
| 13 | 12 |
luna/vibrate-charging-alert-sound.patch
(13 / 0)
|   | |||
| 1 | diff --git a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 2 | index f343ce2..c7f389b 100644 | ||
| 3 | --- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 4 | +++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js | ||
| 5 | @@ -1479,7 +1479,7 @@ handlePowerNotifications: function(payload) { | ||
| 6 | this.controller.showBanner({ | ||
| 7 | messageText: batteryalert, | ||
| 8 | icon: "/usr/lib/luna/system/luna-systemui/images/notification-small-charging.png", | ||
| 9 | - soundClass: soundClassName | ||
| 10 | + soundClass: "vibrate" | ||
| 11 | },null, 'chargingAlert'); | ||
| 12 | } | ||
| 13 | this.chargingBannerShown = true; |
nascar/hide-nascar-app.patch
(13 / 0)
|   | |||
| 1 | diff --git a/usr/palm/applications/com.handson.app.nascar/appinfo.json b/usr/palm/applications/com.handson.app.nascar/appinfo.json | ||
| 2 | index 1a4252a..3425a00 100644 | ||
| 3 | --- a/usr/palm/applications/com.handson.app.nascar/appinfo.json | ||
| 4 | +++ b/usr/palm/applications/com.handson.app.nascar/appinfo.json | ||
| 5 | @@ -6,6 +6,7 @@ | ||
| 6 | "icon": "icon.png", | ||
| 7 | "version": "1.14", | ||
| 8 | "vendor": "Hands-On Mobile", | ||
| 9 | - "vendorurl": "http://www.handson.com" | ||
| 10 | + "vendorurl": "http://www.handson.com", | ||
| 11 | + "visible": false | ||
| 12 | } | ||
| 13 |
nfl/hide-nfl-app.patch
(13 / 0)
|   | |||
| 1 | diff --git a/usr/palm/applications/com.handson.app.nfl/appinfo.json b/usr/palm/applications/com.handson.app.nfl/appinfo.json | ||
| 2 | index 1fca174..3d40d04 100644 | ||
| 3 | --- a/usr/palm/applications/com.handson.app.nfl/appinfo.json | ||
| 4 | +++ b/usr/palm/applications/com.handson.app.nfl/appinfo.json | ||
| 5 | @@ -6,6 +6,7 @@ | ||
| 6 | "icon": "icon.png", | ||
| 7 | "version": "1.25", | ||
| 8 | "vendor": "Hands-On Mobile", | ||
| 9 | - "vendorurl": "http://www.handson.com" | ||
| 10 | + "vendorurl": "http://www.handson.com", | ||
| 11 | + "visible": false | ||
| 12 | } | ||
| 13 |
phone/phone-enable-roam-only.patch
(6 / 10)
|   | |||
| 1 | phone-enable-roam-only | ||
| 2 | |||
| 3 | Tested-On: 1.1 | ||
| 4 | |||
| 5 | Index: /usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 6 | =================================================================== | ||
| 7 | --- .orig/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 8 | +++ /usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 9 | @@ -223,7 +223,8 @@ var PreflistAssistant = Class.create({ | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 2 | index 4c1b0e2..97610bf 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 5 | @@ -224,7 +224,8 @@ var PreflistAssistant = Class.create({ | ||
| 10 | 6 | ||
| 11 | 7 | this.voiceRoamingChoices = [ | |
| 12 | 8 | {label: this.carrierOnlyLabel,value: "homeonly"}, | |
| … | … | ||
| 12 | 12 | ], | |
| 13 | 13 | ||
| 14 | 14 | this.voiceRoamingModel = { | |
| 15 | @@ -1220,6 +1221,11 @@ voiceNumberSetDone: function(payload){ | ||
| 15 | @@ -1230,6 +1231,11 @@ voiceNumberSetDone: function(payload){ | ||
| 16 | 16 | $('dataroamingrow').show(); | |
| 17 | 17 | $('voiceRoamingRow').removeClassName('last'); | |
| 18 | 18 | } |
phoneprefs/roam-control.patch
(6 / 15)
|   | |||
| 1 | By default, the Pre has no "Roam Only" mode. For fringe Sprint | ||
| 2 | service areas, this can be very annoying, as the phone will tend | ||
| 3 | to prefer a weak Sprint signal versus a strong Verizon/Other | ||
| 4 | CDMA signal. | ||
| 5 | |||
| 6 | Tested-On: 1.1 | ||
| 7 | |||
| 8 | Mod by w5mw | ||
| 9 | Patch submitted by JackieRipper | ||
| 10 | Index: /usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 11 | =================================================================== | ||
| 12 | --- .orig/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 13 | +++ /usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 14 | @@ -223,7 +223,8 @@ var PreflistAssistant = Class.create({ | ||
| 1 | diff --git a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 2 | index 4c1b0e2..97610bf 100644 | ||
| 3 | --- a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 4 | +++ b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js | ||
| 5 | @@ -224,7 +224,8 @@ var PreflistAssistant = Class.create({ | ||
| 15 | 6 | ||
| 16 | 7 | this.voiceRoamingChoices = [ | |
| 17 | 8 | {label: this.carrierOnlyLabel,value: "homeonly"}, | |
| … | … | ||
| 12 | 12 | ], | |
| 13 | 13 | ||
| 14 | 14 | this.voiceRoamingModel = { | |
| 15 | @@ -1220,6 +1221,11 @@ voiceNumberSetDone: function(payload){ | ||
| 15 | @@ -1230,6 +1231,11 @@ voiceNumberSetDone: function(payload){ | ||
| 16 | 16 | $('dataroamingrow').show(); | |
| 17 | 17 | $('voiceRoamingRow').removeClassName('last'); | |
| 18 | 18 | } |
sprinttv/hide-sprinttv-app.patch
(13 / 0)
|   | |||
| 1 | diff --git a/usr/palm/applications/com.mobitv.app.sprinttv/appinfo.json b/usr/palm/applications/com.mobitv.app.sprinttv/appinfo.json | ||
| 2 | index 4ff8cbd..67ac3eb 100755 | ||
| 3 | --- a/usr/palm/applications/com.mobitv.app.sprinttv/appinfo.json | ||
| 4 | +++ b/usr/palm/applications/com.mobitv.app.sprinttv/appinfo.json | ||
| 5 | @@ -6,5 +6,6 @@ | ||
| 6 | "icon": "icon.png", | ||
| 7 | "version": "1.5", | ||
| 8 | "vendor": "Sprint", | ||
| 9 | - "vendorurl": "www.sprint.com" | ||
| 10 | + "vendorurl": "www.sprint.com", | ||
| 11 | + "visible": false | ||
| 12 | } | ||
| 13 | \ No newline at end of file |
Comments
Add a new comment:
Login or create an account to post a comment
Add your comment
Please log in to comment

