parent
e35938ec54
commit
f77770db66
|
|
@ -1 +0,0 @@
|
||||||
"%~dp0..\tsl.exe" "%~dp0tslediter.tsl" -libpath "%~dp0;"
|
|
||||||
|
|
@ -366,7 +366,7 @@ type TVclDesigner = class(tvcform)
|
||||||
begin
|
begin
|
||||||
if f[i]=fio then
|
if f[i]=fio then
|
||||||
begin
|
begin
|
||||||
ef := f[1:i]+"designer"+fio+"examples";
|
ef := f[1:i]+"d_examples";
|
||||||
if filelist("",ef) then
|
if filelist("",ef) then
|
||||||
begin
|
begin
|
||||||
FProjectFileOpener.initialDir := ef;
|
FProjectFileOpener.initialDir := ef;
|
||||||
|
|
@ -2055,9 +2055,11 @@ begin
|
||||||
end
|
end
|
||||||
function staticInit();
|
function staticInit();
|
||||||
begin
|
begin
|
||||||
|
global g_orig_lib_path;
|
||||||
np := getdesignerpath()+"dcmps"+ioFileseparator();
|
np := getdesignerpath()+"dcmps"+ioFileseparator();
|
||||||
CreateDirWithFileName(np+"1.txt");
|
CreateDirWithFileName(np+"1.txt");
|
||||||
tsl_setlibpath_( np+";"+tsl_getlibpath_());
|
g_orig_lib_path := tsl_getlibpath_();
|
||||||
|
tsl_setlibpath_( np+";"+g_orig_lib_path);
|
||||||
ini := static getdesginerini();
|
ini := static getdesginerini();
|
||||||
//class(TDSocketServer),class(TDSocketClient),
|
//class(TDSocketServer),class(TDSocketClient),
|
||||||
//×¢²áµÄcomponet
|
//×¢²áµÄcomponet
|
||||||
|
|
|
||||||
|
|
@ -1083,7 +1083,26 @@ type TProjectView = class(TVCForm) //
|
||||||
fgoformmenu.Enabled := false;
|
fgoformmenu.Enabled := false;
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
FTslEditer.TslSearchDir := array(p,Getfuncextdir());
|
////////////////////´Óй¹ÔìsearchĿ¼///////////////////////////////
|
||||||
|
global g_orig_lib_path;
|
||||||
|
sdir := array(p);
|
||||||
|
idx := 1;
|
||||||
|
if ifstring(g_orig_lib_path) then
|
||||||
|
begin
|
||||||
|
for i,v in str2array(g_orig_lib_path,";") do
|
||||||
|
begin
|
||||||
|
tm := trim(v);
|
||||||
|
if tm then
|
||||||
|
begin
|
||||||
|
sdir[idx++] := tm;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end else
|
||||||
|
begin
|
||||||
|
sdir[idx++] := Getfuncextdir();
|
||||||
|
end
|
||||||
|
/////////////////////////////////////
|
||||||
|
FTslEditer.TslSearchDir := sdir;//array(p,Getfuncextdir());
|
||||||
FExecEntry := FprojName;
|
FExecEntry := FprojName;
|
||||||
if d["entryscript"]then
|
if d["entryscript"]then
|
||||||
begin
|
begin
|
||||||
|
|
@ -2037,6 +2056,7 @@ BD141CA912494F502D48D224F45050274A21E03806FF2C7CA7516022D7D000000
|
||||||
Onclose := thisfunction(CloseHidden);
|
Onclose := thisfunction(CloseHidden);
|
||||||
exe := gettslexe();
|
exe := gettslexe();
|
||||||
fio := ioFileseparator();
|
fio := ioFileseparator();
|
||||||
|
global g_orig_lib_path;
|
||||||
FDefaultcmdline := format('"%s" "%s" -libpath "%s"',"$(TSL_EXE)","$(FULL_CURRENT_PATH)","$(SEARCH_PATH)");
|
FDefaultcmdline := format('"%s" "%s" -libpath "%s"',"$(TSL_EXE)","$(FULL_CURRENT_PATH)","$(SEARCH_PATH)");
|
||||||
end
|
end
|
||||||
function getExecuteEditerSetcmdline();
|
function getExecuteEditerSetcmdline();
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
"%~dp0..\tsl.exe" "%~dp0vcldesigner.tsl" -libpath "%~dp0;"
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
"%~dp0..\tsl.exe" "%~dp0tslediter.tsl" -libpath "%~dp0;%~dp0..\designer\;"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
"%~dp0..\tsl.exe" "%~dp0vcldesigner.tsl" -libpath "%~dp0;%~dp0..\designer\;"
|
||||||
|
|
@ -6772,10 +6772,11 @@ type tcustomprocess = class(tcomponent) //
|
||||||
**}
|
**}
|
||||||
if fprocesshandle then return 0;
|
if fprocesshandle then return 0;
|
||||||
if fexecstr then
|
if fexecstr then
|
||||||
begin
|
begin
|
||||||
if not(ifstring(e) and e) then return 0;
|
|
||||||
e := exe;
|
e := exe;
|
||||||
|
if not(ifstring(e) and e) then return 0;
|
||||||
arg := cmd;
|
arg := cmd;
|
||||||
|
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
if not parserasexeclevparam(exe,cmd,e,arg,envp) then return 0;
|
if not parserasexeclevparam(exe,cmd,e,arg,envp) then return 0;
|
||||||
|
|
|
||||||
BIN
tsleditor.exe
BIN
tsleditor.exe
Binary file not shown.
BIN
tslvcltool.exe
BIN
tslvcltool.exe
Binary file not shown.
Loading…
Reference in New Issue