Commit Graph

12 Commits

Author SHA1 Message Date
giovannibajo d4b8c25600 Convert invocations of VS(), OTHERERROR() and FATALERROR().
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
2007-11-20 13:26:38 +00:00
giovannibajo a1d5c791fb Introduce printf()-style error macros in bootloader for Windows.
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
2007-11-20 13:25:35 +00:00
giovannibajo 580c535a8f Ticket #4: remove C++-ism from the bootloader for the AIX compiler.
git-svn-id: http://svn.pyinstaller.org/trunk@304 8dd32b29-ccff-0310-8a9a-9233e24343b1
2007-01-28 14:56:59 +00:00
giovannibajo 5fb220ef2b Fix ticket #69: import [220], [223] and [224] from the crypt branch,
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
2006-09-05 12:44:44 +00:00
giovannibajo fe6e72b258 Fix buffer overrun with deep directory path
git-svn-id: http://svn.pyinstaller.org/trunk@287 8dd32b29-ccff-0310-8a9a-9233e24343b1
2006-09-05 12:09:56 +00:00
giovannibajo d2136e1891 Add a whitespace in a message
git-svn-id: http://svn.pyinstaller.org/trunk@267 8dd32b29-ccff-0310-8a9a-9233e24343b1
2006-02-14 12:06:34 +00:00
giovannibajo d518ec96f2 Abort execution of the program if a runtime script fails
git-svn-id: http://svn.pyinstaller.org/trunk@243 8dd32b29-ccff-0310-8a9a-9233e24343b1
2006-02-06 13:30:34 +00:00
giovannibajo 7351c50026 Fix indentation
git-svn-id: http://svn.pyinstaller.org/trunk@242 8dd32b29-ccff-0310-8a9a-9233e24343b1
2006-02-06 13:27:12 +00:00
giovannibajo 16cc34c992 Make bootloader fully static -- no more issues with MSVCRT71.DLL! (fix ticket #12)
git-svn-id: http://svn.pyinstaller.org/trunk@164 8dd32b29-ccff-0310-8a9a-9233e24343b1
2005-10-11 17:34:57 +00:00
giovannibajo 72bc2b45f7 Switch to GPL license (with exception)
git-svn-id: http://svn.pyinstaller.org/trunk@43 8dd32b29-ccff-0310-8a9a-9233e24343b1
2005-09-12 09:33:09 +00:00
giovannibajo 85d5aae814 Reformat and properly indent
git-svn-id: http://svn.pyinstaller.org/trunk@17 8dd32b29-ccff-0310-8a9a-9233e24343b1
2005-09-05 08:29:12 +00:00
giovannibajo b98a53df92 Imported Python Installer 5b5
git-svn-id: http://svn.pyinstaller.org/trunk@2 8dd32b29-ccff-0310-8a9a-9233e24343b1
2005-09-02 17:15:02 +00:00