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
reiniero
acd13fdcf9
* fcl-db: TSQLScript: fix COMMIT RETAIN/COMMIT WORK being mistaken for plain COMMIT because of insertion order.
...
git-svn-id: trunk@26168 -
2013-12-02 08:20:07 +00:00
florian
4aebcdaa94
* enable node dfa for life information with -O3:
...
- all known issues with it are fixed
- the resulting warnings about uninitialized warnings are better than that ones from the old code
- with node dfa in place, stuff like dead store removal, strength reduction and ssa can be finished now
- drawback: with node dfa enabled, the compiler is 2-3% slower, there is still some room for improvement though
git-svn-id: trunk@26165 -
2013-12-01 17:02:19 +00:00
florian
6924cc0458
* optimize CheckAndWarn
...
git-svn-id: trunk@26164 -
2013-12-01 17:02:17 +00:00
florian
35206c3d93
* make ResetProcessing more efficient
...
git-svn-id: trunk@26163 -
2013-12-01 17:02:15 +00:00
florian
e914612423
* the win64 exception handling code messes with asm nodes, so mark the helper procedure that they contain assembler
...
git-svn-id: trunk@26162 -
2013-12-01 17:02:13 +00:00
florian
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
...
git-svn-id: trunk@26161 -
2013-12-01 17:02:08 +00:00
florian
49fe968d1d
* the dfa code now behaves like the old initialization checking code: uninitialized parameters passed by reference cause only a hint
...
git-svn-id: trunk@26160 -
2013-12-01 17:01:57 +00:00
florian
99eadb91b3
* run CheckAndWarn to get proper locations for warnings about uninitialized variables
...
* several fixes to liveness analysis
* get rid of old version defines
+ tests
git-svn-id: trunk@26159 -
2013-12-01 17:01:51 +00:00
florian
c357212b45
+ search crt* files also in /usr/lib/x86_64-linux-gnu, multiarch supporting distros require this
...
git-svn-id: trunk@26158 -
2013-12-01 15:39:05 +00:00
sergei
409e176ded
* Factored reusable (SEH-related) piece of code into separate procedure.
...
git-svn-id: trunk@26157 -
2013-12-01 11:47:12 +00:00
michael
4b59b42df2
* Always send cookie, even if not yet start/timeout
...
git-svn-id: trunk@26156 -
2013-11-30 21:03:13 +00:00
marco
840b2d7031
* delete textfile that was hardly updated for 2.0.x
...
git-svn-id: trunk@26155 -
2013-11-29 20:40:42 +00:00
nickysn
fcfb73f508
+ i8086 asm implementation of math.arctan2, based on the i386 version
...
git-svn-id: trunk@26154 -
2013-11-29 18:40:31 +00:00
sergei
6a40ff730c
* In preparation to support SEH on Win32, moved definitions that apply to Win32 from seh64.inc into syswin.inc.
...
git-svn-id: trunk@26153 -
2013-11-29 14:23:46 +00:00
lacak
b6005af745
fcl-db: sqldb: add support for backtick "`" as identifier delimiter.
...
git-svn-id: trunk@26152 -
2013-11-28 13:23:46 +00:00
sergei
d72478eb64
* Function tjvmaddnode.cmpnode2topcmp is, in fact, not specific to any target. Moved it to generic tcgaddnode and reused in tmipsaddnode, where the same functionality was implemented in different way.
...
git-svn-id: trunk@26151 -
2013-11-28 11:52:47 +00:00
Jonas Maebe
5b58162d6b
* increased the size of tdirent to
...
a) compensate for the fact that the kernel assumes it's a multiple of 8
bytes
b) reduce the number of system calls we have to perform when walking a
directory
(fixes mantis #24885 and probably also #20125 and #23732 )
git-svn-id: trunk@26150 -
2013-11-27 22:57:17 +00:00
Jonas Maebe
679c6bd27e
* fixed formatting
...
git-svn-id: trunk@26149 -
2013-11-27 20:27:20 +00:00
Jonas Maebe
cddc31a1a8
* also allow 'cpXXXX' in addition to 'CPXXXX' code page names (mantis #15169 )
...
git-svn-id: trunk@26148 -
2013-11-27 20:27:16 +00:00
Jonas Maebe
5e129b4ac5
* fixed TBinaryObjectReader.ReadSingle(), .ReadCurrency() and .ReadDate():
...
explicitly typecasting a qword to single/currency/tdatetime is no different
from assigning it directly, since integer types are assignment-compatible
with floating point types (mantis #25170 )
git-svn-id: trunk@26146 -
2013-11-27 19:59:48 +00:00
Jonas Maebe
017c895c37
* fixed missing function result initialisation in
...
TFPMimeTypes.GetMimeExtensions() and TFPMimeTypes.GetMimeType()
(mantis #25003 )
git-svn-id: trunk@26145 -
2013-11-27 19:19:25 +00:00
Jonas Maebe
4a8d7f8ce9
* allow 2.6.4 as starting version
...
git-svn-id: trunk@26144 -
2013-11-27 19:19:16 +00:00
lacak
e55332ab6f
fcl-db: tests:
...
- add prefix "FPDEV_" for all objects, which are used in tests
- enclose TestValue in single quotes, when used in INSERT
- add statement terminator after directive COMMIT
- use Commit instead of CommitDDL when droping table
git-svn-id: trunk@26143 -
2013-11-27 12:44:35 +00:00
sergei
e16e19b170
* MIPS: removed specific handling of 32-bit shifts, generic code does the job just well.
...
* Tweak 64-bit shifts to take advantage of 3-address instructions (i.e. don't operate on same register).
git-svn-id: trunk@26142 -
2013-11-27 11:33:52 +00:00
michael
a2c561ebbe
* Fixed typo (by Tomasz Wieckowsky, bug ID #25379 )
...
git-svn-id: trunk@26141 -
2013-11-27 10:23:31 +00:00
Jonas Maebe
5e0589f0a5
* fixed debug information for strings (index starts from 1, not from 0)
...
(mantis #25226 )
git-svn-id: trunk@26140 -
2013-11-26 19:59:53 +00:00
sergei
2a112ad01b
* MIPS: don't optimize reference twice for 64-bit loads and stores. Now loading/storing 64-bit value to global variable takes typically 3 instructions.
...
git-svn-id: trunk@26139 -
2013-11-25 14:27:35 +00:00