Jonas Maebe
03c7e345cd
* committed wrong version in previous revision
...
git-svn-id: trunk@5733 -
2006-12-28 17:02:24 +00:00
Jonas Maebe
47ff7b62e7
* fixed overload choosing algorithm so it's Delphi-compatible +
...
tests (and test generator) (also fixes mantis 6641)
git-svn-id: trunk@5732 -
2006-12-28 16:54:07 +00:00
Jonas Maebe
e6fbeee5a8
* updated for new compiler switches (mantis 7063)
...
git-svn-id: trunk@5725 -
2006-12-27 15:09:13 +00:00
Jonas Maebe
4ae9ac969a
* implicitly call procvars in tp/delphi modes for divmodn, shlshrn
...
and notn (mantis 7200)
git-svn-id: trunk@5724 -
2006-12-27 14:29:23 +00:00
tom_at_work
92538bcb2a
Fixed lineinfo compilation with -gl
...
git-svn-id: trunk@5723 -
2006-12-26 19:27:45 +00:00
Jonas Maebe
66a07eba3e
* give an error if the same method declaration is added twice to an
...
interface/class/object (mantis 8019)
git-svn-id: trunk@5721 -
2006-12-26 18:12:56 +00:00
Jonas Maebe
f6473ac074
* give more information about array types in error messages
...
(dynamic, open, const open array) (mantis 8021)
git-svn-id: trunk@5720 -
2006-12-26 17:19:00 +00:00
Jonas Maebe
f56d53c0e1
* disable generation of smartlinkable code for Darwin for now since
...
the result doesn't work yet due to a bug in Apple's linker
git-svn-id: trunk@5719 -
2006-12-26 17:07:28 +00:00
Károly Balogh
121a5c3cb8
+ workaround for old Amiga GNU AS, which vomits for .fpc sections
...
git-svn-id: trunk@5714 -
2006-12-26 08:43:27 +00:00
Károly Balogh
b0bc5d92fd
+ fixed suspected typo
...
git-svn-id: trunk@5710 -
2006-12-25 15:26:55 +00:00
Jonas Maebe
f308bfb45c
* fixed mantis 6686 ("function a;" without prior definition of "a"
...
accepted in Delphi mode + extra test case where something similar
has to succeed)
git-svn-id: trunk@5698 -
2006-12-24 10:48:49 +00:00
pierre
e0d9b9e307
* fix previous patch for -g alone,
...
now debug type is set to target_info.dbg
git-svn-id: trunk@5695 -
2006-12-24 01:27:26 +00:00
Jonas Maebe
9d28af4269
* removed po_function and instead check proctypeoption (more
...
comprehensive too)
git-svn-id: trunk@5693 -
2006-12-23 21:04:30 +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
d3ded54ae0
* temporarily turn off self and vmt checking after calling
...
AfterConstruction, since self may no longer be valid afterwards
(the instance may already have freed itself, e.g. in case of a
TThread with FreeOnTerminate=true)
git-svn-id: trunk@5689 -
2006-12-23 14:03:43 +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
Jonas Maebe
2b9bdf2155
* fixed mantis 6631, 7322 and 7989: check parameters and return
...
types of interface methods implemented in a class
git-svn-id: trunk@5686 -
2006-12-22 19:50:52 +00:00
Jonas Maebe
f3f8a76559
* fixed mantis 7173 (properly check parameters in unit
...
implementation in Delphi/TP mode if they are repeated)
git-svn-id: trunk@5682 -
2006-12-22 17:48:28 +00:00
pierre
a9da7ec275
* use stabs as default debug format if none is
...
explicitly selected.
git-svn-id: trunk@5679 -
2006-12-22 16:36:07 +00:00
Jonas Maebe
24ba57fe91
* fixed error message for attempts to initialise typed const
...
classes/interfaces (mantis 8006)
git-svn-id: trunk@5676 -
2006-12-22 14:12:26 +00:00
yury
8765e488ac
* fixed compilation of tbs/tb0460.pp for targets where currency is stored as ordinal.
...
git-svn-id: trunk@5672 -
2006-12-22 00:48:17 +00:00
yury
11daaa31f2
* fixed Internal error 200408203 in tbs/tb0258.pp for ARM.
...
git-svn-id: trunk@5669 -
2006-12-21 22:02:29 +00:00
yury
2a274aa510
* fixed tbs/tb0350.pp.
...
* removed unused local variables.
git-svn-id: trunk@5667 -
2006-12-21 21:18:38 +00:00
Jonas Maebe
e4a2fb7f35
* fixed mantis 7975 and 7107 (ie 200311075 when working using somewhat
...
complex method calls in inlined procedures)
git-svn-id: trunk@5666 -
2006-12-21 21:03:47 +00:00
yury
4092321ae9
* Compiler directives {$...} are allowed in ARM inline assembler. It fixes tb0142.pp and tb0193.pp.
...
git-svn-id: trunk@5664 -
2006-12-21 20:48:18 +00:00
yury
496e19c9c2
* fixed ARM register allocation problem when additional register is used for spilling.
...
git-svn-id: trunk@5659 -
2006-12-21 14:18:03 +00:00
daniel
1b173fd0f3
+ Enable resourcestring in all modes
...
* Pre-initialize resourcestrings
git-svn-id: trunk@5637 -
2006-12-18 21:25:47 +00:00
Legolas
5f81d9e656
* arm9 binaries are automatically patched
...
git-svn-id: trunk@5634 -
2006-12-18 18:43:51 +00:00
tom_at_work
949aa60805
* DWARF debug lineinfo reader
...
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
florian
fd2032dab2
+ start of embedded rtl
...
+ feature support in the compiler
git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
Jonas Maebe
991c7da136
* support inc(pointer) in TP mode with range/overflow checking on as well
...
git-svn-id: trunk@5605 -
2006-12-15 13:02:00 +00:00
Jonas Maebe
87e7e435bf
* store parameters at the callee side with the required alignment
...
git-svn-id: trunk@5604 -
2006-12-15 10:37:26 +00:00
Jonas Maebe
26f81bfe08
* fixed arithmetic overflow when loading the recorddef of large
...
(> high(aint)/8 bytes) records from ppu files
git-svn-id: trunk@5595 -
2006-12-14 20:24:20 +00:00
Jonas Maebe
22a372f10b
* fixed bug where derefs with an index 65535 were not read correctly
...
from ppu files
git-svn-id: trunk@5594 -
2006-12-14 20:21:05 +00:00
Legolas
96e1c482bc
* compiler part of first Nintendo DS port
...
git-svn-id: trunk@5592 -
2006-12-14 17:32:16 +00:00
Jonas Maebe
89349c2f1a
* fixed web bug #7963 (crash when trying to print the name of a procvar
...
with too few parameters specified)
git-svn-id: trunk@5591 -
2006-12-14 15:57:17 +00:00
Károly Balogh
f4b44b8a97
+ unbroke m68k-amiga syscalls
...
git-svn-id: trunk@5586 -
2006-12-13 20:19:43 +00:00
Jonas Maebe
2f8c34a537
* findclose must always be called (also when findfirst didn't find
...
anything)
git-svn-id: trunk@5570 -
2006-12-11 15:55:21 +00:00
Jonas Maebe
32e06e7a7a
* fixed memory leaks in ppc peephole optimizer
...
git-svn-id: trunk@5569 -
2006-12-11 15:53:30 +00:00
Jonas Maebe
1f3dffbd1c
* added missing findclose in TCachedDirectory.Reload
...
git-svn-id: trunk@5568 -
2006-12-11 15:42:51 +00:00
Jonas Maebe
d4258ae636
* fixed memory leak in creation of darwin call stubs
...
git-svn-id: trunk@5567 -
2006-12-11 15:39:27 +00:00
florian
abcccc2f03
* memory leaking fixed
...
git-svn-id: trunk@5566 -
2006-12-11 12:23:52 +00:00
florian
6d2e5027b3
* preserve opsize
...
git-svn-id: trunk@5555 -
2006-12-07 20:42:59 +00:00
florian
84726ed76c
* copy unique return value to address register on m68k
...
git-svn-id: trunk@5554 -
2006-12-07 20:10:00 +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
pierre
9a90410081
* ttypeconvnode.simplify, avoid a memory leak
...
git-svn-id: trunk@5551 -
2006-12-07 13:06:31 +00:00
pierre
b486f926ce
* taddnode.first_addstring, avoid memory leak if
...
left or right is an empty string.
git-svn-id: trunk@5550 -
2006-12-07 13:03:51 +00:00
pierre
f7da7486a3
* Avoid memory leak in TExportLibWin.preparelib
...
git-svn-id: trunk@5546 -
2006-12-05 22:51:04 +00:00
Károly Balogh
8c4f672954
+ avoidin .sections in the generated asm file for m68k-amiga,
...
and m68k-linux, to fix old GNU AS. hope this change doesn't
break the new one... (did i mention that GNU binutils suck?)
git-svn-id: trunk@5545 -
2006-12-05 19:20:43 +00:00
Károly Balogh
d6844efccc
+ fixed dbra errors
...
git-svn-id: trunk@5544 -
2006-12-05 19:03:20 +00:00