Commit graph

64 commits

Author SHA1 Message Date
Guillaume Seguin
bff5a8ff51 Merge branch 'experimental' into connection-rework
Conflicts:
	printrun/printcore.py
	pronsole.py
	pronterface.py
2012-09-05 09:56:16 +02:00
Guillaume Seguin
7a422f1c62 New fix for the not-received-M105 issue 2012-08-11 09:33:40 +02:00
Guillaume Seguin
7d8c0bdcf7 Increase serial read timeout for initial connection loop 2012-08-11 09:16:43 +02:00
Guillaume Seguin
6f446e3726 More automated cleanup 2012-08-08 09:58:09 +02:00
Guillaume Seguin
77eb2440e3 Semi-automated coding style cleanup 2012-08-08 09:38:48 +02:00
Guillaume Seguin
8cc134955f Run reindent.py on the whole repository 2012-08-08 08:39:50 +02:00
Guillaume Seguin
17e8436436 Fix _listen_until_online to have the desired behavior
Before you sometimes had to connect twice to actually connect because the M105
was sent before the printer's Serial module actually became ready. Now when no
data is available to read on the Serial line a new M105 is sent until
connection is established.
2012-08-07 08:39:09 +02:00
Guillaume Seguin
6f7ecce7ff Improve responsivity by reducing sleep times 2012-08-06 23:25:37 +02:00
Guillaume Seguin
f68636bb3b Fix typo 2012-08-06 19:35:58 +02:00
Guillaume Seguin
cda29232e6 Attempt at adding a recover print function 2012-08-04 23:15:50 +02:00
Guillaume Seguin
df7622cf68 Rework listen loop 2012-08-04 10:57:44 +02:00
Guillaume Seguin
4838371128 Cleanup 2012-08-04 10:49:31 +02:00
Guillaume Seguin
dafc89e81a Cleanup 2012-08-04 10:48:36 +02:00
Guillaume Seguin
c164d0d144 Cleanup 2012-08-04 10:44:32 +02:00
Guillaume Seguin
f008ba2316 Move printcore back to root folder and install it in setup.py 2012-08-04 10:42:42 +02:00
Guillaume Seguin
888143be42 Initial work towards a setup.py build system 2012-07-31 10:51:17 +02:00
Kliment Yanev
a20c1fe4c0 POtential fix for wx unicode decode errors 2012-07-11 20:56:15 +02:00
Andrew Dalgleish
1a6700296a printcore - send the initial M105 using _send instead of send_now
send_now can't be used until the printer is online.
2012-06-29 13:44:20 +10:00
Christopher Keller
8143ee559c Fixed missing colon in printcore on lines 209 and 231 2012-06-28 13:05:56 -07:00
Andrew Dalgleish
a300fb8eb2 Add online check to printcore send() similar to send_now() 2012-06-29 01:23:52 +10:00
Andrew Dalgleish
adbd5613cf Add optional wait timeout to printcore send, send_now 2012-06-29 01:09:09 +10:00
Logxen
781265d327 fixed bonehead python-n00b error 2012-06-15 13:00:20 -07:00
Logxen
97cad4e003 make send_now check that the printer is online before talking to it 2012-06-14 23:41:54 -07:00
Kliment Yanev
8a29452af1 DO not clear sent lines dict after each ok - fix for firmware sending resend after ok triggering keyerror 2012-05-23 18:18:21 +02:00
Guillaume Seguin
ba759e9264 Handle another exception most likely caused by a disconnected printer 2012-03-16 04:37:43 +01:00
Nathan Zadoks
501254a72f Made greetings configurable (no longer just 'start') 2012-03-01 14:12:10 +01:00
Guillaume Seguin
b444ebcd72 Handle the exceptions raised when printer is disconnected. 2012-02-25 22:35:48 +01:00
Alessandro Ranellucci
34ede756a6 Full GPLv3 notice 2012-01-23 12:36:49 +01:00
Alessandro Ranellucci
7d2ef9a6b6 Added licensing info to README and all source files 2012-01-23 12:17:28 +01:00
Kliment Yanev
5b0e0c9878 Merge remote-tracking branch 'origin/master' into experimental 2011-12-21 09:14:06 +01:00
jglauche
5dc84c4fd7 make sure to disconnect and exit when printing is done. 2011-12-19 18:39:10 +01:00
jglauche
f8417bbb10 add some command line options to printcore 2011-12-18 14:54:09 +01:00
jglauche
5e1960dfec fix printcore: require port 2011-12-16 21:46:24 +01:00
kliment
a2d5cd5d1c Merge pull request #122 from kliment/master
Merge fixes added to master into experimental
2011-12-07 05:08:49 -08:00
ErikZalm
752320aa57 Increased the delay in printcore/_listen. Now the bootloader exits after 1 second. 2011-12-06 19:29:01 +01:00
Kliment Yanev
244350fee1 Merge branch 'master' into experimental 2011-11-27 17:34:09 +01:00
Kliment Yanev
56a4a0d98b Fix escalating memory usage when multiple large files are printed after each other.
React to resend only when the command is in the beginning of a line.
2011-11-22 21:32:16 +01:00
Duane Johnson
167470e638 Added a try/except block around readline so that disconnection does not yield a traceback. 2011-11-15 22:03:18 -06:00
Kliment Yanev
bdba2b1449 Fixes issue #49 2011-09-28 13:41:24 +02:00
Kliment
1307f9801b Fix crash caused by serial error with fiveD firmware on resend request. 2011-08-22 12:09:39 +02:00
kliment
655ab135e5 Fix permissions, allow commands when printer disconnected 2011-07-15 09:15:12 +02:00
Alessandro Ranellucci
ec6c532112 Do not try to parse DEBUG_ lines from Sprinter. 2011-07-12 10:42:00 +02:00
kliment
e830702be0 Remove unused dependency 2011-06-30 07:11:58 +02:00
kliment
26c174402f Continue on exceptions in callback functions 2011-06-28 11:38:55 +02:00
kliment
198f6ec5f7 Fix resends to persist on ok 2011-06-26 02:47:39 +02:00
kliment
e97d8df393 Correct mirroring of part in pronterface, strip comments from gcode before sending 2011-06-22 08:19:13 +02:00
kliment
3e40f57309 More lenient online-ness detection made to work with FiveD 2011-06-14 16:04:46 +02:00
kliment
2313474421 Fix M109/M190 handling to not overflow the serial buffer. 2011-06-14 09:23:03 +02:00
Keegi
6fe022c280 remove redundant line endings from 'loud' output in printcore 2011-06-10 13:10:06 +03:00
kliment
7a8819e448 Pronterface: remember dir across opened files 2011-06-09 16:43:03 +02:00