Commit Graph

41684 Commits

Author SHA1 Message Date
pierre
a0747f4d5d Also update TESTCONFIG and TESTRUNHISTORY tables
git-svn-id: trunk@26218 -
2013-12-11 12:33:45 +00:00
pierre
218adfe6c3 * Allow compilation for windows OS.
* soHost -> coHost to be consistent with other TConfigOpt values.
  * ConfigOpts rewritten to have corresponding coXXX constants in comments
  + Add support for long options
  * Go past first >>>> line in longlog file to avoid warning

git-svn-id: trunk@26217 -
2013-12-11 12:27:17 +00:00
pierre
360f53b742 Add -ll option to use longlog file
git-svn-id: trunk@26216 -
2013-12-11 12:21:10 +00:00
sergei
ffba5aee60 * MIPS: emit PIC-friendly instruction sequences instead of "J" when fixing up branches outside of 128K range. Resolves #25399.
git-svn-id: trunk@26215 -
2013-12-11 10:56:07 +00:00
nickysn
a68b9fd01f * use byte sized instead of word sized memory operations on the fpu control
word in fpc_frac_real, fpc_int_real and fpc_trunc_real, because the byte sized
  ones are faster on the i8088, due to the 8-bit bus

git-svn-id: trunk@26214 -
2013-12-10 21:16:35 +00:00
marco
4871a7b1c9 * fix for mantis #25191, extract gobject routines to separate unit.
git-svn-id: trunk@26213 -
2013-12-10 17:38:32 +00:00
reiniero
5ae858fbf5 * fcl-db oracleconnection.pp: cosmetic: replace Dutch tel variable with counter; translate Dutch comment
git-svn-id: trunk@26212 -
2013-12-10 13:58:59 +00:00
pierre
80c67337ed Move GetTestRunHistoryID and AddTestHistoryEntry to dbtests unit
git-svn-id: trunk@26211 -
2013-12-10 13:22:20 +00:00
sergei
0e0273d53f * Partially reverted r26192, preserving registers in presence of exceptions needs a different solution.
git-svn-id: trunk@26210 -
2013-12-10 12:43:24 +00:00
pierre
a5ea0d2b4c Add dbconfig program to handle TESTCONFIG table
git-svn-id: trunk@26209 -
2013-12-10 08:48:08 +00:00
pierre
bd91a8da7e Force SrcExeExt for prog parameter in ExecuteRemote function
git-svn-id: trunk@26208 -
2013-12-10 08:41:30 +00:00
pierre
85f138b409 + Add StringQuery and InsertQuery functions.
* Call FreeQueryResults if TQueryResult is discarded.

git-svn-id: trunk@26207 -
2013-12-10 08:37:39 +00:00
pierre
0987129993 Add 2.6.0 to 2.6.3 versions
git-svn-id: trunk@26206 -
2013-12-10 08:31:58 +00:00
pierre
cf175b28d1 Add TU_COMPILERDATE to ShowRunData
git-svn-id: trunk@26205 -
2013-12-10 08:27:13 +00:00
nickysn
9c86da1911 - rm the fwait after fstsw in fpc_exp_real. My own testing on a true i8087 shows
that fwait after fstsw appears to be unnecessary. On the other hand, using
  fnstsw, followed by fwait produces wrong results.

git-svn-id: trunk@26204 -
2013-12-10 00:38:28 +00:00
nickysn
775619ef8b * 8087/80287 fixes in fpc_exp_real
git-svn-id: trunk@26203 -
2013-12-10 00:02:20 +00:00
marco
67c21b3a5e * fix for #25402 One argument of GetICMProfileW missed an indirection
git-svn-id: trunk@26202 -
2013-12-09 18:19:31 +00:00
nickysn
d0a7522e1f + also init Default8087CW in DetectFPU
git-svn-id: trunk@26201 -
2013-12-08 22:39:48 +00:00
nickysn
180ddf2ddd + i8086 FPU detection code updated to also identify the FPU type (8087/287/387+)
and initialize the Test8087 global variable.

git-svn-id: trunk@26200 -
2013-12-08 20:50:52 +00:00
marco
a8671e550e * fix FPC_USE_LIBC for inotify and clock* functions, and always link librt when this unit is used under FPC_USE_LIBC.
make all building failed otherwise because fppkg seems to import unit linux somewhere. 

git-svn-id: trunk@26199 -
2013-12-08 20:23:09 +00:00
Jeppe Johansen
d24cbbf9f5 Changed debug information to dwarf for ARM_embedded, and set local minimum alignment to 4.
Fixed a bug where ARMv7M targets would not use the DIV instructions.
Moved many size-optimizing Thumb2 peephole optimizations to PostPeepHoleOptsCpu. Previously those optimizations could make it impossible to reuse the shared arm peephole optimizations.
Reenabled a fixed MLA/MLS peephole optimization.
Refactored some FindRegDealloc+regLoadedWithNewValue into RegEndOfLife calls.
Fixed some broken UXTB/UXTH optimizations. Previously they would also match UXT* instructions with ROR shifter ops.

