Commit Graph

1789 Commits

Author SHA1 Message Date
yury
376174d7ac * pas2jni: Fixed error handling of ppudump.
git-svn-id: trunk@36296 -
2017-05-22 15:35:17 +00:00
pierre
a8ef8c852d Put fpcsubarch-fpcmemorymodel directory search before general directories for i8086 CPU
git-svn-id: trunk@36278 -
2017-05-21 09:02:57 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
pierre
14ec66c649 Regenerated files after 35825: Follow-up to commit 35817: Extend do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35826 -
2017-04-18 06:33:34 +00:00
pierre
94ed85fa64 Follow-up to commit 35817: Extend do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35825 -
2017-04-18 06:30:42 +00:00
pierre
e6d5bd049f Regenerated after commit 35817: * Do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35818 -
2017-04-17 10:06:41 +00:00
pierre
19148275db * Do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35817 -
2017-04-17 10:06:11 +00:00
michael
6bdda7b85f * Fix bug #31665
git-svn-id: trunk@35800 -
2017-04-15 12:49:26 +00:00
yury
252f9ef153 * pas2jni: Support for class references.
- Fixed inclusion of unneeded pointer types.

git-svn-id: trunk@35779 -
2017-04-11 18:34:58 +00:00
joost
2aa623964e * Fix the location where the .cod-files are installed on unices.
git-svn-id: trunk@35775 -
2017-04-11 16:30:52 +00:00
joost
7b3275e2cd * Added missing slash in fppkg.cfg-template
git-svn-id: trunk@35759 -
2017-04-09 17:57:42 +00:00
yury
ea61dee00b * ppudump: Mark objects with abstract methods in the JSON/XML output.
* pas2jni: Properly handle inherited classes when an ancestor has abstract methods.

git-svn-id: trunk@35746 -
2017-04-07 09:53:54 +00:00
florian
88e31dc8c3 * revision.inc updated
git-svn-id: trunk@35658 -
2017-03-25 19:05:14 +00:00
michael
a1303eecde * Fixed from Mattias Gaertner
pasresolver: checking all varargs arguments
  pasresolver: checking arguments are readable
  fppas2js: fixed using externals from other units

git-svn-id: trunk@35631 -
2017-03-20 07:31:39 +00:00
Károly Balogh
ca9e2f5e5d wasm: added target to fpcmake
git-svn-id: trunk@35592 -
2017-03-15 14:53:04 +00:00
nickysn
df390b7950 * update fpcm/revision.inc
git-svn-id: trunk@35549 -
2017-03-09 15:28:52 +00:00
pierre
2805bc8500 Regenerated after: Remove obsolete packages/base and packages/extra in PACKAGESDIR variable
git-svn-id: trunk@35530 -
2017-03-06 10:30:53 +00:00
pierre
bd45a4ecfa Remove obsolete packages/base and packages/extra in PACKAGESDIR variable
git-svn-id: trunk@35529 -
2017-03-06 10:29:58 +00:00
michael
78e7f59982 * Patch from Mattias Gaertner
- external vars
    - untyped parameters
    - varargs
    - SetLength(s,len) is now converted to s.length=len
    - destructor now clears references
    - dynamic arrays now are never null.
      - anArr:=nil  becomes  anArr = []
      - anArr=nil becomes anArr.length==0
      - passing nil to an array parameter passes []
      - length(anArr) becomes anArr.length
      - High(anArr) becomes anArr.length-1
    - sets now uses references when assigning and passing to a parameter.
      Far less clone operations.

git-svn-id: trunk@35505 -
2017-03-01 17:41:16 +00:00
michael
0da38fd281 * Patch from Mattias Gaertner:
- local const: declare as local var in singleton parent function 
  - give procedure overloads in module unique names by appending $1, $2, ...
  - give nested procedure overloads unique names by appending $1, $2, ...
  - give reintroduced/overloaded class members unique names by appending $1, $2, ...
  - record operators = and <>
  - static arrays
    - range: enumtype
    - init as arr = rtl.arrayNewMultiDim([dim1,dim2,...],value)
    - init with expression from const array
    - length(1-dim array)
    - low(1-dim array), high(1-dim array)
  - property TargetProcessor
  - ECMAScript6:
    - use 0b for binary literals, and 0o for octal literals

