Károly Balogh
69a502db37
instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution
...
git-svn-id: trunk@35233 -
2017-01-04 19:19:50 +00:00
lacak
67f38f374b
fcl-db: interbase: add TransactionHandle to TIBCursor (needed for further work) + unify naming (DatabaseHandle, TransactionHandle, StatementHandle)
...
git-svn-id: trunk@35232 -
2017-01-04 19:15:40 +00:00
florian
42cde51805
* ignore warnings caused by boolean expression simplification
...
git-svn-id: trunk@35231 -
2017-01-04 16:33:31 +00:00
florian
331bb95c5e
* simplify logical operations with constant booleans if the expresions involve no side effects
...
git-svn-id: trunk@35230 -
2017-01-04 16:33:29 +00:00
florian
3e2aff15fb
* short boolean evaluation is too expensive for simple nodes with no side effects, do full evaluation in this case
...
git-svn-id: trunk@35229 -
2017-01-04 16:33:27 +00:00
Károly Balogh
233185a4e5
rtti: make aligntoqword to always align to the same size as typinfo/AlignTypeData. this fixes m68k crashes in RTTI after r35218
...
git-svn-id: trunk@35228 -
2017-01-04 05:01:53 +00:00
Károly Balogh
f69bfe0ee4
atari: return a valid filehandle in do_open(). this code accidentally worked before with -O2, because the way the reg uses overlapped, but failed with -O-...
...
git-svn-id: trunk@35227 -
2017-01-04 04:53:41 +00:00
Károly Balogh
14c365e7b5
atari: align the tpasize to dword, seems like the section sizes are not guaranteed to be even (with vlink at least)
...
git-svn-id: trunk@35226 -
2017-01-04 04:50:15 +00:00
florian
2e779239ad
* fix rtti for targets with a max. C record alignment > 8 bytes
...
git-svn-id: trunk@35225 -
2017-01-03 18:44:50 +00:00
florian
53019b2470
* align code slightly better on i386-win32/x86_64-win64
...
git-svn-id: trunk@35224 -
2017-01-03 16:43:26 +00:00
florian
5aa32a1bbe
* align more jump targets
...
git-svn-id: trunk@35223 -
2017-01-03 16:43:24 +00:00
Károly Balogh
d8f7fd008e
atari: enable vlink for native builds as default
...
git-svn-id: trunk@35222 -
2017-01-03 13:58:49 +00:00
florian
a2838775cc
* interlocked methods with smallint parameters, resolves #31158
...
git-svn-id: trunk@35221 -
2016-12-31 19:42:47 +00:00
florian
be9f055c33
* fix rtti unit for targets with FPC_REQUIRES_PROPER_ALIGNMENT set
...
git-svn-id: trunk@35219 -
2016-12-30 15:32:58 +00:00
florian
0b82f71e8d
* take care of the fact that there are 32 bit abis (e.g. ARMHF) which align qword on 8 byte boundaries, resolves issue #31132
...
git-svn-id: trunk@35218 -
2016-12-30 15:32:56 +00:00
florian
673c0b3df3
* build unit update
...
git-svn-id: trunk@35217 -
2016-12-30 15:25:23 +00:00
Károly Balogh
419629c9b7
atari: some initial proof-of-concept AES unit, so first GEM app works
...
git-svn-id: trunk@35216 -
2016-12-30 10:33:21 +00:00
Károly Balogh
95274c1d7b
atari: enable apptype directive, and change exe extension when compiling a GUI app
...
git-svn-id: trunk@35215 -
2016-12-30 10:27:27 +00:00
Károly Balogh
114c90ecca
tosunits: first bits of the Atari TOS/GEM interface package
...
git-svn-id: trunk@35214 -
2016-12-30 01:23:09 +00:00
Károly Balogh
217307cd69
atari: revert back to unix dirsep, because thats what the 3rd party dev tools prefer
...
git-svn-id: trunk@35213 -
2016-12-29 16:15:37 +00:00
Károly Balogh
adb58ad467
atari: fixed newline and dirsep
...
git-svn-id: trunk@35212 -
2016-12-29 14:53:23 +00:00
joost
b9f8c73198
* Replaced the global GFFppkg instance at some locations
...
git-svn-id: trunk@35211 -
2016-12-28 22:35:56 +00:00
lacak
5015e85140
fcl-db: base:
...
- make TMemoField.CodePage public
- use RawByteString to avoid conversion from ACP to UTF8 before right TMemoField.CodePage is set
git-svn-id: trunk@35210 -
2016-12-28 20:14:22 +00:00
lacak
2ff52d7565
fcl-db: interbase: content of BLOBs do not convert to connection charset. Bug #31162
...
git-svn-id: trunk@35209 -
2016-12-28 18:22:09 +00:00
Károly Balogh
c663c09b7b
atari: implemented sysutils/ExecuteProcess
...
git-svn-id: trunk@35208 -
2016-12-28 16:22:19 +00:00
Károly Balogh
9ce4184dd9
atari: add fastload and fastram flags for TOS exes. ideally this should become a directive or some option at some point
...
git-svn-id: trunk@35207 -
2016-12-27 22:22:13 +00:00
Károly Balogh
d78b1ffc14
atari: implemented GetLocalTime in sysutils. initialized the return value of unimplemented functions
...
git-svn-id: trunk@35206 -
2016-12-27 21:38:54 +00:00
Károly Balogh
51e28ac717
atari: reworked param handling once more, based on the Amiga code, fixes argv/argc
...
git-svn-id: trunk@35205 -
2016-12-27 17:12:49 +00:00
Károly Balogh
35ddac66fc
m68k: fix frame pointer register on atari, and a few other non-amiga systems
...
git-svn-id: trunk@35204 -
2016-12-27 17:09:06 +00:00
marco
e6029140eb
* fix for #31073
...
git-svn-id: trunk@35203 -
2016-12-27 16:31:14 +00:00
marco
b33da605f3
* move tendian to objpas, alias in sysutils, types. mantis #31150
...
git-svn-id: trunk@35202 -
2016-12-27 14:30:13 +00:00
Károly Balogh
8760ff96e1
atari: new pascal startup code, reworked build, also ParamStr/ParamCount works now
...
git-svn-id: trunk@35201 -
2016-12-27 08:14:34 +00:00
Károly Balogh
2199f2a65e
atari: implemented some more bits of sysutils
...
git-svn-id: trunk@35200 -
2016-12-27 04:17:27 +00:00
Károly Balogh
8cff8892fe
atari: implemented a large chunk of the sysutils unit
...
git-svn-id: trunk@35199 -
2016-12-27 03:25:46 +00:00
Károly Balogh
c7576e4a3f
sysutils: enable FINDHANDLE_IS_POINTER for Amiga-like systems and Atari. this allows to remove some Pointer<->THandle casts from the amicommon code
...
git-svn-id: trunk@35198 -
2016-12-27 03:23:54 +00:00
Károly Balogh
a4eb61cffb
atari: fixed file rename, tio test passes now on TOS
...
git-svn-id: trunk@35197 -
2016-12-26 22:30:05 +00:00
Károly Balogh
3aecf60dff
atari: implemented and fixed some bits in the system unit, tdir test passes now on TOS
...
git-svn-id: trunk@35196 -
2016-12-26 20:59:33 +00:00
joost
1660634e7a
* Added ability to create fpmake-plugins.
...
git-svn-id: trunk@35195 -
2016-12-26 14:55:50 +00:00
Károly Balogh
7d2360eb0c
m68k: Test68000/Test68881 support boilerplate and special support for Amiga
...
git-svn-id: trunk@35194 -
2016-12-24 21:11:06 +00:00
marco
568048d8ac
* patch from #30405 , fix build after executeprocess merges.
...
git-svn-id: trunk@35193 -
2016-12-24 19:42:55 +00:00
Károly Balogh
49cec23ba6
for explicit paralocs, don't use the original explicit register as temp, but allocate a new register the same type instead. this fixes issues when the paralocs are also scratch regs and would get overwritten before the call itself
...
git-svn-id: trunk@35192 -
2016-12-24 17:43:46 +00:00
marco
2225f90dde
* fix for #31161
...
git-svn-id: trunk@35191 -
2016-12-24 17:42:58 +00:00
Jonas Maebe
a0c50336f3
* initialize tguid typed constants by searching for the named fields we need,
...
rather than assuming they appear in a fixed order in the symtable (so that
adding e.g. record methods doesn't mess things up)
git-svn-id: trunk@35190 -
2016-12-23 20:17:09 +00:00
florian
7f375ac7bc
* white space fixes
...
git-svn-id: trunk@35189 -
2016-12-23 17:04:30 +00:00
svenbarth
4717d78ac3
* as restructuring TTypeData to correctly layout tkBool for 64-bit Booleans is basically impossible at least add a comment for tkBool to the tkInt64 and tkQWord branches
...
git-svn-id: trunk@35188 -
2016-12-23 16:26:16 +00:00
svenbarth
150441627a
+ add test for Boolean RTTI
...
git-svn-id: trunk@35187 -
2016-12-23 16:05:57 +00:00
svenbarth
7023a6f95b
* have the remaining 7 Boolean types also use tkBool as typekind instead of tkInteger
...
git-svn-id: trunk@35186 -
2016-12-23 16:05:14 +00:00
svenbarth
dbbb6dca32
* correctly treat Boolean64 as otUQword and QWordBool as otSQWord (the former having QWord range 0..1, the latter Low(Int64)..High(Int64))
...
git-svn-id: trunk@35185 -
2016-12-23 16:04:12 +00:00
svenbarth
26e7d005aa
* use Low(LongInt) and Max(LongInt) as min/max values for the RTTI of the ByteBool, WordBool and LongBool types to be Delphi compatible; the range of the defs is not changed to avoid the application of range checks
...
git-svn-id: trunk@35184 -
2016-12-23 16:01:59 +00:00
svenbarth
bec40e9a4a
* fix for Mantis #31146 : update German message files courtesy of Karl-Michael Schindler (the text "CheckPointer-Funktion" was also changed to "CheckPointer-Option" in both files for consistency with the English file)
...
git-svn-id: trunk@35183 -
2016-12-23 15:57:29 +00:00