git-svn-id: trunk@26198 -
2013-12-08 16:50:15 +00:00
lacak
29ddc3f688 fcl-db: mysql: add support for MySQL 5.6
git-svn-id: trunk@26197 -
2013-12-08 09:44:46 +00:00
florian
dde4ec96c2 * avoid range check error during compilation due to constant propagation
git-svn-id: trunk@26196 -
2013-12-08 09:05:34 +00:00
florian
5aae381d10 * as nodes can appear directly in statements for checking of type conversions
git-svn-id: trunk@26195 -
2013-12-08 09:05:28 +00:00
Károly Balogh
0d43bae95a Removed some extra directory separators which screwed up the install path on Amiga/MorphOS (// means /../ here)
git-svn-id: trunk@26194 -
2013-12-08 02:20:29 +00:00
pierre
9c85f31ad6 Add character, buidcollations and unicodeXXX units
git-svn-id: trunk@26193 -
2013-12-07 16:16:31 +00:00
sergei
e26ce9e442 * Fix code generation of for-loops. Keeping a copy of to-value in register during pass 2 is basically a hack, because register may be destroyed if an exception is raised and handled in loop body. This went unnoticed because generic setjmp-based exception handling is restoring registers to the state at entry to try block, and Win64 SEH also has some register-preserving features. However, for Win32 SEH it is not true.
Instead, to-value is now copied to a temp during pass 1, and this temp is forced into memory if loop body contains try..finally or try..except block.

git-svn-id: trunk@26192 -
2013-12-07 09:18:18 +00:00
sergei
563b74b16a * Cleanup code generation for try..finally nodes.
git-svn-id: trunk@26191 -
2013-12-07 07:31:59 +00:00
michael
b480fc761a * Added to build, extra fix, added mysql56dyn
git-svn-id: trunk@26190 -
2013-12-06 15:55:26 +00:00
marco
e93413fae7 * Initial FPC_USE_LIBC implementation of termios for Linux.
* Removed VER2_0 defines.

git-svn-id: trunk@26189 -
2013-12-06 15:00:55 +00:00
michael
559eb81c07 * MySQL 5.6 support from Laco
git-svn-id: trunk@26188 -
2013-12-06 13:25:09 +00:00
sergei
f508442a7e * Emit everything to the same asmlist (fixing copy-paste error).
git-svn-id: trunk@26187 -
2013-12-06 07:10:39 +00:00
nickysn
09a3fc74e3 * use the fwait prefixed FSTCW, followed by FWAIT, instead of FNSTCW in
tx86inlinenode.second_trunc_real, when generating code for the 8087

git-svn-id: trunk@26186 -
2013-12-05 23:33:33 +00:00
nickysn
2d45ea43af * use the 'wait' prefix (on the same line as the instruction), instead of
'db 09bh' (on the previous line) for the fwait prefixed 8087 instructions in
  the nasm assembly output, because it looks prettier this way :)

git-svn-id: trunk@26185 -
2013-12-05 21:31:16 +00:00
pierre
fc92fcbfb5 Add buildcollations, charcter and unicode* units
git-svn-id: trunk@26184 -
2013-12-05 17:29:43 +00:00
pierre
2fa28f7e1c Add buildcollations and unicode* units
git-svn-id: trunk@26183 -
2013-12-05 17:22:13 +00:00
pierre
5ee544c580 Add buildcollations and unicode* units
git-svn-id: trunk@26182 -
2013-12-05 17:15:07 +00:00
sergei
04c0845189 * Moved more reusable exception handling code from seh64.inc to syswin.inc.
* sysutils.pp: Install ExceptObjProc and ExceptClsProc also on Win32.

git-svn-id: trunk@26181 -
2013-12-04 14:02:54 +00:00
sergei
f42c1b3720 * Return dynamic arrays in parameter, this was the only managed type still returned in register. Returning managed types in registers requires catching and re-raising exceptions at callee side in order to finalize result and avoid memory leaks. While such behavior makes little difference with generic setjmp-based exception handling, it becomes very inefficient as SEH-styled exception handling is being introduced.
The new behavior is also Delphi-compatible.

git-svn-id: trunk@26180 -
2013-12-04 13:43:22 +00:00
sergei
5ada0ff373 - Removed debugging code around SetUnhandledExceptionFilter. This function sets some global variable in kernel32.dll, and does not change fs:[0].
git-svn-id: trunk@26179 -
2013-12-04 09:51:57 +00:00
nickysn
3555b76495 - rm FDISI,FENI,FSAVE,FSTCW,FSTENV and FSTSW from the requires_fwait_on_8087()
list, because these instructions already have a built in FWAIT prefix even
  when targeting the 287/387+ both with the internal asm writer and with the
  NASM back end.

git-svn-id: trunk@26178 -
2013-12-03 23:56:45 +00:00
marco
23ac05cfdd * fix for #22546
git-svn-id: trunk@26177 -
2013-12-03 23:24:48 +00:00
nickysn
e9a4896565 - rm the 287/387+ FPU instructions from the requires_fwait_on_8087() list
git-svn-id: trunk@26176 -
2013-12-03 22:48:52 +00:00
Károly Balogh
71e492db1b made arm-linux system unit compilable on anything but Thumb2 after r26161
git-svn-id: trunk@26175 -
2013-12-03 16:36:34 +00:00
reiniero
9619eac204 * fcl-db dbtestframework, export:
Add ftWideMemo,ftWideString as unsupported DBF/Fox field formats. Fixes bufdataset export.
  Sort unsupported field list for easier comparison/verification.

git-svn-id: trunk@26174 -
2013-12-03 14:36:46 +00:00
yury
7e8ce16f6b * ppudump: Output the "default" option for properties.
git-svn-id: trunk@26173 -
2013-12-03 14:31:33 +00:00
reiniero
c952076699 * fcl-db: cosmetic.
git-svn-id: trunk@26172 -
2013-12-03 13:56:52 +00:00
michael
f7a1f04f43 * Applied patch to support YCCK values (bug ID 21916)
git-svn-id: trunk@26171 -
2013-12-03 13:05:45 +00:00
reiniero
148d262a6a * fcl-db: cosmetic
git-svn-id: trunk@26170 -
2013-12-03 11:43:24 +00:00
Jonas Maebe
2274150698 * fixed compilation with -Oodfa on big endian systems
git-svn-id: trunk@26169 -
2013-12-02 13:42:48 +00:00