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
michael
3f5172933d
* var -> out for Runcommand
...
git-svn-id: trunk@32826 -
2016-01-01 17:59:30 +00:00
michael
9157a11b7e
* Applied partial patch from barlone to change var->out for IdentToInt
...
git-svn-id: trunk@32825 -
2016-01-01 17:37:46 +00:00
michael
ee2f34588d
* Fix bug #28258 , missing UTF8ToString, patch by Stocki
...
git-svn-id: trunk@32824 -
2016-01-01 17:27:44 +00:00
michael
ca2b1f97ed
* Applied patch from José Mejuto to fix bug ID #27486
...
git-svn-id: trunk@32823 -
2016-01-01 17:10:30 +00:00
michael
9111c9263e
* Patch from Antônio Galvão to make an event sink: Implements ConnectEvents and DisConnectEvents. (bug ID 28377)
...
git-svn-id: trunk@32822 -
2016-01-01 16:53:26 +00:00
michael
ede4bac345
* Fixed bug ID #25110 , patch from ocean
...
git-svn-id: trunk@32821 -
2016-01-01 16:45:07 +00:00
michael
6b3b3d5c0c
* Fix bug ID #29155 , wrong declaration of ISTream.
...
git-svn-id: trunk@32820 -
2016-01-01 16:35:38 +00:00
sergei
b1ee3dd5e5
* m68k assembler reader: call tscannerfile.illegal_char instead of reimplementing it.
...
git-svn-id: trunk@32819 -
2016-01-01 10:49:38 +00:00
michael
bdde398a98
* NaturalCompare
...
git-svn-id: trunk@32818 -
2015-12-31 16:36:37 +00:00
michael
353f5340dc
* Patch from Ondrej Pokorny to implement - and * operators for TPointF
...
git-svn-id: trunk@32817 -
2015-12-31 16:27:19 +00:00