anders_k
510fb334c8
Fixed some typos (Most of them found by codespell/Stefan Weil)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
d7d6c3561d
Change the ACL on our %temp% directories (bug #1125 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6657 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-07 20:49:46 +00:00
anders_k
6be5d8d07d
Delay load Version.dll to avoid dll hijacking [bug #1125 ]
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6642 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-25 13:13:42 +00:00
anders_k
9d883f98d8
HANDLE NULL check the converted value, not the string length
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6639 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-22 12:44:49 +00:00
anders_k
8f65eb3c23
CreateShortcut icon index can now be larger than 255 (Bug #1123 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6638 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-21 13:12:40 +00:00
anders_k
252adb2f39
Use myWriteFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6628 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 16:27:34 +00:00
anders_k
b54c831ff0
FileReadUTF16LE skips optional BOM and FileWriteUTF16LE can write a BOM with the /BOM switch
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6626 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-26 23:29:39 +00:00
anders_k
286edd20c4
* Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
...
* Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
9ff4b3ef43
(C) 2015
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
c75a00bbe7
2014 and fixed some minor typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
anders_k
a03795783a
Must pass count of TCHARs to _LogData2Hex so we don't overflow the buffer in unicode stubs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6468 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-08 20:12:26 +00:00
anders_k
da7d67e69d
CreateShortCut > CreateShortcut
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +00:00
anders_k
1e17d02ff7
Added CreateShortcut /NoWorkingDir optional parameter
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6452 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:17:07 +00:00
anders_k
d799ee53d7
Basic Win64 support (MSVC)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
942ea1d465
Win64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
55738e1385
Optimize FileReadByte/FileReadWord
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6400 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-28 14:46:24 +00:00
anders_k
d387a32658
FileRead in Unicode installers can handle DBCS, conversion output is limited to UCS-2
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6399 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 23:09:54 +00:00
anders_k
ebe96fe79c
Don't limit Lnk path A2W conversion to 1024 WCHARs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6397 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 17:40:38 +00:00
anders_k
19b9a3e65a
Use ReadFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6395 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 19:18:34 +00:00
anders_k
a5f0809ee9
FileReadByte should not do any kind of conversion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6394 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 18:27:02 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +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
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
2c89cca183
FileRead is problematic on unicode, just document it for now and hope we can fix it later...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6214 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-24 15:25:55 +00:00
anders_k
0617c9d3e7
Changed SetWindowLong to SetWindowLongPtr and removed WNDPROC related casts
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6180 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 15:41:45 +00:00
wizou
24c02b97d0
Unicode port: adding UTF-16LE file functions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6089 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:11:29 +00:00
wizou
36f6645935
Added comments, and removed unused #include
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6056 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:27:00 +00:00
wizou
759ae312b5
Reducing exehead by 9 bytes and making Anders happy
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6053 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 14:27:51 +00:00
wizou
f5df185ba2
Fix exehead unicode compil warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:01:14 +00:00
wizou
64a0f32e52
more simple TCHARs fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +00:00
wizou
acf9a8c21f
Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +00:00
wizou
cdf7735a77
Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
...
Compiler output is identical before & after this step
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a
Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
...
Compiler output is identical before & after this step
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
9f7710ace6
applied patch #2920342 - add error checking to SetCurrentDirectory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6029 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 17:04:37 +00:00
kichik
0aed504f4a
happy new year!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
4f8b10e589
gcc fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5819 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:10:07 +00:00
kichik
4859b8702e
move definitions common to both plug-ins and stubs to api.h (part of patch #2359978 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:53:39 +00:00
kichik
4c30821aa5
applied patch #1912699 - "Pinned" / always loaded plugins support
...
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
f45c62e9a4
applied patch #1992325 - Logging - Change CreateDirectory logging to show recursion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5651 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 17:25:03 +00:00
kichik
c382bd2071
applied patch #1986692 - Close LOG file when LogSet is set to Off.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5647 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 16:31:14 +00:00
kichik
2675599a31
happy new year!
...
bug #1855805
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
b0978fc844
move SetDetailsPrint flag to g_exec_flag and added a lastused capability to EW_SETFLAG
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5268 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:20:11 +00:00
kichik
68abd8a09e
buf1, not buf (patch #1768584 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5234 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-11 17:03:18 +00:00
pabs3
13989c1965
Prevent FTBFS due to using log_printf3 instead of log_printf2
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5220 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-27 00:55:47 +00:00
kichik
7af66a4a9c
a bit more logging
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5219 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-24 19:06:34 +00:00
kichik
6b5f50b4d6
let GetStringFromParm call validate_filename
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5201 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-14 10:53:35 +00:00
kichik
9a3d40b9dd
and if IPeristFile::Save isn't called, fail
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5193 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 10:21:04 +00:00
kichik
5ccacf1781
don't call IPeristFile::Save if MultiByteToWideChar fails
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5192 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 10:11:43 +00:00
kichik
05ddf4bfc7
size optimization - use GetStringFromParm instead of wsprintf
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5191 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 09:55:20 +00:00
kichik
9d8874cd72
the more common case for SendMessage is ints, so get that first
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5190 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 09:31:57 +00:00