New branch 'private/jmux/tdf#105288' available with the following commits: commit 6cfae558815f3a6c7b2e0d6c291da36ed0ae239f Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Thu Jan 12 15:48:52 2017 +0100
tdf#105288 MM wait until all emails are send Seems mail merge is now much faster then the sending of the merged documents via email. This is why the attached workaround patch to the tdf#103919 bug report, which simply sleeps after queuing a new message, helped solving the problem. It slowes down the mail merge and gives time to the mail dispatcher thread. But we actually want to wait until all mails are send, so we have to add a listener and wait for the mail thread to become idle. This listener also allows us to cancel further mail merge when an SMTP error has occured. Change-Id: I9d13bcd8f0d0ff084b20d72ab96f70afa3a764ba commit 3111a150cb2b30a907dd0a7f534ea14e18d4441b Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Thu Jan 12 15:47:31 2017 +0100 MM change listener from friend to a nested class Change-Id: I245a27e02816d3c96ca7777059b99c42cb64cca5 commit 92640fba4730f6d9c8190feecb22720ceeec8dd3 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Thu Jan 12 13:39:14 2017 +0100 Rename mail dispatcher members Makes the members conform with most LO variable naming, This especially switches Active <=> Running in the member names. "Running" is normally referred to as the thread state, while it exists (also look into the osl::Thread API) and now active is the state, when messages are processed, controlled by the Start() and Stop() functions. Change-Id: I3b8437d4ff24731348272a84720ff81fdea90db7 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits