-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"In the face of ambiguity refuse the temptation to guess" -- Tim Peters #29
base: master
Are you sure you want to change the base?
Commits on Jan 19, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 847df31 - Browse repository at this point
Copy the full SHA 847df31View commit details -
replace _easycallback with _make_signaller
_easycallback is hard to use indirectly to create signals at runtime, _make_signaller is more flexible & designed specifically to creat signals at runtime. _windows used it's own signal creation mechanism, and now it uses the same one as _call_soon_threadsafe.
Configuration menu - View commit details
-
Copy full SHA for 53d6fef - Browse repository at this point
Copy the full SHA 53d6fefView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec60641 - Browse repository at this point
Copy the full SHA ec60641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee2e75 - Browse repository at this point
Copy the full SHA 4ee2e75View commit details -
Cleanup imports to use import_module
Using import module is cleaner than __import__ in some situations. This code is much easier to read. Also eliminates the QtModule variable.
Configuration menu - View commit details
-
Copy full SHA for 7e552e4 - Browse repository at this point
Copy the full SHA 7e552e4View commit details -
QtCore is only referenced directly by the tests, never in code except in the initializer for the loop, but everyone else receives a copy of QtCore from the loop, and never receives it at compile time.
Configuration menu - View commit details
-
Copy full SHA for fed7806 - Browse repository at this point
Copy the full SHA fed7806View commit details -
Use type of app param to QEventLoop to determine which Qt module to use
This is a big commit, but any smaller changes would put the project into a non-working state where everything fails and things crumble and it's all terrible. The big change is QtCore, and QApplication are no longer imported by quamash at import time. Instead, the type of the app parameter to QEventLoop determines which module is imported (PySide, PyQt4, or PyQt5). This is fairly robust and should support PySide with Qt5 when (and if) it is released. QThreadExecutor now takes in a parameter that should reference QtCore.QThread. Changes to tests and CI configuration to use a --qtimpl parameter instead of the QUAMASH_QTIMPL environment variable. a new fixture called qtcore was also created so tests (mostly those that test QThreadExecutor) could access a reference to the QtCore module. TODO update README
Configuration menu - View commit details
-
Copy full SHA for 09586b3 - Browse repository at this point
Copy the full SHA 09586b3View commit details -
Better Documentation and Error Messages
Before sending in an app value of None was allowed (and the default), but now that's not allowed, so we should guard against it. More guards would be against duck-typing. Wow. There were TWO self.__app is not None assertions.
Configuration menu - View commit details
-
Copy full SHA for 556208d - Browse repository at this point
Copy the full SHA 556208dView commit details -
A parent shouldn't inherit properties from it's children.
It's crime against nature.
Configuration menu - View commit details
-
Copy full SHA for e660d42 - Browse repository at this point
Copy the full SHA e660d42View commit details -
Only capture necesssary exceptions
This way if signal_class() raises AttributeError it won't be caught.
Configuration menu - View commit details
-
Copy full SHA for abb907a - Browse repository at this point
Copy the full SHA abb907aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0e646 - Browse repository at this point
Copy the full SHA 9b0e646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79a6458 - Browse repository at this point
Copy the full SHA 79a6458View commit details -
Merge pull request #30 from aknuds1/depinject5realz
Simplify QThreadWorker
Configuration menu - View commit details
-
Copy full SHA for 63500e0 - Browse repository at this point
Copy the full SHA 63500e0View commit details