Commit Graph

41801 Commits

Author SHA1 Message Date
reiniero
a3dab9b686 * fcl-db: cosmetic
git-svn-id: trunk@26236 -
2013-12-15 12:22:03 +00:00
reiniero
586bca0c7d * fcl-db TMemDataset.CopyFromDataset: return to original record position. Fixes issue #25426
git-svn-id: trunk@26235 -
2013-12-15 04:07:55 +00:00
reiniero
fe8a6f7399 * fcl-db tests: TMemDataset.CopyFromDataset: test record position has not moved for bug #25426
git-svn-id: trunk@26234 -
2013-12-15 04:06:55 +00:00
reiniero
9f5d46a008 * fcl-db memds: CopyFromDataset from first record regardless of current position. Fixes issue #25426
git-svn-id: trunk@26233 -
2013-12-15 03:47:55 +00:00
reiniero
ec5d09b16d * fcl-db tests: memds.CopyFromDataset test when record is not the first record
git-svn-id: trunk@26232 -
2013-12-15 03:28:37 +00:00
florian
2a992bf53c * patch by Sandro Cumerlato to install auxiliary ide files properly
git-svn-id: trunk@26231 -
2013-12-14 21:21:05 +00:00
marco
10ff8bf74e * cleaned out some ver2_2_0 defines.
git-svn-id: trunk@26230 -
2013-12-14 09:18:38 +00:00
sergei
6ea9ce1077 * Force managed types to be always returned in parameters, independent of target (primitive types were already handled that way; the patch affects small records with fields of managed types).
* Generating code to finalize result on exception at callee side is no longer necessary.

git-svn-id: trunk@26228 -
2013-12-13 19:54:46 +00:00
nickysn
c88be4550d * optimization in the 8087/80287 version of fpc_arctan_real(): when calculating
arctan([-]1/d), use fxch to swap the two arguments, instead of using fdivr,
  since fpatan can do the division for free

git-svn-id: trunk@26227 -
2013-12-13 01:24:01 +00:00
nickysn
a7b4953795 + proper (i.e. not broken) implementation of arctan() for the 8087 and 80287
git-svn-id: trunk@26226 -
2013-12-12 23:46:51 +00:00
sergei
179586f589 + SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH.
Although basic things work (no regressions in test suite, also with TEST_OPT=-O2), there are some secondary issues/TODOs:
- Exception frame around PASCALMAIN is not properly removed in DLLs
- No stack traces yet
- Stack overallocated in finalizer procedures, their entry/exit code needs cleanup
- Signals unit is probably completely broken.

git-svn-id: trunk@26225 -
2013-12-12 12:43:46 +00:00
marco
b2e85d2c56 * pthread_attr_destroy fixes for the rest of *nix.
git-svn-id: trunk@26224 -
2013-12-12 11:38:39 +00:00
marco
018be5c22c * add pthread_attr_destroy, due to Vincent's follow up to mantis #25416
git-svn-id: trunk@26223 -
2013-12-12 10:13:41 +00:00
sergei
1ee9373fa6 * Changed function create_pd into method of ttryfinallynode, so it can be reused for Win32 SEH and, in the future, for DWARF-based exception handling on other targets.
* Additional two minor changes: reset po_delphi_nested_cc on result, so it is independent of current {$modeswitch nestedprocvar} state, and removed call to alloc_proc_symbol (which belongs to pass 2).

git-svn-id: trunk@26222 -
2013-12-12 08:38:06 +00:00
lacak
9b4735032b fcl-db: mysql: remove obsolete mysql4conn unit replaced by mysql40conn and mysql41conn
git-svn-id: trunk@26221 -
2013-12-12 06:41:58 +00:00
marco
996e802606 * fix memleak pthread_attr, Mantis #25416 by Henry Vermaak.
git-svn-id: trunk@26220 -
2013-12-11 21:47:02 +00:00
marco
7fc33865be * build mysql 5.6, after Reinier said it wasn't built.
git-svn-id: trunk@26219 -
2013-12-11 21:23:15 +00:00
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