git-svn-id: trunk@35491 -
2017-02-28 13:23:49 +00:00
florian
81c5d63d4e * do not generate var paras for void* if -w is used, resolves #31425
git-svn-id: trunk@35475 -
2017-02-23 22:03:46 +00:00
michael
2d36af85bb * Patch from Mattias Gaertner with various improvements:
+ changed varname/funcname properties to string, saving many conversion
  + array of record
  + pass by reference
    - pass local var to a var/out parameter
    - pass variable to a var/out parameter
    - pass reference to a var/out parameter
    - pass array element to a var/out parameter
  + proc types
    - implemented as immutable wrapper function
    - assign := nil, proctype (not clone), @function, @method
    - call  explicit and implicit
    - compare equal and notequal with nil, proctype, address, function
    - assigned(proctype)
    - pass as argument
    - methods
    - mode delphi: proctype:=proc
    - mode delphi: functype=funcresulttype
  + class-of
    - assign :=   nil, var
    - call class method
    - call constructor
    - operators =, <>
    - class var, property, method
    - Self in class method
    - typecast

git-svn-id: trunk@35472 -
2017-02-22 20:59:23 +00:00
michael
7702ebb261 * Patch from Mattias Gaertner; SetCharAt
git-svn-id: trunk@35429 -
2017-02-12 15:17:12 +00:00
joost
09f415dc81 * Refactored so that TFPCustomPackagesStructure has access to the (compiler-)options
git-svn-id: trunk@35427 -
2017-02-12 14:18:20 +00:00
michael
89c2d0a9dc * Fix AVs when no description nodes available
git-svn-id: trunk@35420 -
2017-02-11 10:10:59 +00:00
michael
f5b76b62fe * Patch from Mattias Gaertner:
- set operator functions
  - dyn array can be null

