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
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
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
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
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
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
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
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
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
e32317bca4
* Fixed x86_64 compilation further (rev. 17940 was not enough).
...
git-svn-id: trunk@17983 -
2011-07-12 13:42:27 +00:00
sergei
c32e4b291e
* Fixed compilation for x86_64-win64
...
git-svn-id: trunk@17940 -
2011-07-06 09:39:50 +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
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
fd660355de
* patch by Anton Shepelev to pass eofs in tprocess to the parent process, resolves #19325
...
git-svn-id: trunk@17518 -
2011-05-20 20:52:37 +00:00
florian
41c18adaf4
* patch by Sven Barth, handle idtoken correctly in the token recorder, resolves #19277
...
git-svn-id: trunk@17506 -
2011-05-19 19:31:08 +00:00
florian
6ea8eb7dc2
+ changes precedence of unary minus operator in mac and iso mode, resolves #17710
...
git-svn-id: trunk@17489 -
2011-05-17 19:53:55 +00:00
florian
d0c6e23116
+ -Sy on the command line is now equal to $T+, resolves #16160
...
git-svn-id: trunk@17477 -
2011-05-16 15:36:16 +00:00
florian
66a8dd1e32
* cmov cannot use memory location as destination, fixed spiling code, resolves #19201
...
git-svn-id: trunk@17359 -
2011-04-21 13:51:45 +00:00
florian
a31c879e7b
* run test only if the platform supports the extended type
...
git-svn-id: trunk@17325 -
2011-04-15 20:53:11 +00:00
florian
58fcf9dc52
* probably mark an overloaded := operator used as type conversion as used, resolves #18909
...
git-svn-id: trunk@17320 -
2011-04-14 21:11:27 +00:00
florian
ff6ab60508
* prefer typecast currency->extended over currency->single/double because the former loses no precision while the latter might cause a loss of precision, resolves #19077
...
git-svn-id: trunk@17297 -
2011-04-10 19:40:18 +00:00
michael
28ce3b96f0
* Extended test by barlone (Bug ID 19000)
...
git-svn-id: trunk@17219 -
2011-04-02 09:52:47 +00:00
Jonas Maebe
ad5eea80e1
* corrected test name
...
git-svn-id: trunk@17110 -
2011-03-09 20:17:08 +00:00
pierre
3378979f2b
* Test for bug report 18702
...
git-svn-id: trunk@17096 -
2011-03-09 14:25:11 +00:00
sergei
9e3731c0e0
* Added 'HaltOnNotReleased:=True', without it a memory leak won't register as a test failure.
...
git-svn-id: trunk@17072 -
2011-03-04 18:18:22 +00:00
sergei
54bc8efa0b
* Fixed reference counting of open array parameters passed by value. RTTI of the array itself is useless in this case, as it does not provide correct element count. Now using dedicated helpers which take RTTI of array element and the element count. Resolves #18859 .
...
git-svn-id: trunk@17068 -
2011-03-03 18:38:46 +00:00
Jonas Maebe
7cb1c8b586
* improvement of r16001 so that allocations even closer to high(ptruint)
...
also fail correctly rather than overflowing to 0 bytes (mantis #18690 )
git-svn-id: trunk@16877 -
2011-02-04 18:58:21 +00:00
florian
e7fa076b70
* handle variables without explicit size prefix better in inline assembler, resolves #18009
...
git-svn-id: trunk@16859 -
2011-01-30 21:57:30 +00:00
florian
e99c4d1950
+ support str(<boolean>,...), boolean is an enumeration type
...
* don't run pass_1 on str or val calls in generic method/procedure definitions, resolves #18420
git-svn-id: trunk@16849 -
2011-01-30 14:27:09 +00:00
Jonas Maebe
d7010c46e4
* fixed for non-Windows (widestring=unicodestring there)
...
git-svn-id: trunk@16838 -
2011-01-29 22:24:12 +00:00
paul
c1ae618f40
tests: fixed vtUnicodeString related test
...
git-svn-id: trunk@16837 -
2011-01-29 17:34:51 +00:00
paul
e77a9051c8
compiler: treat record/class fields types as bt_var_type block in delphi mode - as result they don't create a forward declaration for ^Type. Leave it as is for other modes because in other case it break the compilation of RTL and packages (fixes issue #0018620 )
...
git-svn-id: trunk@16832 -
2011-01-29 07:32:10 +00:00
paul
0f35da07f1
compiler: call gen_intf_wrappers not only for unit symtables but also for syntables of records and object types because they can contain nested classes (bug #0018610 )
...
git-svn-id: trunk@16818 -
2011-01-26 13:50:36 +00:00
paul
9499692eeb
compiler: allow Assignment and Explicit operators for undefined defs (issue #0018567 )
...
git-svn-id: trunk@16805 -
2011-01-24 03:06:27 +00:00
paul
731291aee0
compiler: change Addr function to return untyped pointer by Blaise Thorn (issue #0018512 ), change/add tests
...
git-svn-id: trunk@16777 -
2011-01-18 15:23:58 +00:00
pierre
e7dcc27cd9
Add popuperr unit on tests
...
git-svn-id: trunk@16759 -
2011-01-13 14:19:52 +00:00
Jonas Maebe
bbf0e35a51
+ Support for ARM CPS/CPSIE/CPSID instructions and mode flag bitfield
...
operand (patch by Jeppe Johansen, mantis #18334 )
git-svn-id: trunk@16750 -
2011-01-11 16:02:51 +00:00
paul
8f7ada0db0
compiler: use anonymous inherited in all cases where the next token <> _ID (bug #0018443 )
...
git-svn-id: trunk@16741 -
2011-01-09 05:08:04 +00:00
paul
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
...
- change id_type to single_type in readImplementedInterfacesAndProtocols to allow use of interface specializations inside class parent block
- change single_type boolean arguments to set, add stoParseClassParent option to that set
- move parse_generic variable assignment from parse_object_members to outer routine to setup it before parsing class parents
- return paticular generic in generate_specialization instead of undefineddef to pass class/interface checks inside parent class block
- add test for delphi mode
- modify tw11431 to be syntatically correct
git-svn-id: trunk@16706 -
2011-01-04 18:20:40 +00:00
paul
3ceee496d6
tests: fail test tw9509: disable type section in generic interfaces
...
git-svn-id: trunk@16680 -
2011-01-02 10:51:51 +00:00
Jonas Maebe
d10f46ec59
* skip instructions containing a reference with a segment prefix (fixes
...
mantis #18113 )
git-svn-id: trunk@16619 -
2010-12-23 15:24:29 +00:00
sergei
331a72c8d6
* ncnv.pas, insert_varargstypeconv(): Do not cast a string literal to AnsiString if it has been already casted to Wide/UnicodeString, resolves #18266 .
...
git-svn-id: trunk@16593 -
2010-12-19 15:08:42 +00:00
sergei
49e3c30bd1
* Changed the test so it uses typecasting instead of calling the conversion helpers from VarUtils.
...
git-svn-id: trunk@16589 -
2010-12-18 18:43:40 +00:00