Commit Graph

34376 Commits

Author SHA1 Message Date
florian
26850e3425 * fix full cycle after adding new boolean types
git-svn-id: branches/pasboolxx@17847 -
2011-06-27 20:11:08 +00:00
florian
3938f5e0b9 + merge support for boolean16, boolean32 and boolean64 into trunk
git-svn-id: trunk@17846 -
2011-06-27 19:21:07 +00:00
michael
0d14fc2851 * Second patch from Mattias Gaertner (bug 19623, should fix 19633 as well)
git-svn-id: trunk@17845 -
2011-06-27 18:34:25 +00:00
pierre
548ee755b1 * Use crc for special dllnames in proc_get_importname
git-svn-id: trunk@17844 -
2011-06-27 16:23:33 +00:00
Legolas
2503ac1d97 * Updated nds to devkitARM r33
git-svn-id: trunk@17843 -
2011-06-27 12:22:46 +00:00
michael
b98270d27c * Undo 17822 - causes resource compilation errors in lazarus
git-svn-id: trunk@17842 -
2011-06-27 08:18:30 +00:00
florian
990add9272 * fixed non short boolean evaluation of <64 bit bool> and/or <64 bit bool> on non-64 bit cpus
* extended test for new pas boolean types

git-svn-id: branches/pasboolxx@17841 -
2011-06-26 21:01:59 +00:00
florian
c186e5bf1b * fixed make all
git-svn-id: branches/pasboolxx@17840 -
2011-06-26 20:54:39 +00:00
marco
93049cead0 * Fixes Mantis #19635, various small issues reported by A. Klenin.
Slightly different than the patch though (commenting/ifdefing instead of removal)

git-svn-id: trunk@17839 -
2011-06-26 20:20:01 +00:00
marco
a59fa38434 * Fix from A. Klenin wrt out of bounds in ipfisn, mantis #19634
git-svn-id: trunk@17838 -
2011-06-26 20:14:13 +00:00
florian
d35d1ed357 + initial support for pascal booleans with sizes 2, 4 and 8
git-svn-id: branches/pasboolxx@17836 -
2011-06-26 15:02:37 +00:00
florian
e08e7e986f + branch for pascal booleans with sizes 2,4 and 8
git-svn-id: branches/pasboolxx@17835 -
2011-06-26 15:00:01 +00:00
florian
589d061c3d * when comparing overridden methods, ignore hidden parameters because overridden methods does not
need to repeat a calling convention specifier so if the calling convention specifier 
  influences the hidden parameters, the methods are not considered equal, resolves #19159

git-svn-id: trunk@17832 -
2011-06-26 12:34:59 +00:00
joost
23363f3158 * Added FmtBCD support to Firebird
git-svn-id: trunk@17830 -
2011-06-25 21:31:41 +00:00
florian
6e1d5e0aa0 * handle pointer+type param. correctly, resolves #19548
* convert exit(x) into result:=x; exit;, enables further optimizations in the future

git-svn-id: trunk@17829 -
2011-06-25 18:05:49 +00:00
michael
a2d007dfa3 * Applied patch from Mattias Gaertner to fix parse buffer not always being loaded (bug 19623)
git-svn-id: trunk@17823 -
2011-06-25 10:58:34 +00:00
joost
46aa4bfc0f * Test for r17704
git-svn-id: trunk@17822 -
2011-06-25 00:09:30 +00:00
joost
a532182917 * Use AsCurrency for currencies instead of float
git-svn-id: trunk@17821 -
2011-06-24 23:25:04 +00:00
joost
18e17afc47 * Raise exception when PostgreSQL library is already loaded from a different file
* Checked typo in error-message and converted it to a resourcestring

git-svn-id: trunk@17820 -
2011-06-24 22:22:10 +00:00
joost
79e000d04e * Changed DefaultSQLFormatSettings into a constant, because changing this will lead to chaos in the locale-support
git-svn-id: trunk@17819 -
2011-06-24 22:00:10 +00:00
pierre
11b154b5d9 * Also for -Cg use for x86_64 solaris
git-svn-id: trunk@17818 -
2011-06-24 13:52:37 +00:00
pierre
405655ba60 + Skip library tests for go32v2 target
git-svn-id: trunk@17817 -
2011-06-24 10:11:19 +00:00
sergei
7d99f95c45 * Always create a section before emitting data to current_asmdata.asmlists[al_typedconsts]. Without it, such data ends up in sections created elsewhere, creating very non-obvious dependencies on other parts of compiler.
git-svn-id: trunk@17816 -
2011-06-24 02:05:56 +00:00
joost
4e4b494b52 * Removed Lazarus specific code, bug #19574
git-svn-id: trunk@17815 -
2011-06-23 21:38:36 +00:00
florian
a6b2fcfe22 * fixes breakage of r17766, should resolve #19598
git-svn-id: trunk@17814 -
2011-06-23 21:30:40 +00:00
Legolas
d530b4fce7 * Some work on sysutils.pp about file I/O
git-svn-id: trunk@17813 -
2011-06-23 21:15:19 +00:00
pierre
a0f7356edc * New DLL overloading tests
git-svn-id: trunk@17812 -
2011-06-23 21:14:01 +00:00
florian
01f07ae466 + forgotten test for r17808
git-svn-id: trunk@17811 -
2011-06-23 21:03:17 +00:00
florian
8e7f39f176 * constant evaluation of ror/rol if they are internally handled, resolves #6300
* renamed rox_x_x to rox_x_y

git-svn-id: trunk@17810 -
2011-06-23 20:54:08 +00:00
joost
9b1129cf5b * Install and clean smartlink-library files
git-svn-id: trunk@17809 -
2011-06-23 20:50:53 +00:00
florian
fda10ff098 * insert type conversions to the prototype type for internal procedures as well, rol/ror/sar and friends require the exact type
git-svn-id: trunk@17808 -
2011-06-23 20:50:47 +00:00
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