Merge branch 'staging/maintenance' into maintenance
# Conflicts: # .versioneer-lookup
This commit is contained in:
commit
75f6ef4bae
5 files changed
+32
-15
No files matched your search
+3
-3
@@ -24,10 +24,10 @@ maintenance 1.3.13 2a42f02aecaedf2c55579984e0bc94e44402cc15 pep440-dev
|
||||
fix/.* 1.3.13 2a42f02aecaedf2c55579984e0bc94e44402cc15 pep440-dev
|
||||
improve/.* 1.3.13 2a42f02aecaedf2c55579984e0bc94e44402cc15 pep440-dev
|
||||
|
||||
# staging/maintenance is currently the branch for preparation of 1.3.12rc3
|
||||
# staging/maintenance is currently the branch for preparation of 1.3.12rc4
|
||||
# so is regressionfix/...
|
||||
staging/maintenance 1.3.12rc3 c4258c5bb0eae30595e6463281f266582096ad48 pep440-dev
|
||||
regressionfix/.* 1.3.12rc3 c4258c5bb0eae30595e6463281f266582096ad48 pep440-dev
|
||||
staging/maintenance 1.3.12rc4 a70a45f062687beb510fb3192e4227754e1dff39 pep440-dev
|
||||
regressionfix/.* 1.3.12rc4 a70a45f062687beb510fb3192e4227754e1dff39 pep440-dev
|
||||
|
||||
# every other branch is a development branch and thus gets resolved to 1.4.0-dev for now
|
||||
.* 1.4.0 7f5d03d0549bcbd26f40e7e4a3297ea5204fb1cc pep440-dev
|
||||
@@ -1,5 +1,20 @@
|
||||
# OctoPrint Changelog
|
||||
|
||||
## 1.3.12rc3 (2019-09-23)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* [#3277](https://github.com/foosel/OctoPrint/issues/3277) (regression) - GCODE viewer: Fix huge memory consumption due to misplaced deep clone.
|
||||
* [#3282](https://github.com/foosel/OctoPrint/issues/3282) (regression) - Don't trigger `M112` routine for firmware errors on a connection error when no connection has even been established yet.
|
||||
|
||||
### Special thanks to all the contributors!
|
||||
|
||||
Special thanks to everyone who contributed to this release candidate and provided full, analysable bug reports!
|
||||
|
||||
### More information
|
||||
|
||||
* [Commits](https://github.com/foosel/OctoPrint/compare/1.3.12rc2...1.3.12rc3)
|
||||
|
||||
## 1.3.12rc2 (2019-09-17)
|
||||
|
||||
### Improvements
|
||||
|
||||
@@ -13,8 +13,8 @@ from octoprint.util.version import get_octoprint_version_string, is_released_oct
|
||||
from flask import jsonify
|
||||
from flask_babel import gettext
|
||||
|
||||
SENTRY_URL_SERVER = "https://2eecd116552e4d498caa75d2e67edc5a@sentry.io/1373987"
|
||||
SENTRY_URL_COREUI = "https://f5e6d16d17d64d588b5d8221eb9eeb39@sentry.io/1374096"
|
||||
SENTRY_URL_SERVER = "https://562288d61d724563b6d43e2a6670616e@sentry.io/1373987"
|
||||
SENTRY_URL_COREUI = "https://5c2e838ac5554162bfc30142788362db@sentry.io/1374096"
|
||||
|
||||
SETTINGS_DEFAULTS = dict(enabled=False,
|
||||
enabled_unreleased=False,
|
||||
|
||||
@@ -105,6 +105,7 @@ GCODE.gCodeReader = (function(){
|
||||
|
||||
var purgeLayers = function(m){
|
||||
if(!m) return;
|
||||
var tmpModel = [];
|
||||
|
||||
var purge;
|
||||
for(var i = 0; i < m.length; i++){
|
||||
@@ -119,13 +120,12 @@ GCODE.gCodeReader = (function(){
|
||||
}
|
||||
}
|
||||
|
||||
if (purge) {
|
||||
m.splice(i, 1);
|
||||
i--;
|
||||
if (!purge) {
|
||||
tmpModel.push(m[i]);
|
||||
}
|
||||
}
|
||||
|
||||
return m;
|
||||
return tmpModel;
|
||||
};
|
||||
|
||||
// ***** PUBLIC *******
|
||||
@@ -178,7 +178,7 @@ GCODE.gCodeReader = (function(){
|
||||
},
|
||||
|
||||
passDataToRenderer: function(){
|
||||
var m = _.cloneDeep(model);
|
||||
var m = model;
|
||||
if (gCodeOptions["sortLayers"]) m = sortLayers(m);
|
||||
if (gCodeOptions["purgeEmptyLayers"]) m = purgeLayers(m);
|
||||
prepareLinesIndex(m);
|
||||
|
||||
@@ -2779,7 +2779,9 @@ class MachineCom(object):
|
||||
self._changeState(self.STATE_ERROR)
|
||||
eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": reason})
|
||||
if close:
|
||||
if self._send_m112_on_error and not self.isSdPrinting():
|
||||
if self._send_m112_on_error and not self.isSdPrinting() and reason not in ("connection",
|
||||
"autodetect_baudrate",
|
||||
"autodetect_port"):
|
||||
self._trigger_emergency_stop(close=False)
|
||||
self.close(is_error=True)
|
||||
|
||||
@@ -3730,11 +3732,11 @@ class MachineCom(object):
|
||||
if self._printerProfileManager.get_current_or_default()["heatedBed"]:
|
||||
self._do_increment_and_send_with_checksum("M140 S0")
|
||||
|
||||
# close to reset host state
|
||||
error_text = "Closing serial port due to emergency stop M112."
|
||||
self._log(error_text)
|
||||
|
||||
if close:
|
||||
# close to reset host state
|
||||
error_text = "Closing serial port due to emergency stop M112."
|
||||
self._log(error_text)
|
||||
|
||||
self._errorValue = error_text
|
||||
self.close(is_error=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user