Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Commit

Permalink
v1.0.0.16 - revert adding lua libs (io, os and package) by linking st…
Browse files Browse the repository at this point in the history
…atic lua library
  • Loading branch information
mrfearless committed Sep 4, 2019
1 parent 395958c commit 17a91eb
Show file tree
Hide file tree
Showing 9 changed files with 1,095 additions and 521 deletions.
1,573 changes: 1,077 additions & 496 deletions EEexDLL/EEex.db

Large diffs are not rendered by default.

Binary file modified EEexDLL/EEex.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions EEexDLL/EEex.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ includelib kernel32.lib
includelib psapi.lib
includelib version.lib

;IFDEF EEEX_LUALIB
IFDEF EEEX_LUALIB
include lua52.inc
includelib lua523.lib ; nil value for lua_setglobal
includelib msvcrt12.lib
;ENDIF
ENDIF

;------------------------------------------------------------------------------
; EEex.dll Prototypes
Expand Down
18 changes: 9 additions & 9 deletions EEexDLL/EEex.rap
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ MilestoneOnTime=2
MilestoneOnDate=0
MilestoneOnDateWhen=1
MilestoneOnDateStatus=0
MilestoneOnDateDate=2
MilestoneOnDateDate=4
MilestoneOnDateTimeYear=2019
MilestoneOnDateTimeMonth=1
MilestoneOnDateTimeDate=26
Expand All @@ -106,7 +106,7 @@ ProductVer2Range=0
ProductVer3Range=0
ProductVer4Range=0
[PTimer]
PTimer=485716803
PTimer=487306563
[GroupExpand]
GroupExpand=1,1,0
[BookMark]
Expand Down Expand Up @@ -137,20 +137,20 @@ GroupExpand=1,1,0
[VerInf]
Nme=VERINF1
ID=1
FV=1.0.0.15
PV=1.0.0.15
FV=1.0.0.16
PV=1.0.0.16
VerOS=0x00000004
VerFT=0x00000002
VerLNG=0x00000409
VerCHS=0x000004B0
ProductVersion=1.0.0.15
ProductVersion=1.0.0.16
ProductName=EEex.dll
OriginalFilename=EEex.dll
LegalTrademarks=fearless
LegalCopyright=fearless
InternalName=EEex.dll
FileDescription=EEex.dll
FileVersion=1.0.0.15
FileVersion=1.0.0.16
CompanyName=fearless
[Collapse]
3=
Expand All @@ -168,12 +168,12 @@ CompanyName=fearless
3=0,0,0,0,53
4=0,0,0,0,8344
5=0,0,0,0,1274
1=0,0,1248,579,8858
1=0,0,1248,579,612
6=0,0,0,0,13740
2=0,0,0,0,7584
2=0,0,0,0,624
7=0,0,0,0,10336
8=0,0,0,0,65567
9=0,0,0,0,18810
9=0,0,0,0,4093
10=0,0,1248,579,9103
11=0,0,0,0,687
[Find]
Expand Down
10 changes: 0 additions & 10 deletions EEexDLL/EEexLua.asm
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@ EEexLuaInit PROC C lua_State:DWORD, lpszString:DWORD
ret
.ENDIF
; 04/09/2019 - add in other lua libraries
Invoke luaL_requiref, g_lua, CTEXT("io"), Addr luaopen_io, 1
Invoke lua_settop, g_lua, -2
Invoke luaL_requiref, g_lua, CTEXT("os"), Addr luaopen_os, 1
Invoke lua_settop, g_lua, -2
Invoke luaL_requiref, g_lua, CTEXT("package"), Addr luaopen_package, 1
Invoke lua_settop, g_lua, -2
;---------------------------
; For prototype of no params
;---------------------------
Expand Down
8 changes: 4 additions & 4 deletions EEexDLL/Res/EEexVer.rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define VERINF1 1
VERINF1 VERSIONINFO
FILEVERSION 1,0,0,15
PRODUCTVERSION 1,0,0,15
FILEVERSION 1,0,0,16
PRODUCTVERSION 1,0,0,16
FILEOS 0x00000004
FILETYPE 0x00000002
BEGIN
Expand All @@ -10,14 +10,14 @@ BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "fearless\0"
VALUE "FileVersion", "1.0.0.15\0"
VALUE "FileVersion", "1.0.0.16\0"
VALUE "FileDescription", "EEex.dll\0"
VALUE "InternalName", "EEex.dll\0"
VALUE "LegalCopyright", "fearless\0"
VALUE "LegalTrademarks", "fearless\0"
VALUE "OriginalFilename", "EEex.dll\0"
VALUE "ProductName", "EEex.dll\0"
VALUE "ProductVersion", "1.0.0.15\0"
VALUE "ProductVersion", "1.0.0.16\0"
END
END
BLOCK "VarFileInfo"
Expand Down
3 changes: 3 additions & 0 deletions EEexDLL/lua52.inc
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ LUA_ERRSYNTAX EQU 3
LUA_ERRMEM EQU 4
LUA_ERRGCMM EQU 5
LUA_ERRERR EQU 6
LUA_ERRFILE EQU (LUA_ERRERR+1)

LUA_MULTRET EQU (-1)

; basic types
LUA_TNONE EQU -1
Expand Down
Binary file modified Release/EEex.dll
Binary file not shown.
Binary file modified Release/EEexLoader.zip
Binary file not shown.

0 comments on commit 17a91eb

Please sign in to comment.