Mailspring/internal_packages
Juan Tejada dd3cf1c50f fix(search/long-conn): Process results buffer before ending connection (#750)
NylasLongConnection ends the connection when the 'end' event is emitted
by the `request` object. When this happens, the global connection buffer is cleared.
Also, the global buffer holds the data we've received from the connection, and
whenever we receive new data, we accumulate it in the buffer and call a processBuffer function
which is throttled to 400ms.

Given that the buffer is global state, and processing occurs
asynchronously with a delay of up to 400ms, if the 'end' event on the connection is
fired before we actually get to process the buffer, we would clear it and show no results.

This scenario currently only affected search because if we accidentally
threw away some data when streaming deltas, we will get that data again
when we reopen the delta streaming connection.
2016-09-22 12:08:59 -07:00
..
account-sidebar fix(accounts): Restore account re-ordering 2016-09-21 11:23:38 -07:00
attachments fix(lint): various linter fixes 2016-05-06 14:11:05 -07:00
category-picker 🎨(signature): Fix signature dropdown styling on different themes 2016-08-01 14:18:13 -07:00
composer lint(*): Fix issue breaking the build 2016-09-20 16:34:30 -07:00
composer-emoji plugins(*): Add identifying css classes to composer plugin buttons 2016-08-31 09:56:23 -07:00
composer-markdown fix(markdown): Update editor height 2016-09-01 20:21:13 -07:00
composer-signature hack(channel-picker): Hide Salesforce for now 2016-09-21 10:45:04 -07:00
composer-spellcheck fix(spellchecker): Make sure spellchecker returns selection to its original state 2016-07-28 13:42:53 -07:00
composer-templates plugins(*): Add identifying css classes to composer plugin buttons 2016-08-31 09:56:23 -07:00
composer-translate fix(size): remove unused docs & screenshots 2016-09-01 11:32:52 -07:00
draft-list Better support 24-hour time (#2622) 2016-07-28 17:42:14 -07:00
events fix(utils): Properly export DateUtils.timeZone, fix specs 2016-08-01 12:41:05 -07:00
github-contact-card fix(size): remove unused docs & screenshots 2016-09-01 11:32:52 -07:00
keybase fix(specs): Fix tests that were console.logging, bump coffee-react 2016-09-20 15:17:48 -07:00
message-autoload-images fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
message-list fix(specs): Fix tests that were console.logging, bump coffee-react 2016-09-20 15:17:48 -07:00
message-view-on-github fix(github): fix view on Github buttton 2016-06-17 10:07:05 -04:00
mode-switch fix(copy): Updating language for onboarding tour 2016-09-14 14:16:19 -04:00
notification-mailto Revert "feat(mailto): Allow N1 to be default client on windows" 2016-05-03 19:04:04 -07:00
notification-update-available fix(require): Move more requires to new electron format 2016-04-13 15:35:01 -07:00
notifications fix(lint): import ui-variables for linter 2016-09-19 21:07:43 -04:00
onboarding fix(auth): Update autofill for Fastmail.fm 2016-09-20 15:52:36 -07:00
participant-profile Auth keybase and clearbit 2016-08-02 16:17:34 -07:00
personal-level-indicators fix(keybase): Disable by default, remove duplicate dependencies 2016-06-07 14:15:54 -07:00
phishing-detection fix(phising): Make detection lower case #1784 2016-07-28 18:19:07 -07:00
plugins Update broken links for guides, docs, and API (#2455) 2016-06-15 15:29:52 -07:00
preferences hack(channel-picker): Hide Salesforce for now 2016-09-21 10:45:04 -07:00
print fixt(print): Update print header logo 2016-05-11 11:33:12 -07:00
remove-tracking-pixels feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
screenshot-mode feat(package): require 'engines': {'nylas': '*'} in package.json 2016-04-25 15:06:37 -07:00
send-and-archive fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
system-tray feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
theme-picker fix(specs): attribute conversion fixed bugs, broke specs 2016-09-21 11:56:54 -07:00
thread-list bump(react): 15.3.x, warning removal, thread-sharing tweaks 2016-09-20 17:28:50 -07:00
thread-search bump(electron): Electron 1.4, node-sqlite 3.1.4+fts 2016-09-16 08:59:36 -07:00
thread-search-index fix(search): Prevent from adding duplicate threads to the search index 2016-06-07 14:41:39 -07:00
thread-snooze feat(tutorial): Overlay bubbles that guide you through initial features 2016-09-13 02:29:38 -04:00
ui-dark Revert "🎨(ui-dark): Remove iframe inversion" 2016-05-25 23:46:36 -07:00
ui-darkside fix(darkside): script/grunt lint requires explicit LESS includes 2016-09-20 10:26:44 -07:00
ui-less-is-more fix(lint): fix minor linter issue 2016-05-09 13:42:18 -04:00
ui-light feat(theme-selector): Add theme selector to preferences page 2015-12-15 10:29:58 -08:00
ui-taiga 🎨(signature): Fix signature dropdown styling on different themes 2016-08-01 14:18:13 -07:00
ui-ubuntu fix(size): remove unused docs & screenshots 2016-09-01 11:32:52 -07:00
undo-redo fix(undo): Improve messaging around label changes, modernize undo-redo-store 2016-06-01 14:36:57 -07:00
unread-notifications Clear notifications when emails are read 2016-07-08 11:36:51 -07:00
verify-install-location feat(app): dialog box prompting to move to Applications folder 2016-08-18 09:58:13 -07:00
worker-sync fix(search/long-conn): Process results buffer before ending connection (#750) 2016-09-22 12:08:59 -07:00
worker-ui fix(dev): don't show tokens in developer api bar 2016-08-23 17:45:46 -04:00