From: Anton Gyllenberg <anton@iki.fi>
finalizePython() may crash if doIt() fails. Add some error checking
to fail more gracefully. This will prevent the "Do you want to send
information to Microsoft" dialog e.g., in case python.dll could not
be loaded.
git-svn-id: http://svn.pyinstaller.org/trunk@333 8dd32b29-ccff-0310-8a9a-9233e24343b1
From: Anton Gyllenberg <anton@iki.fi>
Having the archive in an external file makes it possible to work around some
problems stemming from the process opening its own executable and keeping it
open.
git-svn-id: http://svn.pyinstaller.org/trunk@332 8dd32b29-ccff-0310-8a9a-9233e24343b1
From: Anton Gyllenberg <anton@iki.fi>
Convert some invocations of VS(), OTHERERROR() and FATALERROR() to use
the newly introduced printf style format strings. Examples of invocations
targetted for modification are cases multiple invocations could be handled
by one invocation with format string and those that used a string buffer
filled with strncpy() or the like.
git-svn-id: http://svn.pyinstaller.org/trunk@330 8dd32b29-ccff-0310-8a9a-9233e24343b1
From: Anton Gyllenberg <anton@iki.fi>
The output macros -- VS(), FATALERROR() and OTHERERROR(), had no output
formatting options. This lead to unnatural constructs like
VS("Loading dll: ");
VS(dllpath);
VS("\n");
Worse, for a Windows windowed application, the above example would
generate three dialog boxes of which the last one blank.
Therefore, make the functions behave like and have the same signature
as printf(). They should be backwards compatible as the old invocations
had just one argument which for some configurations was used as a format
string to printf.
I could not find a way to use preprocessor macros with a variable
amount of arguments on Microsoft Visual Studio 2003, so I opted to
make real functions for the message boxes on Windows.
git-svn-id: http://svn.pyinstaller.org/trunk@329 8dd32b29-ccff-0310-8a9a-9233e24343b1
In [128], Make.py was changed to generate a Makefile which links against
the dynamic library of Python. This looks like a mistake, since the
distribution than depends on libpythonX.X.so.
I changed it back, so that it still uses syconfig to extract the correct
path of the static library. The problem now appears to be that not all
distributions include a static library...
git-svn-id: http://svn.pyinstaller.org/trunk@297 8dd32b29-ccff-0310-8a9a-9233e24343b1
which allow to compress the bootstrap modules so that they not appear
in plaintext in the executable.
git-svn-id: http://svn.pyinstaller.org/trunk@288 8dd32b29-ccff-0310-8a9a-9233e24343b1
the executables with UPX. The problem is actually a bug in UPX, but it's
still worth working-around it by using LANG_NEUTRAL for icons in bootloader.
git-svn-id: http://svn.pyinstaller.org/trunk@278 8dd32b29-ccff-0310-8a9a-9233e24343b1