Commit graph

1105 commits

Author SHA1 Message Date
kichik
578065d849 use NSIS_VERSION from the new automatically genereated version.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:14:18 +00:00
kichik
32a717faf5 move NSIS_VARS_SECTION to sconf.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4536 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:12:04 +00:00
kichik
7a5163ea59 write all defines to sconf.h which is included by config.h instead of passing them on the command line
write the freaquently changing NSIS_VERSION to a separate file named version.h so only files that really need it will include it


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4535 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:10:42 +00:00
kichik
2af8b64f00 fixed bug #1400995 - MB_TOPMOST doesn't work as first sections' instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4534 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 18:15:35 +00:00
kichik
8e9a79a4b7 applied patch #1434174 - GCC 4.2 patches
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4533 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:19:55 +00:00
kichik
9ec765a72b wrong strcmp for !define /math division
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4532 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:10:38 +00:00
kichik
9aaf2bd9a2 fixed error messages and removed useless !undef's
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4531 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:08:28 +00:00
kichik
0bed8171f5 sprintf into a buffer, not a random address
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4530 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:00:23 +00:00
kichik
740fe7af2b removed stray parenthesis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4529 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:55:51 +00:00
kichik
2b3aa18846 applied patch #1372561 - !define /math compile time enhancement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4528 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:52:40 +00:00
kichik
b1dc917843 applied patch #1412982 - "!if" - enhanced compile time flow control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4526 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:06:30 +00:00
kichik
940af5f963 fixed bug #1431593 - dir_reader::matches uses iterator that is at end
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4522 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 11:41:22 +00:00
pabs3
7e0ba02822 Fix 1431958: Properly convert !addincludedir paths on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4520 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-23 11:27:56 +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
90301110cc fixed bug #1420657 - RMDIR doesn't delete file with double dots prefix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4512 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-31 18:27:28 +00:00
kichik
2c7ee57a18 check if log_dolog is set for NSIS_CONFIG_LOG_STDOUT as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4511 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 18:06:46 +00:00
kichik
94f7f3b673 added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
cfec122ba1 pass NSIS_CONFIG_LOG_ODS to script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4509 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:51:57 +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
a889217375 richedit controls automatically set the hand cursor for links, no need to do it manually
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4507 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:44:40 +00:00
kichik
75d0211ffd check g_tmp[0] not state_language[2]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4500 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:57:50 +00:00
kichik
b747052c7f fixed bug #1412159 - NSIS 2.13 doesn't work on Win 95/98/NT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4498 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:54:35 +00:00
kichik
80cca71694 g_tmp should be at least twice NSIS_MAX_STRLEN, no matter what NSIS_MAX_STRLEN is
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4497 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:31:24 +00:00
kichik
9f93fcfa18 oops, quoting problems, back to config.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4496 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:59:33 +00:00
kichik
dcc5a3c002 moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
pabs3
0913023f33 Merge patch for better installs on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00
kichik
c16ca4f9fc 2006
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +00:00
kichik
d96ca6b2f7 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4483 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 16:03:53 +00:00
kichik
8be4c6a45d size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4482 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:55:37 +00:00
kichik
df250ef20d size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4481 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:42:15 +00:00
kichik
b682277db5 added a comment explaining the workaround
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4480 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:32:56 +00:00
kichik
4a9416330d fixed bug #1397031 - masked checkboxes don't redraw on Windows 95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4479 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:22:49 +00:00
kichik
494a87fd0c TreeView doesn't automatically scroll to newly added items, there's no need to manually scroll back to the top.
I'd keep it just to be on the safe side, but on Windows 95, it crashes when there are no items in the TreeView.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4478 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 13:35:12 +00:00
kichik
09e44a9feb size optimization (zlib is back to 34)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4477 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 20:44:51 +00:00
kichik
a1f2413942 fixed bug #1209843 - $INSTDIR is empty in directory page show callback function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4476 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 19:56:03 +00:00
kichik
2296afc187 fixed bug #1378785 - RMDir /r does not remove files with Unicode names
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4475 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 18:45:52 +00:00
kichik
58b07e69c6 applied patch #1381929 - StrCmpS - case-sensitive string comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4468 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-06 16:00:15 +00:00
kichik
95dd28933b fixed bug #1299100 - File /nonfatal line not seen by relative jumps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4465 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-31 14:23:57 +00:00
kichik
ccec5e08cb fixed bug #1362443 - BrandingText /TRIM* expands label
a warning is displayed if the label is actually expanded


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4464 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-31 14:13:16 +00:00
kichik
e43d521307 fixed bug #1324734 - $LANGUAGE based on locale rather than UI language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4463 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-30 15:47:47 +00:00
kichik
3f18dc0b75 use normal file functions for wininit.ini modification
- according to msdn, mmap operations can raise an exception which wasn't handled
 - free up a lot of bytes from .data section (no mmap API functions)
 - mmap size is, like allocation of a buffer, limited by available memory


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4462 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-30 13:51:02 +00:00
kichik
c3bf6a68a7 use NSIS_MAX_STRLEN-1 instead of 1023 for FileRead limit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4460 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-27 19:22:56 +00:00
kichik
7a4bdcf90f size optimization (zlib is back to 34/35)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4459 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:39:02 +00:00
kichik
ad3d61c837 size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4458 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:28:54 +00:00
kichik
2822e9a3ab fixed bug #1380447 - Abnormal program termination while writing the uninstaller
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4443 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-15 18:47:23 +00:00
kichik
cec469059a applied patch #1374675 - made error message for already defined label clearer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4439 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-09 13:15:21 +00:00
kichik
b1be974447 applied patch #1372048 - added /NONFATAL switch to !include statement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4437 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-03 09:45:17 +00:00
kichik
03ffaef32d fixed bug #1331292 - browsed network root directory isn't accepted
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4432 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-26 13:06:08 +00:00
kichik
1957dfacad root instdir related bugs that cannot be automatically tested
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4431 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-26 12:44:24 +00:00
kichik
2ffcc41c2d test scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4430 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-26 12:14:57 +00:00