Commit Graph

20 Commits

Author SHA1 Message Date
Luke Campagnola
c7f4a8fd39 Merge branch 'develop' into core 2014-04-15 15:11:19 -04:00
Luke Campagnola
1dae1def22 Merge branch 'develop' into pyqtgraph-core 2013-12-23 11:16:39 -05:00
Luke Campagnola
757dc50447 Merge tag 'pyqtgraph-0.9.8' into pyqtgraph-core 2013-12-23 11:15:54 -05:00
Luke Campagnola
551ac7802f mp fixes 2013-02-13 11:43:22 -05:00
Luke Campagnola
362a0dcd04 Fixes for Python3, PySide 2013-01-12 18:07:35 -05:00
Luke Campagnola
253d27d392 Fixed print statements for python 3 2013-01-12 14:35:32 -05:00
Luke Campagnola
e234d90f02 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
91ff9bbda4 Fixes against previous commits:
- fixed example testing script
 - Added finer axis ticks back in some instances
 - fixed improper bounds caching in log/fft mode
 - fixed exception handling in remoteproxy
2013-01-11 20:21:11 -05:00
Luke Campagnola
9a1d7d74cb 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
c07a92efbe Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -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
Luke Campagnola
005160423e Converted all old-style classes to new-style for PySide compatibility. (thanks Chris) 2012-11-28 22:47:52 -05:00
Luke Campagnola
92d11cee91 Parallelizer: more clever assessment of CPU count (ignores hyperthreaded cores on linux) 2012-08-31 17:20:05 -04:00
Luke Campagnola
e21480855f multiprocess updates:
- avoid sending keyboard interrupt signals to child processes
  - parallelizer keeps better track of processes that die unexpectedly
  - added ability to specify a different executable when starting new processes
2012-08-17 16:15:13 -04:00
Luke Campagnola
f178919bee Python3 compatibility updates 2012-07-09 08:36:59 -04:00
Luke Campagnola
73e94f543c Parallelize now reseeds random number generators after fork()
Bugfix -- AxisItem enforces tick boundaries more strictly
2012-06-30 23:32:26 -04:00
Luke Campagnola
3d71a1f555 Documentation updates
minor code edits
2012-06-30 23:30:35 -04:00
Luke Campagnola
96202aed3e Basic functionality in RemoteGraphicsView is working. 2012-06-22 22:10:37 -04:00
Luke Campagnola
d1fdbadd19 Multiprocessing updates / fixes:
- ForkedProcess is much more careful with inherited state -- closes file handles, removes atexit and excepthook callbacks
   - Remote processes copy sys.path from parent
   - Parallelizer has ProgressDialog support
   - Many docstring updates
   - Added some test code for remote GraphicsView rendering
2012-06-21 22:00:04 -04:00
Luke Campagnola
72006fe05b Added custom multiprocessing module:
- allows starting new processes and controlling them remotely from the parent process
  - remote processes can run their own GUI, Qt signals can be connected between processes
    (in general this is not possible with the built-in multiprocessing module due to
    the use of fork() ).
  - Control works by a system of proxy-objects such that controlling a remote process
    looks almost exactly like working with local objects.
  - Uses sockets to communicate between processes (so in theory could be made to 
    work over a network), but also includes a mode that uses fork() to allow fast
    parallelization.
  - Wicked-easy inline parallelization by adding only one line of code to break up work between
    processes (requires fork; sorry windows users)
2012-06-18 15:20:35 -04:00