Commit Graph

49399 Commits

Author SHA1 Message Date
michael
caeaaad986 * Helper should not be a token
git-svn-id: trunk@34671 -
2016-10-08 17:10:11 +00:00
joost
295c274940 * Determine the path of the <currentdirectory> package within the
PackageStructure. Set it to the current-directory at application start.
   This because the creation of manifest files could change the current
   directory while scanning for packages.

git-svn-id: trunk@34670 -
2016-10-08 16:56:20 +00:00
joost
1d2dca50a9 * FindInstalledPackages nowadays scans for both compileroptions at once
git-svn-id: trunk@34669 -
2016-10-08 16:52:08 +00:00
michael
0437bc4c8e * Support for type helpers, low()..High() ranges, static fields
git-svn-id: trunk@34668 -
2016-10-08 15:51:25 +00:00
Károly Balogh
f4bbb229fa rtl-extra: enabled for atari
git-svn-id: trunk@34667 -
2016-10-08 14:02:33 +00:00
Károly Balogh
51cb5aefbe m68k: use target_info.stackalign to align the stack instead of expecting a hardwired longword alignment. this is required for atari, and beneficial on all '000 targets
git-svn-id: trunk@34666 -
2016-10-08 14:01:32 +00:00
nickysn
657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of
open arrays/dynarrays/string-like char arrays, etc.

git-svn-id: trunk@34665 -
2016-10-08 13:56:24 +00:00
Károly Balogh
579e1afe83 atari: an incomplete, but still large cleanup of the atari system unit
git-svn-id: trunk@34664 -
2016-10-08 13:55:59 +00:00
Károly Balogh
8e6ac69553 atari: updated makefiles
git-svn-id: trunk@34663 -
2016-10-08 13:32:43 +00:00
Károly Balogh
7962ce1c54 atari: include xbios and gemdos from sysos.inc
git-svn-id: trunk@34662 -
2016-10-08 13:25:24 +00:00
Károly Balogh
71a4087bc5 atari: new file for xbios defines
git-svn-id: trunk@34661 -
2016-10-08 13:24:40 +00:00
Károly Balogh
05a35a2a16 atari: cleaned up sysdir.inc. it was a combination of old code and copy-pasted code from Amiga
git-svn-id: trunk@34660 -
2016-10-08 12:55:41 +00:00
Károly Balogh
74516f90d3 atari: add a new Error to InOutRes function
git-svn-id: trunk@34659 -
2016-10-08 12:49:10 +00:00
Károly Balogh
1c0a370ce2 atari: rewrote system file functions. no inline assembly, updated to current standards and RTL internals
git-svn-id: trunk@34658 -
2016-10-08 12:48:23 +00:00
Károly Balogh
8166002c8a atari: align some variables properly in the startup code
git-svn-id: trunk@34657 -
2016-10-08 12:47:21 +00:00
Károly Balogh
91a8165ddc atari: added two more directory functions
git-svn-id: trunk@34656 -
2016-10-08 12:42:31 +00:00
nickysn
d6007d650a * use tpointerdef.pointer_arithmetic_int/uint_type in tinlinenode.pass_typecheck
for handling inc/dec(pointer, int)

git-svn-id: trunk@34655 -
2016-10-08 12:06:57 +00:00
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