Commit Graph

918 Commits (5867975a10f129e00eaad82b6a2c9651a3fee30c)

Author SHA1 Message Date
D1plo1d 5867975a10 Adding a print queue api. Not yet able to print. 2013-04-18 20:46:19 -04:00
D1plo1d 8c67ac28a9 Fixing inspector js logging on load 2013-04-15 16:39:11 -04:00
D1plo1d ccdf1b01b7 Removing legacy MDNS code that wasn't needed for the current MDNS setup. 2013-04-15 16:37:34 -04:00
D1plo1d 86ba7b9ed2 Throttling the DOM writes of pronserve inspector and stopping dom writes entirely when the window looses focus. 2013-04-12 10:53:33 -04:00
D1plo1d ad4c7153c0 Adding a link to inspector on the index 2013-04-11 00:07:47 -04:00
D1plo1d aeffb1c6c4 Adding temperature graphing to the pronsole inspector 2013-04-11 00:04:07 -04:00
D1plo1d a5c1ae9d1b Changing pronserve inspector to display a more reasonable persision 2013-04-10 23:07:39 -04:00
D1plo1d 7264c5e1c6 Adding a sleep to the pronserve startup. Seems to be fixing an intermittent bug where the printer wouldn't respond to temperature requests 2013-04-10 23:04:52 -04:00
D1plo1d b9a358a6a6 Fixing pronserve ououtputs: sensor values should be floats 2013-04-10 23:00:43 -04:00
D1plo1d 1a9b1502bd Cleaning up the pronserve code 2013-04-10 22:54:17 -04:00
D1plo1d 5f1955901c Adding "Pronserver" - a network discoverable 3d printer service. 2013-04-10 22:49:35 -04:00
D1plo1d eb0f808bf4 Refactoring Pronsole to wrap print in a self.log method so that it can be reused and overriden by a web interface or any other non-conosole interface 2013-04-10 09:05:08 -04:00
D1plo1d e1660bd7f0 Removing the web interface bindings from pronsole and pronterface 2013-04-09 15:46:40 -04:00
D1plo1d 47f75d10e5 Removing the web interface from the docs 2013-04-09 15:43:13 -04:00
D1plo1d c8d309f717 Removing the web interface 2013-04-08 21:04:39 -04:00
kliment 2090124e16 Merge pull request #341 from Metamaquina/master
fixing broken pyreadline download url
2013-03-05 14:34:48 -08:00
Felipe Corrêa da Silva Sanches bc741d67f4 updating download url for windows version of pyreadline 2013-03-05 14:53:35 -03:00
kliment 71e5da009a Merge pull request #318 from hroncok/master
Show connection error to the user
2013-01-23 08:20:43 -08: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 5897fbc60f Merge pull request #316 from hroncok/master
gcoder.py reads the file content instead of the file name when testing
2013-01-13 12:06:56 -08:00
Miro Hrončok 629a53ac5c gcoder.py reads only hte content of the file
Previously, gcoder.py read not only the content of the file, but also it's
filename. This could have led to unexpected exceptions.
2013-01-13 20:57:15 +01:00
Alessandro Ranellucci 094dffa53b Bugfix: printcore.py -s was generating garbage output 2013-01-13 13:27:14 +01:00
kliment a7300b60b7 Merge pull request #300 from hroncok/master
Added missing files to setup.py and fixed license notice in files which were not explicitly gplv3+.
2013-01-13 04:15:49 -08:00
Miro Hrončok d90166b04c Making the whole package GNU GPLv3+. 2013-01-13 12:18:47 +01:00
Miro Hrončok 41889d62ed Added missing files to setup.py
If I install Printrun via setup.py, I don't have gcoder.py and I cannot even
use pronterface.py:

Traceback (most recent call last):
  File "/bin/pronterface.py", line 46, in <module>
    import pronsole
  File "/usr/bin/pronsole.py", line 23, in <module>
    from gcoder import GCode

So I've added this to setup.py.

Also, pronsole.ico is missing, added that to (not needed at runtime, but is
usefull for desktop files)
2012-11-24 15:53:03 +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
kliment 1d23c81f8e Merge pull request #293 from sivu/experimental
added gcoder from another project. using gcoder to calculate dimensions and used filament
2012-10-17 11:22:33 -07:00
Mikko Sivulainen 94666c2d13 updated gcoder copyright notice 2012-10-17 21:19:51 +03:00
Mikko Sivulainen 577ed7c8fb added gcoder from another project. using gcoder to calculate dimensions and used filament 2012-10-17 20:47:12 +03:00
kliment 51b5cf46dd Merge pull request #291 from sivu/experimental
fixed measurement calculation for X and Y axis
2012-10-09 09:23:11 -07:00
Mikko Sivulainen ab9002c579 fixed measurement calculation for X and Y axis
Conflicts:

	pronsole.py
2012-10-09 19:06:46 +03:00
iXce b6935b93d5 Merge pull request #288 from hroncok/master
Add the GNU GPL text as the licese itselfs demands
2012-09-23 17:13:33 -07:00
Miro Hrončok fa9ec49858 Added the GNU GPL text as the licese itselfs demands. 2012-09-24 01:01:21 +02:00
kliment 7333e93cc3 Merge pull request #286 from iXce/split-gui
GUI creation split
2012-09-10 04:56:18 -07: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 55ff65805b Correctly parent xyz buttons code-wise 2012-09-06 17:35:44 +02:00
Guillaume Seguin 77376bc17c Fix custom buttons 2012-09-06 09:02:47 +02:00
Kliment Yanev ab7c278200 Merge branch 'experimental' of github.com:kliment/Printrun into experimental 2012-09-06 07:08:40 +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 f8b7a52cbc Whitespace cleanup (extra newlines) on graph.py 2012-09-05 17:00:26 +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 bbcdf2f383 Cleanup factorized button creation, start using it more 2012-09-05 15:46:50 +02:00