Use newapp in parallel code #486

Closed
wants to merge 41 commits into
from

Projects

None yet

2 participants

@minrk
Member
minrk commented May 30, 2011

parallel scripts have been rewritten with newapp.

Docs have been updated accordingly.

minrk and others added some commits May 28, 2011
@minrk minrk Terminal IPython working with newapp b1f3e46
@minrk minrk update config files to match new namespace. 3f13a3c
@minrk minrk remove old default config files 57b7e0b
@minrk minrk update docs with new cl-arguments f6a7377
@minrk minrk minor helpstring cleanup per review. 11d91eb
@minrk minrk Split generic part of terminal frontend/terminal/ipapp into core/shel…
…lapp

Now there's a class for IPKernel to inherit from in the qt code
bba8a52
@minrk minrk use App.instance() in launch_new_instance
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
abf93be
@minrk minrk zmq kernels now started via newapp 0fda148
@minrk minrk QtConsole now uses newapp 6011408
@minrk minrk qt font family/size configurable 2a72ea4
@minrk minrk add InlineBackendConfig
The inline backend now has preliminary config support for rc and figure format.
a3fc5dc
@minrk minrk cleanup channel names to match function not socket
closes gh-178
7940e2f
@minrk minrk use Monospace as default font on Linux c932bca
@minrk minrk update docs/default config for qtconsole 424da74
@minrk minrk expand default_editor message to include configurable
Also set the default editor to notepad on Windows.
0efe944
@minrk minrk update QtConfig section of ipython_config to match actual defaults d10edbe
@minrk minrk IPKernelApp now based on InteractiveShellApp 2eb73ea
@minrk minrk use App.instance() in kernel launchers
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
14a4f02
@minrk minrk use logging instead of `print >>` in pykernel 9c14773
@minrk minrk add qtconsole as subapp of terminal ipapp
Now 'ipython qtconsole' will behave the same as 'ipython-qtconsole'
f744a3c
@minrk minrk add confirm_exit option to qtconsole to suppress exit dialog fffc83f
@minrk minrk merge #492 newapp-qt f6b7029
@minrk minrk all ipcluster scripts in some degree of working order with new config 1940df6
@minrk minrk ipcluster implemented with new subcommands ad7f39d
@minrk minrk restore auto_create behavior a618140
@minrk minrk cleanup parallel traits
* eliminate use of CUnicode
* eliminate use of Str
* all remaining CStr will become CBytes
c29759d
@minrk minrk re-enable log forwarding and iplogger 4b57636
@minrk minrk parallel docs, tests, default config updated to newconfig 3776732
@minrk minrk use BaseIPythonApp.load_config, not Application.load_config 6fa4c3f
@minrk minrk update parallel apps to use ProfileDir 5f11451
@minrk minrk rename clusterdir to more descriptive baseapp
since the 'clusterdir' part is now in the base newapplication, and not cluster-specific.
b11fa90
@minrk minrk remove uneccesary Config objects from flags. 00e2265
@minrk minrk update default config files with new app namespace ffe0399
@minrk minrk cleanup Hub/Scheduler to prevent '%s'%<nonascii> errors 2676dc3
@minrk minrk fix %px magic output for single target
parallelmagic._maybe_display expects result.stdout to be a list,
but did not handle the single-result case where it is the stdout string
itself, thus printing the first character rather than the whole string.

test included
ee1d9ce
@minrk minrk use HMAC digest to sign messages instead of cleartext key
also some cleanup of Session code

security doc updated as well.

Buffers do not get digested, so large (non-copying) messages should not
cause performance to suffer too greatly.
ca299a7
@minrk minrk use Context.instance() for default in SessionFactory a6c14a6
@minrk minrk use App.instance() in launch_new_instance (parallel apps)
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
fbeaaef
@minrk minrk don't pass profile_dir as kwarg in ipclusterapp
also fix PBS->SGE typo from copy/paste
739a5cd
@minrk minrk fix SGE jobarray regex 7521650
@takluyver takluyver Replace Itpl with str.format in parallel launcher.
Signed-off-by: MinRK <benjaminrk@gmail.com>
e08aa54
@minrk minrk added a commit that closed this pull request Jun 10, 2011
@minrk minrk Merge branch 'newapp-parallel' into newapp
closes #486
c5d26d9
@minrk minrk closed this in c5d26d9 Jun 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment