Commit Graph

49611 Commits

Author SHA1 Message Date
Jonas Maebe
9727f289b1 + tcalo_apply_constalign option to specify that the alignment should be
modified by applying user alignment settings (so it can be only done for
    user-defined data, not not for internally generated data)
   o set this option for user-defined data

git-svn-id: trunk@34633 -
2016-10-06 06:25:05 +00:00
Jonas Maebe
4c9903455e - don't apply const_align() to alignments passed to high level typed
constant builder, it will do so itself if necessary

git-svn-id: trunk@34632 -
2016-10-06 06:25:02 +00:00
michael
4987bc5c98 * More patches from Mattias Gaertner:
+ Resolving enums, sets, constructors, functions without params, typed const,
  + built-in functions length, setlength, include, exclude and ord

git-svn-id: trunk@34631 -
2016-10-05 22:16:56 +00:00
nickysn
f6356e03e4 * use aluuinttype, instead of sinttype, when emitting TableCount and InitCount
for the InitFinalTable, because they are declared as ALUUInt in the RTL and
  sinttype doesn't always correspond to the ALU size (it differs on platforms
  with the combination of a 64-bit ALU and 32-bit address space)

git-svn-id: trunk@34629 -
2016-10-04 22:57:06 +00:00
nickysn
acfe6d2f2c + added alusinttype and aluuinttype to symdef, which correspond to the ALU size,
sizeof(aint) and the ALUSInt/ALUUInt types in the RTL

git-svn-id: trunk@34628 -
2016-10-04 22:36:20 +00:00
nickysn
5e7ba4a893 * the type of FieldOffset in the TFieldInfo rtti structure changed to SizeUInt,
because it represents an offset _within_ a structure

git-svn-id: trunk@34627 -
2016-10-04 21:57:29 +00:00
nickysn
8672d25e9a * use tai_const.create_nil_dataptr instead of .create_pint(0) when writing the
leading nils in the enum rtti in lookup mode

git-svn-id: trunk@34626 -
2016-10-04 21:15:36 +00:00
joost
174163ad81 * Added ability to add the location of directories containing packages, to
make all packages in those directories available to fppkg.

git-svn-id: trunk@34625 -
2016-10-04 19:46:35 +00:00
nickysn
4dc35b0996 * use sizeint when writing the element size and count for the array rtti
git-svn-id: trunk@34624 -
2016-10-04 17:38:18 +00:00
nickysn
f62be8f6e6 * use sizesinttype instead of ptrsinttype to refer to vInstanceSize and
vInstanceSize2 in the VMT

git-svn-id: trunk@34623 -
2016-10-04 15:25:13 +00:00
nickysn
6eeb6ee95a * also use sizesinttype, instead of ptrsinttype for the string reference count
and length in ttai_typedconstbuilder.get_dynstring_rec

git-svn-id: trunk@34622 -
2016-10-04 14:31:49 +00:00
nickysn
b3deb8a152 * use sizeint, instead of pint/ptrsinttype for emitting the reference count and
length of string constants

git-svn-id: trunk@34621 -
2016-10-04 14:23:44 +00:00
nickysn
710c830859 + added constructors taiconst.Create_sizeint and .Create_sizeint_unaligned. They
create constants, corresponding to the SizeInt type for the current target and
  are intended to eventually replace .Create_pint, since the pint type is now
  deprecated (because it does not correspond to the size of a pointer in certain
  i8086 memory models).

git-svn-id: trunk@34620 -
2016-10-04 14:08:33 +00:00
nickysn
35b2ffa872 + added types sizesinttype and sizeuinttype, corresponding to the SizeInt and
SizeUInt types for the target platform

git-svn-id: trunk@34619 -
2016-10-04 13:40:02 +00:00
michael
1cbfa35ad2 * Patch from Laco to update to version 3.14.2
git-svn-id: trunk@34618 -
2016-10-04 12:33:46 +00:00
Károly Balogh
72424073d7 rtl-extra: objects unit actually doesn't seem to depend on dos
git-svn-id: trunk@34617 -
2016-10-04 10:58:17 +00:00
Károly Balogh
5cec4b565b atari: use gemdos malloc/free as underlying functions for the heap
git-svn-id: trunk@34616 -
2016-10-04 10:31:49 +00:00
Károly Balogh
50251a0fee atari: disabled some more packages
git-svn-id: trunk@34615 -
2016-10-04 10:14:58 +00:00
Károly Balogh
4133847225 atari: disabled some packages
git-svn-id: trunk@34614 -
2016-10-04 10:12:40 +00:00
nickysn
f76722b6c3 * fixed i8086's tcpupointerdef.pointer_arithmetic_int_type and
.pointer_subtraction_result_type methods after r34607

git-svn-id: trunk@34613 -
2016-10-04 00:06:50 +00:00
nickysn
481a8ec58d * for pointers, converted to arrays, use a newly added virtual method
tpointerdef.converted_pointer_to_array_range_type to obtain their integer
  range type, instead of using ptrsinttype

git-svn-id: trunk@34612 -
2016-10-04 00:01:06 +00:00
Károly Balogh
003487baab m68k: code generation for atari syscalls
git-svn-id: trunk@34611 -
2016-10-03 23:39:36 +00:00
Károly Balogh
5db02f4202 atari: initial support for TOS syscalls
git-svn-id: trunk@34610 -
2016-10-03 23:37:30 +00:00
Károly Balogh
7bf2055ef9 atari: added an include file containing GEMDOS calls and other defines, to be used in the RTL
git-svn-id: trunk@34609 -
2016-10-03 23:12:05 +00:00
nickysn
e847971477 * use the actual ValSInt type from the system unit, instead of ptrsinttype when
handling the code parameter of val()

