Commit graph

5378 commits

Author SHA1 Message Date
kichik
75405adb9d fix mingw env for unicode too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6296 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-13 08:22:56 +00:00
anders_k
088c7ba872 Add !define for PKEY_AppUserModel_StartPinOption and use it in the COM.nsh example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6295 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-12 23:23:01 +00:00
anders_k
9334c3fe89 Fix duplicate defines/conflicts in Include/Win*.nsh, nsDialogs.nsh and System.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6294 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 23:28:31 +00:00
anders_k
4f8bf3c466 Fix some MinGW warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6293 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 23:02:09 +00:00
anders_k
0d2edb2f1b Use dynamic buffer sizes for formated CEXEBuild warning/error methods
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6292 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 22:26:27 +00:00
anders_k
a0cd389c78 Experimental UTF16 reading support on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6291 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-08 19:38:46 +00:00
anders_k
9b287fc648 Added /plugin parameter to ReserveFile for our multi-arc. plugin subdirectories.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6290 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 23:38:25 +00:00
anders_k
dcddf977b2 Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +00:00
kichik
e6ac4e6d9b fixed MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO for NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
on r5228 and r5229 the MUI language files were moved to a new format in a new directory
during this move, the differences between the two MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO disappeared
instead of having two variations depending on NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE, they were the same

this commit restores the old values from the old language files from r5227
where these values are missing, a #FIXME was added

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6287 212acab6-be3b-0410-9dea-997c60f758d6
2012-12-12 19:34:13 +00:00
gavenkoa
6ba3b31b83 Fix "LATIN SMALL LETTER I" to "CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I".
It is possible that fonts have different glyph for this letter.

I think that original translation was prepared in build-in editor of popular
"Far" file manager which is console application and it usually run in cp866
codepage which doesn't have codepoint for "CYRILLIC SMALL UKRAINIAN I". (xD)

But most valuable reason to make this change is to have an ability to run
ispell like program.

I also fix some spelling errors, so ispell with 'ukrainian' dictionary doesn't
show any errors by now.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6286 212acab6-be3b-0410-9dea-997c60f758d6
2012-12-11 21:12:32 +00:00
gavenkoa
2404c414a6 Fix spelling.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6285 212acab6-be3b-0410-9dea-997c60f758d6
2012-12-11 20:36:31 +00:00
gavenkoa
d8dd88aebb Another one zlib import lib name (to build with Gnuwin32/Cygwin-Mingw zlib build).
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6284 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-13 20:57:18 +00:00
anders_k
8217b2c61f Display "Install data" size statistics as unsigned number. (Partial fix for bug #3564918)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6283 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-12 21:24:37 +00:00
kichik
6d71b946e3 tdefenv must be defined after defenv is ready
this caused tdefenv (and therefore util_env) not to contain the right pointers to libcp.lib

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6282 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 04:33:52 +00:00
kichik
3076227025 Platform.h defines TCHAR, no need to include tchar.h from the system
this fixes another set of redefinition warnings

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6281 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:48:27 +00:00
kichik
c57a89312f there's only one header.gif (the unicode fork has a different header)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6280 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:36:45 +00:00
kichik
bafaa78c40 NSIS.exe should be built as a GUI executable not as CLI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6279 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:12:50 +00:00
kichik
5289607dbd tchar.h is already included in platform.h
no need to include nsis_tchar.h from exdll (this is not a plug-in anyway)

this fixes a '_tstof' redefinition warning 

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6278 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 02:39:35 +00:00
kichik
378a89112e link to a working dll of zlib 1.2.7
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6277 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 02:09:29 +00:00
anders_k
56b0149fd1 Fix Bug#3571461 - Include POSIX header file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6276 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 23:43:03 +00:00
anders_k
bd2afdb1f3 Fix HDC leak in CreateFont
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6275 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 23:17:33 +00:00
anders_k
ae879b7c0a Avoid NSD_Add[Ex]Style register parameter conflict
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6274 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 22:35:55 +00:00
kichik
be4100d88e a note about building wxWidgets
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6273 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-05 01:42:47 +00:00
anders_k
1f949ccb94 Minor example scripts and WinVer.nsh fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6272 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 09:43:36 +00:00
anders_k
b76e823c5c Remove MRU menu separator when list is empty and delete empty MRU registry items
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6271 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 08:12:47 +00:00
kichik
cc12f76610 not sure how this ever worked, but it's LIBPATH that needs to be modified and LIB in the OS environment
maybe older versions of scons read LIB after environment construction too?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6270 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-15 02:34:25 +00:00
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
8f330bbbdf Create unicode makensis by default
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6267 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-21 14:28:24 +00:00
anders_k
4b62ecbb31 Added ManifestDPIAware attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6266 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 18:42:21 +00:00
anders_k
da2fe44184 Add ManifestSupportedOS attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6265 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 10:18:40 +00:00
anders_k
b0c40ee3b5 Reduce define spew from included files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6264 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-17 12:37:03 +00:00
anders_k
2cf9ecc10e Must extract nsisconf.nsh to $InstDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6263 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-16 14:45:43 +00:00
anders_k
172e5cdb08 Fix bug #3567313, wrong MUI control id in nsD docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6262 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-14 12:11:30 +00:00
anders_k
f2e3e13a0e MinGW: Don't link to LIBGCC*.DLL and LIBSTDC++-*.DLL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6261 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-11 00:53:50 +00:00
anders_k
59be675382 System: Minor x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6260 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-10 22:56:41 +00:00
anders_k
2d99d7ad3e Removed unused variables and fixed GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +00:00
anders_k
c6fdb4436d Fix GCC array bounds warning when accessing g_usrvars
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6258 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-06 22:43:31 +00:00
golubdr
667a2c8cae Fix indentation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6256 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 23:39:06 +00:00
golubdr
957653f389 Use appropriate zlib DLL depending on version.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6255 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 23:32:05 +00:00
golubdr
4247359df9 Fixed adler32.cpp to compile with the latest version of zlib.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6254 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 13:34:38 +00:00
golubdr
6047415427 Fixed regression that was causing RegQueryValueEx to always fail.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6252 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-07 00:33:55 +00:00
anders_k
f2ee8319f0 Docs: Limit pre tag line width
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6251 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-06 22:26:12 +00:00
anders_k
5fc29c43e6 WinMessages: Minor ListView additions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6250 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-05 05:26:15 +00:00
anders_k
e0efe0aa7b Add logiclib macros for Win8
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6249 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-05 05:13:55 +00:00
anders_k
fb9c8639c4 WinVer: Support Win8 and Srv2012
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6248 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-05 00:04:30 +00:00
anders_k
1348ac341b Update zlib download URL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6247 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-04 23:19:49 +00:00
anders_k
40c7fd50a8 Fix bug#3532925: Wrong LangID
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6246 212acab6-be3b-0410-9dea-997c60f758d6
2012-07-01 22:28:14 +00:00
anders_k
27a82ca909 Added minimal Tab and ListView support to WinMessages.nsh and some COM helper macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6245 212acab6-be3b-0410-9dea-997c60f758d6
2012-06-23 00:26:26 +00:00
anders_k
7cd38f2367 System plugin: Try harder to find dll export function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6243 212acab6-be3b-0410-9dea-997c60f758d6
2012-06-21 23:13:05 +00:00
anders_k
8aa67f8987 System plugin: Basic x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6222 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-06 23:09:23 +00:00