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
pierre
fd612990e5
Fix number of frames requested when calling CaptureBackTrace function
...
git-svn-id: trunk@33038 -
2016-01-31 22:08:15 +00:00
svenbarth
05174f3e67
Fix for Mantis #29546 .
...
htypechk.pas, tcallcandidates:
* create_candidate_list: don't check whether the pd is a specialization if the owner is valid; happens if a generic method is used more than once (which should happen here and then :P )
+ added test
git-svn-id: trunk@33037 -
2016-01-31 17:14:44 +00:00
svenbarth
ed94ca4b24
Add support for IfThen() instrinsic that works like the if-statement in that it evaluates only the expression that is indeed executed.
...
The result type of the intrinsic is determined by the Then-expression to provide a bit of control. There might however be some situations in which this fails, for this exceptions need to be added (e.g. a constant string needs to be converted to a normal string).
compinnr.inc:
+ add new constant in_ifthen_x_y_z for the IfThen() intrinsic
psystem.pas:
+ create_intern_symbols: add symbol for IfThen() intrinsic
pexpr.pas:
* statement_syssym: parse parameters of IfThen() intrinsic and return corresponding inline node
ninl.pas, tinlinenode:
+ new method handle_ifthen() which converts the inline node to an if-node which assigns the expressions to a temp node that is returned
* pass_typecheck: handle in_ifthen_x_y_z using handle_ifthen()
* pass_1: in_ifthen_x_y_z does not need a first pass as it's already converted after the typecheck pass
+ added tests
git-svn-id: trunk@33036 -
2016-01-31 14:29:12 +00:00
svenbarth
1951b8aaaa
Fix threadvar handling. Basically a merge of r31913 of my packages branch.
...
rtl/inc/system.inc:
* provide a public alias for SetupEntryInformation so that it can be used in SysInit as well without globally exporting it
rtl/win/systlsdir.inc:
* Exec_tls_callback: call SetupEntryInformation before initalizing the heap and multithreading so that the threadvar tables can be referenced correctly
git-svn-id: trunk@33035 -
2016-01-30 23:10:35 +00:00
svenbarth
191a293e4a
Fix compilation of Mac OS X. Without the cdecl modifier we need the _
...
rtl/bsd/system.pp:
* use _PASCALMAIN instead of PASCALMAIN
git-svn-id: trunk@33034 -
2016-01-30 19:38:40 +00:00
pierre
987907d2a2
Call system.Flush only once within ReadFromStream nested in ExecuteFPC for interactve mode
...
git-svn-id: trunk@33033 -
2016-01-29 22:50:53 +00:00