git-svn-id: trunk@35418 -
2017-02-10 23:26:14 +00:00
michael
eaa02f2f88 * Basic RTL for pas2js generated programs
git-svn-id: trunk@35384 -
2017-02-04 11:31:55 +00:00
michael
180b93b326 * JSON2pas command-line tool added
git-svn-id: trunk@35297 -
2017-01-14 10:22:16 +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
marco
d2fe24ae20 * fix some more occured->occured
git-svn-id: trunk@35120 -
2016-12-13 12:55:32 +00:00
marcus
f426f8d225 Recreated fpcres Makefile (needed for arm-aros)
git-svn-id: trunk@34978 -
2016-11-27 10:56:56 +00:00
michael
629d8277da * Patch from Michalis Kamburelis to fix scanning of $ELSE (bug ID 31007)
git-svn-id: trunk@34965 -
2016-11-26 13:32:52 +00:00
yury
ed6d993008 * pas2jni: Proper boolean handling - jboolean must be 0/1.
git-svn-id: trunk@34954 -
2016-11-23 14:39:46 +00:00
yury
d5cc2e83cf * pas2jni: Use cthreads first.
git-svn-id: trunk@34953 -
2016-11-23 14:21:49 +00:00
yury
ea16dfdcf8 * pas2jni: Suppress false warnings in Java code.
git-svn-id: trunk@34952 -
2016-11-23 13:49:04 +00:00
yury
4dcc9de92f * pas2jni: More clean Java code for sets.
git-svn-id: trunk@34951 -
2016-11-23 13:33:35 +00:00
yury
565ad7f852 * pas2jni: Do not generate unneeded imports.
git-svn-id: trunk@34863 -
2016-11-10 15:43:13 +00:00
yury
78914d9b20 * pas2jni: Do not include array element types from arrays, which is not processed.
git-svn-id: trunk@34862 -
2016-11-10 14:39:58 +00:00
yury
78abcbd4ca * pas2jni: Improved support for interfaces. Proper typecasting of an object instance to an interface.
git-svn-id: trunk@34848 -
2016-11-08 14:43:52 +00:00
yury
d507456560 * pas2jni: Removed redundant ;.
git-svn-id: trunk@34845 -
2016-11-07 23:54:23 +00:00
yury
21234e413a * pas2jni: Fixed finalization of TP-style objects.
git-svn-id: trunk@34844 -
2016-11-07 23:30:40 +00:00
yury
3fd3ff9527 * pas2jni: Fixed double memory freeing when using method pointers in some rare cases.
git-svn-id: trunk@34843 -
2016-11-07 21:42:24 +00:00
yury
8e8521c43e * pas2jni: Fixed memory leaks when using inherited TP-style objects.
git-svn-id: trunk@34842 -
2016-11-07 21:19:17 +00:00
yury
d9e00bf43c * pas2jni: Use mswindows define instead of windows to be Delphi compatible.
git-svn-id: trunk@34841 -
2016-11-07 20:31:13 +00:00
yury
df95a73993 * pas2jni: Do not hard code record sizes in Java part. Instead get actual record sizes from the native code. It allows to use the same generated Java code for native libraries compiled for different CPU architectures.
git-svn-id: trunk@34840 -
2016-11-07 20:28:15 +00:00
pierre
686634d563 Regenerate Makefile with up-to-date fpcmake
git-svn-id: trunk@34831 -
2016-11-07 11:11:32 +00:00
florian
f4d1331bbe * fpcmake has been updated
git-svn-id: trunk@34812 -
2016-11-06 15:20:55 +00:00
Károly Balogh
7c1c964c28 arm-aros: enabled basic AROS on ARM build
git-svn-id: trunk@34811 -
2016-11-06 14:40:02 +00:00
marcus
86940dfb32 AROS: added arm-aros target to compiler and fpcmake
git-svn-id: trunk@34805 -
2016-11-06 10:51:45 +00:00
michael
e198d9bf06 * Patch from Graeme Geldenhuys to implement skip attribute in linear output writers (bug ID 30741)
git-svn-id: trunk@34752 -
2016-10-22 13:37:33 +00:00
michael
1552f34251 * Allow simple preprocessing of the project file using {{macro}} substitution. Needed for e.g. variable source dirs
git-svn-id: trunk@34749 -
2016-10-22 08:12:31 +00:00
joost
d08a747c29 * Create fppkg-config files in the new format (v5)
git-svn-id: trunk@34729 -
2016-10-16 15:43:27 +00:00
michael
1d16ecbf0d * Better detection of effective visibility of an element
git-svn-id: trunk@34694 -
2016-10-09 11:25:58 +00:00
michael
fd71e3193d * Do not write elements for default values
git-svn-id: trunk@34676 -
2016-10-08 19:05:07 +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
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
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
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
michael
a55c176bef * Patch from Mattias Gaertner: Record support, detect duplicate identifiers, bug fixes
git-svn-id: trunk@34520 -
2016-09-13 08:01:37 +00:00
joost
79d2d05c58 * Replaced the local- and global-repositories with a list of repositories.
A repository can contain installed or packages available for installation.
   The repositories have a helper-class that contains information about
   where the packages are installed and such. Things like installing a 
   package from the current-directory are done using temporary 'fake'
   repositories. The TpkgFPpkg-class keeps track of all repositories
   and packages.

git-svn-id: trunk@34503 -
2016-09-10 21:15:26 +00:00
michael
8ef43da4ee * Some improvements from yang jixian (bug ID 30270)
git-svn-id: trunk@34486 -
2016-09-10 17:21:43 +00:00
joost
9487b46b8a * Added new structure to hold the global options. The goal is to get rid
of all globals and to contain all fppkg-related stuff into this
   structure. So it will be easier to embed fppkg into other applications.