git-svn-id: trunk@34608 -
2016-10-03 21:45:08 +00:00
nickysn
dd12e0afb2 * set ptrsinttype and ptruinttype according to voidpointertype.size, instead of
using the cpuXXbitaddr define, so it now really reflects the default pointer
  size in the different i8086 memory models

git-svn-id: trunk@34607 -
2016-10-03 20:09:16 +00:00
nickysn
cc234e7de9 + when the -vp option is specified, also print the node tree in tree.log right
before pass 2, since there are now quite a lot of changes to the tree
  happening after pass 1.

git-svn-id: trunk@34606 -
2016-10-03 14:15:59 +00:00
lacak
59246b402c fcl-db: odbc: add to ConnOptions +sqSupportEmptyDatabaseName because TODBCConnection does not require it and used empty with TSQLConnector raises unwanted exception in DoInternalConnect.
git-svn-id: trunk@34605 -
2016-10-03 10:11:50 +00:00
Károly Balogh
ff09cb569d atari: the Atari GNU AS won't tolerate .section .fpc, much like the amiga one
git-svn-id: trunk@34604 -
2016-10-03 04:06:49 +00:00
Károly Balogh
311f6dbf84 atari: fixed exe extension typo.
git-svn-id: trunk@34603 -
2016-10-03 04:06:04 +00:00
Károly Balogh
8d56d60d78 atari: added an external linker implementation, supporting GNU LD and VLink in theory. however the GNU LD version I have segfaults when I try to link the executable...
git-svn-id: trunk@34602 -
2016-10-03 03:54:56 +00:00
Jonas Maebe
a3afefc6cb + test for mantis #27522 (fixed in r29811)
git-svn-id: trunk@34601 -
2016-10-02 21:51:31 +00:00
Jonas Maebe
906994258e * updated to r417 of the common Mac OS X interfaces:
* CFComparisonResult is an alias for CFIndex since Mac OS X 10.5

git-svn-id: trunk@34600 -
2016-10-02 13:36:32 +00:00
Jonas Maebe
868370d727 + InterlockedCompareExchangePointer() alias for InterlockedCompareExchange(pointer)
(mantis #29964)

git-svn-id: trunk@34599 -
2016-10-02 12:57:07 +00:00
Jonas Maebe
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
Jonas Maebe
94d7a7274b * compare floating point default parameter values bytewise instead of as
floating point values, so that NaNs can also be compared (mantis #30299)

git-svn-id: trunk@34597 -
2016-10-02 12:56:49 +00:00
Jonas Maebe
f5973eaddd - removed unnecessary glGetString(GL_EXTENSIONS) calls (mantis #30663,
patch by Paul Michell)

git-svn-id: trunk@34596 -
2016-10-02 12:56:46 +00:00
Jonas Maebe
37a365c236 * update AllOk parameter of Load_GL_version_1_2x() when loading an extension
fails (mantis #30663, patch by Paul Michell)

git-svn-id: trunk@34595 -
2016-10-02 12:56:43 +00:00
Jonas Maebe
de60bfab9c * make the string data of pchar constants read-only (mantis #30666)
git-svn-id: trunk@34594 -
2016-10-02 12:56:40 +00:00
marcus
559a5982f9 Morphunits: layers unit, types fixed, v51 functions/structures added
git-svn-id: trunk@34593 -
2016-10-02 12:49:57 +00:00
marcus
21b84eacaf Morphunits: utility unit, types fixed, missing varargs versions added
git-svn-id: trunk@34592 -
2016-10-02 11:45:23 +00:00
Károly Balogh
33602807f5 amicommon: set the return value of SysErrorMessage to something default. this is consistent with some other platforms
git-svn-id: trunk@34591 -
2016-10-02 02:03:22 +00:00
Károly Balogh
bfe904fb16 atari: dummy sysutils unit. to be implemented.
git-svn-id: trunk@34590 -
2016-10-02 01:58:32 +00:00
Károly Balogh
175cc52e8d atari: added classes unit and a dummy threading implementation
git-svn-id: trunk@34589 -
2016-10-02 01:33:26 +00:00
Károly Balogh
39f0b9c888 m68k: added atari to the .section exception list in the GNU AS writer
git-svn-id: trunk@34588 -
2016-10-01 23:38:47 +00:00
marcus
2ec510e368 Morphunits: intuition unit rewritten, types fixed, missing varargs versions added
git-svn-id: trunk@34587 -
2016-10-01 21:08:18 +00:00
Károly Balogh
39f043c7fd atari: removed the ancient readme, stating there's no Makefile, as there's one now apparently
git-svn-id: trunk@34586 -
2016-10-01 16:39:48 +00:00
joost
cc70bbbd1f * Removed double directory-separator
git-svn-id: trunk@34585 -
2016-10-01 14:56:10 +00:00
Károly Balogh
def4df9791 m68k: fixed a bug, where during during unaligned stores, the base address was preinitalized to a temp address register from the wrong reference, causing havoc
git-svn-id: trunk@34584 -
2016-10-01 14:43:47 +00:00
marcus
c0fb39607f Morphunits: agraphics unit rewritten, types fixed, missing varargs versions added
git-svn-id: trunk@34583 -
2016-09-30 17:35:18 +00:00