michael
6ac5aa615a
* Extended jsonrtti so it supports streaming of datetime and destreaming datetime (bug ID 28721)
...
git-svn-id: trunk@32876 -
2016-01-07 21:48:02 +00:00
michael
e69c96d496
* Add option to ignore trailing commas in objects and arrays
...
git-svn-id: trunk@32875 -
2016-01-07 20:44:24 +00:00
pierre
de7a79f497
Use SizeInt type for GlobalStartMem and StartMem variables to avoid compilation error for msdos compact memory model
...
git-svn-id: trunk@32874 -
2016-01-07 17:33:36 +00:00
pierre
80a7b909e4
Add $goto on for FPC compilation to avoid compile time error
...
git-svn-id: trunk@32873 -
2016-01-07 17:12:13 +00:00
nickysn
72dc92e8b8
* added 'word ptr' overrides, to avoid generating 32-bit instructions (due to a
...
bug in the i8086 internal assembler reader, which will be fixed later)
git-svn-id: trunk@32872 -
2016-01-07 15:40:47 +00:00
nickysn
a508f9e5d3
+ added check if the selected cpu is 386+ when writing a 66h or 67h prefix in
...
the i8086 internal object writer. This allows weeding out spurious 386
instructions, as is similarly done by NASM when using it as an external
assembler.
git-svn-id: trunk@32871 -
2016-01-07 15:40:32 +00:00
nickysn
114c76bc4a
+ added i8086 to the list of supported cpus in the compiler usage help screen
...
git-svn-id: trunk@32870 -
2016-01-07 14:38:25 +00:00
nickysn
22b6e00147
* extracted the writing of 0x66 and 0x67 prefixes in the x86 internal assembler
...
to local procedures write0x66prefix and write0x67prefix
git-svn-id: trunk@32869 -
2016-01-07 14:18:14 +00:00
michael
b1c5077c96
* Small fix after recent changes to tests list in testsuite
...
git-svn-id: trunk@32868 -
2016-01-07 07:38:34 +00:00
Jeppe Johansen
0251263234
Move some of the local reloc calculation out of aasmcpu, and into COFF and ELF writers.
...
git-svn-id: trunk@32867 -
2016-01-06 23:15:08 +00:00
nickysn
21c9712ea2
* allow 32-bit operand sizes in the i8086 version of Tx86Operand.SetSize, so
...
32-bit operands can work properly in i8086's inline asm. Fixes mantis #29188 .
git-svn-id: trunk@32866 -
2016-01-06 18:06:34 +00:00
pierre
e835f120e9
Fix fpc_frac_real, fpc_trunk_real and fpc_int_real by removing the assumption that SP=BP at entry
...
git-svn-id: trunk@32865 -
2016-01-06 15:20:57 +00:00
pierre
701a610f4d
Use CodePointer for all CheckVariantEvent parameter typecast
...
git-svn-id: trunk@32864 -
2016-01-06 14:04:31 +00:00
michael
9d92953bd2
* Added overload directive, fixes regressions in testsuite
...
git-svn-id: trunk@32863 -
2016-01-06 08:02:04 +00:00
michael
4099abb0c1
* Sample programs for TZipper and TUnzipper
...
git-svn-id: trunk@32862 -
2016-01-05 21:29:51 +00:00
michael
df6efb6fc9
* Fix bug ID #28783 , closer adherance to ZIP standard
...
git-svn-id: trunk@32861 -
2016-01-05 21:28:43 +00:00
michael
ef3050f061
* Ensure example compiles
...
git-svn-id: trunk@32860 -
2016-01-05 21:27:46 +00:00
michael
072b473f9f
* Patch from Denis Kozlov: Patches here fix several issues with SimpleIPC on Windows. (Bug ID 29346)
...
Summary of changes:
1. Using SetTimer + GetMessage method for handling PeekMessage.
2. Store all received incoming messages in a message queue (per IPC server instance).
3. Implemented message queue (PeekMessage receives messages, ReadMessage picks from the queue)
4. Implemented optional message queue limit and overflow handling (more on that below).
5. Timeout<-1 is forced to -1; Documented meaning of various Timeout values in comments.
6. Minor refactoring and code formatting changes.
git-svn-id: trunk@32859 -
2016-01-05 20:41:08 +00:00
michael
b9da082e29
* Patch from Silvio Clecio to Extends SetPropValue/GetPropValue (bug ID 28278)
...
git-svn-id: trunk@32858 -
2016-01-05 20:00:41 +00:00
florian
77cf67b59a
o unified interface of i386 and x86-64 cpu unit:
...
+ InterlockedCompareExchange128Support for i386 always returning false
+ AESSupport for i386
+ dummy InterlockedCompareExchange128 for i386 throwing an rte 217
git-svn-id: trunk@32857 -
2016-01-05 15:23:26 +00:00
florian
4bf603694c
* patch by Mattias Gaertner to make TProcess more unicode aware, resolves issue #29136
...
git-svn-id: trunk@32856 -
2016-01-05 14:06:36 +00:00
florian
df82921cd8
* fix test after r32820
...
git-svn-id: trunk@32855 -
2016-01-05 13:46:06 +00:00
lacak
57c7b32490
fcl-db: tests: move TestCancel method as Edit/Cancel is not supported on UniDirectional datasets (avoid false negative results)
...
git-svn-id: trunk@32854 -
2016-01-05 08:19:21 +00:00
lacak
01d3297d37
fcl-db: bufdataset: revert prior commit 32807 as it causes fail of TTestSpecificTBufDataset.TestOpeningNonExistingDataset
...
git-svn-id: trunk@32853 -
2016-01-05 07:53:21 +00:00
Jeppe Johansen
1b02dd27dc
Make relocation type more precise compared to output of gas.
...
Change and to or in case symbol in other section is not exported.
git-svn-id: trunk@32852 -
2016-01-05 07:23:20 +00:00
lacak
d4d1fcb634
fcl-db: datadict: mssql: add support for querying sequences and domains using standard INFORMATION_SCHEMA views (supported since version 2000)
...
git-svn-id: trunk@32851 -
2016-01-05 06:46:04 +00:00
lacak
634764231a
fcl-db: datadict: SEQUENCE START value can be any signed integer value (+ missing spaces)
...
git-svn-id: trunk@32850 -
2016-01-05 06:16:34 +00:00
Károly Balogh
b799ca40f8
m68k: various cleanups and improvements in the GAS assembler writer: pass operands to the helpers by reference, removed a few extra shortstring copies, cleanups
...
git-svn-id: trunk@32849 -
2016-01-05 04:12:00 +00:00
Károly Balogh
288fa53694
m68k: is_calljmp cleanup
...
git-svn-id: trunk@32848 -
2016-01-05 04:07:00 +00:00
Károly Balogh
e0b0ec3d43
m68k: disabled the force-enabled stack checking for m68k-amiga when compiling the compiler, which was enabled since forever. the current Amiga RTL startup code supports setting stack size programmatically, therefore very low default stack on Amiga is no longer a problem
...
git-svn-id: trunk@32847 -
2016-01-05 02:14:40 +00:00
florian
a4d2f71d3d
* better estimation of compatibility of array constructors with open arrays, resolves issue #29244
...
git-svn-id: trunk@32846 -
2016-01-04 23:10:45 +00:00
svenbarth
61b12af82b
Fix for Mantis #29321 .
...
pexpr.pas, postfixoperators:
* also handle type helpers for static arrays
+ added test
git-svn-id: trunk@32845 -
2016-01-04 22:02:24 +00:00
sergei
5456960d54
* MIPS: Fixed code generation for PIC calls to local functions. Uncovered by r32803, before that the buggy branch was never taken because all functions were global.
...
git-svn-id: trunk@32844 -
2016-01-04 18:13:18 +00:00
michael
721340d197
* Fixed wince compilation (Bug ID 0029319)
...
git-svn-id: trunk@32843 -
2016-01-04 07:27:31 +00:00
Károly Balogh
2b3bd71735
m68k: include CMPI in the CMP to TST optimization
...
git-svn-id: trunk@32842 -
2016-01-04 01:14:34 +00:00
Károly Balogh
1e0763e251
m68k: use a_load_const_ref in a_load_const_cgpara to utilize the recently added optimized small const loading here too. this change alone shaves off ~80KB from the compiled FP IDE size...
...
git-svn-id: trunk@32841 -
2016-01-03 23:48:06 +00:00
florian
37cb35d780
+ support for the .code directive in arm inline assembler
...
git-svn-id: trunk@32840 -
2016-01-03 22:08:25 +00:00
florian
c3a293b727
* test name properly
...
git-svn-id: trunk@32839 -
2016-01-03 22:05:00 +00:00
joost
fa67338e64
* Added the option to use packages from external sources by setting the packagename to <url> and the DownloadURL
...
git-svn-id: trunk@32838 -
2016-01-03 18:57:39 +00:00
Károly Balogh
185ee93312
m68k: if we're loading small (8 bit signed) values into long references, move them through a register (usually with MOVEQ). this is two bytes shorter and also faster on most 68k CPUs
...
git-svn-id: trunk@32837 -
2016-01-03 18:32:27 +00:00
sergei
f69f6336e9
* Replaced hacks with resetting 'c' to zero and decreasing inputpointer by boolean parameter to skipcomment and skipoldtpcomment. This parameter specifies whether first character of comment should be read.
...
- in_asm_string also rendered useless by r32828, removed.
git-svn-id: trunk@32836 -
2016-01-03 17:07:15 +00:00
florian
d4d4689914
* use FormatMessageW in SysErrorMessage, resolves issue #29197
...
git-svn-id: trunk@32835 -
2016-01-03 15:56:31 +00:00
nickysn
77229a3cdf
* dosbox timeout increased to 100 seconds
...
git-svn-id: trunk@32834 -
2016-01-03 11:54:45 +00:00
florian
026848b3e1
+ use CPU_UNITS_DEFINED to track if a SUBARCH is passed, so with CPU_UNITS_DEFINED=1 it is easily possible to compile without any cpu units
...
git-svn-id: trunk@32833 -
2016-01-03 09:36:23 +00:00
michael
8282aea272
* Small whitespace patch from Sandro Cumerlato
...
git-svn-id: trunk@32832 -
2016-01-03 09:16:17 +00:00
michael
7c66a42eaf
* Initial MS-SQL server support for Data Dictionary
...
git-svn-id: trunk@32831 -
2016-01-02 16:21:54 +00:00
Károly Balogh
ff7a0c5235
m68k: while updating reference, don't reallocate and copy the index to another register if we can apply scaling for it and we don't need to multiply, so the maybe_const_reg doesn't change. this improves generated code when a const reg (eg: a loop counter) is used as array index
...
git-svn-id: trunk@32830 -
2016-01-02 16:05:41 +00:00
Károly Balogh
92e7c0b03f
m68k: assembler reader changes
...
* don't reimplement BuildStringConst, use the inherited one
* findopcode's string argument is now const, simplified the function and removed some dead code
* removed an intentional null ptr write in an error path, which was debug code and left in accidentally
git-svn-id: trunk@32829 -
2016-01-02 15:51:42 +00:00
sergei
bbfbab7e0c
* Moved handling of comments and line breaks in assembler blocks from scanner to tokenizer level. Handling them at character level was causing compiler to accept comments in the middle of any assembler token, which should never happen. It was also causing Mantis #27459 : a newline immediately after closing 'end' token was first handled in asmgetchar and then by normal parser, causing all subsequent line numbering to be off by one.
...
git-svn-id: trunk@32828 -
2016-01-02 06:17:14 +00:00
michael
81b778f555
* Correction on previous patch
...
git-svn-id: trunk@32827 -
2016-01-01 23:23:42 +00:00