Commit Graph

25978 Commits

Author SHA1 Message Date
peter
be368c474e * Makefiles moved
git-svn-id: trunk@7525 -
2007-05-30 06:30:51 +00:00
peter
54bb5a0df8 * vpath for include files
git-svn-id: trunk@7524 -
2007-05-30 06:28:53 +00:00
peter
f461c2f493 * move fpmake
git-svn-id: trunk@7523 -
2007-05-30 06:11:50 +00:00
peter
88f2a0e53a * avail,scan commands added
* finished createarchive command, compresses still the whole source
    dir instead of using files from a specified input list

git-svn-id: trunk@7521 -
2007-05-29 20:56:59 +00:00
peter
fe1131ae04 * fix range errors
git-svn-id: trunk@7520 -
2007-05-29 19:55:57 +00:00
Almindor
e2ff152eef * update lnet to 0.5.1 (fixes some potential bugs in ftp and smtp)
git-svn-id: trunk@7519 -
2007-05-29 17:35:04 +00:00
yury
55394d9e72 * Added FlushOutput after "Linking..." message by internal linker. Now this message is visible in Lazarus during linking.
git-svn-id: trunk@7518 -
2007-05-29 17:04:53 +00:00
yury
0c6fb09094 * fixed compilation for wince.
git-svn-id: trunk@7517 -
2007-05-29 17:03:03 +00:00
Jonas Maebe
8bcb6e689d * only check validity of assembler instructions in pass_2, after all
local operands have been resolved (mantis #8950)

git-svn-id: trunk@7516 -
2007-05-29 16:53:28 +00:00
yury
2b84a4643a * Fixed bug #6501: multiple resource files are correctly linked to executable.
It is done in the following way:

When unit is compiled, .rc file are compiled to .res and list of unit's resource files is stored in .ppu
Before final linking all program's .res files are collected into global .res file (.res files are easily concatenated). 
Then this global .res files is compiled to single .or file, which is linked to executable. 
As a result global resource index is created and the problem is fixed.

Old resource processing behavior still supported when tresinfo.rcbin is not set for target.
New resource processing is activated for windows and linux. Cross compiled windres can be used to compile .rc files on linux.

git-svn-id: trunk@7515 -
2007-05-29 15:51:02 +00:00
Jonas Maebe
95da9cb07a * fixed missing propagation of changed parameter type
of first readstr parameter in case it wasn't a string

git-svn-id: trunk@7514 -
2007-05-29 14:21:12 +00:00
Jonas Maebe
480af93606 * fixed several range check errors inside variant helpers in case the
rtl is compiled with range checking on (Delphi doesn't give range
    errors there either)

git-svn-id: trunk@7513 -
2007-05-29 14:09:24 +00:00
Jonas Maebe
4ce4742bc8 * mark invisible high parameters of open arrays/arrays of const
of parent procedures which are implicitly accessed from within
    nested procedures for range checking purposes as non-regable in
    the resulttype pass of the nested procedure (as opposed to in its
    pass1/pass2, because by then the regvar assignment of the parent
    procedure is already finished) (mantis #8975)
  * related fix regarding checking whether the high parameter actually
    exists (must check calling convention of the procedure to which the
    high parameter belongs, which is not the same as checking that of
    the current procedure in case of nested procedures)

git-svn-id: trunk@7512 -
2007-05-29 13:42:49 +00:00
Jonas Maebe
628ddfa160 * fixed (harmless) range error
git-svn-id: trunk@7511 -
2007-05-29 13:04:15 +00:00
Jonas Maebe
60d424e97d * another check for register types (should fix new failure
of webtbs/tw7161)

git-svn-id: trunk@7510 -
2007-05-29 11:12:37 +00:00
peter
e1132f8fe1 * check register type to not mixup sse registers
git-svn-id: trunk@7505 -
2007-05-28 19:12:12 +00:00
florian
a8062fafe7 * valgrind safe primitive move implementation
git-svn-id: trunk@7503 -
2007-05-28 18:21:44 +00:00
peter
48fa078f15 * simplified and optimzied check for eol
git-svn-id: trunk@7502 -
2007-05-28 17:39:53 +00:00
florian
7b519c1ce3 * prevent usage of units being compiled with different fpu emulation state
git-svn-id: trunk@7501 -
2007-05-28 16:18:35 +00:00
peter
0605a67968 * new implementation
git-svn-id: trunk@7500 -
2007-05-28 16:10:15 +00:00
florian
041ff166cc * fixed arm compilation
git-svn-id: trunk@7499 -
2007-05-28 16:04:43 +00:00
florian
a3d906f1ca - removed several ;;
git-svn-id: trunk@7498 -
2007-05-28 15:59:17 +00:00
micha
eaa598094e * heap manager: do not access chunk after last one
git-svn-id: trunk@7497 -
2007-05-28 15:06:19 +00:00
peter
9abb852d70 * fix incompatiblity in signess between 64 and 32, make tthreadid=ptruint
git-svn-id: trunk@7496 -
2007-05-28 14:25:59 +00:00
Jonas Maebe
e1b7ce5aa9 * fixed dynarr_property:=nil + test
git-svn-id: trunk@7495 -
2007-05-28 13:48:32 +00:00
peter
b9a384ba08 * multiple fpc version support for shootout
git-svn-id: trunk@7494 -
2007-05-28 11:59:10 +00:00
florian
b261bdf52f + from Darius Blaszijk: GetSuiteAsXML and TestSuiteAsXML implementation
git-svn-id: trunk@7493 -
2007-05-28 09:58:11 +00:00
daniel
4782e744e8 * Add initc unit
git-svn-id: trunk@7492 -
2007-05-27 20:06:58 +00:00
micha
0248d2472d * heap manager: fix os chunk list nonsense
fix usage statistics for variable sized chunks
    fix var chunks free space fragmentation

git-svn-id: trunk@7491 -
2007-05-27 19:04:02 +00:00
peter
a58797f989 * use linkunitofiles instead of linkotherofiles to prevent path from being stored in ppu
git-svn-id: trunk@7490 -
2007-05-27 15:27:08 +00:00
marco
08d10efb9f * now also fixes div hz with hz=0 for Linux, and reenables it for FreeBSD. Still needs phys console check though
git-svn-id: trunk@7489 -
2007-05-27 12:00:55 +00:00
Jonas Maebe
d1f7be8c7b * disabled sound/nosound for non-Linux, as the used ioctl is
Linux-specific (and at least under Mac OS X, there seems to be
    no way to play sound without going via the Carbon/Quicktime/...
    frameworks)

git-svn-id: trunk@7488 -
2007-05-27 11:11:13 +00:00
Jonas Maebe
f12428506e + some more property assignment tests (which already/still work)
git-svn-id: trunk@7487 -
2007-05-27 10:57:24 +00:00
peter
2e55b74a87 * force Archvie bit for file to get a difference if a fileexists or not
git-svn-id: trunk@7485 -
2007-05-27 10:50:51 +00:00
Jonas Maebe
fa5e232055 * fixed assigning an interface to a property after better property
checks

git-svn-id: trunk@7484 -
2007-05-27 10:25:46 +00:00
Jonas Maebe
17bc78aa65 + added
git-svn-id: trunk@7483 -
2007-05-27 10:05:03 +00:00
daniel
86ae9d5475 * Make it work under Linux.
git-svn-id: trunk@7482 -
2007-05-26 14:56:09 +00:00
marco
eaaefc0f64 * deprecated here and there even though compiler doesn't seem to show
git-svn-id: trunk@7481 -
2007-05-26 13:56:21 +00:00
Tomas Hajny
a2bae0fb21 * synchronized with SocketError change
git-svn-id: trunk@7480 -
2007-05-26 12:39:16 +00:00
joost
d575e45fd2 * Added possibility to disable debugging
* Disable debugging if the server could not be found
 * Catch exception if debugserver executable is not found

git-svn-id: trunk@7478 -
2007-05-25 21:02:05 +00:00
Jonas Maebe
cb23a80178 * fixed fpu rte code for invalid, inexact and "subscript out of range"
errors (216 -> 207) (same as for sparc/solaris in r7453)

git-svn-id: trunk@7477 -
2007-05-25 19:22:28 +00:00
Jonas Maebe
a2dbc4d272 * fixed multi-thread case of FPC_SYSCALL3 (all others were already correct)
git-svn-id: trunk@7476 -
2007-05-25 19:02:19 +00:00
Jonas Maebe
f8b40e90dc * exit -> exit_group to exit so unterminated threads are killed too
git-svn-id: trunk@7474 -
2007-05-25 17:48:24 +00:00
Jonas Maebe
cc03eacd2a * fixed program exitcode after change of operatingsystem_result from
word to longint

git-svn-id: trunk@7473 -
2007-05-25 13:07:23 +00:00
Jonas Maebe
a767e89a5b - removed a comment which wasn't true anymore
git-svn-id: trunk@7472 -
2007-05-25 12:30:14 +00:00
Jonas Maebe
79e84ba129 * fixed add_tail functionality for cpus which require natural
alignment

git-svn-id: trunk@7471 -
2007-05-25 12:02:08 +00:00
Jonas Maebe
4f95f742f4 * fixed get_caller_frame() and get_caller_addr() for nil addresses
git-svn-id: trunk@7470 -
2007-05-25 12:01:28 +00:00
Jonas Maebe
4919cecb3b + defined FPC_SUPPORTS_UNALIGNED if the compiler supports the
unaligned() expression

git-svn-id: trunk@7469 -
2007-05-25 12:00:55 +00:00
micha
4a1f828c98 * allow shrinking ansistrings if at least half of its memory is saved
git-svn-id: trunk@7468 -
2007-05-25 09:43:36 +00:00
Jonas Maebe
a244d54d6f * fixed a_load_ref_reg_unaligned in case reg is used in ref
git-svn-id: trunk@7466 -
2007-05-25 08:49:07 +00:00