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
michael
a472de7805
* use global resolveID (better result)
...
* Better link info in case of error
* Resolve property type to ancestors.
git-svn-id: trunk@23473 -
2013-01-21 10:57:54 +00:00
michael
01d8ec7a62
* Speed up read/write content file
...
* Configurable ResolveLink (strict or not)
git-svn-id: trunk@23472 -
2013-01-21 10:56:07 +00:00
michael
1c9ad777d3
* Add context info to unresolved links, for better error info
...
git-svn-id: trunk@23471 -
2013-01-21 10:55:00 +00:00
michael
5783f6d172
mechanism to resolve members in ancestors
...
git-svn-id: trunk@23470 -
2013-01-21 10:54:00 +00:00
michael
efd6f8851e
* Set read buffer size to 4K (speeds up)
...
git-svn-id: trunk@23469 -
2013-01-21 10:53:22 +00:00
michael
58a6886ed3
* Allow to set the write buffer size (enlarged to 4k)
...
git-svn-id: trunk@23468 -
2013-01-21 10:52:38 +00:00
paul
5d74e0578a
compiler: remove unused variables and unneeded assignments
...
git-svn-id: trunk@23467 -
2013-01-21 01:24:36 +00:00
svenbarth
78f0d6f70e
Revert the changes from r23383 for m68k/n68kadd.pas. Memo to self: Don't change code if you don't really understand why it does things the way it does.
...
With this change and the change from r23465 we are down from ~950 to ~650 failures :D
git-svn-id: trunk@23466 -
2013-01-20 18:00:51 +00:00
svenbarth
b455ae9534
m68k/cpupara.pas, tm68kparamanager.getintparaloc:
...
* initialize paraloc^.size to OS_INT instead of leaving it at 0
This fixes tests/test/cg/ttryexc1.pp. The problem was that the raise node generated code which resulted in a word(!) move of the raised object's address to the stack location for fpc_raiseexception. This then resulted in an error when freeing the exception object.
git-svn-id: trunk@23465 -
2013-01-20 16:33:10 +00:00
florian
9d76168b57
* refactored Bl2B condition code to make it more readable
...
git-svn-id: trunk@23464 -
2013-01-20 15:38:38 +00:00
florian
7184306a4c
+ option -Wx to generate thumb interworking safe code on arm
...
git-svn-id: trunk@23463 -
2013-01-20 15:26:59 +00:00
florian
3fff969ced
* take care of instruction in between when doing ShiftShiftShift2ShiftShift optimizations
...
git-svn-id: trunk@23462 -
2013-01-20 14:58:03 +00:00
florian
f1b8fad6dc
* make AndAnd2And working with other instructions in between
...
git-svn-id: trunk@23461 -
2013-01-20 14:57:59 +00:00
florian
fcef2dc3df
* refactored some code and introduced usage of new method RegEndOfLife
...
git-svn-id: trunk@23460 -
2013-01-20 14:57:55 +00:00
florian
82f3ec7922
* if cs_opt_level3 is not set, limit lookahead of GetNextInstructionUsingReg to one instruction:
...
only -O3 means do the really slow optimizations
git-svn-id: trunk@23459 -
2013-01-20 14:57:51 +00:00
florian
a78af5b8fe
+ AndLslXsr2And and AndLsl2Lsl optimization
...
git-svn-id: trunk@23458 -
2013-01-20 14:57:46 +00:00
florian
ff522d7e18
* improve ShiftShiftShift2ShiftShift to look further ahead
...
* check register usage so the destination register can be different
git-svn-id: trunk@23457 -
2013-01-20 14:57:43 +00:00
florian
12d0c05ede
* remove bic instructions after lsr if possible
...
git-svn-id: trunk@23456 -
2013-01-20 14:57:38 +00:00
michael
f566201a8d
* Notification should be protected
...
git-svn-id: trunk@23455 -
2013-01-20 11:25:28 +00:00
svenbarth
632db2229f
Fix for Mantis #23700 .
...
scanner.pas, parse_compiler_expr.read_factor:
* initialize result value
git-svn-id: trunk@23454 -
2013-01-20 11:21:20 +00:00
michael
faba932549
* Added generic tree from Mario Ray Mahardhika (bug ID 33654)
...
git-svn-id: trunk@23453 -
2013-01-20 10:09:48 +00:00
florian
81e0e3114c
* throw an error if threadvars are used but not supported
...
* fix building for arm-embedded
git-svn-id: trunk@23452 -
2013-01-19 15:17:47 +00:00