Commit Graph

43403 Commits

Author SHA1 Message Date
nickysn
02dff17ae0 * taddrnode: fixed getting the address of nested procs in tp mode in i8086 far
data memory models

git-svn-id: trunk@27816 -
2014-05-23 22:38:07 +00:00
sergei
37625211f5 * Fixed sqrt procedure selection on arm-wince after r27809.
git-svn-id: trunk@27815 -
2014-05-23 21:58:23 +00:00
nickysn
cb05907e18 * fixed the global function to nested procvar conversion in the i8086 far data
memory models

git-svn-id: trunk@27814 -
2014-05-23 20:59:07 +00:00
marco
46486a9e63 * add comments wrt TIFF magic numbers, mantis #26210
git-svn-id: trunk@27813 -
2014-05-23 18:46:55 +00:00
nickysn
24fcac9f87 + added support for nested procvars in the i8086 far data memory models
git-svn-id: trunk@27812 -
2014-05-22 23:44:09 +00:00
yury
f526f39f8f * pas2jni: Always specify unit prefix for types in the generated bridge code.
git-svn-id: trunk@27811 -
2014-05-22 13:47:46 +00:00
sergei
1c7a5d5adc * x86: fix spilling of sqrtss and sqrtsd instructions, they cannot have memory as destination.
git-svn-id: trunk@27810 -
2014-05-22 07:19:13 +00:00
sergei
22e099d000 * sqrt(real): for targets with emulated floating point, invoke float64_sqrt or float32_sqrt from softfpu code. Testing on ARM CPU shows that float64_sqrt executes about twice faster and offers better accuracy than fpc_sqrt_real from genmath.inc.
* softfpu.pp: changed float64_sqrt into a function, so it is consistent with other compiler-invoked routines.

git-svn-id: trunk@27809 -
2014-05-21 15:07:13 +00:00
sergei
fc5f45f65c * sqr(real) and sqrt(real): remove typeconv node inserted by initial call processing (see explanation in comments), allowing these functions to be evaluated using precision of argument. In particular, sqrt(single) and sqrt(double) now emit 'sqrtss' and 'sqrtsd' instructions on x86 targets with -Cfsse3. Non-x86 targets already have the necessary support in code generators.
* abs(real): handle the same way as sqrt and sqr, i.e. without casting to bestreal and back.

git-svn-id: trunk@27808 -
2014-05-21 14:53:47 +00:00
nickysn
feb840b47f * support reg=NR_NO in thlcgcpu.reference_reset_base on i8086. This fixes test
webtbs/tw26162.pp in the i8086 far data memory models.

git-svn-id: trunk@27807 -
2014-05-21 13:26:02 +00:00
lacak
590f5791d5 fcl-db: tests: cosmetic
git-svn-id: trunk@27806 -
2014-05-20 07:06:03 +00:00
nickysn
683478f00c + added a proper far pointer inc/dec implementation (operating only on the offset,
without touching the segment)

git-svn-id: trunk@27805 -
2014-05-19 16:24:25 +00:00
Tomas Hajny
cedf009d3c * fix for SIGSEGV in Exec without command line parameters revealed in discussion for #26160
git-svn-id: trunk@27804 -
2014-05-18 20:37:40 +00:00
Tomas Hajny
bb0a670e9e * fix for bug #26160
git-svn-id: trunk@27803 -
2014-05-18 20:02:10 +00:00
michael
6fcff07e50 * SizeInt -> SizeUInt for strPLCopy (Bug ID 26156)
git-svn-id: trunk@27802 -
2014-05-18 07:35:33 +00:00
michael
046b7626dd * Reworked patch from Werner Pamler (bug ID 26168) to add support for periods
git-svn-id: trunk@27801 -
2014-05-18 07:24:59 +00:00
michael
036c208426 * Patch from Laco to improve checkequals for floats (bug ID 26172)
git-svn-id: trunk@27800 -
2014-05-18 07:21:04 +00:00
Tomas Hajny
9b7fdfa8b0 * add possibility of overriding the disabled VESA driver using /VESA
git-svn-id: trunk@27799 -
2014-05-17 16:31:51 +00:00
Tomas Hajny
9f56c6ec11 * disable the VESA features by default if running under MS WinNT and above
git-svn-id: trunk@27798 -
2014-05-17 16:30:52 +00:00
sergei
7e1c370c17 * Write RTTI for function arguments as children of function RTTI, resolves #24540,#25002,#25128 (bugs are basically duplicate, so adding only first of them to the testsuite).
git-svn-id: trunk@27797 -
2014-05-16 20:09:32 +00:00
michael
9916cd839b * Changed SaveAs to SaveToFile
git-svn-id: trunk@27796 -
2014-05-16 06:39:23 +00:00
sergei
3eec9996bc * Moved method check_hints from tmodule to tused_unit and modified it so warning messages are output with position info from associated unitsym. Resolves #25057.
git-svn-id: trunk@27795 -
2014-05-15 21:16:36 +00:00
mazen
141ead4e62 fcl-xml: Added new property to XmlConf to allow opening file in read only mode. Added also a save as method.
git-svn-id: trunk@27794 -
2014-05-15 19:23:44 +00:00
sergei
2f8a1706e6 * x86_64-*bsd: cleaned out handwritten assembler threadvar access from syscall code.
git-svn-id: trunk@27793 -
2014-05-15 16:29:50 +00:00
Jonas Maebe
5e76203bc3 * don't hard-code size of linebuf entries
* use reallocmem when growing linebuf instead of getmem+move

