joost
2f17dbbed3
* Replaced dependeny on fpmkunit_bootstrap with dependency on fpmkunit itself. So that the dependency is also evaluated in non-crosscompile builds
...
* Make fpmkunit depending on fpmkunit_bootstrap, so that in case of a crosscompile the _bootstrap is always compiled before any packages depending on fpmkunit itself
git-svn-id: trunk@17807 -
2011-06-23 19:10:32 +00:00
pierre
8a0ed92957
* Remove useless code for i386
...
git-svn-id: trunk@17806 -
2011-06-23 14:50:31 +00:00
pierre
0c210a9df3
+ New const MaxzbaseInt, set to maxlongint for FPC
...
to avoid range check errors within code if compiled
with range check enabled.
git-svn-id: trunk@17805 -
2011-06-23 12:30:52 +00:00
pierre
239944f8d0
+ Use DLL name in assembler labels used to import DLL functions/variables
...
in Windows, Emx and OS2 targets.
This fixes test failures: test/library/tlib1b.pp and lib2b.pp
link unit TLinker.AddImportSymbol: Added symmangledname parameter.
ogbase unit TImportSymbol.Create: Add AMangledName parameter.
fmodule unit TModule.AddExternalImport: Add symmangledname parameter.
fppu unit: Also put mangled name string for imported symbol.
ppu unit: Increase PPUVersion
utils/ppudump.pp: Adapt to PPU change above.
systems/T_OS units: Use ImportSymbol.MangledName property to create
import libraries or .idata sections.
git-svn-id: trunk@17804 -
2011-06-23 11:38:57 +00:00
pierre
f220513821
+ Warning for possible library overloading
...
git-svn-id: trunk@17803 -
2011-06-23 08:28:49 +00:00
pierre
965b57d7b8
* Revert 17797
...
git-svn-id: trunk@17802 -
2011-06-22 21:07:09 +00:00
joost
c5eb5eb240
* Removed libcurl dependency from fppkg
...
* Added fcl-web dependency of fppkg to main packages makefile
git-svn-id: trunk@17801 -
2011-06-22 20:01:19 +00:00
Jonas Maebe
19fb48dfa9
* prefer "any array" -> "open array" over "single element" -> "open array"
...
conversions, instead failing to choose the best overload (Delphi-compatible)
git-svn-id: trunk@17800 -
2011-06-22 19:32:28 +00:00
marco
e490fb1d9d
* Fix typo in earlier commit
...
git-svn-id: trunk@17799 -
2011-06-22 16:41:42 +00:00
pierre
2d5ca71a06
+ New procedure SysFlushStdIO (code taken from InternalExit).
...
* InternalExit: now calls new procedure SysFlushStdIO
* DoneThread: Also calls SysFlushStdIO to avoid loosing output
if standard files are redirected.
git-svn-id: trunk@17798 -
2011-06-22 16:16:27 +00:00
pierre
9c11ee5544
* Explicitly redefine TByteArray as zero length to avoid Range Check Errors
...
git-svn-id: trunk@17797 -
2011-06-22 15:59:32 +00:00
pierre
256c58d670
* Fix SetTargetDirectoriesStyle , needed a call to GetCompilerTarget first
...
git-svn-id: trunk@17796 -
2011-06-22 15:42:58 +00:00
sekelsenmat
2441911aa7
fpvectorial: adds an entity to contain raster images
...
git-svn-id: trunk@17794 -
2011-06-22 12:35:57 +00:00
joost
7ec15bcd29
* Use "fpmake compile" instead of "build" to compile packages
...
git-svn-id: trunk@17793 -
2011-06-22 09:51:47 +00:00
marco
79dd9eba0c
* Patch from Mantis #19596 that reads comment again, which was erased by the last commit.
...
git-svn-id: trunk@17792 -
2011-06-22 09:29:32 +00:00
marco
b5c4072af5
* fixed two memleaks in chmreader. Patch based on the one in Mantis #19599 by Anton
...
git-svn-id: trunk@17791 -
2011-06-22 09:25:32 +00:00
pierre
0555757247
* Fix executable name import
...
git-svn-id: trunk@17790 -
2011-06-22 07:40:24 +00:00
pierre
3818ae0db2
+ Added missing %norun or %needlibrary for libraries
...
git-svn-id: trunk@17789 -
2011-06-22 07:16:06 +00:00
pierre
c4d43cfd59
* Restrict all tests to win32 and win64 targets
...
* Rename executables so the DLL are generated before.
git-svn-id: trunk@17788 -
2011-06-22 07:05:54 +00:00
sergei
3dba3a0219
* Float constants must be pooled using their the actual type, not the mapped type of assembler instruction. Otherwise e.g. extended may be mixed up with cextended, because both are mapped to ait_real_80bit.
...
git-svn-id: trunk@17787 -
2011-06-22 02:57:07 +00:00
joost
354eae1e6b
* Switched fastcgi to fpmake building
...
git-svn-id: trunk@17786 -
2011-06-21 20:40:20 +00:00
pierre
3874bc7d74
+ Check that dll imports in units also works
...
git-svn-id: trunk@17785 -
2011-06-21 19:56:55 +00:00
pierre
1a9f4ba314
* Improve ogbase linker script support, add warnings for unknown entries
...
git-svn-id: trunk@17784 -
2011-06-21 16:49:50 +00:00
pierre
e4a16a8225
+ Two new windows DLL tests added
...
git-svn-id: trunk@17783 -
2011-06-21 11:52:02 +00:00
pierre
81f722237d
+ Added distclean target to units/Makefile.fpc
...
+ also run $(MAKE) -C units distclean for distclean at tests directory level.
git-svn-id: trunk@17782 -
2011-06-21 09:25:30 +00:00
pierre
d0b2c8c9bb
+ USEENV for dotest calls to use !ENV_NAME as unique program parameter
...
that contians all parameters.
+ vpath %.o $(C_SUBDIR) and direct %.o from %.c or %.cc rule
use TEST_CCOMPILER
+ test/library subdirectory added
git-svn-id: trunk@17781 -
2011-06-21 07:23:31 +00:00
Legolas
e3aa30f67c
* Added a first file I/O handling implementation
...
git-svn-id: trunk@17780 -
2011-06-20 21:55:58 +00:00
pierre
33cb4b4a83
+ generic_cpu defines fro ppudump
...
git-svn-id: trunk@17779 -
2011-06-20 21:44:18 +00:00
pierre
ede0a5a929
* Restrict test to Windows OS
...
git-svn-id: trunk@17778 -
2011-06-20 21:07:23 +00:00
pierre
18f5b6c2a6
* Be more descriptive in test output
...
git-svn-id: trunk@17777 -
2011-06-20 15:50:54 +00:00
pierre
c2b9bec684
* Added test for double library entry with same name
...
git-svn-id: trunk@17776 -
2011-06-20 15:45:44 +00:00
pierre
1d8851f0eb
Use systems.inc include file
...
git-svn-id: trunk@17775 -
2011-06-20 15:17:47 +00:00
pierre
4729b76ad9
Added forgotten include file
...
git-svn-id: trunk@17774 -
2011-06-20 14:57:34 +00:00
pierre
83f100432c
+ Move enumration types uses in ppu files from systems.pas
...
into systems.inc include file for direct inclusion by utils/ppudump.pp
+ new generic/cpuinfo.pas unit to allow compilation of ppudump without any
CPU specific code.
* Modified utils/ppudump rule in utils Makefile.fpc
to use generic/cpuinfo unit by use of -dGENERIC_CPU
* globals unit changed to support GENERIC_CPU.
* utils/ppudump.pp changed to remove local enumeration types.
git-svn-id: trunk@17773 -
2011-06-20 14:16:57 +00:00
marco
cd6e00c99a
* enable fpvectorial for all OS (shouldn't have OS specific dependancies) and
...
add -j functionality to packages/Make*
git-svn-id: trunk@17772 -
2011-06-20 10:39:46 +00:00
marco
d07711fcd6
* two new units added to make file and fpmake. Probably only matters for
...
installing and cleaning
git-svn-id: trunk@17771 -
2011-06-20 09:16:29 +00:00
sergei
2f7c779fa4
* tmoddivnode.simplify: made result definitely assigned and removed local var
...
* tshlshrnode.simplify: likewise
git-svn-id: trunk@17770 -
2011-06-19 21:48:18 +00:00
sergei
1470d91ba1
* Optimized pooling of floating point and large set constants using hash tables.
...
git-svn-id: trunk@17769 -
2011-06-19 21:41:41 +00:00
marco
6ccafccda0
* add pango_font_family_is_monospace, patch from C. Western. Mantis #19585
...
git-svn-id: trunk@17768 -
2011-06-19 17:04:03 +00:00
michael
419055f912
* Fixed conversion of Makefile.fpc - Options was changed to a stringlist
...
git-svn-id: trunk@17767 -
2011-06-19 08:39:33 +00:00
florian
b00a610aec
* optimize andb/w const,reg andw/l const,reg sequences as well
...
git-svn-id: trunk@17766 -
2011-06-18 15:22:09 +00:00
sekelsenmat
b65d397249
fpvectorial: Major rework, joined all 3 lists of elements into a single list in order to use it to keep the Z-Order
...
git-svn-id: trunk@17765 -
2011-06-17 09:52:19 +00:00
florian
efea42bcdf
* rewrote Ror/Rol/Sar so that it can be completely folded into a const by the compiler
...
if possible, the copied (dist and xxx) expressions are folded by the CSE so they don't hurt
git-svn-id: trunk@17764 -
2011-06-16 20:27:11 +00:00
michael
b8f18854ca
* Fixed bug where multiple methods were run one after the other
...
git-svn-id: trunk@17763 -
2011-06-16 19:11:16 +00:00
sergei
3e145f6d77
+ RelocateHeap: tolerate being called more than once.
...
git-svn-id: trunk@17762 -
2011-06-16 18:57:36 +00:00
sekelsenmat
3cdbe30c28
fpvectorial: Adds brush support for the svg writer and changes fpvectorial to use TFPColor instead of its own color
...
git-svn-id: trunk@17761 -
2011-06-16 10:36:03 +00:00
marco
7017009916
* currency and BSD asCurrency not asFloat. Patch by Lacak2, mantis #19558
...
git-svn-id: trunk@17760 -
2011-06-16 06:43:00 +00:00
florian
c7aa9e40cf
* fixed test, alignment directives require a = between type and value
...
git-svn-id: trunk@17759 -
2011-06-14 20:48:02 +00:00
florian
37b8b791d5
* overloaded versions of IsNan, resolves #14351
...
* prefer <ord> -> single over <ord> -> double/extended, this is delphi compatible
git-svn-id: trunk@17758 -
2011-06-14 20:38:51 +00:00
joost
499d6f78d1
* Fixed recipe commences before first target error when using GNU make version 3.82
...
git-svn-id: trunk@17757 -
2011-06-14 20:21:15 +00:00