mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 15:00:26 +02:00
IDE: lazconf: clean up
git-svn-id: trunk@32520 -
This commit is contained in:
parent
a66b61d32c
commit
d551fda25d
@ -400,11 +400,11 @@ msgstr ""
|
||||
#, fuzzy
|
||||
#| msgid "Shortcut already exists"
|
||||
msgid "The keystroke \"%s\" is already assigned to another editor command. (%s)"
|
||||
msgstr "La séquence \"%s\" est déjà affectée à une autre commande de l'éditeur. (%s)"
|
||||
msgstr "La s?quence \"%s\" est d?j? affect?e ? une autre commande de l'?diteur. (%s)"
|
||||
|
||||
#: syneditstrconst.syns_eduplicateshortcut
|
||||
msgid "Mouse-Shortcut already exists"
|
||||
msgstr "Raccourci déjà existant"
|
||||
msgstr "Raccourci d?j? existant"
|
||||
|
||||
#: syneditstrconst.syns_emcbreakpointtoggle
|
||||
msgid "Toggle Breakpoint"
|
||||
|
@ -84,19 +84,23 @@ procedure CopySecondaryConfigFile(const AFilename: String);
|
||||
function GetProjectSessionsConfigPath: String;
|
||||
|
||||
function GetDefaultTestBuildDirectory: string;
|
||||
procedure GetDefaultTestBuildDirs(List: TStrings);
|
||||
// create a pascal file, which can be used to test the compiler
|
||||
function CreateCompilerTestPascalFilename: string;
|
||||
|
||||
function FindDefaultExecutablePath(const Executable: string): string;
|
||||
function FindDefaultCompilerPath: string;
|
||||
function FindDefaultMakePath: string;
|
||||
function FindDefaultFPCSrcDirectory: string;
|
||||
function GetDefaultCompilerFilename: string; // e.g. ppc386.exe
|
||||
procedure GetDefaultCompilerFilenames(List: TStrings); // list of standard paths of compiler on various distributions
|
||||
function FindDefaultCompilerPath: string; // full path of GetDefaultCompilerFilename
|
||||
function FindDefaultMakePath: string; // full path of "make"
|
||||
procedure GetDefaultMakeFilenames(List: TStrings); // list of standard paths of "make" on various distributions
|
||||
function GetDefaultFPCSrcDirectories: TStringList;
|
||||
function FindDefaultLazarusSrcDirectory: string;
|
||||
function GetDefaultLazarusSrcDirectories: TStringList;
|
||||
function CheckFPCSourceDir(ADirectory: string): boolean;
|
||||
function CheckLazarusDirectory(const ADirectory: string): boolean;
|
||||
|
||||
// create a pascal file, which can be used to test the compiler
|
||||
function CreateCompilerTestPascalFilename: string;
|
||||
function GetDefaultTargetCPU: string;
|
||||
function GetDefaultTargetOS: string;
|
||||
|
||||
// returns the standard executable extension (e.g '.exe')
|
||||
function GetExecutableExt(TargetOS: string = ''): string;
|
||||
@ -112,20 +116,13 @@ function GetDefaultCompiledUnitExt({%H-}FPCVersion, {%H-}FPCRelease: integer): s
|
||||
|
||||
function OSLocksExecutables: boolean;
|
||||
|
||||
procedure GetDefaultCompilerFilenames(List: TStrings);
|
||||
procedure GetDefaultMakeFilenames(List: TStrings);
|
||||
procedure GetDefaultTestBuildDirs(List: TStrings);
|
||||
function GetDefaultCompilerFilename: string;
|
||||
|
||||
function GetDefaultTargetCPU: string;
|
||||
function GetDefaultTargetOS: string;
|
||||
// returns the default browser
|
||||
procedure GetDefaultBrowser(var Browser, Params: string);
|
||||
|
||||
// LCL
|
||||
function GetDefaultLCLWidgetType: TLCLPlatform;
|
||||
function DirNameToLCLPlatform(const ADirName: string): TLCLPlatform;
|
||||
|
||||
// returrns the default browser
|
||||
procedure GetDefaultBrowser(var Browser, Params: string);
|
||||
|
||||
// Replace OnGetApplicationName, so that Application.Title
|
||||
// doesn't interfere with GetAppConfigDir and related.
|
||||
function GetLazarusApplicationName: string;
|
||||
@ -432,17 +429,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function FindDefaultFPCSrcDirectory: string;
|
||||
var
|
||||
i: integer;
|
||||
begin
|
||||
for i:=Low(DefaultFPCSrcDirs) to High(DefaultFPCSrcDirs) do begin
|
||||
Result:=DefaultFPCSrcDirs[i];
|
||||
if CheckFPCSourceDir(Result) then exit;
|
||||
end;
|
||||
Result:='';
|
||||
end;
|
||||
|
||||
function GetDefaultFPCSrcDirectories: TStringList;
|
||||
var
|
||||
i: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user