git-svn-id: trunk@27792 -
2014-05-15 09:08:05 +00:00
mazen
656ba70fd8 fcl-sound: Allow opening audio file with fpwavereader even if it is being read by an other process.
git-svn-id: trunk@27791 -
2014-05-14 20:51:10 +00:00
michael
3a3e64e6df * Allow creating a custom version of the event log class
git-svn-id: trunk@27790 -
2014-05-14 18:10:10 +00:00
florian
417d444376 * do not crash with an internal error if an indexed access is done on a constant pointer node
git-svn-id: trunk@27789 -
2014-05-14 17:35:09 +00:00
pierre
cda643cea4 add run time option -novesa for go32v2 os target
git-svn-id: trunk@27787 -
2014-05-14 13:44:11 +00:00
Jonas Maebe
ee2242c407 * fixed Haiku compilation after r26426, always uses libc (patch by Olivier
Coursiere, mantis #26150)

git-svn-id: trunk@27786 -
2014-05-14 13:06:34 +00:00
Jonas Maebe
3e9c9f2f90 * re-enable/fix Haiku gpm support after r26372 (patch by Olivier Coursiere,
mantis #26149)

git-svn-id: trunk@27785 -
2014-05-14 13:06:29 +00:00
Jonas Maebe
55d62d6821 * removed units moved in r27349 (patch by Olivier Coursiere, mantis #26148)
git-svn-id: trunk@27784 -
2014-05-14 13:06:24 +00:00
lacak
375eab52c7 fcl-db: sqldb: add PROCEDURE_NAME column as alias to ROUTINE_NAME column in schema view ROUTINES query. GetProcedureNames method expects column named PROCEDURE_NAME, which is not a part of SQL standard INFORMATION_SCHEMA.ROUTINES view.
git-svn-id: trunk@27783 -
2014-05-14 12:44:42 +00:00
pierre
d4368c55b9 Fix windows problem with FindResource function
git-svn-id: trunk@27782 -
2014-05-14 06:11:53 +00:00
michael
81a95f6f1b * Fix problem with IE for inlined taking address (@S[1]) of empty const
git-svn-id: trunk@27781 -
2014-05-13 17:58:31 +00:00
lacak
7de12fb703 fcl-db: sqldb: align column naming (PROCEDURE_NAME) for stProcedures schema query with ODBC standard (SQLProcedures) and also with Delphi naming used in ADO OpenSchema for siProcedures (and partial also with DBX).
Damage is that SQL standard uses different naming (ROUTINE_NAME) in INFORMATION_SCHEMA.ROUTINES view :-(
Bug #26145

git-svn-id: trunk@27780 -
2014-05-13 09:07:02 +00:00
marco
ffaadb9d88 * deprecated hostonet variants that have equivalent htons/l
git-svn-id: trunk@27778 -
2014-05-12 08:36:18 +00:00
michael
ddf6de1b29 * Implemented ReadComponentRes(ex) for bug #21785
git-svn-id: trunk@27777 -
2014-05-11 18:28:50 +00:00
michael
490a8f9421 * Applied patch from stephano, bug ID #26143.
git-svn-id: trunk@27776 -
2014-05-11 18:11:07 +00:00
michael
042e6243a3 * Fixed bug #20522, adapted patch from Bart Broersma
git-svn-id: trunk@27775 -
2014-05-11 18:04:52 +00:00
michael
d9d1a7fa5d * Fix bug ID #18550
git-svn-id: trunk@27774 -
2014-05-11 17:14:20 +00:00
michael
17e34abc62 * Fix for bug ID #18551
git-svn-id: trunk@27773 -
2014-05-11 17:02:56 +00:00
michael
a397b1b480 * Added (modified) patch for appending 0:0:0 in case of full date (Denis Golovan, bug ID #25109)
git-svn-id: trunk@27772 -
2014-05-11 14:11:44 +00:00
florian
a6ad604207 * compilation fixed
git-svn-id: trunk@27771 -
2014-05-11 13:57:28 +00:00
michael
1d9ac3aa9e * Fixed bug #26053
git-svn-id: trunk@27770 -
2014-05-11 13:28:00 +00:00
reiniero
503086eca9 * fcl-db: sqlscript: fix inadvertent change in r27407
git-svn-id: trunk@27769 -
2014-05-11 12:53:37 +00:00
florian
0bce584bae + set defines if fast fma is available
git-svn-id: trunk@27768 -
2014-05-11 12:15:27 +00:00
michael
66f711ad09 * Fixed bug ID #26070
git-svn-id: trunk@27767 -
2014-05-11 12:12:12 +00:00
florian
bb129a6d6c * renamed overloaded fma functions into functions encoding explicitly the type
git-svn-id: trunk@27766 -
2014-05-11 11:51:41 +00:00
michael
d5a88caecd * Do not display error message if NoErrMsg is set.
git-svn-id: trunk@27765 -
2014-05-11 10:19:04 +00:00