Guillaume Seguin
a4759865ba
Import shlex from the beginning
2013-05-18 17:18:20 +02:00
Guillaume Seguin
faeb14f190
Explicitely delete wx.App at the end of pronterface.py
...
Okai, this may not make that much sense. However when removing the mainloop,
pronterface was segfaulting when Python was freeing everything. As a
workaround, explictely destroy the wx application, which will cleanly free
things in order, while Python might destroy wx things in a random order.
2013-05-18 12:50:18 +02:00
Guillaume Seguin
e29dd70efe
Merge branch 'experimental' into HEAD
...
Conflicts:
printrun/gviz.py
2013-05-18 11:14:50 +02:00
Guillaume Seguin
16b5f6db25
Cleanup some code
...
Not sure about that dropping of the self.gwindow.Destroy try block, we'll see
2013-05-18 11:05:45 +02:00
Guillaume Seguin
7fc0f1c475
Add -g/--gauges CLI argument for temp gauges, and improved argparsing.
...
The gauges options is a CLI parameter as having it as an option would be
too painful to handle for now.
Argument parsing has been improved so that pronterface can add its own CLI
parameters in addition to pronsole's ones.
2013-05-17 17:04:41 +02:00
Guillaume Seguin
90e32562ea
More work on getting the gauges back
2013-05-17 16:59:28 +02:00
Guillaume Seguin
89453befd1
Fix possible issue where checksum would break layer change detection
...
Should fix #348
2013-05-17 16:48:53 +02:00
Guillaume Seguin
a9c3e8b442
Revert "Remove temperature gauges entirely from codebase"
...
This reverts commit 02ef52d777
.
First step towards getting the gauges optionally back for #296 .
2013-05-17 16:33:05 +02:00
Guillaume Seguin
ec76dc6de0
Woops, forgot to commit this major thing
2013-05-17 00:18:54 +02:00
Guillaume Seguin
0376729afc
Woops, typo
2013-05-16 22:50:28 +02:00
Guillaume Seguin
7a528800e6
Minor changes : mark 2 strings for translations + cleanup
...
One of the strings is to give a hint for wrong baudrates (#276 )
2013-05-16 20:47:56 +02:00
Guillaume Seguin
a80a2fea4b
Move gcoder.py into printrun module
2013-05-16 15:05:28 +02:00
Guillaume Seguin
9816ea7c8a
Cleanup some code in pronterface
2013-05-15 21:39:08 +02:00
Guillaume Seguin
b1113f06a5
Woops, typoz
2013-05-15 19:42:38 +02:00
Guillaume Seguin
79d0477553
Move code around and remove useless helpers from pronsole.py
2013-05-15 15:23:46 +02:00
D1plo1d
31891fa3da
Merging experimental branch with Pronserve
2013-04-19 20:42:03 -04:00
D1plo1d
e1660bd7f0
Removing the web interface bindings from pronsole and pronterface
2013-04-09 15:46:40 -04:00
fsantini
9500528676
Merge branch 'experimental' of https://github.com/kliment/Printrun into experimental
2013-04-08 19:03:34 +02:00
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
Ken Aaker
2aac06f9da
Fix abort in wxColour_helper on OpenSUSE
...
This replaces "" strings that cause aborts in python-wxWidgets wxColour_helper with
Python None objects. This corrects an abort where the helper tries to fetch the
first byte of the colour string even when it's 0 length.
2013-03-27 19:45:30 -05: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