Commit Graph

4347 Commits

Author SHA1 Message Date
florian
41f25c2b21 * fixes cmem.malloc et al. for windows as proposed by Ludo Brands, resolves #15571
git-svn-id: trunk@18256 -
2011-08-18 08:47:44 +00:00
florian
d7708a45f1 * so far windows only
git-svn-id: trunk@18248 -
2011-08-17 13:01:32 +00:00
florian
a9034af414 + added tests for recent stream modifications
git-svn-id: trunk@18247 -
2011-08-17 12:56:57 +00:00
pierre
09e7570e57 * Avoid warning about unset variable in TestParents
+ Add check after moving current directory to root drive
    for Dos style pathes.

git-svn-id: trunk@18245 -
2011-08-17 11:55:32 +00:00
florian
87696a4b70 * cr*, dr*, tr* registers are 64 bit on x86-64
git-svn-id: trunk@18243 -
2011-08-17 11:42:11 +00:00
pierre
8dc1ce55c1 * Avoid infinite loop on Unix
git-svn-id: trunk@18242 -
2011-08-17 11:22:54 +00:00
florian
9b88297389 * patch by Michalis Kamburelis to keep the ending of TFPSList filled with zeros (space between count and capacity), resolves #20005
git-svn-id: trunk@18237 -
2011-08-17 09:05:58 +00:00
florian
8bc94610c7 + tai_stab.create_ansistr
* write vmt info using create_ansistr, resolves #20003
* replaced move/getmem sequences in dbgstabs.pas by create_ansistr

git-svn-id: trunk@18230 -
2011-08-16 20:27:54 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
florian
6cb6d9ffaf * patch by Michalis Kamburelis to make FGL lists First and Last properties that are settable, resolves #19874
git-svn-id: trunk@18223 -
2011-08-16 17:11:48 +00:00
florian
8833c1cfa3 * patch by Petr-K to fix 3*3 matrix inversion, resolves #19828
+ tests

git-svn-id: trunk@18213 -
2011-08-14 21:46:47 +00:00
florian
63403e5199 * *Dir(<ansistring>) functions need to check io result as well, resolves #19977
git-svn-id: trunk@18209 -
2011-08-14 19:00:07 +00:00
florian
8308b46a94 + support for assembler instructions with four operands
+ support for insertq, resolves #19910

git-svn-id: trunk@18206 -
2011-08-14 16:46:35 +00:00
florian
4a34192510 * fix TFPGList.Extract to return the correct values by a patch by Michalis Kamburelis, resolves #19960
git-svn-id: trunk@18205 -
2011-08-14 13:57:33 +00:00
Tomas Hajny
4230a33272 * MkDir and RmDir usually not allow trailing directory separator (except when running under Win32)
git-svn-id: trunk@18185 -
2011-08-12 23:50:00 +00:00
florian
8b58d69576 * accept undefineddef (generic parameter) as parameter for assigned, resolves #19974
git-svn-id: trunk@18183 -
2011-08-12 20:33:22 +00:00
sergei
bbae63a4f2 * Check that a single interface is only delegated to a single property within a class.
* Disallow simultaneous use of method resolution and delegation for the same interface. An interface with method resolution must be implemented directly. This is Delphi compatible and resolves #18058.

git-svn-id: trunk@18179 -
2011-08-12 14:42:30 +00:00
pierre
47b943d236 + Add traling separators tests
git-svn-id: trunk@18177 -
2011-08-12 09:01:29 +00:00
pierre
9fff19cda9 + DirectoryExists tests
git-svn-id: trunk@18175 -
2011-08-12 08:30:46 +00:00
Jonas Maebe
d8a2c47c75 * fixed calling inherited message handlers after r18162
git-svn-id: trunk@18173 -
2011-08-11 20:08:43 +00:00
pierre
7fd2f2b3ed * Skip go32v2 target has there is no thread support
git-svn-id: trunk@18170 -
2011-08-11 13:13:35 +00:00
pierre
3d701bc644 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18169 -
2011-08-11 12:30:14 +00:00
pierre
405cf34bd3 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18168 -
2011-08-11 12:27:48 +00:00
sergei
25bf0012f2 * When the interface method mapping is present, being unable to find the implementing procedure using the mapped name is a error condition. No attempt to find implementing procedure using symbol name should be made in this case. Resolves #19591.
git-svn-id: trunk@18166 -
2011-08-10 21:33:39 +00:00
Jonas Maebe
9195506c56 * make sure that anonymous inherited calls only call through to the
overridden method, rather than to any method that can accept similar
    parameters as the current one (Delphi-compatible, and corresponds to
    what is described in our documentation)
  * do not flag "inherited" call nodes that are not "anonymous inherited"
    calls using the cnf_anon_inherited flag

