Commit Graph

1649 Commits

Author SHA1 Message Date
joost
b9fd5f46a9 * Re-generated include file to generate config-files which use https for repositories
git-svn-id: trunk@36553 -
2017-06-19 21:26:23 +00:00
joost
4ba84bab05 * Adapt the configuration-file in such a way that fcl-web is used to download from repositories
git-svn-id: trunk@36552 -
2017-06-19 21:24:45 +00:00
joost
289afe7336 * Changed the mirrors-url to the https version
git-svn-id: trunk@36551 -
2017-06-19 21:22:56 +00:00
joost
a4250d1beb * Add FPC-download-handler to fppkg
git-svn-id: trunk@36550 -
2017-06-19 21:18:37 +00:00
joost
6bb48bf34f * Propagate the result of download-actions to avoid stale empty files
git-svn-id: trunk@36530 -
2017-06-18 21:54:42 +00:00
nickysn
cad2b985d6 * when creating the reverse endian .bcm file, zero fill all the records, before
filling them in, so that the alignment space inside the records is filled with
  zeros, instead of random uninitialized bytes

git-svn-id: trunk@36438 -
2017-06-06 14:57:22 +00:00
michael
f406d7cbef * Fix bug #31947: upgrade natve unicode implementation to version 9 and CLDR 30 (Patch from Inoussa)
git-svn-id: trunk@36407 -
2017-06-03 16:10:39 +00:00
pierre
2371755b4f Regenerate with sparc64-linux target
git-svn-id: trunk@36391 -
2017-06-01 13:40:25 +00:00
nickysn
6f65c0cab9 * update revision.inc
git-svn-id: trunk@36377 -
2017-05-31 14:48:03 +00:00
florian
a5b3576577 + sparc64 support for fpcmake
git-svn-id: trunk@36373 -
2017-05-30 20:40:48 +00:00
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