git-svn-id: trunk@34400 -
2016-08-30 20:09:34 +00:00
yury
6b25cef3ea * pas2jni: Reverted r34367 and mark undesired event handler creation "deprecated".
git-svn-id: trunk@34369 -
2016-08-22 13:12:19 +00:00
yury
e81cc4574f * pas2jni: Removed option to create event handler by passing Java method method name as a string. It is not safe, since the target method is treated as unused by Java and the method may be removed from the resulting application.
git-svn-id: trunk@34367 -
2016-08-22 10:13:45 +00:00
yury
c4347e28b9 * pas2jni: Fixed handling of identical names of classes, proctypes when they are defined in different units.
git-svn-id: trunk@34327 -
2016-08-17 19:09:54 +00:00
joost
5d4682349d * Re-factored parsing of configuration-file, to be able to add support for include-files
git-svn-id: trunk@34315 -
2016-08-14 21:06:01 +00:00
yury
3b8db21c2c * pas2jni: Fixed invoking of Java event handlers from non-main threads.
git-svn-id: trunk@34309 -
2016-08-14 10:49:17 +00:00
yury
d99f913836 * pas2jni: Fixed string constant handling after recent changes in FPC.
git-svn-id: trunk@34275 -
2016-08-11 12:41:13 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
9233ac9e0a * update revision.inc
git-svn-id: trunk@34007 -
2016-06-18 00:55:09 +00:00
nickysn
11006c2b72 * set the proper file extensions for the i8086-embedded target
git-svn-id: trunk@34006 -
2016-06-18 00:45:34 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
nickysn
2dc530dfe3 + enable the i8086-embedded cpu/os combination in fpcmake
git-svn-id: trunk@34000 -
2016-06-17 20:24:55 +00:00
marco
869d24f7d1 * spelling mistakes fpc repo part, mantis #30233
git-svn-id: trunk@33882 -
2016-06-02 20:01:09 +00:00
yury
c392c6eb2b * pas2jni: Explicitly release JNI local refs while executing method pointers.
git-svn-id: trunk@33859 -
2016-05-30 17:14:55 +00:00
Jonas Maebe
f1dad33217 * file forgotten to commit in r33708
git-svn-id: trunk@33710 -
2016-05-20 07:09:45 +00:00
Jonas Maebe
f0753d85ad * fix the Upgrade to Unicode version 7 and CLDR 27 from r32814
(mantis #29659, fixes tuca* tests)

git-svn-id: trunk@33708 -
2016-05-19 15:44:22 +00:00
michael
7e54688fd4 * Fix never-ending loop in splitline
git-svn-id: trunk@33577 -
2016-04-30 07:29:54 +00:00
yury
a934312e4f * pas2jni: Minor fix to exe extension.
git-svn-id: trunk@33436 -
2016-04-07 13:17:46 +00:00
yury
288f7285a3 * pas2jni: Fixed exit code.
git-svn-id: trunk@33435 -
2016-04-07 13:08:47 +00:00
michael
4ed0c07ea3 * Fix bug #29772
git-svn-id: trunk@33151 -
2016-03-05 13:41:26 +00:00
yury
111595dcd9 * pas2jni: Fixed procedure parameters parsing in some cases.
git-svn-id: trunk@33083 -
2016-02-10 16:28:41 +00:00
yury
a02da7c7d2 * pas2jni: Fixed handling of method pointers.
git-svn-id: trunk@33072 -
2016-02-08 18:52:32 +00:00
michael
c5a44f7487 * Fix bug #29465: Correct declaration of array properties
git-svn-id: trunk@33061 -
2016-02-06 14:45:25 +00:00
pierre
315ce0447b Fix compilation with range check on by redefining tat array in ClearComments procedure
git-svn-id: trunk@33015 -
2016-01-28 17:14:11 +00:00
yury
3597519087 * pas2jni: Fixed handling of global procvars.
git-svn-id: trunk@33005 -
2016-01-25 15:43:12 +00:00
michael
288aa63a67 * Help for latex backend
git-svn-id: trunk@32897 -
2016-01-09 17:55:44 +00:00
michael
65976e4db3 * Added option to split lines
git-svn-id: trunk@32896 -
2016-01-09 17:47:04 +00:00
michael
a87e83e9b7 * Fix selection of package
git-svn-id: trunk@32895 -
2016-01-09 17:46:24 +00:00
michael
1906217491 * Fix default values (bug ID 27996)
git-svn-id: trunk@32809 -
2015-12-31 14:44:01 +00:00
michael
3509a247d4 * Add ability to set Message Buffer size
git-svn-id: trunk@32756 -
2015-12-27 10:53:55 +00:00
michael
dda3f60df5 * Applied patch from Andrew H. to make XML format more verbose
git-svn-id: trunk@32751 -
2015-12-27 09:50:01 +00:00
yury
98ebcdc179 * pas2jni: Minor optimizations.
git-svn-id: trunk@32747 -
2015-12-26 21:55:32 +00:00
yury
95f933049a * pas2jni: Fixed memory leaks.
git-svn-id: trunk@32744 -
2015-12-26 20:48:15 +00:00
yury
f838251662 * pas2jni: Added TDateTime Java support class.
git-svn-id: trunk@32733 -
2015-12-26 19:52:03 +00:00
michael
143acd2497 * Patch from Mattias Gaertner to check for name when adding elements
git-svn-id: trunk@32728 -
2015-12-26 16:01:43 +00:00
yury
2248805082 * pas2jni: Fixed ref counting of method pointers.
git-svn-id: trunk@32669 -
2015-12-15 14:03:25 +00:00
yury
6bd2b2d41b * pas2jni: Fixed handling of pointers.
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
yury
f6b99c5d6a * pas2jni: Typecast interface to pointer.
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28 * pas2jni: Fixed exclusion.
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
yury
df59776ff8 * pas2jni: Fixed type cast for null.
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e * pas2jni: Fixed handling of array type properties.
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
yury
9d93c6f953 * pas2jni: Properly exclude whole units.
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
yury
894e61f6bd * pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
yury
0e056ece03 * pas2jni: Basic support for arrays.
git-svn-id: trunk@32578 -
2015-12-04 14:50:15 +00:00
yury
d973c1c0c9 * pas2jni: Support for interfaces.
git-svn-id: trunk@32563 -
2015-12-01 16:04:15 +00:00
yury
3c32f814de * pas2jni: Fixed memory leaks when using method pointers.
git-svn-id: trunk@32561 -
2015-12-01 14:22:31 +00:00
yury
cddbe1b83d * pas2jni:
- Support for objects.
  - Support for pointers to records,objects,classes.
  - Fixed memory leaks when using records.
  - Added handy enum constructors.

git-svn-id: trunk@32560 -
2015-12-01 11:56:29 +00:00
yury
3e894e592d * pas2jni: Fixed code generation for i386 targets.
git-svn-id: trunk@32539 -
2015-11-26 19:21:04 +00:00
michael
c5495cb49c * Examples
git-svn-id: trunk@32376 -
2015-11-20 11:34:44 +00:00
michael
a192c54e7d * Basedir support
git-svn-id: trunk@32374 -
2015-11-20 11:26:58 +00:00
michael
2af4cd9a4e * Added missing tree classes
git-svn-id: trunk@32360 -
2015-11-19 08:52:39 +00:00
michael
b86ef67a54 * Resolved conflict with none in TStringSplitoptions
git-svn-id: trunk@32264 -
2015-11-07 10:08:28 +00:00
joost
18b66865ac * Added fppkg option to gather info on a package
git-svn-id: trunk@32224 -
2015-11-03 20:53:34 +00:00
yury
9193954d1c * pas2jni: Detect the default units path.
git-svn-id: trunk@32084 -
2015-10-17 20:36:29 +00:00
yury
ab4c8623ec * pas2jni: Fixed reading of the ppudump's output in some cases.
git-svn-id: trunk@32083 -
2015-10-17 18:40:21 +00:00
joost
57204b2404 * Fixed fppkg --config-file option
git-svn-id: trunk@32071 -
2015-10-17 13:39:29 +00:00
Jonas Maebe
e8f2f23444 * mention support for .rsj extension in help text (based on patch by
Jani Matyas, mantis #28768)

git-svn-id: trunk@31909 -
2015-10-02 08:20:18 +00:00
Jonas Maebe
05bf826342 + support UTF-8 in ascii2unicode(), this fixes the UTF-16 output of
resourcestring data .rsj files in case the source file is interpreted as
    UTF-8. Previously, the individual UTF-8 bytes were each stored in a
    separate widechar in the Json file (mantis #28717)

  * due to the fact that rstconv didn't use the cwstring unit on Unix, rstconv
    until now just concatenated the bytes stored in the widechars of the Json
    file on those platforms, i.e., the strings put in the resource file were
    byte for byte equal to what was in the source file. On Windows, these bytes
    were interpreted as individual widechars, converted to the
    DefaultSystemCodePage and then written. This means that for anything but
    ISO-8859-1 (where every widechar from #0000 to #0255 maps to #0 to #255),
    the output got corrupted.

    In order to keep compatibility with the old behaviour whereby rstconv wrote
    the resource strings using the same encoding as in the source file (except
    if the data got completely corrupted, in which case compatibility is
    useless), we now store all resourcestrings twice in the .rsj file: once as
    the exact byte sequence from the source file, and once (properly) encoded
    in UTF-16.

    By default, rstconv will use the byte string and just write that one to the
    resource file. Additionally, there is a new -p option that accepts a code
    page name (see rstconv -h for the list of supported names), which can be
    used to make rstconv use the UTF-16 version and convert that to the desired
    code page (as long as the system on which rstconv runs supports that
    codepage).

    And this also finally resolves mantis #6477.

git-svn-id: trunk@31881 -
2015-09-28 22:14:56 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
nickysn
fb0f606793 * update revision.inc
git-svn-id: trunk@31524 -
2015-09-05 10:52:13 +00:00
nickysn
b8b90f96a1 + added the win16 target to fpcmake
git-svn-id: trunk@31523 -
2015-09-05 10:15:10 +00:00
yury
130eba51ee * pas2jni: Fixed code generation in case of duplicate method names in a class hierarchy.
git-svn-id: trunk@31463 -
2015-08-31 12:24:48 +00:00
Jonas Maebe
cd83bc35b6 * protect the -FM switch with "#ifndef VER2", to ensure that fpc.cfg can
be shared between FPC 2.x and FPC 3.x+

git-svn-id: trunk@31453 -
2015-08-29 15:54:25 +00:00
nickysn
5900a7f3db * updated revision.inc
git-svn-id: trunk@31418 -
2015-08-25 11:17:11 +00:00
Jonas Maebe
e015643f5e * don't use cross-binutils prefix when targeting the JVM
git-svn-id: trunk@31372 -
2015-08-23 15:27:15 +00:00
michael
cb05e1dbf4 * Fix working of fpdocclasstree in case of multiple files
git-svn-id: trunk@31367 -
2015-08-22 13:49:25 +00:00
michael
5227a35d05 * Fix hints and warnings
git-svn-id: trunk@31366 -
2015-08-22 13:17:53 +00:00
michael
5e7f08a69c * Fix memory leaks
git-svn-id: trunk@31365 -
2015-08-22 13:11:38 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
joost
1f5fab5309 * rstconv.pp depends on fcl-json and uses resourcestrings
git-svn-id: trunk@31316 -
2015-08-12 19:01:50 +00:00
pierre
d9359ea4af revision.inc update after commit 31240
git-svn-id: trunk@31294 -
2015-08-06 14:27:35 +00:00
joost
a67a35c498 * Added the ability to add fpmake as a target in a Makefile.fpc file. This way
there is no special need anymore for complete scripts in the Makefile.fpc
   to call fpmake. And it is now possible to combine other targets with a
   fpmake-target.

git-svn-id: trunk@31240 -
2015-07-28 09:52:19 +00:00
michael
722fdea993 * Improved testunit coverage
git-svn-id: trunk@31234 -
2015-07-26 08:31:28 +00:00
michael
a32160131b * Add backwards compatibility lookup for operators
git-svn-id: trunk@31233 -
2015-07-26 08:11:06 +00:00
michael
798192ba70 * Better operator declaration
git-svn-id: trunk@31232 -
2015-07-26 08:10:45 +00:00
michael
a910bbc3a7 * Resolve operators at the end. The name is corrected after the node is created
git-svn-id: trunk@31231 -
2015-07-26 08:09:56 +00:00
michael
1c5da41b48 * Warn-no-node correctly passed on
git-svn-id: trunk@31230 -
2015-07-26 08:09:11 +00:00
michael
8cb651c0a5 * Correct documenting of advanced records
git-svn-id: trunk@31184 -
2015-07-01 19:44:47 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Károly Balogh
4eaf1ffa48 FPCMake: enable AROS on x86_64
git-svn-id: trunk@31167 -
2015-06-28 15:58:23 +00:00
marco
c9ae6b34c6 * initial support for INSTALL_BINDIR. If that option isn't used behaviour
should be the same as old. Mantis #27272

git-svn-id: trunk@31166 -
2015-06-28 15:06:04 +00:00
Jeppe Johansen
353682db67 Enable SUBARCH directive for avr-embedded target.
git-svn-id: trunk@31032 -
2015-06-13 12:40:31 +00:00
Károly Balogh
c5caa6d494 fpcres: enable resource compiler for Amiga and MorphOS
git-svn-id: trunk@31005 -
2015-06-07 17:49:54 +00:00
Jonas Maebe
41e4f7a55a + ELF/AArch64 resource handling support (patch by Edmund Grimley Evans)
git-svn-id: trunk@30896 -
2015-05-23 21:04:11 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Jonas Maebe
7d16df9bea + Linux/AArch64 support in fpmkunit/fpcmake (patch by Edmund Grimley Evans)
git-svn-id: trunk@30890 -
2015-05-20 20:14:42 +00:00
florian
bda0f510f9 * updated revision.inc
git-svn-id: trunk@30754 -
2015-05-01 16:33:36 +00:00
florian
91702bd1b3 * regenerated
git-svn-id: trunk@30748 -
2015-05-01 14:45:31 +00:00
florian
e4492a2926 + set suffixes and extensions for embedded targets
git-svn-id: trunk@30747 -
2015-05-01 14:44:53 +00:00
michael
3f3705725d * Patch from Stephane Aulery to ease compilation, adding $MODE and $H+ (Bug ID 27987)
git-svn-id: trunk@30742 -
2015-04-28 06:52:37 +00:00
michael
faaae8b2a2 * Fix bug #24271, fpdoc failing on dotted unit names
git-svn-id: trunk@30624 -
2015-04-17 18:23:13 +00:00
michael
f5aeb96c97 * Added dependency on rtl-objpas
git-svn-id: trunk@30618 -
2015-04-17 12:26:52 +00:00
michael
f787468412 * Fixed bug #27829
git-svn-id: trunk@30609 -
2015-04-16 06:48:52 +00:00
michael
10633da13b * Reverted revision 30575 (forgor -depth=immediate
git-svn-id: trunk@30576 -
2015-04-13 19:44:51 +00:00
michael
2cab4a9a73 * Reverted revision 30557
git-svn-id: trunk@30575 -
2015-04-13 19:43:43 +00:00
nickysn
b0634d2cb3 * set svn mime type=text/plain and eol style=native to the *.cod files in the h2pas directory
git-svn-id: trunk@30553 -
2015-04-12 14:42:06 +00:00
florian
90e4581814 * update revision.inc
git-svn-id: trunk@30544 -
2015-04-11 13:55:26 +00:00
Jonas Maebe
201121d7c9 * synchronised with trunk till r30345
git-svn-id: branches/hlcgllvm@30349 -
2015-03-28 12:28:15 +00:00
michael
0d3cd8c402 * Documented *.cod search path for the plex/pyacc programs
git-svn-id: trunk@30289 -
2015-03-23 15:21:32 +00:00
marco
9255bc0fe5 * added _ before avr in cpusuffix. All other targets have.
Due to remark of "ghieber" on forum.

git-svn-id: trunk@30250 -
2015-03-17 09:09:14 +00:00
Jonas Maebe
bd203a5b57 * synchronised with trunk till r30240
git-svn-id: branches/hlcgllvm@30241 -
2015-03-15 19:44:58 +00:00
Jonas Maebe
7bc66a5142 + ELF/ppc64le resource support
git-svn-id: trunk@30218 -
2015-03-14 18:36:32 +00:00
Jonas Maebe
67b8aceaee * synchronized with privatetrunk till r30095
git-svn-id: branches/hlcgllvm@30101 -
2015-03-05 20:32:15 +00:00
nickysn
6be3b8cc63 * updated fpcmake's revision.inc
git-svn-id: trunk@30068 -
2015-03-02 12:19:04 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
83e20b5a5b + x86_64/iphonesim support in fpcmake/fpmkunit
git-svn-id: trunk@29972 -
2015-02-23 22:56:21 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
Jonas Maebe
fcfa8f3826 + fpcres (Darwin/)AArch64 support
o also use $elseif to stop endless $endif sequence at the end

git-svn-id: trunk@29949 -
2015-02-23 22:54:37 +00:00
Jonas Maebe
19f458787f + Darwin/AArch64 support to fpcmake
git-svn-id: trunk@29902 -
2015-02-23 22:52:01 +00:00
Tomas Hajny
85c0435e89 * added package description
git-svn-id: trunk@29619 -
2015-02-04 00:06:45 +00:00
Tomas Hajny
db3067b9de * short name fits 8.3 now
git-svn-id: trunk@29618 -
2015-02-04 00:01:09 +00:00
Tomas Hajny
0f83e24145 * Unicode utilities now built for targets OS/2 and EMX too
git-svn-id: trunk@29568 -
2015-01-27 17:37:53 +00:00
marco
53b06fa861 * disable friendly message because the fileexistance test is not reliable at this point.
git-svn-id: trunk@29548 -
2015-01-25 14:49:33 +00:00
marco
c6d56f4e66 * always cthreads.
git-svn-id: trunk@29547 -
2015-01-25 00:34:00 +00:00
florian
8d4b7f8b97 * search directory given by FPCDIR for the *.cod files as well as /usr/local/lib/fpc/lexyacc/ and /usr/lib/fpc/lexyacc/ on unix (despite current dir), resolves #27326
git-svn-id: trunk@29503 -
2015-01-18 13:11:38 +00:00
florian
0b3130ad20 * "backported" changes from pyacc.pas to pyacc.y: pyacc.pas is generated actually from pyacc.y by pyacc
git-svn-id: trunk@29502 -
2015-01-18 13:09:35 +00:00
Tomas Hajny
dbb999c4dd * change unit names in the uses clause to completely lowercase to avoid issues with case sensitive file systems
git-svn-id: trunk@29499 -
2015-01-17 16:04:33 +00:00
florian
a825a0f3ff * patch by Cyrax to fix building, resolves #27323
git-svn-id: trunk@29494 -
2015-01-17 12:30:18 +00:00
Tomas Hajny
2da5e0b65c + new tool mkinsadd included into the standard building
git-svn-id: trunk@29490 -
2015-01-16 22:36:20 +00:00
Tomas Hajny
11d99d3208 + new tool for simple post-processing of packages listings created by fpmake for easy merging into install.dat file used by the text-mode installer
git-svn-id: trunk@29489 -
2015-01-16 22:35:11 +00:00
nickysn
7cb38e1ce9 * removed the msdos binutils prefix, so that we can switch more easily to using a default watcom install (in case we decide we don't want to ship watcom binutils binaries due to license issues)
git-svn-id: trunk@29481 -
2015-01-16 13:37:10 +00:00
marco
bb4adddd2c * fix for compilation error when building with buildunit instead of fppkg?
git-svn-id: trunk@29468 -
2015-01-13 16:27:37 +00:00
marco
d47aae933c * ltelnet subcommand first character improvements. Mantis #27273
git-svn-id: trunk@29466 -
2015-01-13 14:51:32 +00:00
nickysn
513700cf64 * regenerate fpccfg.inc after r29434
git-svn-id: trunk@29453 -
2015-01-12 16:05:35 +00:00
joost
96ea6b0001 * Added uninstall command to fppkg
git-svn-id: trunk@29439 -
2015-01-11 18:22:01 +00:00
nickysn
aeb8c97257 + added i8086 unit paths, containing the subarch and memory model to the default fpc.cfg
git-svn-id: trunk@29434 -
2015-01-11 12:45:43 +00:00
yury
bb7aee5e8e * Added link to the pas2jni wiki page.
git-svn-id: trunk@29429 -
2015-01-08 13:19:05 +00:00
florian
b13e00ea70 * make yysleng a longint
git-svn-id: trunk@29426 -
2015-01-06 16:01:33 +00:00
florian
15537361ee * patch by "rs" to support lines longer than 255 chars in h2pas, resolves #15056
git-svn-id: trunk@29425 -
2015-01-06 15:16:18 +00:00
yury
de770592da * pas2jni: - Fixed method pointer handling for ARM platforms.
- Support for the JNI_OnException custom handler.
  - Added useful info to the readme. 

git-svn-id: trunk@29419 -
2015-01-05 18:27:53 +00:00
joost
3a5e83452a * No need to install resource-files from binaries, those are
linked into the binary

git-svn-id: trunk@29411 -
2015-01-05 11:46:42 +00:00
yury
3e5fab4334 * Updated revision.inc for fpcmake.
git-svn-id: trunk@29402 -
2015-01-05 00:46:29 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
joost
d53da9192b * Renamed pas2js package to utils-pas2js, for consistency
git-svn-id: trunk@29397 -
2015-01-04 20:46:57 +00:00
joost
fcade9d8b8 * Re-generated utils-Makefile.fpcs and Makefiles
git-svn-id: trunk@29394 -
2015-01-04 20:37:29 +00:00
yury
7f23fcd02c * pas2jni: Removed unneeded code. Added unsupported features to the readme.
git-svn-id: trunk@29392 -
2015-01-04 19:05:17 +00:00