Commit Graph

39 Commits

Author SHA1 Message Date
Kyle Sunden 6a59b7e5b5
Many unused import cleanups (#1935)
* Many unused import cleanups

Ignored some star imports, some vendored code in colorama, only looked within pyqtgraph the library, not e.g. examples

* SpinBox decimal imported with both import and from import
2021-07-31 07:35:23 -07:00
Martin Chase 1d40d50b89
push bullet lists over 2 spaces to get them to show up as such in the… (#1912)
* push bullet lists over 2 spaces to get them to show up as such in the docs

* separate the literal block from the bullet list
2021-07-21 07:12:35 -07:00
KIU Shueng Chuan 30f4af5913 remote: exchange pids if running in Windows venv 2021-06-22 21:59:39 +08:00
KIU Shueng Chuan 0754602c3c fix in-library uses of exec_() 2021-05-14 06:16:21 +08:00
KIU Shueng Chuan 306e9c2498 fix: cprint of remote output needs decode() 2021-04-28 16:38:15 +08:00
Ogi Moore 309195ceea
Fix windows hidpi (#1516)
* set environment variables before starting QApp

* fix-422

* Better support of hidpi

* Fix Typo in App-Name

* Remove fontScaleFactor bits

* Add documenation for hidpi displays

* Fix pg not defined
2021-01-27 10:59:07 -08:00
Ogi Moore 85773e4530
Revert "have mkQApp configure QApplication such that it handles HIDPI displays on Windows (#1509)" (#1515)
This reverts commit 98f6b2f1a5.
2021-01-27 10:42:38 -08:00
Ogi Moore 98f6b2f1a5
have mkQApp configure QApplication such that it handles HIDPI displays on Windows (#1509)
* set environment variables before starting QApp

* fix-422

* Better support of hidpi

* Fix Typo in App-Name

* Remove fontScaleFactor bits

* Add documenation for hidpi displays
2021-01-27 10:05:56 -08:00
Jens Hedegaard Nielsen 1d10561974 fix deprecation warning
the argument to qtimer.start should be an int not a float

the current code raises a deprecation warning with python 3.8
2020-09-16 10:48:37 +02:00
Sebastian Pauka 482dd2ee33 Terminate FileForwarder thread on process end
Previously on windows the FileForwarder threads would
continue to run and eat up a lot of CPU once the child process
they were forwarding dies. This commit shuts down those threads
when the child process is killed.
2018-10-30 10:22:49 +11:00
Luke Campagnola 0af4706024
Merge pull request #635 from campagnola/pyside2
WIP: PySide2 support
2018-05-24 17:14:11 -07:00
Luke Campagnola 66dcfc7c67 Merge branch 'develop' into pyside2 2018-05-22 15:22:54 -07:00
Luke Campagnola a86ab30578 fix iteritems 2018-05-15 16:37:20 -07:00
Luke Campagnola 465ea2d940 Prevent parallelizer leaking file handles 2018-04-25 13:22:23 -07:00
Luke Campagnola 82afad8366 Fix up Qt.py and deprecate USE_XX variables 2018-02-16 20:42:34 -08:00
Luke Campagnola b5e3391453 Allow calling sip.setapi in subprocess before pyqtgraph is imported 2017-09-22 16:44:53 -07:00
Luke Campagnola 182e939785 Fix color output handling 2017-09-13 09:13:31 -07:00
Luke Campagnola 5fb5858802 Allow better control over sys.path in subprocesses
Either add path to pyqtgraph, or copy entire path (anything else still requires manual effort)
2017-09-13 09:13:03 -07:00
Luke Campagnola 2a70fd9932 Fix some issues with closing subprocesses 2017-09-13 09:05:54 -07:00
Luke Campagnola 0e06c50402 Catch OSError from ForkedProcess that has already exited. 2017-07-28 15:57:45 -07:00
Luke Campagnola d65008dd63 defer debug message formatting to improve multiprocess communication performance 2015-09-04 15:53:08 -04:00
Luke Campagnola 8e1c3856ea Added more examples to menu
Minor edits
2015-03-01 16:52:15 -05:00
Luke Campagnola 89c04c8a81 Corrected bug in multiprocess causing deadlock at exit
Multiprocess debugging messages now use one color per process
Corrected RemoteGraphicsView not setting correct pg options on remote
process

New debugging tools:
* util.cprint for printing color on terminal (based on colorama)
* debug.ThreadColor causes each thread to print in a different color
* debug.PeriodicTrace used for debugging deadlocks
* Mutex for detecting deadlocks
2014-03-14 14:18:46 -04:00
Luke Campagnola adfcfa99a1 Fixed multiprocess port re-use on windows 2014-03-14 14:17:42 -04:00
tommy3001 2a13994a2a Bugfix: Malformed tables.
All argument lists with `**Arguments:**`
2014-02-05 21:04:33 +01:00
tommy3001 92d7bbe18e In list tables "**Arguments**", "Arguments:" changed to **Arguments:** 2014-02-03 21:13:10 +01:00
Luke Campagnola 7777240d89 exporters, multiprocess, opengl 2013-12-23 09:46:54 -05:00
Luke Campagnola 5b156cd3d3 Fixes for multiprocess / RemoteGraphicsView:
- Process now optionally wraps stdout/stderr from child process to
  circumvent a python bug
- Added windows error number for port-in-use check
- fixed segv caused by lost QImage input in pyside
2013-11-17 22:32:15 -05:00
Luke Campagnola 1418358bfb Fixed RemoteGraphicsView passing mouse events on python3 + pyside 2013-11-17 14:12:00 -05:00
Luke Campagnola 08be09ee40 Fixed RemoteGraphicsView on windows
- Avoid using authkey on windows; seems to be broken
 - Included yet another method of accessing shared memory as QImage
2013-11-17 09:27:55 -07:00
Luke Campagnola 31928e70a5 Bugfixes:
- GraphicsView.render now correctly invokes GraphicsScene.prepareForPaint
 - Fixed RemoteGraphicsView renderer to use new PyQt QImage API.
 - multiprocess.Process now pipes stdout/err directly to console when in debugging mode
2013-11-06 23:14:27 -05:00
Luke Campagnola ef8c47e8c8 Allow QtProcess without local QApplication 2013-08-04 14:35:28 -04:00
Luke Campagnola a50f74a1fc bugfix: https://bugs.launchpad.net/pyqtgraph/+bug/1157857 2013-03-22 15:52:44 -04:00
Luke Campagnola ccc81c6919 mp fixes 2013-02-13 11:43:22 -05:00
Luke Campagnola 4dc9b83816 Fixes for Python3, PySide 2013-01-12 18:07:35 -05:00
Luke Campagnola c5dd0f4f63 Fixed print statements for python 3 2013-01-12 14:35:32 -05:00
Luke Campagnola 9a9fc15873 Bugfixes:
- GraphicsItem.pixelVectors copies cached results before returning
  - Multiprocess fixes for Windows:
      - mmap/shm uses anonymous maps rather than tempfiles
      - avoid use of getppid and setpgrp
      - work around hmac authentication bug (use os.urandom to generate key)
2013-01-12 14:31:49 -05:00
Luke Campagnola 513e904a59 Improved performance for remote plotting:
- reduced cost of transferring arrays between processes (pickle is too slow)
  - avoid unnecessary synchronous calls

Added RemoteSpeedTest example
2013-01-10 16:10:27 -05:00
Luke Campagnola af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00