Commit Graph

49937 Commits

Author SHA1 Message Date
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
svenbarth
8c253703f0 * regenerate after r35181
git-svn-id: trunk@35182 -
2016-12-23 15:55:24 +00:00
svenbarth
88a0d8bc25 * use "CheckPointer option" instead of "CheckPointer function" for consistency with the other CheckPointer related message
git-svn-id: trunk@35181 -
2016-12-23 15:54:28 +00:00
svenbarth
73ed1a9bf1 * fix for Mantis #31140: applied patch by Maciej Izak; this way it's clear what purpose ManagedFldCount has in FPC compared to Delphi
Commit message of patch:

+ New field TotalFieldCount for TTypeData
* Mark ManagedFldCount as deprecated
* Adjusted test trtti12.pp

git-svn-id: trunk@35180 -
2016-12-23 15:32:44 +00:00
svenbarth
8e765ef807 * extend test for 64-bit subranges
git-svn-id: trunk@35179 -
2016-12-23 15:11:38 +00:00
Jonas Maebe
00751d257e * support bootstrapping with FPC 3.0.2
git-svn-id: trunk@35178 -
2016-12-22 20:01:58 +00:00
marcus
391eccc562 Ami-extra: added muihelper macros, marked as obsolete but widely used
git-svn-id: trunk@35177 -
2016-12-21 22:13:13 +00:00
marcus
8f397594df Ami-extra: more text creation macros
git-svn-id: trunk@35176 -
2016-12-21 20:02:10 +00:00
svenbarth
2acf542737 * extend TParamFlag by pfConstRef which is set for constref parameters
* extend test trtti9.pp accordingly

git-svn-id: trunk@35175 -
2016-12-20 21:37:07 +00:00
svenbarth
1553aa5639 * declare the first field of TProcedureParam as TParamFlags to avoid potential problems if more than 8 entries should be used (especially if some day the hidden Self and High parameters should be written)
* rename first field of TProcedureParam to ParamFlags and introduce a property Flags for backwards and Delphi compatibility

git-svn-id: trunk@35174 -
2016-12-20 21:13:04 +00:00
marcus
e2bb22e106 arosunits: more 64bit fixes for Zune message structures
git-svn-id: trunk@35173 -
2016-12-20 20:49:36 +00:00