git-svn-id: trunk@18162 -
2011-08-10 17:26:19 +00:00
pierre
2b54f5f961 Add test for bug report 7210
git-svn-id: trunk@18153 -
2011-08-09 13:32:47 +00:00
pierre
7b5196a4bc Test fix of infinite loop in PUSH/POP directives
git-svn-id: trunk@18142 -
2011-08-07 20:44:55 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
Jonas Maebe
da3fb5de0f * prevent double freeing temps containing int64-sized parameters
(mantis #19700)

git-svn-id: trunk@18053 -
2011-08-01 17:12:45 +00:00
Jonas Maebe
e7b85a6175 - removed cleaning ../../rtl and ../../packages when performing a
"make distclean" in the tests directory after r17782, because that
    breaks doing a "make FPC=newppc TEST_FPC=newppc distclean all digest"
    (because first the distclean will wipe away the rtl, and then the
     newppc will try to use it to compile the utilities etc).

    "make distclean" in the tests directory should only clean stuff
    under tests, nothing in parent directories. If you want to recompile
    the rtl, then do so before running the tests and don't rely on the
    makefile in tests to do that for you.

git-svn-id: trunk@18052 -
2011-08-01 16:32:30 +00:00
sergei
32c868d83e * Modified test so recent Windows TLS changes do not break it (these changes cause threadvar Output to move from .bss to thread-local storage, and heaptrc no longer treats it as a valid pointer). Adding support for tls pointer checks to heaptrc could solve this, too (and would be fine anyway), but it is a separate issue. This test is about checking pointers from .data and .bss.
git-svn-id: trunk@18020 -
2011-07-25 22:38:33 +00:00
sergei
4d0e8ca896 * Fixed compilation of the test after r16326
git-svn-id: trunk@18017 -
2011-07-25 05:29:51 +00:00
sergei
e32317bca4 * Fixed x86_64 compilation further (rev. 17940 was not enough).
git-svn-id: trunk@17983 -
2011-07-12 13:42:27 +00:00
pierre
c529921fc8 * clarify environment processing
git-svn-id: trunk@17942 -
2011-07-06 16:23:10 +00:00
pierre
51b867e6c3 Fix USEENV, export DOTESTENV was missing
git-svn-id: trunk@17941 -
2011-07-06 16:18:05 +00:00
sergei
c32e4b291e * Fixed compilation for x86_64-win64
git-svn-id: trunk@17940 -
2011-07-06 09:39:50 +00:00
florian
570f3c4b39 * merges recent class helper fixes by Sven Barth
git-svn-id: trunk@17887 -
2011-06-30 18:54:46 +00:00
pierre
72f2d37bac Correct last wrong commit.
+ Use Get_Frame function instead of assmebler code.
  + Add a check for FPU stack on i386.

git-svn-id: trunk@17885 -
2011-06-30 14:48:20 +00:00
pierre
e98c62cb68 * Also check that there is no FPU stack overrun on i386 CPU
git-svn-id: trunk@17884 -
2011-06-30 14:12:21 +00:00
Jonas Maebe
b2c8088d1c * don't use assembler stack checking code if FPC_PIC is defined, because the
assembler code is not pic-safe

git-svn-id: trunk@17880 -
2011-06-29 20:41:58 +00:00
pierre
547b6bbecb * Add stack checking to test
git-svn-id: trunk@17878 -
2011-06-29 20:25:51 +00:00
pierre
75dde8ab46 * Restrict test to interactive
git-svn-id: trunk@17870 -
2011-06-29 14:38:54 +00:00
pierre
29ca78c6e3 * Check that two $WARN are OK
git-svn-id: trunk@17869 -
2011-06-29 14:31:10 +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
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
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
pierre
405655ba60 + Skip library tests for go32v2 target
git-svn-id: trunk@17817 -
2011-06-24 10:11: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