kichik
a8f8c50538
replaced WCStrLen with winchar_strlen
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5056 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:32:24 +00:00
kichik
822d2fd546
UpdateResource->UpdateResourceA
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4884 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 12:58:18 +00:00
kichik
c145d69e55
2006 -> 2007
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
joostverburg
e497d771b1
* The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
...
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
b15cf04ef2
fixed bug #1509909 - !system & !packhdr fail with quotes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4711 212acab6-be3b-0410-9dea-997c60f758d6
2006-07-30 10:29:23 +00:00
kichik
991295e17f
fixed bug #1474597 - Mac OS X 10.4 build failures
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4664 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-28 15:54:42 +00:00
kichik
d4cedcefee
glob is no longer needed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4657 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-15 12:51:02 +00:00
kichik
b6f39da3aa
initialize path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4656 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-15 12:41:09 +00:00
kichik
3697599cb4
big-endian compatibility for generate_unicons_offsets
...
also a bit refactored using methods from CResourceEditor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4618 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 19:30:45 +00:00
kichik
c680fbbc04
write little-endian values in replace_icon
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4612 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 16:29:41 +00:00
kichik
c6ff33d9c5
fixed compile errors and warnings in get_executable_path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4607 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 18:15:53 +00:00
pabs3
7b789fbeb6
Make get_executable_path more portable and correct.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4592 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-15 06:51:31 +00:00
kichik
cfe99c1c26
updated update_bitmap, replace_icon and generate_uninstall_icon_data so they'll work on big-endian platforms
...
still need to update generate_unicons_offsets
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4578 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:14:59 +00:00
kichik
476296ded6
no need for iNewIconSize in replace_icon
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4573 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:37:41 +00:00
kichik
5691c3f3ff
the conditions on both wIsIcon and wReserved must be met, not just on one of them
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4563 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-10 21:42:06 +00:00
kichik
082160fb3e
throw runtime_error as it's more appropriate and has the required constructor on libstdc++ as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4516 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-04 15:01:18 +00:00
kichik
a94a7b67e3
fixed bug #1174742 - Icon error message is uninformative
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4508 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:57:56 +00:00
kichik
c1b96d78d8
UCS-2LE is not the default on all platforms, so this needs to be explicit
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4389 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-11 21:31:11 +00:00
kichik
8424e074e9
fixed build errors and warnings caused by latest merge
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4233 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-30 16:30:48 +00:00
oripel
57ad3c18b3
merged from PIEPIEPIE branch:
...
- min/max macros removed
- Plugins refactored
- more functions in util.{h,cpp}
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4232 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-27 19:56:00 +00:00
kichik
0856e2a3c4
applied patch #1179116 - debian amd64/gcc-4.0 build fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3955 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:45:14 +00:00
kichik
9613c8988f
- stubs are no longer included in makensis but read from the Stubs directory
...
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
c59980a4eb
better error message for icon number mismatch
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3887 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-29 15:31:56 +00:00
kichik
a0920c7b1d
added implementation of Unicode conversion functions for POSIX, based on iconv
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3821 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:06:17 +00:00
kichik
0e74cc0391
fixed bug #1075363 - nsisconf.nsh not included when using makensisw
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3798 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-30 18:00:27 +00:00
kichik
c2c907b2bf
added get_file_name which extracts the file name from a path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3780 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 15:26:49 +00:00
oripel
a9fdc1423e
Added missing #include statements for Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3713 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:24:54 +00:00
kichik
60aa307741
refactoring: split strlist.h classes into separate {h,cpp} files
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3694 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 15:17:00 +00:00
kichik
a4cad316e7
- converted ctime_r to ctime for better portability
...
- more refactoring
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3691 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 19:52:56 +00:00
kichik
c8e7f13742
more refactoring
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3683 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 20:25:33 +00:00
kichik
98caca8be1
- auto conversion of paths on POSIX platforms - based on patch #1005673
...
- LoadLanguageFile error message improvement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40:38 +00:00
kichik
1855c9f7a5
bug report #1005303 - NSIS build warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3630 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-18 16:14:44 +00:00
kichik
c458fd50bc
fixed ${NSISDIR} on POSIX when makensis is called with an absolute path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3542 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 13:05:35 +00:00
kichik
473d90a1bc
always go forward in the POSIX implmentation of CharNext
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3540 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 11:34:31 +00:00
kichik
4c5f8a30eb
- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
...
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00
kichik
f4a1f17299
- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
...
- fixed errors and warnings given by gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
bd25e070c8
- compiles without PSDK again
...
- moved all defines that are missing without PSDK to Platform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
kichik
1ad157554c
accept different order in install and uninstall icon files, as long as all of the sizes and color depths match
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3260 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 09:32:30 +00:00
kichik
41808c26be
More memory clean-ups
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
aa09b6bdb9
- Fixed SetOutPath not setting current directory if the directory didn't exist before
...
- Fixed a memory leak
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2895 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-10 13:44:24 +00:00
kichik
e6dd2ada8a
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2713 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-12 15:19:49 +00:00
kichik
1e862c874c
Refer to the docs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2678 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-25 11:17:56 +00:00
kichik
a95e02c4d2
VC7 - unsigned/signed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2584 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-27 14:51:00 +00:00
kichik
051fd2a73c
Wrong boundary
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2549 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-12 16:12:48 +00:00
kichik
8471501cfb
Some more checks when finding icon resources offsets - no more crashes when UPX compresses the icons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2548 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-12 15:34:58 +00:00
kichik
65806e3b4b
Check for 8bpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2541 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 19:50:16 +00:00
kichik
54240fcfc6
Last icon used counts, all others deleted
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2012 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-29 19:46:29 +00:00
kichik
9ff5b1f33e
Moved new and delete away from ResourceEditor into util.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1838 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-27 16:04:34 +00:00
kichik
1683a1f248
18 bytes down
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1158 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-23 14:07:39 +00:00
kichik
ef05d934d9
Fixed some string replacements and that FileErrorText bug.
...
ChangeUI now supports changing dialogs other than IDD_INST.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@655 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-06 11:24:49 +00:00