Commit Graph

49961 Commits

Author SHA1 Message Date
svenbarth
0ed00f64f5 * move writing of the calling convention into its own method
git-svn-id: trunk@35249 -
2017-01-06 20:55:25 +00:00
svenbarth
e3f10500b0 * move writing of the methodkind into its own function (and return the value as its a bit more complicated to calculate than merely checking proctypeoption)
git-svn-id: trunk@35248 -
2017-01-06 20:46:31 +00:00
lacak
18f081150d fcl-db: interbase: detect BLOB CHARACTER SET NONE and set TMemoField.CodePage to CP_NONE in this case. Related to #31162
git-svn-id: trunk@35245 -
2017-01-06 08:39:15 +00:00
Károly Balogh
49fc799e97 atari: section smartlinking support for atari. needs vlink nightly
git-svn-id: trunk@35244 -
2017-01-06 02:44:12 +00:00
Károly Balogh
48744d0abd amiga: section smartlinking support for amiga. needs vlink nightly
git-svn-id: trunk@35243 -
2017-01-05 23:08:08 +00:00
Károly Balogh
48de52f41b morphos: added section smartlinking support using vlink. needs vlink nightly
git-svn-id: trunk@35242 -
2017-01-05 22:39:54 +00:00
Károly Balogh
95cb456951 powerpc: set af_smartlink_sections for vasm
git-svn-id: trunk@35241 -
2017-01-05 22:30:57 +00:00
Károly Balogh
3e4c905813 m68k: make vasm to use ELF objects on amiga, enabled smartlink sections
git-svn-id: trunk@35240 -
2017-01-05 22:29:08 +00:00
pierre
1b1fe68f92 Fix aarch64 cycle after constant parser simplification change in rev 35229-35230
git-svn-id: trunk@35239 -
2017-01-05 13:41:44 +00:00
Károly Balogh
ab5b9982ee aros: enabled internal sysinit for i386-aros
git-svn-id: trunk@35238 -
2017-01-05 00:25:10 +00:00
Károly Balogh
d084bd0d3b aros: implemented pascal sysinit, will be shared across all cpus. also refactored the RTL build
git-svn-id: trunk@35237 -
2017-01-05 00:21:59 +00:00
Károly Balogh
789fb552d5 aros: fixed striping and added section smartlinking support
git-svn-id: trunk@35236 -
2017-01-04 22:59:05 +00:00
florian
3706ab4e44 * fix formatting of the writing of the fraction
git-svn-id: trunk@35235 -
2017-01-04 22:57:43 +00:00
florian
466d26b5ef * copyright notice updated to 2017
git-svn-id: trunk@35234 -
2017-01-04 21:32:19 +00:00
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