Commit graph

27 commits

Author SHA1 Message Date
kichik
b3d6dc00fd only save and restore ebp when stack generation is turned on (for parameters taken or returned on the nsis stack), just like in the old working code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5789 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-23 21:15:04 +00:00
kichik
4425d93e75 fixed bug #2318670 - New System plug-in never unloads
ebp was never restored from the stack and so edi, esi, ebx and ebp were corrupted when CallProc returned

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5785 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 09:57:23 +00:00
kichik
0f01464e40 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5784 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 09:34:24 +00:00
kichik
4c87ec9e83 applied patch #2193442 - port System::Call and related functions to GCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5775 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:04:23 +00:00
kichik
c69e0d5784 applied patch #2025721 - Patch for Feature Request 1961307
also closes RFE #1961307

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5701 212acab6-be3b-0410-9dea-997c60f758d6
2008-08-15 18:13:21 +00:00
pabs3
c2a14a6559 Stop some compiler warnings due to lack of trailing newlines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5168 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-10 16:45:45 +00:00
kichik
27a549057b unused
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5156 212acab6-be3b-0410-9dea-997c60f758d6
2007-05-25 11:52:46 +00:00
pabs3
55d89deb99 applied patch #1711089 - disable System::Call and System::Get when building with GCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5149 212acab6-be3b-0410-9dea-997c60f758d6
2007-05-14 23:50:45 +00:00
kichik
9a75eca79f fixed bug #1620178 - System::Store l crash installer when private stack is empty
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4845 212acab6-be3b-0410-9dea-997c60f758d6
2006-12-22 12:47:03 +00:00
kichik
2cda34fbec fixed bug #1616267 - System plugin crash with parenthesis in filename
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4844 212acab6-be3b-0410-9dea-997c60f758d6
2006-12-15 11:52:11 +00:00
kichik
729b7cd451 fixed bug #1535005 - System.dll corrupts the stack with 0 arguments functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4722 212acab6-be3b-0410-9dea-997c60f758d6
2006-08-06 16:22:40 +00:00
kichik
3131a7d728 fixed bug #1535007 - System.dll returns bad values, if function returns short
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4721 212acab6-be3b-0410-9dea-997c60f758d6
2006-08-05 11:01:35 +00:00
kichik
779b1ce1c1 fixed bug #1403601 - System plug-in heap corruption
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4473 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 14:31:28 +00:00
kichik
4647e56e67 fixed build warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4251 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 09:18:45 +00:00
kichik
8b1fa1b3c7 don't typedef struct twice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4014 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-06 10:23:32 +00:00
kichik
d5d39aaced use #ifdef instead of #pragma once
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3965 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 17:09:19 +00:00
kichik
b42f4595b1 added missing include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3924 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-18 15:56:27 +00:00
kichik
f43be4183a - fixes by brainsucker:
* Bug with proc call parts redefinition, # for example
* Bug with memory protection during callback processing (XP SP2)
- updated documentation:
* all examples now work, thanks to brainsucker's fixes
* visual improvements
* pointer information


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3590 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-23 17:23:34 +00:00
kichik
879a8245bc (brainsucker) bug-fix-release, 4.06.2004
1. System::Copy /SIZE fixed (Kichik).
2. System::Copy with destination auto-allocation now pushes destination
address on stack.
3. Callbacks fixed (Kichik's kick is awesome).


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3555 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 15:32:05 +00:00
kichik
4cf2341292 a character in the destination buffer address was skipped if size wasn't specified
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3549 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-20 19:44:27 +00:00
kichik
9186fcc291 release 5 by brainsucker:
1. u flag - unload dll after procedure call.
2. some changes to asm to turn on Whole Program Optimization.
3. Dll shrinked for 1 kb.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2899 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-11 20:31:04 +00:00
kichik
74ea2dc585 * PageEx - every page can be used everywhere and as many times as needed
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620)
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494)
* fixed ifnewer readonly file problem (patch #783782)
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
ramon18
cf0a0762a5 Small bug with structures fixed (thanks brainsucker)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2689 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-03 21:53:38 +00:00
kichik
96a524c1b7 (brainsucker) fixed a bug with calling proc(void) and added e switch to get GetLastError return value.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2465 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-18 11:21:06 +00:00
kichik
8cc035ffe3 Source code for latest fixes (brainsucker)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2378 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-27 12:52:43 +00:00
joostverburg
3667a05636 Updated System plugin - Win9x fixes and more
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2350 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-22 11:15:53 +00:00
kichik
66ae44c5ac Source files to Source directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1513 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-31 15:55:52 +00:00