Commit Graph

49382 Commits

Author SHA1 Message Date
michael
6610518d73 * Added dependency on fcl-base
git-svn-id: trunk@34654 -
2016-10-08 12:01:46 +00:00
nickysn
35b0201002 + added an unsigned counterpart to tpointerdef.pointer_arithmetic_it_type (needed by inc/dec)
git-svn-id: trunk@34653 -
2016-10-08 11:45:24 +00:00
michael
95eb4ed2eb * Added jsminifier unit
git-svn-id: trunk@34652 -
2016-10-08 08:14:42 +00:00
michael
3a3f490234 * Added copyright header
git-svn-id: trunk@34651 -
2016-10-08 08:11:41 +00:00
nickysn
5501061115 * use sizesinttype instead of ptrsinttype for the $length and $mlength fields,
when creating the $pvmt system type

git-svn-id: trunk@34650 -
2016-10-08 00:48:34 +00:00
nickysn
163d54c33e * emit a sizeint-sized string length for long string constants in the DWARF
debug info, instead of using create_pint

git-svn-id: trunk@34649 -
2016-10-07 22:36:48 +00:00
joost
fde6b0b53b * Do not scan for available packages while checking for fpmkunit dependencies
because those scans could depend on compilation of the fpmkunit itself.
   For the same reason the the fpmkunit-dependencies are checked now before 
   the 'normal' scan for available/installed packages.

git-svn-id: trunk@34648 -
2016-10-07 21:27:25 +00:00
joost
47f1359143 * Use the FPMakeOptions while scanning for fpmkunit dependencies
git-svn-id: trunk@34647 -
2016-10-07 21:04:25 +00:00
nickysn
d28963f434 * emit the heap and stack sizes via Tai_const.Create_int_dataptr, instead of
using create_pint

git-svn-id: trunk@34646 -
2016-10-07 20:58:50 +00:00
nickysn
7d15b688e8 * TInterfaceEntry changed to a variant record, that overlays a CodePointer on
top of the IOffset: SizeUInt field, because it is sometimes used as a
  CodePointer (for etStaticMethodResult and etStaticMethodClass) and sometimes
  as a SizeInt and these two types can be of different size in certain i8086
  memory models

git-svn-id: trunk@34645 -
2016-10-07 20:18:02 +00:00
joost
1ec64844c9 * Give a warning when the internal-fpmkunit is being used
git-svn-id: trunk@34644 -
2016-10-07 18:08:07 +00:00
nickysn
bacea005fc * emit a sizeint, not a ptruint for TableCount in tnodeutils.InsertRuntimeInitsTablesTable as well
git-svn-id: trunk@34643 -
2016-10-07 17:21:52 +00:00
joost
484989df47 * Mark packages with dependencies which are missing completely as broken
git-svn-id: trunk@34642 -
2016-10-07 16:52:22 +00:00
Jonas Maebe
233622157c * don't attempt to load the VMT of a niln when taking the address of a
class method (mantis #30706)

git-svn-id: trunk@34641 -
2016-10-07 16:41:32 +00:00
joost
350ca0063e * Only pass repositories with _installed_ packages to fpmake
git-svn-id: trunk@34640 -
2016-10-07 14:46:23 +00:00
joost
6d7cfaf782 * Solved exception after a package has been installed
git-svn-id: trunk@34639 -
2016-10-07 14:45:26 +00:00
nickysn
16dfb839d8 * emit a sizeint, not a ptruint for TableCount in tnodeutils.InsertResourceTablesTable
git-svn-id: trunk@34638 -
2016-10-07 13:49:48 +00:00
nickysn
019f904be8 - removed the FPC 2.6.x compatibility ifdefs from tinterfaceentry
git-svn-id: trunk@34637 -
2016-10-06 21:10:40 +00:00
joost
8571e9f82a * Fixed building packages in directories wich do not match the package-name
git-svn-id: trunk@34636 -
2016-10-06 18:15:30 +00:00
nickysn
7fceb8aa1f * use .Create_sizeuint and sizeuinttype when writing tinterfacetable.EntryCount
git-svn-id: trunk@34635 -
2016-10-06 14:23:37 +00:00
yury
26ffffa683 * pas2kni: Added Enum.equals(int) to the Java part.
git-svn-id: trunk@34634 -
2016-10-06 10:21:04 +00:00
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