Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Nightly 2012-11-10 #7490

Merged
merged 113 commits into from
Jan 10, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
b6044bb
Bug 817023 [Browser] Characters are underlined in Top Sites list
benfrancis Dec 5, 2012
f2b01c2
Bug 815501 - Handle undefined developer name and url in the app insta…
mnoorenberghe Dec 10, 2012
726e800
Bug 817821: Better update download event handling. r=etienne
marshall Jan 7, 2013
f08c266
Bug 827331 - Long press is fired while slow panning (about contextmen…
Jan 7, 2013
2a98fe9
Bug 821582 - [Settings][Call Settings] All the keyboard for forwardin…
jaoo Jan 7, 2013
069afc2
Bug 827341: Warn and use default icon when using relative icon path
ochameau Jan 7, 2013
934c398
Bug 827708 - element #player-seek-bar-progress should not trigger see…
evanxd Jan 8, 2013
dfd50b5
Bug 812507 - [Dialer UX VD] Check that background color where the typ…
gtorodelvalle Jan 8, 2013
8eb1b3d
Bug 822291 - [Status Bar] AM/PM is incorrectly implemented r=kaze
samjoch Jan 8, 2013
f9a9699
Bug 826901 - Mirror gaia-ui-tests to gaia, r=lightsofapollo, a=test-only
Jan 8, 2013
5fd6c3d
Bug 821406 - [B2G browser] Opening a link from news.google.com in a n…
benfrancis Jan 8, 2013
6915c7d
Removing whitespace
benfrancis Jan 8, 2013
0ae3d24
Bug 821554 - make all app window transitions twice as fast
Jan 9, 2013
5d587ae
Bug 826872 - Optimize XHR
lightsofapollo Jan 9, 2013
6c1de81
Bug 825121 - [Lockscreen] service provider shown wrongly when roaming
rik Jan 8, 2013
7c0cbed
Bug 826547 - STK proactive command Launch Browser does nothing
arcturus Jan 8, 2013
1aaff97
Merge pull request #7410 from evanxd/bug-827708
timdream Jan 9, 2013
a76a373
Bug 827610 - Modify banner style to have variable size
crh0716 Jan 8, 2013
e3eb071
Bug 825192 - Reset fixed for WiFi and mobile usage.
delapuente Jan 8, 2013
1ddf662
Bug 827794 - Update clear icon.
KevinGrandon Jan 9, 2013
66cddfd
bug 828203: rephrase the header and button in the Mail Account Setup …
fabi1cazenave Jan 9, 2013
f903089
[B2G] [SMS] Contacts : SMS message deleted when choosing contact for …
borjasalguero Jan 8, 2013
b2ee8d3
Bug 817927 - [Contacts] Even if Facebook is disabled, you can still c…
basiclines Jan 9, 2013
6a51ebb
Merge pull request #7374 from guiora/bug-822291
fabi1cazenave Jan 9, 2013
d2941d9
Bug 826122: Provide meaningful error message if pairing is refused [r…
tdz Jan 8, 2013
061cef6
Merge pull request #7425 from tdz/bug-826122
vingtetun Jan 9, 2013
5b305a0
Bug 828107 - STK Get input does not accept pre-populated data
allstarschh Jan 9, 2013
1de20fd
follow-up to ensure address bar behaves as expected
benfrancis Jan 9, 2013
259613a
[816152] Adding PUK management to FTU (r=fbsc,kaze,l10n)
Dec 27, 2012
2a3b7e8
Merge pull request #7322 from fcampo/pukCode
Jan 9, 2013
d76f8d2
Bug 827702 - Change the highlight color of the space key
crh0716 Jan 8, 2013
8869378
Merge pull request #7414 from Rik/roaming-825121
timdream Jan 9, 2013
cb602f5
Merge pull request #7388 from marshall/updateDownloadEvents
marshall Jan 9, 2013
e6691cf
Bug 828196 - Workaround bug 823418 in Gaia, r=timdream
yurenju Jan 9, 2013
f10ca86
Merge pull request #7419 from lightsofapollo/calendar-xhr-optimizations
lightsofapollo Jan 9, 2013
6c08e45
Merge pull request #7431 from yurenju/issue-828196
yurenju Jan 9, 2013
b9c5d81
Merge pull request #7423 from lodr/fix-reset-squashed
vingtetun Jan 9, 2013
4de733a
Bug 799151 - Display a prompt to allow remote debugging connections i…
fabricedesre Jan 9, 2013
f92cc8c
Bug 827292 - Adding favorite diffrentation r=basiclines
albertopq Jan 9, 2013
a9c7e41
Merge pull request #7387 from arcturus/bug-826547
arcturus Jan 9, 2013
3c3c104
Merge pull request #7430 from allstarschh/Bug828107
vingtetun Jan 9, 2013
d74c36c
Bug 828288 - Remove dev-mode setting from gaia
ochameau Jan 9, 2013
3fb2a6f
Bug 784184 - Set DTMF tone to ringer channel.
alivedise Jan 7, 2013
6eaab8f
Merge pull request #7324 from crdlc/bug-827331
vingtetun Jan 9, 2013
d029e72
Bug 823783 - Handle various combinations of settings events and wifi …
mrbkap Jan 9, 2013
92ed2a2
Merge pull request #7394 from borjasalguero/bug_826085
Jan 9, 2013
798b80e
Bug 827749 - Store dummy file as a dotfile so it is ignored by the ga…
daleharvey Jan 9, 2013
19eed10
bug 828195 - always listen to card state change
evelynhung Jan 9, 2013
40f20ef
[Bug 811539] [SMS] Delete PhoneNumberJS once will be available in Gec…
borjasalguero Jan 8, 2013
e1d575c
[Bug 817535] locale fix on FTU
michalbe Jan 9, 2013
76aa31d
Merge pull request #7439 from michalbe/ftu-email
michalbe Jan 9, 2013
ebc87ae
Bug 827933 - Typo in contact_details r=arcturus
albertopq Jan 9, 2013
dd4b0c4
Bug 827655 - Part 1: STK Get input display timeout takes too long. r=…
Jan 9, 2013
c1ffec6
Bug 828214 - Allow to modify explicit permissions for certified apps
bakulf Jan 9, 2013
1883fe5
Merge pull request #7402 from benfrancis/browser-crashed-tab
daleharvey Jan 9, 2013
d6516c8
Merge pull request #7440 from albertopq/issue-827933
albertopq Jan 9, 2013
3204365
Merge pull request #7319 from borjasalguero/remove_phonenumberjs_berlin
Jan 9, 2013
7dd7e8f
Merge pull request #7442 from bakulf/settings
mounirlamouri Jan 9, 2013
82e96a0
Bug 828174: Track Bluetooth discovery state in Settings app [r=ehung]
tdz Jan 7, 2013
dce7361
[Settings] - fixed headers
Jan 9, 2013
53fc61e
Merge pull request #7434 from evelynhung/issue-828195
evelynhung Jan 9, 2013
17b94d7
[Bug 828308] Prevent text overflow problems on browser settings page …
leibovic Jan 9, 2013
ef83df6
Merge pull request #7418 from psiddh/input_text
ochameau Jan 9, 2013
b63e644
Merge pull request #7446 from leibovic/button
benfrancis Jan 9, 2013
8737d17
Bug 828479 - fix online support in Settings
fabi1cazenave Jan 9, 2013
7d6325a
Bug 828226 - [Dialer] Call logs doesn't show nothing.
gtorodelvalle Jan 9, 2013
7201348
Merge pull request #7447 from fabi1cazenave/settings-online-support
vingtetun Jan 9, 2013
0437618
Merge pull request #7438 from daleharvey/camera-crash
daleharvey Jan 9, 2013
22bbbde
Merge pull request #7443 from gtorodelvalle/dialer-bug-828226-call-lo…
gtorodelvalle Jan 9, 2013
8c0fcf3
Merge pull request #7364 from gtorodelvalle/dialer-bug-812507-phone-n…
gtorodelvalle Jan 9, 2013
08ecf67
Merge pull request #7448 from ochameau/no-dev-mode
vingtetun Jan 9, 2013
fad136f
Bug 828550 - Fail building gaia on windows - NS_ERROR_FILE_UNRECOGNIZ…
ochameau Jan 9, 2013
6a4d3fe
Bug 827655 - Cancel the timer when user starts the input for GetInkey…
Jan 9, 2013
cf48189
Merge pull request #7451 from ochameau/827655
ochameau Jan 9, 2013
db75c33
Bug 827286 - Updates: "Tap to download" text is misleading
rik Jan 8, 2013
bf6da75
Bug 828311 / 825181 / 803249 - Localize AllDay, fix various issues when
lightsofapollo Jan 7, 2013
3b0ec3a
Bug 828210 - Workaround for open source license bug 825622
rik Jan 9, 2013
048c989
Bug 828309 - [DIALER] Attention screen is not showing the right infor…
ochameau Jan 9, 2013
f81ffd6
Merge pull request #7457 from ochameau/carrier-call@828309
ochameau Jan 9, 2013
75f4a1a
Merge pull request #6838 from benfrancis/browser-awesomescreen
vingtetun Jan 9, 2013
6aa968b
Merge pull request #6910 from mnoorenberghe/815501-app-install-developer
vingtetun Jan 9, 2013
bde3efb
Bug 828076 - Trusted UI should notify caller(s) when it is closed by …
jedp Jan 9, 2013
f12824e
Merge pull request #7453 from jedp/823751-trusty-ui-cancel
vingtetun Jan 9, 2013
4660ba0
Merge pull request #7449 from ochameau/l10n-win32
fabi1cazenave Jan 9, 2013
3467e69
Merge pull request #7330 from jaoo/821582
vingtetun Jan 9, 2013
aa469f2
Merge pull request #7435 from mrbkap/823783-settings-tethering-wifi
fabi1cazenave Jan 9, 2013
4a5c0d0
Merge pull request #7455 from Rik/osi-license-828210
fabi1cazenave Jan 9, 2013
3997a87
Bug 822477 - [contacts] 'Import SIM Contacts' incorrectly disabled if…
qdot Jan 9, 2013
c94217a
Merge pull request #7463 from vingtetun/822477
vingtetun Jan 9, 2013
8e85602
Merge pull request #7327 from ochameau/fix-relative-icon-path
vingtetun Jan 9, 2013
08e3c4e
Merge pull request #7372 from Rik/notifications-message-827286
vingtetun Jan 10, 2013
7cecab8
Merge pull request #7411 from davidflanagan/bug821554
vingtetun Jan 10, 2013
01c947d
Merge pull request #7427 from fabi1cazenave/l10n-email
vingtetun Jan 10, 2013
9a6950b
Merge pull request #7433 from alivedise/bugzilla/784184/notification-…
vingtetun Jan 10, 2013
7d9709c
Merge pull request #7376 from crh0716/827702
vingtetun Jan 10, 2013
15e6c92
Merge pull request #7362 from crh0716/827610
vingtetun Jan 10, 2013
2b8b03b
Merge pull request #7428 from albertopq/issue-827957
vingtetun Jan 10, 2013
51b3c17
Merge pull request #7444 from tdz/bug-828174
vingtetun Jan 10, 2013
9f9ea50
Bug 827786 - We should not offer OTA updates to users when in 2G (GPR…
etiennesegonzac Jan 10, 2013
89559f0
Merge pull request #7465 from vingtetun/827786
vingtetun Jan 10, 2013
626e1a9
Merge pull request #7464 from pivanov/bug-815608
vingtetun Jan 10, 2013
d412ac3
Bug 827333 - [email/activesync] Hide the "no mail in thie folder" ale…
Jan 9, 2013
810f39d
Merge pull request #7409 from mozsquib/email-as-fake-inbox-loading
Jan 10, 2013
42df3d2
Bug 828446 - [email/IMAP] timezone offset calculation breaks if timez…
asutherland Jan 10, 2013
b7294d6
Merge pull request #7467 from asutherland/email-fix-tzoffset
asutherland Jan 10, 2013
002baad
Merge pull request #7397 from jonallengriffin/bug826901
lightsofapollo Jan 10, 2013
f53fc73
Bug 828297 - Makefile should apply GAIA_DEFAULT_LOCALE
fabi1cazenave Jan 10, 2013
31a820f
Merge pull request #7436 from fabi1cazenave/default-locale
fabi1cazenave Jan 10, 2013
f06c44b
Bug 828188 - Don't override the wifi event listeners. r=kaze
mrbkap Jan 10, 2013
914a7d1
Merge pull request #7424 from mrbkap/828188-settings-wifi-events
vingtetun Jan 10, 2013
eb3b9aa
Merge pull request #7452 from lightsofapollo/calendar-localize
fabi1cazenave Jan 10, 2013
7d6e822
Merge pull request #7426 from basiclines/contacts_switches_improves
jmcanterafonseca Jan 10, 2013
726a738
Merge pull request #7422 from KevinGrandon/bug_827794_clear_icon
KevinGrandon Jan 10, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ manifest.appcache
/apps/sms/js/blacklist.json
/test_apps/test-agent/test/config.json
/apps/dialer/contacts
/apps/browser/js/init.json

/apps/*/test/unit/_sandbox.html
/apps/*/test/unit/_proxy.html
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ SETTINGS_ARG=--noftu
endif

profile/settings.json: build/settings.py build/wallpaper.jpg
python build/settings.py $(SETTINGS_ARG) --console --homescreen $(SCHEME)homescreen.$(GAIA_DOMAIN)$(GAIA_PORT)/manifest.webapp --ftu $(SCHEME)communications.$(GAIA_DOMAIN)$(GAIA_PORT)/manifest.webapp --wallpaper build/wallpaper.jpg --override build/custom-settings.json --output $@
python build/settings.py $(SETTINGS_ARG) --console --locale $(GAIA_DEFAULT_LOCALE) --homescreen $(SCHEME)homescreen.$(GAIA_DOMAIN)$(GAIA_PORT)/manifest.webapp --ftu $(SCHEME)communications.$(GAIA_DOMAIN)$(GAIA_PORT)/manifest.webapp --wallpaper build/wallpaper.jpg --override build/custom-settings.json --output $@

# push profile/settings.json to the phone
install-settings-defaults: profile/settings.json
Expand Down
5 changes: 5 additions & 0 deletions apps/browser/js/authentication_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,10 @@ var AuthenticationDialog = {

originHasEvent: function(origin) {
return origin in this.currentEvents;
},

clear: function ad_clear(origin) {
if (this.currentEvents[origin])
delete this.currentEvents[origin];
}
};
92 changes: 45 additions & 47 deletions apps/browser/js/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ var Browser = {
},

handleTryReloading: function browser_handleTryReloading() {
this.navigate(this.currentTab.url);
this.reviveCrashedTab(this.currentTab);
},

handleCloseTab: function browser_handleCloseTab() {
Expand Down Expand Up @@ -412,14 +412,8 @@ var Browser = {
break;

case 'mozbrowsererror':
if (evt.detail.type === 'fatal') {
// A background crash usually means killed to save memory
if (document.mozHidden) {
this.handleKilledTab(tab);
} else {
this.handleCrashedTab(tab);
}
}
if (evt.detail.type === 'fatal')
this.handleCrashedTab(tab);
break;

case 'mozbrowserscroll':
Expand Down Expand Up @@ -493,37 +487,33 @@ var Browser = {
},

handleCrashedTab: function browser_handleCrashedTab(tab) {
if (tab.id === this.currentTab.id) {
// No need to show the crash screen for background tabs,
// they will be revived when selected
if (tab.id === this.currentTab.id && !document.mozHidden) {
this.showCrashScreen();
}

tab.loading = false;
tab.crashed = true;
ModalDialog.clear(tab.id);
AuthenticationDialog.clear(tab.id);
this.frames.removeChild(tab.dom);
delete tab.dom;
delete tab.screenshot;
tab.loading = false;
this.createTab(null, null, tab);
this.refreshButtons();
},

handleKilledTab: function browser_handleKilledTab(tab) {
tab.killed = true;
this.frames.removeChild(tab.dom);
delete tab.dom;
tab.loading = false;
},

handleVisibilityChange: function browser_handleVisibilityChange() {
if (!document.mozHidden && this.currentTab.killed)
this.reviveKilledTab(this.currentTab);
if (!document.mozHidden && this.currentTab.crashed)
this.reviveCrashedTab(this.currentTab);
},

reviveKilledTab: function browser_reviveKilledTab(tab) {
reviveCrashedTab: function browser_reviveCrashedTab(tab) {
this.createTab(null, null, tab);
this.setTabVisibility(tab, true);
this.refreshButtons();
this.navigate(tab.url);
tab.killed = false;
tab.crashed = false;
this.hideCrashScreen();
},

handleWindowOpen: function browser_handleWindowOpen(evt) {
Expand Down Expand Up @@ -562,10 +552,6 @@ var Browser = {
},

navigate: function browser_navigate(url) {
if (this.currentTab.crashed) {
this.currentTab.crashed = false;
this.hideCrashScreen();
}
this.hideStartscreen();
this.showPageScreen();
this.currentTab.title = null;
Expand Down Expand Up @@ -601,30 +587,37 @@ var Browser = {
e.preventDefault();
}

if (this.currentTab.crashed && this.urlButtonMode == this.REFRESH) {
if (this.urlButtonMode == this.REFRESH && this.currentTab.crashed) {
this.setUrlBar(this.currentTab.url);
this.navigate(this.currentTab.url);
this.reviveCrashedTab(this.currentTab);
return;
}

if (this.urlButtonMode == this.REFRESH) {
if (this.urlButtonMode == this.REFRESH && !this.currentTab.crashed) {
this.currentTab.dom.reload(true);
return;
}

if (this.urlButtonMode == this.STOP) {
if (this.urlButtonMode == this.STOP && !this.currentTab.crashed) {
this.currentTab.dom.stop();
return;
}

var url = this.getUrlFromInput(this.urlInput.value);

if (url !== this.currentTab.url && !this.currentTab.crashed) {
if (url !== this.currentTab.url) {
this.setUrlBar(url);
this.currentTab.url = url;
}
this.navigate(url);

this.urlInput.blur();

if (this.currentTab.crashed) {
this.reviveCrashedTab(this.currentTab);
return;
}

this.navigate(url);
},

goBack: function browser_goBack() {
Expand Down Expand Up @@ -852,20 +845,20 @@ var Browser = {
}
},

showTopSitesTab: function browser_showTopSitesTab(filter) {
showTopSitesTab: function browser_showTopSitesTab() {
this.deselectAwesomescreenTabs();
this.topSitesTab.classList.add('selected');
this.topSites.classList.add('selected');
Places.getTopSites(20, filter, this.showTopSites.bind(this));
Places.getTopSites(20, null, this.showTopSites.bind(this));
},

showTopSites: function browser_showTopSites(topSites, filter) {
showTopSites: function browser_showTopSites(topSites) {
this.topSites.innerHTML = '';
var list = document.createElement('ul');
list.setAttribute('role', 'listbox');
this.topSites.appendChild(list);
topSites.forEach(function browser_processTopSite(data) {
this.drawAwesomescreenListItem(list, data, filter);
this.drawAwesomescreenListItem(list, data);
}, this);
},

Expand Down Expand Up @@ -1131,6 +1124,9 @@ var Browser = {
},

setTabVisibility: function(tab, visible) {
if (!tab.dom)
return;

if (ModalDialog.originHasEvent(tab.id)) {
if (visible) {
ModalDialog.show(tab.id);
Expand All @@ -1146,18 +1142,17 @@ var Browser = {
AuthenticationDialog.hide();
}
}

// We put loading tabs off screen as we want to screenshot
// them when loaded
if (tab.loading && !visible) {
tab.dom.style.top = '-999px';
return;
}
if (tab.dom.setVisible) {

if (tab.dom.setVisible)
tab.dom.setVisible(visible);
}
if (tab.crashed) {
this.showCrashScreen();
}

tab.dom.style.display = visible ? 'block' : 'none';
tab.dom.style.top = '0px';
},
Expand Down Expand Up @@ -1215,8 +1210,11 @@ var Browser = {

deleteTab: function browser_deleteTab(id) {
var tabIds = Object.keys(this.tabs);
this.tabs[id].dom.parentNode.removeChild(this.tabs[id].dom);
if (this.tabs[id].dom)
this.tabs[id].dom.parentNode.removeChild(this.tabs[id].dom);
delete this.tabs[id];
ModalDialog.clear(id);
AuthenticationDialog.clear(id);
if (this.currentTab && this.currentTab.id === id) {
// The tab to be selected when the current one is deleted
var newTab = tabIds.indexOf(id);
Expand Down Expand Up @@ -1256,9 +1254,9 @@ var Browser = {

selectTab: function browser_selectTab(id) {
this.currentTab = this.tabs[id];
// If the tab was killed, bring it back to life
if (this.currentTab.killed)
this.reviveKilledTab(this.currentTab);
// If the tab crashed, bring it back to life
if (this.currentTab.crashed)
this.reviveCrashedTab(this.currentTab);
// We may have picked a currently loading background tab
// that was positioned off screen
this.setUrlBar(this.currentTab.title);
Expand Down
7 changes: 6 additions & 1 deletion apps/browser/js/modal_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var ModalDialog = {
break;

case 'click':
if (evt.currentTarget.nodeName == "BUTTON" ||
if (evt.currentTarget.nodeName == 'BUTTON' ||
evt.currentTarget == elements.customPromptButtons) {
evt.preventDefault();
}
Expand Down Expand Up @@ -242,5 +242,10 @@ var ModalDialog = {

originHasEvent: function(origin) {
return origin in this.currentEvents;
},

clear: function ad_clear(origin) {
if (this.currentEvents[origin])
delete this.currentEvents[origin];
}
};
3 changes: 3 additions & 0 deletions apps/browser/style/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,9 @@ li[role="listitem"] small {

#settings li button {
margin: 0;
height: auto;
line-height: 2rem;
padding: 1rem 1.5rem;
}


Expand Down
52 changes: 52 additions & 0 deletions apps/calendar/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,55 @@ Calendar.App = (function(window) {
this.observePendingObject(this.syncController);
},

/**
* Observes localized events and localizes elements
* with data-l10n-date-format should be registered
* after the first localized event.
*
*
* Example:
*
*
* <span
* data-date="Wed Jan 09 2013 19:25:38 GMT+0100 (CET)"
* data-l10n-date-format="%x">
*
* 2013/9/19
*
* </span>
*
*/
observeDateLocalization: function() {
function localize() {
var elements = document.querySelectorAll(
'[data-l10n-date-format]'
);

var len = elements.length;
var i = 0;

var date;
var format;
var el;

for (; i < len; i++) {
el = elements[i];

date = el.dataset.date;
format = el.dataset.l10nDateFormat;

if (date) {
el.textContent = Calendar.App.dateFormat.localeFormat(
new Date(date),
format
);
}
}
}

window.addEventListener('localized', localize);
},

/**
* Adds observers to objects capable of being pending.
*
Expand Down Expand Up @@ -304,6 +353,9 @@ Calendar.App = (function(window) {

this.dateFormat = navigator.mozL10n.DateTimeFormat();

// re-localize dates on screen
this.observeDateLocalization();

this.timeController.observe();
this.alarmController.observe();

Expand Down
1 change: 1 addition & 0 deletions apps/calendar/js/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@
account._id = uuid();

var calendar = {
_id: Calendar.Provider.Local.calendarId,
accountId: account._id,
remote: Calendar.Provider.Local.defaultCalendar()
};
Expand Down
Loading