reiniero
c13396ad0a
* fcl-db: cosmetic
...
git-svn-id: trunk@27855 -
2014-06-05 10:21:41 +00:00
reiniero
493d38ff95
* fcl-db: sqlparser: test domain creation with check constraint like CHECK (VALUE STARTING WITH 'V');
...
Test currently fails: line 1, pos 53: Unexpected token: WITH
git-svn-id: trunk@27854 -
2014-06-05 08:43:43 +00:00
reiniero
7275f30360
* fcl-db: readme for sql parser/scanner/lexer; based on Michael's message http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg18680.html
...
git-svn-id: trunk@27853 -
2014-06-05 08:15:37 +00:00
sergei
c76dedfd31
* MIPS: re-enable peephole optimizations which got disabled by r27106 and were not restored in r27147. Unfortunately such things are hard to detect reliably in automated way.
...
git-svn-id: trunk@27852 -
2014-06-04 22:34:46 +00:00
nickysn
70732aedbb
* ti8086nodeutils.InsertMemorySizes: stack segment creation moved to a separate
...
method
git-svn-id: trunk@27851 -
2014-06-04 13:44:10 +00:00
sergei
886159e73a
* Renamed testdll2.pp into ttdllex1.pp so it falls into same chunk with ttdllexe.pp and can be located at runtime.
...
git-svn-id: trunk@27850 -
2014-06-04 12:30:35 +00:00
sergei
128cdd2a65
* Renamed testdll.pp into ttdlltes1.pp so it falls into same chunk with ttdlltest.pp and can be located at runtime.
...
git-svn-id: trunk@27849 -
2014-06-04 12:10:51 +00:00
sergei
bdb2993277
* Renamed tlib* tests so all file names of dependent tests differ only in last letter. This fixes failures caused by inability to locate dlls at runtime.
...
git-svn-id: trunk@27848 -
2014-06-04 11:53:07 +00:00
sergei
4202343033
* MIPS: emit ".set nomips16" and ".set noreorder" directives for procedures declared as "assembler nostackframe", as it is done for regular procedures. Handwritten assembler routines typically utilize delay slots, and it is desirable that assembler does not mess it up.
...
git-svn-id: trunk@27847 -
2014-06-04 00:26:44 +00:00
michael
6c7ab322a1
* Applied patch from Laco to fix bug ID #25939
...
git-svn-id: trunk@27846 -
2014-06-03 11:45:22 +00:00
michael
2e8e50a24b
* Applied patch from Laco to fix bug ID #25939
...
git-svn-id: trunk@27845 -
2014-06-03 11:43:58 +00:00
lacak
ae3f0f3752
fcl-db: base: introduce TParam.AsBytes + test
...
(FDataType is set to ftVarBytes intentionally due to Delphi compatibility)
git-svn-id: trunk@27844 -
2014-06-03 08:33:09 +00:00
lacak
62782f1904
fcl-db: tests: some tests expects, that GetNDataset (FPDEV table) returns records ordered by ID. In some cases when in test record is updated (f.e. TestRefresh) this record appears at end when dataset is reopened.
...
(ATM this is case of PostgreSQL only, where 2 tests fails - false negative)
git-svn-id: trunk@27843 -
2014-06-02 10:36:41 +00:00
Jonas Maebe
bee20f79f0
* save original widestring manager on entry and restore it on exit, so that
...
units finalized afterwards won't try to use the finalized cwstring
manager (mantis #26252 )
git-svn-id: trunk@27842 -
2014-06-01 18:30:49 +00:00
nickysn
a52d8abe38
* changed the default stack size in the i8086 far data memory models to 16 KB
...
git-svn-id: trunk@27841 -
2014-06-01 14:38:54 +00:00
Jonas Maebe
02d36c56f7
* fixed compilation (changes after testing :/ )
...
git-svn-id: trunk@27840 -
2014-06-01 14:34:47 +00:00
Jonas Maebe
5bc6a2e934
* synchronised JVM versions of generic include files with current generic
...
versions
git-svn-id: trunk@27839 -
2014-06-01 14:13:40 +00:00
Jonas Maebe
5e1a895e95
* removed JVM-specific creation of methodpointertype and
...
nestedprocpointertype; this was done initially before the JVM target knew
about the voidpointertype, but is no longer necessary (also fixes
mantis #26251 )
git-svn-id: trunk@27838 -
2014-06-01 14:13:36 +00:00
sergei
274c2fc82f
* handle_ln_const: if/else branches were swapped, correct values are: ln(0)=-Inf and ln(-#)=NaN.
...
* handle_ln_const and handle_sqrt_const handle all arguments, not just invalid ones, so calling code can be simplified.
git-svn-id: trunk@27837 -
2014-06-01 01:20:06 +00:00
marco
aebe66d0cf
* some fixes and a lot of updating of Hungarian names. Mantis #26196
...
git-svn-id: trunk@27836 -
2014-05-31 15:44:58 +00:00
marco
b7aff4eae0
* flush output on halt. Patch by Mattias mantis #26225
...
git-svn-id: trunk@27835 -
2014-05-31 15:06:42 +00:00
marco
0a0739b916
* improved winexec comment, updated copyright year and add minor comment to gettickcount64
...
Mantis #26238
git-svn-id: trunk@27834 -
2014-05-31 14:47:31 +00:00
sergei
a8bc2085e8
- Delete strpas.inc files, no longer used, their contents has been merged into corresponding $(CPU).inc.
...
git-svn-id: trunk@27833 -
2014-05-31 00:49:40 +00:00
sergei
e5f6f9c3a1
- powerpc and powerpc64: cleaned out code corresponding to FPC_STRTOSHORTSTRINGPROC not defined (obsolete and removed from other targets long ago). Also merged strpas.inc files into powerpc*.inc, because by now they are included only once and therefore don't need to be separate files.
...
git-svn-id: trunk@27832 -
2014-05-31 00:45:21 +00:00
sergei
a94187c79b
- ARM: cleaned out code corresponding to FPC_STRTOSHORTSTRINGPROC not defined (obsolete and removed from other targets long ago).
...
git-svn-id: trunk@27831 -
2014-05-31 00:38:01 +00:00
reiniero
e8a3715afd
* fcl-db: limit blob memory usage when using unidirectional datasets. Patch by Laco. Issue #24509
...
git-svn-id: trunk@27830 -
2014-05-30 11:07:53 +00:00
Jonas Maebe
19c310f5d3
* fixed unit name
...
git-svn-id: trunk@27829 -
2014-05-30 07:25:04 +00:00
Károly Balogh
f3bbad26c3
m68k: use MOVEA without size to load values to address regs. use a_op_const_reg in a_op_const_ref for smarter const loading when necessary
...
git-svn-id: trunk@27828 -
2014-05-30 05:29:22 +00:00
nickysn
47a7a9835a
* added hack to support stack exceeding 32kb in size in the i8086 far data
...
memory models
git-svn-id: trunk@27827 -
2014-05-29 17:07:01 +00:00
svenbarth
2c6d3f1428
Read the deref of the fieldvarsym into the correct variable. I wonder how this ever went past the test suite O.o
...
symsym.pas, tstaticvarsym.ppuload:
* read the deref of the fieldvarsym into fieldvarsymderef, not defaultconstsymderef
git-svn-id: trunk@27826 -
2014-05-29 16:24:47 +00:00
nickysn
e9cb275f66
* put the i8086-msdos stack segment in a separate object file
...
git-svn-id: trunk@27825 -
2014-05-29 16:04:15 +00:00
nickysn
d4565aeec2
* in i8086 far data memory models add reference to the beginning of stack from
...
the startup code, so the object module, containing the stack segment doesn't
get smartlinked away
git-svn-id: trunk@27824 -
2014-05-29 14:57:48 +00:00
Jonas Maebe
03ef4b6477
+ test for mantis #26226 (already works with FPC 2.7.1)
...
git-svn-id: trunk@27823 -
2014-05-29 12:19:27 +00:00
nickysn
daf71e6d88
* fixed multiplication by 64-bit constants on x86_64, mantis #26230
...
git-svn-id: trunk@27822 -
2014-05-28 22:52:08 +00:00
Károly Balogh
2936335f68
removed silly ancient writeln debug from me...
...
git-svn-id: trunk@27821 -
2014-05-28 18:36:58 +00:00
nickysn
3cc8ff11e3
+ generate the stack segment for i8086 far data memory models from within fpc
...
itself (instead of having a fixed 16k stack in the startup code). This allows
setting the stack size in these models with the -Cs option.
git-svn-id: trunk@27820 -
2014-05-27 23:29:50 +00:00
sergei
3c1368903f
* Updated header: this file is in cp866 encoding.
...
git-svn-id: trunk@27819 -
2014-05-27 22:45:04 +00:00
sergei
743326dc70
* abs(): when translated to generic fpc_abs_real() helper, typecast result back to original precision, similar to how it is done for sqr and sqrt. Fixes compilation on m68k after r27808 (m86k looks like the only target still needing this generic handling).
...
git-svn-id: trunk@27818 -
2014-05-25 11:55:55 +00:00
Károly Balogh
28323135f8
m68k: minor optimizations to g_proc_exit() - use LEA for stackpointer math which is better than ADDing large constants, also only modify the SP reg once
...
git-svn-id: trunk@27817 -
2014-05-25 01:34:00 +00:00
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