Commit Graph

39440 Commits

Author SHA1 Message Date
Jonas Maebe
a8a1bb6449 * fixed inserting something in a shortstring past its maximum length
(mantis #23744)

git-svn-id: trunk@23524 -
2013-01-26 19:27:17 +00:00
Jonas Maebe
2ed4b295fe * only change the visibility of an existing getter/setter to that of
its property in case the visibility of the property is higher than
    that of the getter/setter (on the JVM target when automatically
    generating getters/setters)

git-svn-id: trunk@23523 -
2013-01-26 16:52:32 +00:00
Jonas Maebe
e7315d035c * inherit po_auto_raised_visibility flag when the visibility of a method is
raised because it was automatically raised in the parent class (can happen
    for the JVM target when letting the compiler generate getters/setters for
    properties)

git-svn-id: trunk@23522 -
2013-01-26 16:52:28 +00:00
sergei
d762ef9e78 + PECOFF targets: support more than 65535 relocations per object section, resolves #23752. DJCOFF targets: give a fatal error, since this object file format does not support extended relocations.
git-svn-id: trunk@23521 -
2013-01-26 16:15:59 +00:00
svenbarth
7bad1763b8 Decrease amount of code duplication regarding handling of safecall and record constructors.
paramgr.pas, tparamanager:
    + add new method "handle_common_ret_in_param"
    * extract common code (safecall + record constructor handling) from "ret_in_param" to "handle_common_ret_in_param" and call the latter in "ret_in_param"
[aarch64,arm,avr,i386,x86_64]/cpupara.pas, tCPUparamanager.ret_in_param:
    * call "handle_common_ret_in_param" instead of implementing the same check again and again
ncgcal.pas, tcgcallnode.handle_return_value:
    * move the check for (record) constructors to "tparamanager.handle_common_ret_in_param"

git-svn-id: trunk@23520 -
2013-01-25 20:39:28 +00:00
sergei
cb1098c26c * Do not create SEH finalization procedures in generic methods, their similarity with nested procedures causes compilation errors because actual nested procedures are not allowed for generics. Not creating them doesn't hurt because generic node tree is not used for code generation. Resolves #23724.
git-svn-id: trunk@23519 -
2013-01-25 18:50:04 +00:00
yury
8ef46d22d8 * Build databases support for Android.
git-svn-id: branches/targetandroid@23518 -
2013-01-24 22:14:31 +00:00
yury
d8902af3d6 * Do not replace ADD by SUB and vice-versa when overflow checking is enabled. Fixes tw15304 for ARM.
git-svn-id: trunk@23517 -
2013-01-24 21:49:21 +00:00
yury
5453f6f1a0 * again made less complex for arm and sparc so it compiles there too without running out of registers.
git-svn-id: branches/targetandroid@23516 -
2013-01-24 21:08:12 +00:00
yury
22c413a93e * Disabled the test for Android.
git-svn-id: branches/targetandroid@23515 -
2013-01-24 21:01:36 +00:00
yury
bffcf02926 * Disabled the test for Android.
git-svn-id: branches/targetandroid@23514 -
2013-01-24 20:32:39 +00:00
michael
33f1f8bfad * Added case-insentitive property
git-svn-id: trunk@23513 -
2013-01-24 18:01:09 +00:00
yury
d503ae6c3d * Allow passing of double quoted paths in TEST_OPT.
git-svn-id: branches/targetandroid@23512 -
2013-01-24 10:30:07 +00:00
yury
86224e05f3 * Fixed building of packages when cross-testing. Pass CROSSOPT to build packages in such case, otherwise options specified in TEST_OPT are used to build fpmake. The source compiler not always accepts target options. For example -Cfsoft option, often used for arm compiler, is not accepted by x86 compiler.
git-svn-id: branches/targetandroid@23511 -
2013-01-24 10:29:01 +00:00
Jonas Maebe
9cbff6f5a6 + support for record constructors for the JVM target
git-svn-id: trunk@23510 -
2013-01-24 09:45:12 +00:00
Jonas Maebe
3abc7b0d9c * removed superfluous check (a procvardef can never be a constructor) and
typecasts

git-svn-id: trunk@23509 -
2013-01-24 09:45:06 +00:00
Jonas Maebe
10e3cab1b1 * fixed formatting
git-svn-id: trunk@23508 -
2013-01-24 09:44:59 +00:00
Jonas Maebe
9145f1d67d * integrated potype_constructor check in maybe_create_funcret_node
git-svn-id: trunk@23507 -
2013-01-24 09:44:52 +00:00
michael
280b307068 * Patch from Silvio Clecio to implement easy-access methods
git-svn-id: trunk@23506 -
2013-01-23 13:03:32 +00:00
michael
85e72fdbcb * Updated TODO: Easy Post is already there.
git-svn-id: trunk@23505 -
2013-01-23 11:19:55 +00:00
michael
8c161506d5 * Close connection on one-shot operations
git-svn-id: trunk@23504 -
2013-01-23 08:56:26 +00:00
michael
fc68ce2ec5 * Implemented a HEAD class method
git-svn-id: trunk@23503 -
2013-01-23 08:52:18 +00:00
michael
6d40600ab5 * Speed up HEAD
git-svn-id: trunk@23502 -
2013-01-23 08:48:16 +00:00
yury
8ae7c5784c * Sync with trunk r23500.
git-svn-id: branches/targetandroid@23501 -
2013-01-23 07:53:13 +00:00
Tomas Hajny
3b60a0f4aa * fix testing for empty HOME directory or HOME pointing to root on Unix
git-svn-id: trunk@23500 -
2013-01-22 23:58:55 +00:00
Tomas Hajny
426050cb9f * fix for standalone '~' with HOME=/ on Unix
git-svn-id: trunk@23499 -
2013-01-22 23:56:42 +00:00
michael
7fbf05dd18 * Make statementtype public in TSQLQuery
git-svn-id: trunk@23498 -
2013-01-22 20:36:05 +00:00
yury
e4dd41723c * Reverted r23400 and r23401. Tomas has promised to commit more correct fix to trunk.
git-svn-id: branches/targetandroid@23497 -
2013-01-22 17:10:54 +00:00
yury
758b91d2c0 * Disabled the test for Android.
git-svn-id: branches/targetandroid@23496 -
2013-01-22 17:05:51 +00:00
yury
ee1e6eb4ea * Add %delfiles for proper clean-up.
git-svn-id: branches/targetandroid@23495 -
2013-01-22 16:58:30 +00:00
sergei
6a86d0d83a * Changed two variables from Integer to Longint. Integer is 16 bits when compiling System unit, using it results in less optimal code on most targets.
git-svn-id: trunk@23494 -
2013-01-22 15:07:22 +00:00
yury
e13e2e1697 * Turn off special handling of interrupt calling convention for i386-android.
git-svn-id: branches/targetandroid@23492 -
2013-01-22 14:43:42 +00:00
yury
cbf370008b * Added %delfiles for proper clean-up.
git-svn-id: branches/targetandroid@23491 -
2013-01-22 14:34:32 +00:00
yury
416da91b04 * These libs are for tests, that run only on windows. Mark libs for windows only as well.
git-svn-id: branches/targetandroid@23490 -
2013-01-22 14:28:00 +00:00
yury
e0a70d0510 * Do not copy a library to a remote target if this library name is specified using %DELFILES directive.
git-svn-id: branches/targetandroid@23489 -
2013-01-22 14:18:56 +00:00
yury
fbb0b48ad6 * Implemented { %DELFILES file1 file2 ... } directive for tests. Primarily it is needed to delete shared libraries used by tests when TEST_DELTEMP=1. When testing on a real Android device, it is not good to run tests on flash memory partitions. Android devices have 1Mb RAM based tempfs partition for /tmp folder, which is ideal for running tests. Since 1Mb is very small size these days, it is needed to clean all test leftovers. Test shared libraries are the biggest leftovers and this new DELFILES directive will help to delete them.
* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.

git-svn-id: branches/targetandroid@23488 -
2013-01-22 13:47:52 +00:00
yury
e82983e577 * Define CExtended and clongdouble as double for Android.
git-svn-id: branches/targetandroid@23487 -
2013-01-22 11:16:22 +00:00
yury
475bc2d09d * Fixed compilation for case when extended <> cextended.
git-svn-id: branches/targetandroid@23486 -
2013-01-22 11:14:36 +00:00
yury
fcbefc94e3 * More correct comparison of long double values for case when long double=double in C.
git-svn-id: branches/targetandroid@23485 -
2013-01-22 10:41:43 +00:00
yury
4902dd2f99 * Do not pass -f switch for rm when testing via adb, since default android shell do not support -f switch.
git-svn-id: branches/targetandroid@23484 -
2013-01-22 09:53:41 +00:00
yury
9471fb4f9e * Added ICU version of Android 4.1.
* Increment by 2 when finding an unknown ICU version.

git-svn-id: branches/targetandroid@23483 -
2013-01-22 09:47:31 +00:00
sergei
6788fd6433 + Win64 SEH: install a top-level exception handler around thread functions. This was a missing puzzle piece of SEH support. Now behavior of unhandled exceptions in non-main threads is consistent with that of main thread, and, in general, behavior of SEH-enabled RTL is consistent with one without SEH.
git-svn-id: trunk@23482 -
2013-01-21 17:16:15 +00:00
sergei
40c510403f * Don't crash on a PLT-generating relocation to a local symbol (which should not normally appear, but nevertheless is possible).
git-svn-id: trunk@23481 -
2013-01-21 16:49:10 +00:00
marco
0560af663c * patch from Mantis #23647 Calls inherited destroy in destructor, resolves memory leak.
git-svn-id: trunk@23480 -
2013-01-21 12:53:50 +00:00
yury
5aa0ba703d * Add define for android.
git-svn-id: branches/targetandroid@23479 -
2013-01-21 12:29:40 +00:00
yury
d022edf32e + Added C object files for android-i386.
git-svn-id: branches/targetandroid@23478 -
2013-01-21 12:22:06 +00:00
yury
0960ee2034 * Add missing checks for android target.
git-svn-id: branches/targetandroid@23477 -
2013-01-21 12:08:25 +00:00
michael
a7a6301672 * Refactoring for better readability
git-svn-id: trunk@23476 -
2013-01-21 12:07:52 +00:00
yury
f8af2cd49e * Set android-i368 stack alignment to 16.
git-svn-id: branches/targetandroid@23475 -
2013-01-21 11:51:09 +00:00
yury
3e151ac30f * Removed -z relro linker option, since it causes problems.
git-svn-id: branches/targetandroid@23474 -
2013-01-21 11:45:29 +00:00