michael
2ab9fe2775
* Fix wrong lookup address order in TInetSocket
...
git-svn-id: trunk@17471 -
2011-05-15 15:42:52 +00:00
florian
7de8972e5c
* fix Sysutils.AssertErrorHandler as proposed by Martin Friebe in #19130 , resolves #19310
...
git-svn-id: trunk@17470 -
2011-05-15 15:13:22 +00:00
florian
13285ab264
o several strings changed into ansistrings, resolves #19318 , no compilation speed degrations measurable
...
* TCmdStr changed into an ansistring
* command line parameter handling uses now ansistrings
* message handling parameters are now ansistrings
git-svn-id: trunk@17469 -
2011-05-15 14:53:31 +00:00
florian
f1b13dca19
* handle aligned assignments with size < sizeof(aint) properly, resolves #19355
...
git-svn-id: trunk@17468 -
2011-05-15 13:47:26 +00:00
michael
54bbaa037e
* Add fphttpserver to makefile/fpmake
...
git-svn-id: trunk@17466 -
2011-05-15 12:42:20 +00:00
michael
1cfa5058fe
* Initial implementation of HTTP Server component
...
git-svn-id: trunk@17465 -
2011-05-15 12:39:26 +00:00
michael
075b26b833
* Fixed wrongly initialized maxconnections and refactor to allow message-loop style handling
...
git-svn-id: trunk@17464 -
2011-05-15 12:32:17 +00:00
michael
bf39491816
* Added ASCII85 examples
...
git-svn-id: trunk@17463 -
2011-05-15 12:30:27 +00:00
michael
0e4d29dbd1
* Added fpmimetypes unit
...
git-svn-id: trunk@17462 -
2011-05-15 12:29:25 +00:00
florian
2d754c5ff3
* check assembling result
...
git-svn-id: trunk@17461 -
2011-05-14 19:25:53 +00:00
sergei
c28197bac3
* PSADBW second operand is xmmrm, not xmmreg
...
+ A couple of tests related to the recent assembler changes
git-svn-id: trunk@17460 -
2011-05-14 18:59:06 +00:00
florian
77f2d6cc0d
* introduce usage of TCGInt in the code generator units
...
git-svn-id: trunk@17459 -
2011-05-14 17:58:23 +00:00
florian
7803a302bf
+ added avr to full cycle
...
git-svn-id: trunk@17458 -
2011-05-14 17:44:49 +00:00
sergei
958954890e
A big update of x86 instruction table, part 2:
...
- Removed remaining address-size control codes \300 and \301
- Also removed codes \323, they are no longer necessary once REX is being written on the first literal.
git-svn-id: trunk@17457 -
2011-05-14 16:36:42 +00:00
sergei
86d0c7f4c5
* x86 assembler: write REX prefix before the first literal byte of instruction (this becomes possible once the instruction table has all $66,$F2,$F3 prefixes changed to non-literal control codes). This way it is no longer necessary to manually specify position of REX in every instruction entry (code \323 becomes obsolete), and the situation when REX is not written (IE 200603191) is hopefully gone forever.
...
git-svn-id: trunk@17456 -
2011-05-14 16:02:31 +00:00
joost
3064726d71
* Fixed detection of empty cleanup-directories on non-Dos/Windows
...
git-svn-id: trunk@17455 -
2011-05-14 13:19:47 +00:00
marco
f9c2a7ad51
* patch adding functions and sorting order according to documentation order by Darius B. Mantis 19138
...
git-svn-id: trunk@17453 -
2011-05-14 11:53:57 +00:00
sergei
3b979fef6d
* Re-commit r17437 after more testing and fixing aasmcpu.pp in r17449.
...
git-svn-id: trunk@17452 -
2011-05-14 11:04:52 +00:00
joost
ce35e121ba
* Reverted r17386 because object file is used for debugging on Darwin, bug #19322
...
git-svn-id: trunk@17451 -
2011-05-14 10:55:26 +00:00
michael
3958c2bf94
* Forgot to commit
...
git-svn-id: trunk@17450 -
2011-05-14 08:36:18 +00:00
sergei
6d0d8734e0
* x86 assembler: operand type declarations rewritten using expressions instead of literal numbers where possible. Reassigned bit values to match the current NASM (the values themselves don't actually matter and can be chosen pretty arbitrary. What matters is the clean separation between different parts of the bitmask. In particular, the old value of XMM register class bit was equal to OT_BITS80, causing matching algorithm to effectively ignore it and accept e.g. MMX registers in place of XMM ones, part of Mantis #14387 ).
...
* Fixed matching of memory references with OT_XMMRM and OT_MMXRM.
git-svn-id: trunk@17449 -
2011-05-14 00:07:07 +00:00
michael
1a7c78b120
* Moved files to src subdirectory
...
git-svn-id: trunk@17448 -
2011-05-13 20:34:15 +00:00
michael
93c02fe315
* Added fppkg
...
git-svn-id: trunk@17447 -
2011-05-13 20:25:40 +00:00
michael
e99826618f
* Moved fppkg units to package
...
git-svn-id: trunk@17446 -
2011-05-13 20:24:49 +00:00
michael
30fbe42d7b
* Added iniwebsession
...
git-svn-id: trunk@17444 -
2011-05-13 15:10:50 +00:00
michael
bc25040332
* Fixed
...
git-svn-id: trunk@17443 -
2011-05-13 15:08:07 +00:00
michael
9214ef8c96
* Reworked session management.
...
git-svn-id: trunk@17442 -
2011-05-13 12:08:59 +00:00
sekelsenmat
01e916e6f5
fpvectorial: Improves the svg reader and adds a file modification example
...
git-svn-id: trunk@17441 -
2011-05-13 12:01:40 +00:00
michael
94cc1eef04
* Patch from Darius to fix 19348
...
git-svn-id: trunk@17440 -
2011-05-13 11:16:09 +00:00
sergei
b257231203
* Revert r17437, it breaks builds with -O2 and builds on i386 (although -O- on x86_64 is ok).
...
git-svn-id: trunk@17439 -
2011-05-12 23:53:18 +00:00
sergei
1d81a1244b
A big update of x86 instruction table, part 1 (mostly SIMD instructions):
...
* Using ot_mmxrm and ot_xmmrm operand types to match arguments, reduces number of required entries by half.
* Replaced all literal $66, $F2 and $F3 prefixes with control codes (\361, \334 and \333, respectively).
* Prefix control codes imply writing REX, so code \323 after them is no longer necessary, removed.
* Fixed technology flags (SSSE3, SSE4.1, SSE4.2)
- Removed codes \300 and \301 (intended to generate address size prefix). FPC does not support this feature (the prefix itself is generated, but process_ea rejects operands needing non-default address size). Probably we don't even need to support it. But if we do, a much simpler solution is check all operands, like today's NASM does.
* Fixed/added some instructions along the way, namely CRC32, UNPCKHPD, CMPNEQSD.
git-svn-id: trunk@17437 -
2011-05-12 19:49:19 +00:00
sergei
de8ae0f873
x86 assembler improvements:
...
* Simplified REX handling: instead of useless adjusting instruction length on every REX change, adjust it just once, based on the final REX value.
* Similar for omitting REX.W in certain instructions: set a flag and consider it once the entire instruction has been processed. This removes the requirement for \335 to be the last opcode.
* maybewriterex also after $F2 prefix
* Fixed behavior of codes \310 and \311 (16- and 32-bit address respectively), this is needed for a few fancy instructions like LOOP and JCXZ, which honor address-size prefix instead of REX.
+ control code \361 for $66 prefix
+ IF_SSSE3, IF_SSE41, IF_SSE42 instruction flags (with dummy values)
x86/x86ins.dat:
* replaced literal $67 prefixes with \310 or \311
* marked encodings containing code \310 as NOX86_64
* replaced literal $48 prefixes with \326
git-svn-id: trunk@17433 -
2011-05-12 13:09:51 +00:00
joost
428915a90b
* Patch from Ladislav Karrach to fix problems when closing TSQLQueries when the connection is not active, bug #17623
...
git-svn-id: trunk@17432 -
2011-05-11 20:51:32 +00:00
sergei
6739cec2b9
* Flagged with NOX86_64 instructions/encodings that are invalid in 64-bit mode.
...
* AESKEYGENASSIST is not ATT-specific name, it is used by Intel-style assemblers as well. Also updated tests/test/taes1.pp to reflect the change.
+ Added SCASQ, resolves #16730 (other opcodes mentioned in that report were added/fixed earlier)
git-svn-id: trunk@17431 -
2011-05-11 15:50:59 +00:00
sergei
9bb0dc6cfe
* mkx86ins.pp: ot_signed flag must not be set by literal opcodes. Ignore 2- and 3-byte literal sequences, not just 1-byte ones.
...
* x86ins.dat: replaced codes \17 with literal zeros. They aren't necessary for FPC, and they were removed from NASM quite a while ago.
git-svn-id: trunk@17430 -
2011-05-11 12:31:18 +00:00
michael
3167cd628b
Fixed misnamed sqlite3_value_cint (bug ID 19332)
...
git-svn-id: trunk@17429 -
2011-05-11 06:13:54 +00:00
sekelsenmat
f7b6f77ff5
fpvectorial: adds new overloaded read/write methods which auto-detect the format
...
git-svn-id: trunk@17428 -
2011-05-10 15:19:59 +00:00
joost
8def31ec0c
* Adapted time-field tests for some differences between databases
...
git-svn-id: trunk@17427 -
2011-05-10 12:10:39 +00:00
joost
c906f78b4a
* Fixed typo(?) in r17424
...
git-svn-id: trunk@17426 -
2011-05-10 10:29:48 +00:00
joost
2ad62c4754
* Added ftFmtBCD param support, from Ladislav Karrach, bug #18809
...
git-svn-id: trunk@17425 -
2011-05-10 09:13:47 +00:00
joost
0e56e188f8
* Simplified formatting of timeinterval strings, bug #18763
...
git-svn-id: trunk@17424 -
2011-05-10 09:06:40 +00:00
Jonas Maebe
2c94ef0f09
* quote the path to the assembler if necessary when using popen(), since
...
it's based on calling "/bin/sh -c $cmdline" (mantis #19316 )
git-svn-id: trunk@17423 -
2011-05-09 21:27:36 +00:00
Jonas Maebe
1b5fed238a
* don't quote the Darwin syslibroot path in link.res, it's not reinterpreted
...
by the shell since it's cat'ed into the command line
git-svn-id: trunk@17422 -
2011-05-09 21:26:36 +00:00
Jonas Maebe
9cd6a7ad85
* correctly handle -XR (sysroot) paths with spaces under Darwin
...
git-svn-id: trunk@17421 -
2011-05-09 20:14:17 +00:00
joost
129c565312
* Fixed comments
...
git-svn-id: trunk@17420 -
2011-05-09 18:37:14 +00:00
blikblum
e54c0c7449
* call validate in setfielddata
...
git-svn-id: trunk@17419 -
2011-05-09 16:42:51 +00:00
joost
b8f734522e
* Fixed default/mysql ftTime parameter support, bug #18718
...
git-svn-id: trunk@17418 -
2011-05-09 16:00:03 +00:00
joost
c1fc8180c8
* Fixed typo/compilation in r17416
...
git-svn-id: trunk@17417 -
2011-05-08 16:34:38 +00:00
joost
122494f5ea
* Fixes datetime values <0
...
* Fixed time-intervals longer then 24 hours
* Use 'DATETIME' fields in tests, because mysql's 'TIMESTAMPS' are limited
git-svn-id: trunk@17416 -
2011-05-08 16:32:17 +00:00
joost
7f1a6b8e3e
* Patch from Ladislav Karrach to add msec support to sqlite-time fields,
...
bug #18840
* Adapted/fixed test for timefields, to allow testing for msec values,
bug #18763
git-svn-id: trunk@17415 -
2011-05-08 14:51:34 +00:00