source value to convert_l3, instead of only those with a destination
type whose size is < source size (like Delphi) + test -> fixes
toperator6 along with a host of wrong tordconst typeconversions in
the compiler sources themselves (although most are harmless)
git-svn-id: trunk@8323 -
* also compile sdl/logger unit
+ restored sdlutils unit, since it's required for SDL_putpixel etc
* reordered graph unit in makefiles so it's compiled after sdl
git-svn-id: trunk@8312 -
negative cases caused by wrong automatic type conversion from
longint to unsigned tconstexprint (+ test for such jump tables)
* fixed darwin/ppc64 jumptables in case of jmptablenorange
git-svn-id: trunk@8311 -
- added EXTERNALZIP define to make bootstrapping possible (missing zipper unit)
- implemented SearchFiles method which can search recursively and with a filemask
(asterisk or questionmark) using MatchesMask function
- implemented methods AddDocFiles, AddSrcFiles, AddExampleFiles, AddTestFiles in TCustomInstaller
- implemented archiving of all files in TSources
git-svn-id: trunk@8294 -
- added a default manifest filename constant
- implemented archiving to zip using TZipper (only when no user assigned ArchiveFilesProc, because that
overrides the command)
- moved a lot of strings to resourcestrings
- added listsources description to help screen
- added filename node to manifest file
- removed .zip from TPackage.GetFileName (reason for this is that if ArchiveFilesProc is assigned it gets a
filename without extension, possible other archive formats)
- initialized verbosity to vlInfo
- moved verbosity option check to top
- renamed WriteCmd to LogCmd (function also uses Log instead of writeln)
- renamed WriteOption to LogOption (function also uses Log instead of writeln)
- renamed WriteArgOption to LogArgOption (function also uses Log instead of writeln)
- fixed creation of sources.xml added quatationmarks in pack
git-svn-id: trunk@8292 -
- BaseInstallDir and Prefix are now PathDelimiter limited (implemented in Setter of property),
this saves a lot of hassle with rest of code
- TDefaults -> TCustomDefaults
- added TFPCDefaults and TBasicDefaults
- TInstaller -> TCustomInstaller
- added TFPCInstaller and TBasicInstaller
- Implemented BaseInstallDir property in TCustomInstaller
- Added an overloaded Install function
- Added license header
git-svn-id: trunk@8286 -
converted to a pchar at compile time, remove the cstring_to_pchar node
because it expects a stringconstn in pass_generate_code
git-svn-id: trunk@8275 -
(widechar<->char, widechar<>*string), based on patch from
Rimgaudas Laucius (mantis #7758)
* no longer perform compile-time widechar/string->char/ansi/
shortstring conversions if they would destroy information
(they can't cope with widechars with ord>=128). This means
that you can now properly constant widechars/widestrings
in source code with a {$codepage } set without risking that
the compiler will mangle everything afterwards
* support ESysEINVAL return code from iconv (happens if last
multibyte char is incomplete)
* fixed writing of widechars (were converted to char -> lost
information)
git-svn-id: trunk@8274 -