Jonas Maebe
53ad1bcabe
* fixed linux flock type by defining and using a kernel_off_t type
...
whose size depends on whether the run time environment is 32 or
64 bit (mantis #13647 )
+ added flock64 type for 32 bit systems (usable with special 64 bit
fcntl operations)
git-svn-id: trunk@13119 -
2009-05-09 19:47:59 +00:00
Jonas Maebe
c1e327c8c4
* insert register allocation/deallocation information for the exception
...
handling code (g_exception_reason_load() now automatically allocates
the cpu register that it loads). This fixes the bug reported in
http://lists.freepascal.org/lists/fpc-devel/2009-May/016773.html
on i386 with -O2)
git-svn-id: trunk@13105 -
2009-05-06 19:11:54 +00:00
Jonas Maebe
99a02a93ca
* also consider the search attributes for findfirst if the name does
...
not contain wildcards + test
* don't return true from FindGetFileInfo if the file name is ok, but the
search attributes don't match (resulted in returning multiple times the
name of the previous entry that did fulfill all requirements)
git-svn-id: trunk@13074 -
2009-05-01 16:03:56 +00:00
Jonas Maebe
dbeb3e060f
* fixed internalerror(2007120903) when using -Cfsse2 in case an unsigned
...
32 bit subrange type with high(subrange_type) <= high(longint) is
converted to a float
git-svn-id: trunk@13037 -
2009-04-25 11:40:02 +00:00
sekelsenmat
557fd1e1c6
Moves gettext test to correct position
...
git-svn-id: trunk@12291 -
2008-12-02 16:35:29 +00:00
sekelsenmat
15e597682e
Fixes gettext crash under Windows CE and adds test case for it.
...
git-svn-id: trunk@12290 -
2008-12-02 16:01:25 +00:00
michael
ea29eb439f
* Test for default of property override: default of parent must be preserved
...
git-svn-id: trunk@12117 -
2008-11-15 22:35:36 +00:00
Jonas Maebe
e5920bc2b8
* delay verbosity changes just like localswitches changes
...
* store a node's verbosity in the node so that e.g. disabling warnings
also disables warnings for this node in pass_1
(the above together fix mantis #12076 )
* save/restore verbosity with {$push}/{$pop} (mantis #12075 )
* if warnings/notes/hints are turned off, also do not count encountered
ones for the totals (otherwise -Sew cannot be used properly in
combination with {$warnings off}, because disabled warnings will still
trigger a compiler error) -- this required adding -vw/-vn/-vh to all
tests using -Sew/-Sen/-Seh
- removed some superfluous state saving/restoring from firstpass()
git-svn-id: trunk@12025 -
2008-11-03 21:18:27 +00:00
florian
cd6b57c733
* fixed constant char to unicodestring conversion
...
git-svn-id: trunk@11779 -
2008-09-14 17:19:20 +00:00
yury
8818df640f
* Fixed passing of open array of wide string literals to function which expects 'array of pwidechar' parameter in case source file has utf8 encoding. Compiler thrown the following error in such case: Incompatible type for arg no. 1: Got "Array Of Const/Constant Open Array of WideString", expected "Open Array Of PWideChar".
...
+ Test for this issue.
git-svn-id: trunk@11581 -
2008-08-14 18:55:10 +00:00
peter
07880add06
* remove svn:executable property
...
git-svn-id: trunk@11403 -
2008-07-18 21:28:51 +00:00
tom_at_work
f11cf59854
* tests for checking type casts from integers/enums to TObjects in Delphi and non-Delphi mode (see r11398)
...
git-svn-id: trunk@11400 -
2008-07-18 15:53:37 +00:00
florian
050627ea1d
* allow goto inside finally blocks
...
git-svn-id: trunk@11392 -
2008-07-17 19:49:38 +00:00
florian
ed9c7ceaea
* support deprecated for types
...
git-svn-id: trunk@11341 -
2008-07-07 17:59:48 +00:00
florian
58757d0630
* support of dq in Intel assembler on 64 bit CPUs, resolves #11425
...
git-svn-id: trunk@11211 -
2008-06-07 15:08:48 +00:00
florian
4a243d451f
+ support of -Mxxx or $modeswitch to enable single mode specific features
...
git-svn-id: trunk@10936 -
2008-05-10 22:04:53 +00:00
Jonas Maebe
95637dea75
* fixed swapendian(smallint) (bug found by Joost van der Sluis)
...
* based swap(smallint) and swap(word) on swapendian(smallint/word),
since the same bug was already fixed in swap(smallint) in r6752
(so these routines now share the same code)
* fixed potential range error in swapendian(word)
+ added basic test for the above four routines
git-svn-id: trunk@10840 -
2008-04-29 22:14:43 +00:00
Jonas Maebe
7e4750ac50
* workaround for default property constant value limitations
...
git-svn-id: trunk@10575 -
2008-03-28 10:15:33 +00:00
Jonas Maebe
005bdc1af4
* fixed "inherited some_property" constructs for getters/setters
...
(mantis #10927 )
* extended the tb0259 test a bit (tests similar constructs in
case there is no getter/setter)
git-svn-id: trunk@10456 -
2008-03-07 19:29:40 +00:00
peter
761344e9fc
* don't allow passing ordinal and real constants to formal const parameters
...
git-svn-id: trunk@10426 -
2008-03-02 15:00:32 +00:00
florian
6c53785e3a
* first part of implements clean up and fixing
...
git-svn-id: trunk@10382 -
2008-02-24 11:05:46 +00:00
florian
38230735a5
* testcase for last commit
...
git-svn-id: trunk@10337 -
2008-02-16 08:55:08 +00:00
florian
d38da8d0ae
* naming fixed
...
git-svn-id: trunk@10335 -
2008-02-16 08:52:57 +00:00
peter
737212ff22
* fix result type of constset+[]
...
git-svn-id: trunk@10311 -
2008-02-12 17:30:00 +00:00
Jonas Maebe
53be0147d4
* fixed assignments to integer regvars typecasted to a type
...
of equal size but with different signdness + test
git-svn-id: trunk@9871 -
2008-01-22 21:27:34 +00:00
Jonas Maebe
84159b3cbb
* optimize away unnecessary implicit upcasts to int64 for subtractions
...
of u32bit values on 32 bit platforms (after the int64 values have
already been used for overload selection etc, i.e., semantically
nothing changes)
+ test which checks that not too many typecasts are optimized away
git-svn-id: trunk@9664 -
2008-01-06 23:30:19 +00:00
Jonas Maebe
5196db1ac3
* fixed low(set)/high(set) after previous changes + test
...
git-svn-id: trunk@9371 -
2007-12-01 17:16:33 +00:00
Jonas Maebe
61522d00a2
* fixed tests now that i386 assembler code is checked for correct PIC
...
usage in case PIC generation is on (some by adding PIC-versions of
the assembler code, most by adding -Cg- to the options to be used).
Note: the Intel assembler reader does not yet support the Delphi
PIC construct, so tests with that (like test/tasmread and test/tcg1)
do not work with -Cg on non-Darwin (Darwin needs a different PIC
construct)
git-svn-id: trunk@9370 -
2007-12-01 14:34:50 +00:00
Jonas Maebe
d15007dbfe
* don't test on darwin since not supported there for efficiency
...
reasons
git-svn-id: trunk@9200 -
2007-11-11 17:53:19 +00:00
Jonas Maebe
d9647db223
* changed x86_64 assembler code to PIC
...
git-svn-id: trunk@9199 -
2007-11-11 17:50:27 +00:00
florian
ae9654ddbc
* test doesn't apply to win32 and win64 anymore
...
git-svn-id: trunk@9053 -
2007-11-01 22:19:24 +00:00
Jonas Maebe
1ee8207ffa
* fixed mantis #9522 : no longer allow typecasting ordinal constants
...
to complex types (caused a lot of internal errors later on, and
was also Delphi-incompatible)
git-svn-id: trunk@8369 -
2007-09-03 15:55:26 +00:00
Jonas Maebe
b1631b6918
* fixed wrong uninitialized warnings with passing array elements
...
as out-parameters
git-svn-id: trunk@8337 -
2007-08-29 20:23:59 +00:00
yury
685810c18c
* Fixed fpc_WideCharArray_To_WideStr in case if widechar array contains empty string.
...
+ Test.
git-svn-id: trunk@8317 -
2007-08-28 09:53:29 +00:00
Jonas Maebe
eddc507a13
* disallow widechar sets (Delphi 7 compatible, and were handled wrongly
...
by FPC previously)
* tbs/tb0474 now fails -> renamed to tbf/tb0201 (+ new test tbf/tb0202)
git-svn-id: trunk@8284 -
2007-08-14 14:27:59 +00:00
daniel
30f733eed5
* Compiler now catches the error already at compiler time. Use a variable
...
to force checking at runtime.
git-svn-id: trunk@7930 -
2007-07-03 10:15:14 +00:00
daniel
dafc044cea
* tb0201 should now succeed, move & rename it to tbs/tb0540
...
* Add %FAIL & %NORUN to tb0200.
git-svn-id: trunk@7826 -
2007-06-26 17:43:41 +00:00
florian
03951d793a
* don't try to range check ordconst nodes being actually classes
...
git-svn-id: trunk@7797 -
2007-06-24 19:27:22 +00:00
florian
e94e32d005
+ new test
...
git-svn-id: trunk@7792 -
2007-06-24 14:33:28 +00:00
yury
a70eba78a6
* Delete temporary files used by tests. It is important when remotely run testsuite at Pocket PC. Temp files are created in root folder and it is not good if the files are left.
...
git-svn-id: trunk@7760 -
2007-06-21 17:13:39 +00:00
yury
8e45887e1b
* allow assignment of empty dynarray to variant and empty vararray to dynarray.
...
+ test.
git-svn-id: trunk@7754 -
2007-06-21 09:31:10 +00:00
yury
17764bbbf6
* this test not for wince.
...
git-svn-id: trunk@7750 -
2007-06-20 20:35:44 +00:00
Jonas Maebe
ce94d89bd9
+ added cwstring unit for unix
...
git-svn-id: trunk@7679 -
2007-06-16 09:13:01 +00:00
joost
4d9c3244fe
* If a variant contains a datetime value and is converted to a string, it should return a string in a date/time format. (+test)
...
git-svn-id: trunk@7643 -
2007-06-13 12:24:16 +00:00
florian
011993a5f1
* properties fixed
...
git-svn-id: trunk@7084 -
2007-04-09 19:04:51 +00:00
Jonas Maebe
5f169f97ff
* fixed SSE2 substraction when both operands are on the 80x87 fpu stack
...
git-svn-id: trunk@6959 -
2007-03-23 00:21:46 +00:00
florian
c127753bb8
* test for win64 fixed
...
git-svn-id: trunk@6919 -
2007-03-18 20:11:38 +00:00
Jonas Maebe
bcfed2bc74
* test for wrong warning when accessing length of unwritten
...
open array out-parameters
git-svn-id: trunk@6906 -
2007-03-17 22:08:31 +00:00
Jonas Maebe
69cf42c4f7
* fixed val(s,int64) (it accepted values in the range
...
high(int64+1)..high(qword) if written in decimal notation) + test
* fixed range checking of qword constants parsed by the compiler
(they always gave a range error if > high(int64), because the compiler
internally stores them as int64)
* turn off range checking flag of rdconstnodes created by the parser
from _INTCONST, because those are already range checked by the
way they are parsed using val()
git-svn-id: trunk@6814 -
2007-03-12 22:22:43 +00:00
daniel
0fdd8110c7
* Force I/O checking
...
git-svn-id: trunk@6793 -
2007-03-11 20:06:42 +00:00
daniel
5784674f20
+ Test for append on devices.
...
git-svn-id: trunk@6787 -
2007-03-11 18:56:02 +00:00
Jonas Maebe
6ba8db4dd4
* fixed a_op_const_reg(_reg)(OP_OR/OP_XOR,OS_S8/OS_S16) for ppc32
...
(is ok for ppc64)
git-svn-id: trunk@6756 -
2007-03-09 15:51:09 +00:00
Jonas Maebe
c7fc744a2a
* use sysutils.sleep() instead of a delay loop for consistent results
...
among different systems
git-svn-id: trunk@6726 -
2007-03-05 15:56:55 +00:00
peter
fcc873b202
* fix compile error
...
git-svn-id: trunk@6597 -
2007-02-22 06:57:50 +00:00
peter
9a37c04131
* cardinal-cardinal is calculated using int64
...
* support pointer(int64) for all modes, this is needed to
support pointer(cardinal+longint) and pointer(cardinal-cardinal)
git-svn-id: trunk@6586 -
2007-02-21 11:52:06 +00:00
florian
42da0e5688
* new test
...
git-svn-id: trunk@6577 -
2007-02-20 19:24:40 +00:00
pierre
5fc4257482
* range check explicitly disabled
...
git-svn-id: trunk@6537 -
2007-02-18 00:25:31 +00:00
daniel
34bdb90822
* Correct properties on tb0529
...
git-svn-id: trunk@6514 -
2007-02-16 18:02:57 +00:00
yury
48e46f1c2e
* Fixed error "Incompatible type for arg no. X: Got "Array Of Char", expected "Array Of PChar"" when passing values like ['1','2','3'] for "array of PChar" parameter.
...
+ Test added.
git-svn-id: trunk@6495 -
2007-02-15 19:43:35 +00:00
tom_at_work
499d77d975
* fixed compilation
...
git-svn-id: trunk@6367 -
2007-02-07 20:44:48 +00:00
Jonas Maebe
80b0b1c057
* compiler identifier is powerpc64, not ppc64
...
git-svn-id: trunk@6365 -
2007-02-07 20:32:12 +00:00
daniel
794167b09d
* Improve test.
...
git-svn-id: trunk@6362 -
2007-02-07 19:51:07 +00:00
daniel
04819280cc
+ Add enormous arrays test.
...
git-svn-id: trunk@6359 -
2007-02-07 19:36:35 +00:00
Jonas Maebe
c9148d67a9
* support for {$z+/-} (={$z4/1})
...
git-svn-id: trunk@6109 -
2007-01-21 22:08:53 +00:00
yury
901dd52840
+ new test.
...
git-svn-id: trunk@6056 -
2007-01-18 21:00:26 +00:00
Jonas Maebe
f2b07704b5
* proper initialised/used warnings for variables used
...
in complex with-statements + tests
git-svn-id: trunk@6024 -
2007-01-17 12:04:53 +00:00
daniel
4e19e473a4
* Add target specifier.
...
git-svn-id: trunk@5988 -
2007-01-15 10:32:53 +00:00
daniel
95713c7264
+ Add baseunix again.
...
git-svn-id: trunk@5987 -
2007-01-15 10:29:46 +00:00
daniel
38062997f4
* Remove unused procedure.
...
git-svn-id: trunk@5976 -
2007-01-14 21:20:23 +00:00
daniel
4f55e8055f
+ Add test to test Pascal I/O sockets
...
git-svn-id: trunk@5975 -
2007-01-14 20:35:13 +00:00
florian
5e2042cff8
* correct assembling of test rm8,reg8
...
git-svn-id: trunk@5972 -
2007-01-14 18:08:37 +00:00
Jonas Maebe
7afbe22031
* extended test
...
git-svn-id: trunk@5917 -
2007-01-12 10:38:15 +00:00
Jonas Maebe
2ddeca21e6
* don't give warning about constructing instance with abstract methods
...
for self.create calls + tests
git-svn-id: trunk@5810 -
2007-01-04 13:02:23 +00:00
florian
80d4887e67
* fixed warnings for length/high/low(<normal array>; <ord>; <enum>)
...
git-svn-id: trunk@5795 -
2007-01-03 09:51:24 +00:00
florian
28d59bbf6f
* pos(...,...) overloads with variants, see tb0520.pp for the reason
...
git-svn-id: trunk@5770 -
2006-12-31 17:47:05 +00:00
florian
694b616975
* fixed test on windows, I wonder what it was supposed to test
...
git-svn-id: trunk@5762 -
2006-12-30 23:55:15 +00:00
Jonas Maebe
555e887ea3
* test for floating point precision conversion
...
git-svn-id: trunk@5756 -
2006-12-30 22:26:04 +00:00
Jonas Maebe
a63ed25f74
* fixed support for repeating constructor without parameters in Delphi
...
mode + test
git-svn-id: trunk@5692 -
2006-12-23 20:53:47 +00:00
Jonas Maebe
e5a1d628eb
* fixed one regression in r5682: implementation declarations with a
...
calling convention that has different hidden parameters than the
interface declaration no longer compiled in Delphi mode (e.g.
webtbs/tw7329.pp on i386)
* fixed remaining declaration parsing incompatibilities in TP/Delphi
modes (other modes already gave errors for the things below):
* give an error for "function a: byte;" in interface followed by
"procedure a;" in implementation ("function a;" in implementation
still allowed as in TP/Delphi)
* give an error for "function a(b: byte):byte" in interface
followed by "function a: byte;" in implementation (if one parameter
or return type is specified in implementation, everything must
be repeated -- "function a;" still allowed)
* copied webtbs/tw0890.pp to webtbf/tw0890a.pp since it now correctly
fails, and modified webtbs/tw0890.pp so it doesn't fail with the
new code
git-svn-id: trunk@5688 -
2006-12-23 11:17:21 +00:00
yury
569bec8e80
* fixed ifdef for arm.
...
git-svn-id: trunk@5665 -
2006-12-21 20:51:09 +00:00
Jonas Maebe
72c7d5b6c0
* support ranges in case-options of variant records
...
git-svn-id: trunk@5553 -
2006-12-07 15:19:30 +00:00
Jonas Maebe
39324125ec
* fixed for 64 bit targets
...
git-svn-id: trunk@5536 -
2006-12-03 20:47:45 +00:00
micha
c333724be3
+ add TStringList test
...
git-svn-id: trunk@5526 -
2006-12-02 11:22:56 +00:00
florian
0c64a02826
* there is no gnu as for win64
...
git-svn-id: trunk@5493 -
2006-11-26 16:20:40 +00:00
Jonas Maebe
a15e5dc61c
* always call tobject.create/free in MacPas mode for new/dispose constructs
...
(since macpas methods may accidentally be called like that as well,
as it doesn't have any constructors/destructors)
+ some tests for MacPas objects from the GNU Pascal testsuite
git-svn-id: trunk@5421 -
2006-11-18 13:36:38 +00:00
florian
81726e85d7
* properties can be also passed to formal const parameters
...
git-svn-id: trunk@5419 -
2006-11-18 09:09:21 +00:00
florian
08f72e02f4
+ copying of procedure variable defs
...
git-svn-id: trunk@5277 -
2006-11-07 19:20:12 +00:00
peter
99f1c86413
* force reference to AbortPrinter so smartlinking doesn't optimize the import away
...
git-svn-id: trunk@5242 -
2006-11-05 13:00:27 +00:00
Jonas Maebe
5acc8b44a8
* activated internal get_frame for x86
...
* turn off stackframe optimizations on x86 if get_frame is called
in the current routine, or if the address of a nested function
is taken in the current routine
+ test for the above
* this fixes the IDE when compiled with stackframe optimizations
on x86
git-svn-id: trunk@5146 -
2006-11-01 12:48:53 +00:00
florian
69a2144170
+ added goto enable switch
...
git-svn-id: trunk@5069 -
2006-10-29 20:04:31 +00:00
florian
3d85bfbf7b
* fixed coping of goto/label nodes
...
git-svn-id: trunk@5053 -
2006-10-29 09:50:39 +00:00
peter
ab3c173479
* property override test
...
git-svn-id: trunk@5043 -
2006-10-28 18:22:33 +00:00
Jonas Maebe
12c76ca1ce
+ support for "return" without return value in MacPas mode
...
git-svn-id: trunk@4933 -
2006-10-15 19:22:39 +00:00
micha
f47f8e6af1
add tests for untyped pointer arithmetic warnings
...
git-svn-id: trunk@4820 -
2006-10-07 16:28:21 +00:00
Jonas Maebe
86649024b3
* fixed fpc_AnsiStr_Concat_multi + test
...
git-svn-id: trunk@4790 -
2006-10-04 16:44:31 +00:00
Jonas Maebe
a12f293781
* fixed wrong note about explictly valued enumeration types if the lower
...
bound is <= -1
git-svn-id: trunk@4182 -
2006-07-14 17:16:27 +00:00
Jonas Maebe
30ee3416e8
* fixed wrong "assigned but not used" note for class and interface
...
(the latter via a type cast) variables from which only fields are
read
git-svn-id: trunk@4181 -
2006-07-14 17:06:31 +00:00
yury
cdafea2ce7
* uses crt is not needed in some tests.
...
git-svn-id: trunk@4112 -
2006-07-06 19:10:44 +00:00
yury
291b00529a
* wince support for some tests.
...
git-svn-id: trunk@4111 -
2006-07-06 19:09:42 +00:00
yury
f96b571e38
* skip some tests for wince.
...
git-svn-id: trunk@4110 -
2006-07-06 19:08:23 +00:00
yury
4c3d73106c
* about 500 millions iterations is not needed for tb0328 test.
...
git-svn-id: trunk@4098 -
2006-07-06 11:02:28 +00:00
Jonas Maebe
74f9acd0d8
+ added
...
git-svn-id: trunk@3198 -
2006-04-12 13:25:39 +00:00
Jonas Maebe
22dbdea481
* fixed test, enabled for freebsd, darwin, solaris
...
git-svn-id: trunk@3151 -
2006-04-05 12:19:55 +00:00
oro06
feb8de2d67
*arm-wince wince added to win32 tests
...
git-svn-id: trunk@2615 -
2006-02-17 07:38:55 +00:00
peter
30130d41be
* more tests for symtable insert/search
...
git-svn-id: trunk@2406 -
2006-02-02 13:41:17 +00:00
peter
62d885369d
* test for enums in record
...
git-svn-id: trunk@2405 -
2006-02-02 13:17:05 +00:00
Jonas Maebe
08c4e6918b
* renamed test to properly reproduce internal error
...
git-svn-id: trunk@2243 -
2006-01-09 15:46:30 +00:00
peter
b561749dea
* renamed to trtti4
...
git-svn-id: trunk@2006 -
2005-12-20 10:46:41 +00:00
peter
1f2e850bea
* test also order of properties
...
git-svn-id: trunk@2005 -
2005-12-20 10:35:53 +00:00
peter
6c75825751
* test for forward class in $M+
...
git-svn-id: trunk@1999 -
2005-12-20 09:03:43 +00:00
daniel
190cdc6f4b
* Isolated IE200311075 bug found today
...
git-svn-id: trunk@1871 -
2005-12-02 21:05:28 +00:00
tom_at_work
c97dfde06d
* renamed tb0488.pp to tb0488a.pp
...
* added tb0488b test program
git-svn-id: trunk@1774 -
2005-11-16 20:51:45 +00:00
tom_at_work
9d7ac02696
* fixed tb0488 on unix platforms (missing cwstring uses)
...
* 64bit big-endian fix of dynamic array handling
* added qword support for %x format specifier of format() functions
git-svn-id: trunk@1773 -
2005-11-16 20:50:38 +00:00
tom_at_work
487c4f76a4
* more testbench fixes
...
git-svn-id: trunk@1600 -
2005-10-26 21:42:20 +00:00
peter
fb6d17fb21
* fixed runtime
...
git-svn-id: trunk@1490 -
2005-10-19 06:35:17 +00:00
Jonas Maebe
f587986a69
- disabled for non-x86/x86_64
...
git-svn-id: trunk@1423 -
2005-10-16 14:47:32 +00:00
florian
2dd7c144c4
* fixed test
...
git-svn-id: trunk@1371 -
2005-10-13 20:01:17 +00:00
peter
edf553a223
* string constants are now array of char until
...
they are converted to a specific string type
git-svn-id: trunk@1254 -
2005-10-02 11:08:58 +00:00
florian
be99f2a7fd
* fixed loading of addresses of virtual methods to methodpointers in delphi mode
...
git-svn-id: trunk@1182 -
2005-09-25 10:58:17 +00:00
florian
40dd9b9404
* new test for the recently fixed intel assembler reader stuff
...
git-svn-id: trunk@1108 -
2005-09-18 09:07:46 +00:00
florian
fa1575aeab
* fixed array[..] of char <op> pchar: wrong type was determined for non op<>+ returned
...
git-svn-id: trunk@1107 -
2005-09-18 08:59:20 +00:00
florian
abbc85bb78
+ strict protected and strict private support
...
git-svn-id: trunk@512 -
2005-06-28 19:23:39 +00:00
Jonas Maebe
26646298a4
* fixced uninitialised variable
...
git-svn-id: trunk@399 -
2005-06-13 21:53:12 +00:00
florian
837638b971
* initial test version
...
git-svn-id: trunk@169 -
2005-06-01 18:45:23 +00:00
Tomas Hajny
3d00563633
+ check for not failing on Delphi $WARN directive
...
git-svn-id: trunk@125 -
2005-05-26 20:53:02 +00:00
florian
ac880214fc
* fixed passing function results to const formal defs, see tbs/tb0490.pp
...
git-svn-id: trunk@56 -
2005-05-21 20:44:04 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
olle
fefdf31dce
+ Added code for macos
2005-04-28 18:37:23 +00:00
olle
942c4ea025
- Removed dependency on unit DOS
...
* Made filename valid length for macos
2005-04-28 18:36:18 +00:00
olle
9e25e07eaa
- Removed superfluous apptype
2005-04-28 18:35:02 +00:00
peter
86c939c17c
* fix compile failures
2005-04-05 21:04:34 +00:00
peter
594c8943eb
* new bugs
...
* added $mode fpc
2005-04-04 16:29:44 +00:00
peter
2326c2b62f
new bugs
2005-03-28 15:06:55 +00:00
peter
0a6f9bb489
* mode delphi
2005-03-04 17:07:49 +00:00
florian
9d5509f3f9
no message
2005-02-26 09:53:43 +00:00
florian
b3910a75f2
no message
2005-02-26 09:51:28 +00:00
florian
25ea80ba19
no message
2005-02-24 22:36:03 +00:00
florian
627420ae56
no message
2005-02-23 19:18:23 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
florian
f2c5cdc3ee
no message
2005-02-10 20:53:33 +00:00
florian
5f8c31df7c
* on 64 bit CPUs val works with 64 bit
2005-02-05 18:56:45 +00:00
florian
beee137eb7
no message
2005-02-01 23:19:09 +00:00
florian
cc7220d3db
no message
2005-02-01 23:17:46 +00:00
florian
65e3bccd25
no message
2005-02-01 23:16:37 +00:00
florian
2fa0967349
no message
2005-02-01 23:06:55 +00:00
peter
7d881c5c07
* mode tp
2005-01-31 17:01:24 +00:00
florian
97bbacd0a8
no message
2005-01-19 23:33:13 +00:00
florian
a6549318c7
no message
2005-01-19 23:20:12 +00:00
florian
661b1f39b7
no message
2005-01-19 20:52:08 +00:00
florian
36d8c40223
+ skipemu directive added
2005-01-06 16:38:06 +00:00
florian
cd8e5f6852
no message
2004-12-18 15:20:42 +00:00
peter
53dd50db60
* add byte ptr
2004-12-15 15:58:24 +00:00
florian
e27a8d871f
* fixed test
2004-11-28 21:32:28 +00:00
peter
d30f99c17e
* use domem() for heap checking
2004-11-26 21:59:49 +00:00
olle
2ecaba47e1
+ Better comment on %SKIPTARGET=macos
2004-11-23 19:55:59 +00:00
peter
a20e4c2afe
* bug is obsolete
2004-11-21 21:55:14 +00:00
peter
04e9ecba1c
* move external to interface
2004-11-21 21:42:16 +00:00
peter
782801e42b
* win32 only
2004-11-21 21:42:00 +00:00
peter
161cbe3824
* fixed library tests
...
* fix test cases to generate their own temporary files
2004-11-09 23:13:49 +00:00
florian
53d4987dbe
* test for 64 bit cpus fixed
2004-11-02 17:31:00 +00:00
florian
2ba892c5bd
* fixed test for x86_64 which supports a native comp type
2004-11-02 16:01:47 +00:00
peter
78ff575ee4
* use __stklen
2004-11-01 14:52:02 +00:00
florian
18ab96362b
+ added sparc code
2004-10-03 18:13:26 +00:00
florian
9cc9d68060
+ sparc
2004-09-26 18:32:15 +00:00
peter
8b58545947
* problem with temp ansistrings
2004-09-22 20:21:43 +00:00
peter
2bb1472ab5
* new bug
2004-09-21 15:45:44 +00:00
Jonas Maebe
172ffeac56
+ added
2004-08-25 11:50:45 +00:00
Jonas Maebe
cb8f28f93d
+ test for "@procvar_of_object <> nil" in delphi mode
2004-08-17 19:05:27 +00:00
florian
1d1df129f6
*** empty log message ***
2004-05-29 15:52:33 +00:00
florian
c67af8573f
no message
2004-05-25 21:26:49 +00:00
florian
d33a2be215
no message
2004-05-25 21:25:01 +00:00
florian
51a249e0c5
no message
2004-05-24 21:27:30 +00:00
florian
dbd39b5f63
* removed
2004-05-24 20:35:28 +00:00
peter
9cab8ec422
* missing function result
2004-05-24 15:33:02 +00:00
florian
ddd4d8bbae
no message
2004-05-23 14:14:43 +00:00
florian
17c92356a8
no message
2004-05-23 11:03:20 +00:00
florian
d3b67cb11d
no message
2004-05-23 09:58:39 +00:00
peter
f34715d35c
* 64bit fixes
2004-05-02 12:59:57 +00:00
peter
3d4e245aaa
* 1.0.x only
2004-05-02 12:50:23 +00:00
olle
b564b4751f
+ added MacOS to SKIPTARGETS
2004-04-25 13:56:27 +00:00
florian
332d0c1ac3
* test for arm fixed
2004-03-30 20:39:10 +00:00
peter
739a37c29d
* fix range check error with cardinal-longint
2004-03-29 14:28:40 +00:00
peter
8004c68a42
* constant ordinal type
2004-03-23 16:51:35 +00:00
peter
46472dc0da
* new macro expansion problem
2004-02-24 15:40:00 +00:00
florian
d668c06dc9
* fixed test
2004-02-20 20:56:28 +00:00
peter
df4665129f
* delphi mode
2004-02-20 20:03:18 +00:00
peter
32b66da465
* overload with procvar and result of procvar function
2004-02-20 20:01:30 +00:00
florian
e14c360838
no message
2004-02-19 17:32:14 +00:00
florian
867ab3347e
no message
2004-01-21 14:12:23 +00:00
Jonas Maebe
d923fb5b7a
* test is x86 specific
2004-01-12 21:56:32 +00:00
daniel
35df00f41e
* Program name corrected.
2004-01-10 21:38:04 +00:00
daniel
f46d787ab6
* @ operator does not work on labels in current compiler
2004-01-10 21:32:02 +00:00
florian
8c0e6c8943
no message
2004-01-06 12:45:12 +00:00
florian
2610c179f1
no message
2004-01-05 20:28:37 +00:00
Jonas Maebe
6e3aec5acc
* fixed for non-i386
2004-01-01 15:32:21 +00:00
Jonas Maebe
2d05b23107
* moved tb0151 from tbf to tbs
2003-12-29 13:15:48 +00:00
Jonas Maebe
e9051dc267
+ powerpc suppport
2003-12-29 10:58:05 +00:00
Jonas Maebe
67eaf25d33
+ ppc support
2003-12-29 10:55:19 +00:00
peter
b7a19dd847
* new bug
2003-12-27 22:27:05 +00:00
daniel
213f373613
* 2 tests for integer constant to pointer conversion
2003-12-16 10:27:47 +00:00
Jonas Maebe
353f9d86e3
+ 64 bit checks
2003-12-09 21:08:39 +00:00
Jonas Maebe
cd39c5052b
* test extended
2003-12-09 20:37:18 +00:00
Jonas Maebe
396f4aa9ab
+ linux/ppc support
2003-12-09 19:38:25 +00:00
Jonas Maebe
78f3af10e9
* 80x86 specific
2003-12-09 16:36:26 +00:00
peter
cab15224db
* fix runtime check
2003-12-08 22:39:36 +00:00
peter
5839db8098
* result adapted
2003-12-08 19:24:17 +00:00
peter
d9ae994ba2
* asmmode direct removed
2003-12-08 16:55:32 +00:00
peter
44334710e6
* using a nested function
2003-11-10 19:44:10 +00:00
florian
34627e01fb
no message
2003-11-09 13:41:46 +00:00
florian
a9edc98c72
no message
2003-11-08 16:47:58 +00:00
florian
621b93dee1
no message
2003-11-08 08:55:10 +00:00
peter
795b479d7b
* inline test with ppu load
2003-11-07 17:25:47 +00:00
florian
15eef9c65a
no message
2003-11-07 14:13:54 +00:00
florian
e861eaa4c0
no message
2003-11-06 22:46:45 +00:00
florian
79e37b1ba5
no message
2003-11-06 22:36:04 +00:00
peter
f51646dfd5
* test exitcode 217
2003-10-31 16:15:26 +00:00
peter
cbd049d506
* 1.1 only
2003-10-31 16:12:41 +00:00
florian
2d98969ca0
no message
2003-10-29 21:44:22 +00:00
florian
5edcaa9912
no message
2003-10-27 20:44:42 +00:00
florian
9825fadb99
* fixed compilation of ppc system unit
2003-10-25 22:51:43 +00:00
peter
33266a3a5f
* Removed windows dependency
2003-10-07 20:46:17 +00:00
peter
9e5e82751c
* fpSignal
2003-10-05 21:16:33 +00:00
peter
1f23804bcf
* use oldfpccall for 1.1+
2003-10-03 14:46:10 +00:00
peter
a63054d3a7
* extended tests
2003-10-01 19:04:11 +00:00
peter
be82d39edd
* ugly byte:byte code for method
2003-10-01 18:27:17 +00:00
peter
89f1a05d43
* function byte:byte not working
2003-10-01 18:17:48 +00:00
carl
f09c1e8e63
* Bugfix of procedrual variables of methods (Bug report 2588)
2003-08-09 11:38:52 +00:00
Jonas Maebe
4b907b7c5e
+ added
2003-07-21 13:04:40 +00:00
peter
fd632f7a50
* overload keyword added, test is successfull for 1.1. known issue
...
for 1.0.x
2003-05-13 14:47:51 +00:00
peter
cd0cbd4436
* crash with constructor/destructor combi
2003-05-06 17:59:36 +00:00
pierre
a9ea64b788
* add a knowncompileerror for big endian case
2003-04-24 09:40:01 +00:00
peter
ad27d96dc3
* delphi style imports
2003-04-23 08:13:04 +00:00
pierre
5d96f16f52
+ signal doserror equal to zero as a known problem
2003-03-21 10:59:41 +00:00
pierre
e4c08421ad
* add a not for nig endian machines
2003-03-10 11:10:23 +00:00
Jonas Maebe
3d458ea501
+ added
2003-03-03 13:06:57 +00:00
pierre
ecae861d6a
* register as known v1.0 problems
2003-02-21 11:35:28 +00:00
pierre
487408c8da
+ known problems described
2003-02-20 12:42:20 +00:00
pierre
856d87c173
* more delphi/fpc procvar address tests
2003-02-17 13:47:46 +00:00
pierre
ff2d3b7d06
+ also check shr 0 and shl 0
2003-02-11 12:03:47 +00:00
pierre
168690c833
* enhance check
2003-02-11 11:58:31 +00:00
carl
4841a83d44
+ round returning int64 problem
2003-02-02 14:37:45 +00:00
carl
30e5f6934e
+ exception testing
2003-02-02 13:46:06 +00:00
pierre
b230154c32
* also check that array can be accessed correctly
2003-01-22 00:36:40 +00:00
peter
bd06dd902c
* runtime check
2003-01-12 17:15:59 +00:00
peter
5a1fadcef9
* procvar load with overloaded function
2003-01-12 16:22:45 +00:00
peter
bdb7c4f84f
* add check if pos(ansistring) still works
2003-01-08 15:56:42 +00:00
peter
250db0c29a
* 1.1
2003-01-07 19:36:10 +00:00
peter
7c22c8184b
* add test for charray=nil
2003-01-07 19:36:05 +00:00
peter
702947b966
* use self.test instead of tc.test
2003-01-05 22:21:35 +00:00
peter
edb37d1a72
* rangecheck error when operands are widened
2003-01-05 18:35:16 +00:00
peter
763eb6bafa
* pchar=char failure
2003-01-02 20:37:38 +00:00
peter
4d4c6905d0
* more complex check
2003-01-02 16:48:08 +00:00
peter
f9948cb330
* self as var in non-object procvar
2003-01-02 16:32:24 +00:00
peter
5badb9e78a
* go32v2 and linux specific, because it needs 'as' for assembling
2003-01-02 16:19:30 +00:00
peter
1d747fc5d3
* delphi allows callign convention in implementation
2002-12-29 17:51:52 +00:00
peter
9b6bd8d58e
* old bug tbf/tb0122 that should succeed
2002-12-27 14:51:05 +00:00
florian
10c1d63b27
*** empty log message ***
2002-12-26 12:32:28 +00:00
florian
30574c4104
*** empty log message ***
2002-12-26 12:23:31 +00:00
mazen
6e42e8acf0
+ testing operator overloading
2002-12-26 11:34:57 +00:00
peter
9a6bbcb302
* delphi mode
2002-12-25 00:46:05 +00:00
peter
e93e4e8210
* procedure with the same name as a unit hides the unit
2002-12-25 00:42:10 +00:00
peter
399ee48ea7
* array of char+integer is allowed in delphi
2002-12-24 23:50:02 +00:00
peter
06c7671945
* changed $ifdefs to %target
...
* removed obsolete dpmiexcp unit for go32v2
2002-12-24 22:31:26 +00:00
peter
3e86b4d56e
* runtime check
2002-12-24 16:52:29 +00:00
peter
e28f8bb42b
* renamed to .pp
2002-12-24 15:36:29 +00:00
florian
3bab3f9b02
no message
2002-12-23 23:21:03 +00:00
florian
a3c8a49405
no message
2002-12-20 20:36:20 +00:00
florian
1a059d7559
no message
2002-12-20 20:35:52 +00:00
peter
420fb26f38
* some special array constructor cases
2002-12-20 16:35:59 +00:00
peter
107c954939
* procvar and absolute probs
...
* procvar and addr() probs
2002-12-17 19:13:49 +00:00
peter
8939f85486
* error check for invalid date in setftime
2002-12-15 20:27:04 +00:00
pierre
4155f6ba35
x:=x*1 created wrong code for m68k
2002-12-12 10:31:11 +00:00
peter
d393a6f1cb
* Another strange delphi procvar thingy, this time with assigned()
2002-12-11 19:52:27 +00:00
peter
25739b34da
* runtime check added
2002-12-06 15:29:41 +00:00
peter
2437273196
* shortstring should be prefered when converting string-string
2002-12-06 15:21:16 +00:00
pierre
5902ddb2db
* check smallset+normset
2002-12-05 15:50:51 +00:00
pierre
5a47ac1e86
+ one more check for the long mangledname problem
2002-12-05 15:43:00 +00:00
Jonas Maebe
327b84cd3d
+ bug reported by jazesage@aol.com
2002-12-03 09:30:51 +00:00
pierre
5add6af432
* fix test for m68k that only aligns to words
2002-12-02 00:29:52 +00:00
carl
d38880fb14
+ hint directive testing
2002-11-30 18:46:56 +00:00
florian
e0f1ddbc64
* fixed test, don't remember the use of it :/
2002-11-28 23:34:16 +00:00
peter
a870740c0e
* another tp procvar check
2002-11-27 14:51:36 +00:00
peter
713a8c3ca3
* runtime test added
2002-11-27 14:24:45 +00:00
peter
deb598c753
* test was buggy
2002-11-26 21:47:10 +00:00
peter
4241238f78
* another @ problem
2002-11-26 21:43:58 +00:00
carl
4b58341892
+ added several new tests
2002-11-26 19:24:55 +00:00
peter
51a3acb6fe
* new delphi probs
2002-11-21 23:03:59 +00:00
peter
d3533891fe
* cross unit reference to a hidden unit
2002-11-21 22:47:38 +00:00
pierre
9a8c771280
+ add check that args after are found
2002-11-18 01:33:33 +00:00
peter
e27d66d7bb
* include which test failed
2002-11-15 16:33:47 +00:00
carl
fa293b4f98
+ more tests to avoid adding new bugs.
2002-11-14 20:12:33 +00:00
pierre
8c540e0bd6
* check that adding sets is commutative
2002-11-14 17:23:55 +00:00
Jonas Maebe
656c0a3b6b
+ added test for setting string funciton result in nested procedure
...
(fails under 1.1 currently)
2002-11-13 12:34:37 +00:00
pierre
00d7da7aad
* m68k extended size is 12
2002-10-31 15:31:39 +00:00
pierre
0c0fdec501
just to be nice to Carl
2002-10-30 11:57:36 +00:00
carl
eede33f5a0
* oops, this test is only for m68k target!
2002-10-29 20:49:41 +00:00
carl
29497cbed0
* more fun testing for emulation $E switch.
2002-10-29 20:47:23 +00:00
carl
b33067dd6d
version 1.1 test only
2002-10-29 20:09:27 +00:00
florian
f0acfdf631
no message
2002-10-17 12:19:01 +00:00