Commit Graph

339 Commits (5a059961fae86413eb6aa4f9244dbb7155aa0458)

Author SHA1 Message Date
Francesco Santini 5a059961fa Indentation fixes, limit calculations 2013-04-08 13:06:31 +02:00
fsantini 360b4f60e4 Pause code working;
implemented the @pause gcode host command (and a small framework for host commands)
2013-04-07 19:45:45 +02:00
fsantini 00f1306f08 Bugfixes in the analyzer
Pause code (Ported from RepetierHost, untested)
2013-04-06 18:22:56 +02:00
Miro Hrončok 354bfb090f Do not rise, but end the scope 2013-01-23 17:12:01 +01:00
Miro Hrončok 064974b733 Handle UTF encoding better 2013-01-23 17:11:08 +01:00
Miro Hrončok ee386e0091 Adding UTF-8 decoding back 2013-01-23 16:55:38 +01:00
Miro Hrončok f942c1a007 Tell the user, there was an error while connecting
Before, when there was an error while connecting, user didn't know, when
Pronterface wasn't launched from the terminal.

So you could just hit Connect button several times and all you've get was:
Connecting...
Connecting...
Connecting...

Now, when there is an exception during the connection, the user will notice:
Connecting...
Error: You are trying to connect to a non-exisiting port.

Or:
Connecting...
Error: You don't have permission to open /dev/ttyUSB0.
You might need to add yourself to the dialout group.

Unfortunately pyserial's SerialException doesn't provide errno yet, so the
message isn't so user friendly:
Connecting...
could not open port None: [Errno 2] No such file or directory: 'None'

I've filled a bug report with patch to pyserial.

Together with this I've realised, there is unnecessary UTF8 decoding of the
output. When user has UTF-8 locale, there was an exception when printing the
exception to the output (almost an exception inception). So I have dropped it,
but feel free to add it back, if I broke anything else.
2013-01-15 21:22:56 +01:00
Kliment Yanev 6fa47668f2 Merge branch 'master' of github.com:kliment/Printrun into experimental
Conflicts:
	pronterface.py
2012-11-03 12:18:04 +01:00
Guillaume Seguin 9c55677ec1 Fix custom button edit 2012-09-06 19:32:23 +02:00
Guillaume Seguin 7301d7e847 Merge branch 'experimental' of git://github.com/kliment/Printrun into split-gui 2012-09-06 18:07:08 +02:00
Guillaume Seguin 77376bc17c Fix custom buttons 2012-09-06 09:02:47 +02:00
Kliment Yanev 1581ab0b94 Fix exception when no bed present. Closes #283 2012-09-06 07:07:37 +02:00
Guillaume Seguin 8979ec888a Rename macroed to MacroEditor 2012-09-05 17:30:28 +02:00
Guillaume Seguin 37a442e6fd Cleanup imports 2012-09-05 16:55:28 +02:00
Guillaume Seguin 02ef52d777 Remove temperature gauges entirely from codebase 2012-09-05 16:46:39 +02:00
Guillaume Seguin ae7bac414b More cleanup of buttons handling, sanitize custom buttons 2012-09-05 16:32:35 +02:00
Guillaume Seguin d01cb51a57 Remove dead code 2012-09-05 15:47:10 +02:00
Guillaume Seguin 0d7a722839 Use correct variable for uppersizer 2012-09-05 14:37:03 +02:00
Guillaume Seguin db143e8589 Split GUI 2012-09-05 13:09:38 +02:00
Christopher Keller 9f848c7631 Temp display staic text would cause rearranging of controls on main window resize. Adjusted the span so the static text could span all the controls on the left panel. 2012-09-05 01:47:22 -07:00
Guillaume Seguin 107280b822 Rerun reindent.py 2012-09-05 10:11:48 +02:00
Guillaume Seguin bbad2f53d6 Whoops, unfinished conflict solving 2012-09-05 10:10:05 +02:00
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 7da8a713f1 Merge branch 'experimental' of github.com:iXce/Printrun into experimental 2012-09-02 11:49:09 +02:00
Guillaume Seguin fd08509b75 Merge branch 'experimental' of https://github.com/kliment/Printrun into experimental
Conflicts:
	pronterface.py
2012-09-02 11:48:31 +02:00
Guillaume Seguin eddb60dc16 Fix imports of stlview and projectlayer 2012-09-02 11:17:08 +02:00
Kliment Yanev 930a433406 Merge branch 'experimental' of github.com:kliment/Printrun into experimental
Conflicts:
	pronterface.py
2012-08-20 08:24:22 +02:00
Kliment Yanev 4a5e13f2f7 Catch errors when appending text to logbox 2012-08-20 08:23:19 +02:00
D1plo1d ef6ffecfd4 Patching do_load so that it updates the pronterface ui when the load command is used within pronterface
Conflicts:

	pronterface.py
2012-08-20 11:47:04 -04:00
Markus Hitter 351df958cb pronterface.py: repeat messages from printer only in non-verbose mode. 2012-08-13 17:31:02 +02:00
Markus Hitter 4d612f2120 pronterface.py: add a menu item for G-code debug capabilities.
Making these visible should help users to find out what's going
on on unexpected printer behaviour.
2012-08-13 16:18:18 +02:00
Markus Hitter de81fffcb9 pronterface.py: sort top row button creation code.
No new functionality.
2012-08-13 16:17:52 +02:00
Guillaume Seguin f5378eae95 Fix GL stlview after move of stlview.py to printrun module 2012-08-13 13:42:22 +02:00
Guillaume Seguin 9452b572c8 Fix wrong automated change, update pot and French translation 2012-08-08 10:10:14 +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 49f90395c9 Mark a "Connect" string as translatable to have it translated 2012-08-08 08:40:22 +02:00
Guillaume Seguin 8cc134955f Run reindent.py on the whole repository 2012-08-08 08:39:50 +02:00
Guillaume Seguin 08c42443f1 Improve (and fix) time displays 2012-08-07 13:54:07 +02:00
Guillaume Seguin aba8848647 Cleanup 2012-08-07 13:49:58 +02:00
Guillaume Seguin c7c52e1c1d Disable recover button when disconnecting 2012-08-07 13:49:11 +02:00
Guillaume Seguin e6448ade53 Fix time display 2012-08-07 10:58:42 +02:00
Guillaume Seguin 1581c12f8e Only run final command if one is set 2012-08-07 10:58:28 +02:00
Guillaume Seguin 6f7ecce7ff Improve responsivity by reducing sleep times 2012-08-06 23:25:37 +02:00
Guillaume Seguin 0406041689 Make finish feature actually work 2012-08-06 23:25:01 +02:00
Guillaume Seguin 7edb74b18d Remove try: except: pass around status check 2012-08-06 19:38:01 +02:00
Guillaume Seguin 0816e6cafe Fix bug 2012-08-06 19:19:07 +02:00
Guillaume Seguin c8b4626d33 Initial attempt for recover button enable/disable behavior 2012-08-06 19:18:45 +02:00
Guillaume Seguin 0e0a41bef7 Add recover button to pronterface 2012-08-04 23:38:22 +02:00
Guillaume Seguin f47e979f19 Check if status thread has been started before joining it 2012-08-04 23:18:17 +02:00