svenbarth
77cb13c38c
Revert r33057. MaxLen is the maximum value that Pos can return and does not need to be adjusted by (Offset - 1). Also there's no buffer that could be overrun as i is not used to access the string's buffer. Fixes failure of tests/test/units/system/tstring.pp
...
git-svn-id: trunk@33089 -
2016-02-12 16:07:26 +00:00
sergei
e23ed15634
* MIPS: reworked and fixed procedure fixup_jmps:
...
* support conditional branches with 2 parameters
* factored out common parts
* adjusted range limits, they were copy-pasted from PowerPC target which uses 14-bit offsets. MIPS however uses 16-bit offsets, i.e. can branch 4 times farther.
git-svn-id: trunk@33088 -
2016-02-12 13:53:04 +00:00
lacak
6ca424900b
fcl-db: datadict: when querying for table indexes use ServerIndexDefs instead of local IndexDef
...
git-svn-id: trunk@33087 -
2016-02-12 13:27:23 +00:00
lacak
b38b441d53
fcl-db: dbase: Bug #28734 , Patch by Luiz Americo
...
git-svn-id: trunk@33086 -
2016-02-12 11:43:40 +00:00
lacak
f55ab74e6a
fcl-db: dbase: call inherited InternalPost to check required fields. Revealed by test TestRequired
...
git-svn-id: trunk@33085 -
2016-02-12 10:07:08 +00:00
sergei
ed2488eb03
- MIPS: removed the ugly hack of splitting LDC1/SDC1 instructions into pairs of LWC1/SWC1 at assembler writer level. It probably was there as a workaround for insufficient alignment of double-precision variables, which was present once, but fixed a long time ago.
...
git-svn-id: trunk@33084 -
2016-02-11 15:09:19 +00:00
yury
111595dcd9
* pas2jni: Fixed procedure parameters parsing in some cases.
...
git-svn-id: trunk@33083 -
2016-02-10 16:28:41 +00:00
pierre
e488d7c81c
Prepare for upcoming GDB 7.11 release
...
git-svn-id: trunk@33082 -
2016-02-10 13:05:01 +00:00
sergei
7f58608008
* MIPS: changed function is_macro_instruction into method of taicpu. Functionality unchanged.
...
git-svn-id: trunk@33081 -
2016-02-10 12:46:55 +00:00
lacak
5f17bcbc97
fcl-db: tests: cosmetic
...
git-svn-id: trunk@33080 -
2016-02-10 11:28:10 +00:00
lacak
810d724493
fcl-db: sqldb: ensure, that if error happens during ExecuteDirect, UnprepareStatement is called. Leaving unfinished statement causes error on later connection close (SQLite). Bug #29376 (fixed as suggested by reporter).
...
DB test suite do not show any regression.
git-svn-id: trunk@33079 -
2016-02-10 11:13:02 +00:00
lacak
b5ef41b2be
fcl-db: sqldb: cosmetic
...
git-svn-id: trunk@33078 -
2016-02-10 10:02:17 +00:00
sergei
55492a0f30
* Don't do useless string case conversions in a loop.
...
git-svn-id: trunk@33077 -
2016-02-10 02:10:23 +00:00
sergei
2861362780
* Reuse binary search routine from rgbase.pas to look up AT&T register names, removes need in regnumber_count_bsstart constant. Resolves #29471 .
...
git-svn-id: trunk@33076 -
2016-02-09 16:48:32 +00:00
marcus
fc2069eca8
- Removed the string for tai_labeled_instruction, repairs m68k building after revision 33074
...
git-svn-id: trunk@33075 -
2016-02-09 08:08:18 +00:00
sergei
36043d13ae
- Removed remains of tai_labeled_instruction, already commented out probably in 1.0 times.
...
git-svn-id: trunk@33074 -
2016-02-09 02:25:27 +00:00
sergei
4fc05e6ec1
- MIPS: removed taicpu.delayslot_annulled, it was a copy-paste from SPARC code.
...
git-svn-id: trunk@33073 -
2016-02-09 01:32:42 +00:00
yury
a02da7c7d2
* pas2jni: Fixed handling of method pointers.
...
git-svn-id: trunk@33072 -
2016-02-08 18:52:32 +00:00
florian
ddad3b3166
* allow very small heaps for avr
...
git-svn-id: trunk@33071 -
2016-02-07 18:28:13 +00:00
florian
dfd261f2d6
* embedded heap manager takes care of ReturnNilIfGrowHeapFails
...
git-svn-id: trunk@33070 -
2016-02-07 18:28:12 +00:00
sergei
9b84581f4c
+ function copysign(x,y), calculates abs(x)*sign(y), private for unit math (not in interface).
...
* fixed sinh and arsinh return values at -0.0 and -Inf.
git-svn-id: trunk@33069 -
2016-02-07 15:34:02 +00:00
florian
fd61d65313
* handle controller type already in the first options pass_1
...
* set heapsize for the avrsim controller target to a reasonable size
git-svn-id: trunk@33068 -
2016-02-07 11:24:47 +00:00
sergei
a4ed9f3b54
* Improved sign(x) functions to be branchless in most cases. Resolves #14206 .
...
git-svn-id: trunk@33067 -
2016-02-07 11:18:31 +00:00
florian
56b6cedcf4
* increase ram size of the avrsim controller target
...
git-svn-id: trunk@33066 -
2016-02-07 11:17:55 +00:00
florian
0695c92b73
* make Dos.GetMsCount a dummy for embedded targets
...
git-svn-id: trunk@33065 -
2016-02-07 11:16:39 +00:00
Jeppe Johansen
328b6464ed
Add debug info to the CPU units by default, to be able to print register contents with GDB.
...
git-svn-id: trunk@33064 -
2016-02-06 20:16:45 +00:00
michael
eb2e614ae9
* Power no longer in system, but in Math
...
git-svn-id: trunk@33063 -
2016-02-06 18:57:49 +00:00
michael
39c404d342
* Some fixes from Ondrej Pokorny (bug ID 29538)
...
git-svn-id: trunk@33062 -
2016-02-06 15:03:28 +00:00
michael
c5a44f7487
* Fix bug #29465 : Correct declaration of array properties
...
git-svn-id: trunk@33061 -
2016-02-06 14:45:25 +00:00
michael
dd00b26c09
* Implement missing functions (Fraction/Exponent/Mantissa/Sign)
...
git-svn-id: trunk@33060 -
2016-02-06 12:44:23 +00:00
michael
a999f055ef
* Implement missing functions (Fraction/Exponent/Mantissa/Sign)
...
git-svn-id: trunk@33059 -
2016-02-06 12:44:05 +00:00
michael
21920b9cea
* Correct string type
...
git-svn-id: trunk@33058 -
2016-02-06 12:17:41 +00:00
michael
e2733c9a50
* Small correction in POS (prevent moving out of buffer if offset<>1)
...
git-svn-id: trunk@33057 -
2016-02-06 12:17:13 +00:00
michael
6d051892e5
* Added Offset argument to Pos (exists in wide and ansi/short, forgotten for unicode)
...
git-svn-id: trunk@33056 -
2016-02-06 12:16:00 +00:00
michael
cf530f117e
* Faster stringreplace (bug ID 26864)
...
git-svn-id: trunk@33055 -
2016-02-06 10:19:56 +00:00
svenbarth
dea4ac557d
Fix for Mantis #28100 .
...
symdef.pas, tstoreddef:
* deref: don't free the deref list and it's entries as deref() might be called again when the unit reloaded a second time
git-svn-id: trunk@33054 -
2016-02-05 19:04:38 +00:00
Tomas Hajny
6a8caf84b2
* -Mdelphiunicode added to the help pages
...
git-svn-id: trunk@33053 -
2016-02-05 15:31:38 +00:00
michael
ee8652a983
Introduced ExceptionExitCode
...
git-svn-id: trunk@33052 -
2016-02-05 15:30:58 +00:00
florian
aa0ec8c0e5
+ show -Mextendedpascal in the help page
...
git-svn-id: trunk@33051 -
2016-02-04 20:32:09 +00:00
florian
368d77dfae
+ show -Miso in the help page
...
git-svn-id: trunk@33050 -
2016-02-04 20:22:36 +00:00
marco
79305ce4da
* mantis #29588 setblobdata moved over pointer ref type.
...
git-svn-id: trunk@33049 -
2016-02-04 20:19:39 +00:00
svenbarth
8287773b16
Reverted revision 33036. This feature is too controverse to be left in.
...
git-svn-id: trunk@33048 -
2016-02-04 19:26:51 +00:00
Jeppe Johansen
e20f2111b7
Check for nil before doing loopunrolling.
...
git-svn-id: trunk@33047 -
2016-02-04 15:53:36 +00:00
Jonas Maebe
9e3c7f175f
* load the address of envp before storing it, so we don't overwrite argv
...
with envp (fixes bug in fix from r32528, mantis #29587 for FPC 3.0.x
-- FPC 3.1.1+ uses si_*.inc instead, which already works correctly)
git-svn-id: trunk@33045 -
2016-02-04 11:37:29 +00:00
michael
bd49674975
* Fix bug #29576
...
git-svn-id: trunk@33044 -
2016-02-04 09:05:15 +00:00
nickysn
5aa8392e05
* i8086-msdos compilation fixed
...
git-svn-id: trunk@33043 -
2016-02-04 08:45:20 +00:00
sergei
d14c6b5e0a
* fcl-xml: fixed off-by-one error, preventing 'xmlns:foo' in DTD ATTLIST from being recognized as namespace declaration.
...
git-svn-id: trunk@33042 -
2016-02-02 17:17:08 +00:00
marco
475d388fdc
* misc single and double helpers. No endianess atm.
...
git-svn-id: trunk@33041 -
2016-02-02 09:25:31 +00:00
sergei
9b25ce2007
* fcl-xml: Fixed parsing DTD, whitespace after name is mandatory only if followed by ExternalID. Mantis #29569 .
...
git-svn-id: trunk@33040 -
2016-02-02 02:27:28 +00:00
Jonas Maebe
2e64c63993
* fixed dependencies for lineinfo unit after r33007
...
* also made lnfodwrf dependent on lineinfo for all platforms,
because both units implicitly depend on the exeinfo unit
and if both are compiled at the same time they can fall
over each other while writing its .ppu or .s file
git-svn-id: trunk@33039 -
2016-02-01 22:52:50 +00:00